/* style.css */
:root {
    --primary-color: #ffe183;
    --inactive-color: #ddd;
    --text-color: #333;
    --gray-text: #999;
    --dark-gray-text: #666;
    --bg: #f4f4f4;
    --container-bg: #fff;
    --spacing: 17px;
    --progress-bg: #e0e0e0;
    --progress-fill: #80e680;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #1a1b1e;
        --text-color: #c1c2c5;
        --container-bg: #202123;
        --inactive-color: #555;
        --gray-text: #aaa;
        --dark-gray-text: #ccc;
        --progress-bg: #3b3b3b;
    }
    .status-circle { color: black !important; }
}

* { margin:0; padding:0; box-sizing:border-box; }
html, body { height:100%; }
body {
    font-family:'Poppins',sans-serif;
    background:var(--bg);
    color:var(--text-color);
    display:flex; flex-direction:column;
    text-align:center; min-height:100vh;
}

.main-content { flex:1; margin-top:var(--spacing); display:flex; flex-direction:column; align-items:center; }
.brand-header h2 { font-size:24px; color:var(--text-color); padding-bottom:10px; }

.container {
    width:90%; max-width:400px;
    background:var(--container-bg);
    border-radius:10px; margin:var(--spacing) 0;
    padding:15px 20px;
    box-shadow:0 0 10px rgba(0,0,0,0.1);
    text-align:left;
}

h1 {
    font-size:24px; font-weight:bold;
    margin-bottom:var(--spacing);
    padding:12px 0;
    border-bottom:3px solid var(--primary-color);
    color:var(--text-color);
}

.status-item {
    display:flex; align-items:center;
    margin-bottom:var(--spacing);
    opacity:0; transform:translateY(30px);
    transition:all .6s ease-out;
}
.status-item.animate { opacity:1; transform:translateY(0); }

.status-circle {
    width:30px; height:30px; border-radius:50%;
    background:var(--inactive-color);
    color:var(--gray-text);
    display:flex; align-items:center; justify-content:center;
    margin-right:15px;
    font-weight:bold; font-size:14px;
    transition:background 1s, color 1s, transform .3s;
}

.status-content h3 { margin:0 0 5px; font-size:18px; font-weight:bold; color:var(--text-color); }
.status-content p  { margin:0; font-size:13px; color:var(--gray-text); }

.status-item.completed .status-circle,
.status-item.active    .status-circle { background:var(--primary-color); color:var(--text-color); }
.status-item.completed .status-content h3,
.status-item.active    .status-content h3 { color:var(--text-color); }
.status-item.completed .status-content p,
.status-item.active    .status-content p { color:var(--dark-gray-text); }

.progress-bar {
    width:100%; height:8px;
    background:var(--progress-bg);
    border-radius:5px;
    overflow:hidden; margin-top:var(--spacing);
}
.progress {
    height:100%; width:0;
    background:var(--progress-fill);
    border-radius:5px;
    transition:width 1s ease-out;
}

footer {
    background:var(--bg);
    padding:10px 0;
}
.footer-links { display:flex; justify-content:center; gap:20px; }
.footer-links a { color:var(--gray-text); font-size:14px; text-decoration:none; }
.footer-links a:hover { text-decoration:underline; }

@media (max-width:768px) {
    .container { padding:15px; }
    .main-content { margin-bottom:60px; }
    footer {
        position:fixed; bottom:0; left:0; width:100%; z-index:1000;
    }
    .footer-links { gap:10px; }
}

/* ========== Error-Center & Button-Abstand ========== */
.error-center {
    text-align: center;
    margin: 60px 0;
}
.error-center p {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-color);
}
.btn-support {
    display: inline-block;
    background-color: var(--primary-color);
    color: #000;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s ease;
    margin-top: 10px;
}
.btn-support:hover {
    transform: translateY(-2px);
    text-decoration: none;
    color: #000;
}
