:root {
    --navy: #1A2B48;
    --gold: #C5A358;
    --light-bg: #F4F7F9;
    --white: #FFFFFF;
}

body {
    background-color: var(--light-bg);
    font-family: 'Inter', sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.quiz-card {
    background: var(--white);
    max-width: 650px;
    width: 90%;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(26, 43, 72, 0.1);
    border-top: 6px solid var(--gold);
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #E0E6ED;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.progress-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 4px;
    transition: width 0.5s ease-in-out;
}

.brand-header img {
    max-height: 80px;
    margin-bottom: 1.5rem;
}

/* Modernized Radio Buttons */
.option-container {
    display: block;
    padding: 1rem 1rem 1rem 3.5rem;
    margin-bottom: 1rem;
    border: 2px solid #E0E6ED;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.option-container:hover {
    border-color: var(--gold);
    background: #FAFBFD;
}

.option-container input:checked + .checkmark {
    background-color: var(--navy);
    border-color: var(--navy);
}

/* Add to your static/style.css if not already there */
.full-width-select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Add these to your style.css if needed */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f7f6; /* Light professional gray */
}

.login-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 450px;
}

.auth-info-banner {
    background: #e7f3ff;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #0056b3;
    text-align: center;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Crucial for width alignment */
}

.login-button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.login-button:hover {
    background-color: #0056b3;
}

/* This ensures the card looks right even if the CSS file is acting up */
        .auth-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 80vh;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        .auth-card {
            background: #ffffff;
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            width: 100%;
            max-width: 400px;
            border: 1px solid #eaeaea;
        }
        .auth-card h2 { margin-top: 0; color: #333; text-align: center; }
        .auth-email-tag {
            background: #f0f7ff;
            color: #0078d4;
            padding: 8px;
            border-radius: 6px;
            font-size: 0.85rem;
            margin-bottom: 1.5rem;
            text-align: center;
            border: 1px solid #d0e6ff;
        }
        .form-field { margin-bottom: 1.2rem; }
        .form-field label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 0.9rem; color: #666; }
        .form-field input, .form-field select {
            width: 100%;
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 6px;
            box-sizing: border-box;
        }
        .submit-btn {
            width: 100%;
            padding: 14px;
            background: #0078d4;
            color: white;
            border: none;
            border-radius: 6px;
            font-weight: bold;
            cursor: pointer;
            font-size: 1rem;
        }
        .submit-btn:hover { background: #005a9e; }

        /* Toast Notification Styles */
#toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

.toast {
    background: #28a745; /* Success Green */
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-weight: 600;
    margin-bottom: 10px;
    animation: fadeInOut 4s forwards;
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-20px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}