/* Quiz Styles */

.quiz-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.quiz-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

/* Progress Bar */
.quiz-progress {
    width: 100%;
    margin-bottom: 40px;
}

.quiz-progress-bar {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0073ea 0%, #28a745 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.quiz-progress-text {
    text-align: center;
    font-size: 0.9em;
    color: #666;
}

/* Question Card */
.quiz-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-question {
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* Options */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    display: block;
    width: 100%;
    padding: 18px 24px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1.1em;
    color: #333;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quiz-option:hover {
    background: #e7f5ff;
    border-color: #0073ea;
    transform: translateX(5px);
}

.quiz-option:active {
    transform: translateX(5px) scale(0.98);
}

.quiz-option.selected {
    background: #0073ea;
    border-color: #0073ea;
    color: white;
}

/* Navigation */
.quiz-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.quiz-nav-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.quiz-nav-btn.back {
    background: transparent;
    color: #666;
}

.quiz-nav-btn.back:hover {
    background: #f8f9fa;
    color: #333;
}

.quiz-nav-btn.skip {
    background: transparent;
    color: #999;
}

.quiz-nav-btn.skip:hover {
    color: #666;
}

/* Results Page */
.quiz-results {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.quiz-results-icon {
    width: 80px;
    height: 80px;
    background: #d4edda;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.quiz-results-icon svg {
    width: 40px;
    height: 40px;
    color: #28a745;
}

.quiz-results-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.quiz-results-message {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.quiz-recommendation {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.quiz-recommendation-label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 8px;
}

.quiz-recommendation-phase {
    font-size: 1.3em;
    font-weight: 600;
    color: #0073ea;
    margin-bottom: 10px;
}

.quiz-recommendation-desc {
    font-size: 0.95em;
    color: #555;
}

.quiz-focus-areas {
    margin-top: 20px;
    text-align: left;
}

.quiz-focus-areas-title {
    font-size: 1em;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.quiz-focus-areas ul {
    margin: 0;
    padding-left: 20px;
    color: #666;
}

.quiz-focus-areas li {
    margin-bottom: 8px;
}

.quiz-start-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #0073ea 0%, #005bb5 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.quiz-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 115, 234, 0.4);
}

.quiz-start-btn svg {
    width: 20px;
    height: 20px;
}

/* Skip Quiz Link */
.quiz-skip-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #999;
    text-decoration: none;
    font-size: 0.9em;
}

.quiz-skip-link:hover {
    color: #666;
    text-decoration: underline;
}

/* Welcome Screen */
.quiz-welcome {
    text-align: center;
}

.quiz-welcome-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
}

.quiz-welcome-title {
    font-size: 2em;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.quiz-welcome-desc {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.quiz-welcome-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.quiz-welcome-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
    color: #555;
}

.quiz-welcome-feature svg {
    width: 20px;
    height: 20px;
    color: #28a745;
}

/* Responsive */
@media (max-width: 600px) {
    .quiz-card {
        padding: 30px 20px;
    }

    .quiz-question {
        font-size: 1.3em;
    }

    .quiz-option {
        padding: 15px 18px;
        font-size: 1em;
    }

    .quiz-welcome-features {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .quiz-results-title {
        font-size: 1.5em;
    }
}
