/* Quiz section styles */
.quiz-section {
    padding: 4rem 2rem;
    background-color: var(--secondary-color);
    flex: 1;
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.quiz-header {
    text-align: center;
    margin-bottom: 3rem;
}

.quiz-header h1 {
    font-size: 2.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.quiz-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Progress bar styles */
.quiz-progress {
    margin-bottom: 3rem;
}

.progress-bar {
    height: 0.5rem;
    background-color: var(--border-color);
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Question styles */
.question-container {
    display: none;
    margin-bottom: 2rem;
}

.question-container.active {
    display: block;
}

.question-container h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.question-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

/* Options grid styles */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.option-card {
    cursor: pointer;
}

.option-card input {
    display: none;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.option-content i {
    color: var(--text-muted);
    transition: color 0.2s;
}

.option-card:hover .option-content {
    border-color: var(--primary-color);
    background-color: var(--secondary-color);
}

.option-card input:checked + .option-content {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.option-card input:checked + .option-content i {
    color: white;
}

/* Navigation buttons */
.quiz-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.quiz-navigation .btn {
    min-width: 120px;
}

.quiz-navigation .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive styles */
@media (max-width: 768px) {
    .quiz-section {
        padding: 2rem 1rem;
    }

    .quiz-container {
        padding: 1.5rem;
    }

    .quiz-header h1 {
        font-size: 2rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }
} 