/* NDIS Quiz Styling */

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
}

.quiz-header {
    text-align: center;
    margin-bottom: 40px;
}

.quiz-header h2 {
    font-size: 2.5rem;
    color: #2B2864;
    margin-bottom: 12px;
}

.quiz-header p {
    font-size: 1.125rem;
    color: #555;
    line-height: 1.6;
}

.quiz-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(43, 40, 100, 0.06);
}

.quiz-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.progress-bar-bg {
    flex: 1;
    height: 6px;
    background: #E8E5F3;
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #F4A87C 0%, #00B8A9 100%);
    transition: width 0.3s ease;
}

.progress-text {
    margin-left: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2B2864;
}

.quiz-question {
    margin-bottom: 32px;
}

.quiz-question h3 {
    font-size: 1.25rem;
    color: #2B2864;
    margin-bottom: 24px;
    line-height: 1.5;
    font-weight: 600;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option-label {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: #FFF8EE;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quiz-option-label:hover {
    background: #F4EEE7;
    border-color: #F4A87C;
}

.quiz-option-label input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #D0CDE0;
    border-radius: 50%;
    margin-right: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.quiz-option-label input[type="radio"]:checked {
    background: #F4A87C;
    border-color: #F4A87C;
    box-shadow: 0 0 0 4px rgba(244, 168, 124, 0.2);
}

.quiz-option-label span {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Contact Form */
.quiz-contact-form {
    text-align: center;
}

.quiz-contact-form h3 {
    font-size: 1.5rem;
    color: #2B2864;
    margin-bottom: 8px;
}

.quiz-contact-form p {
    color: #666;
    margin-bottom: 32px;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2B2864;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #E8E5F3;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #F4A87C;
    box-shadow: 0 0 0 3px rgba(244, 168, 124, 0.1);
    background: #FFFBF8;
}

.form-group input::placeholder {
    color: #999;
}

/* Success Message */
.quiz-result {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .quiz-card {
        padding: 24px;
    }

    .quiz-header h2 {
        font-size: 1.75rem;
    }

    .quiz-question h3 {
        font-size: 1.1rem;
    }

    .quiz-option-label {
        padding: 12px 14px;
    }

    .quiz-option-label span {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .quiz-card {
        padding: 16px;
        border-radius: 8px;
    }

    .quiz-header h2 {
        font-size: 1.5rem;
    }

    .quiz-progress {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .progress-text {
        margin-left: 0;
        margin-top: 8px;
    }
}