/* assets/css/quiz.css */

/* Progress Info */
.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #eef5ff;
    border-radius: 8px;
    border: 1px solid #d0e2ff;
}

.progress-item {
    text-align: center;
    flex: 1;
}

.progress-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e3c72;
}

.progress-label {
    font-size: 0.9rem;
    color: #666;
}

/* Quiz Section Styling */
.quiz-section {
    background-color: #f9f9ff;
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
    border: 1px solid #e0e0ff;
}

.quiz-question {
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quiz-question:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.question-text {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #1e3c72;
    line-height: 1.5;
}

.options {
    margin-left: 10px;
}

.option {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    padding: 12px;
    border-radius: 6px;
    transition: background-color 0.2s;
    border: 1px solid transparent;
}

.option:hover {
    background-color: #f0f7ff;
    border-color: #d0e2ff;
}

.option input {
    margin-right: 12px;
    margin-top: 3px;
    transform: scale(1.1);
}

.option label {
    cursor: pointer;
    flex: 1;
    line-height: 1.4;
}

/* Submit Button */
.submit-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.submit-btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Result Message */
.result-message {
    margin-top: 30px;
    padding: 25px;
    border-radius: 10px;
    font-weight: 600;
    display: none;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Secondary Button */
.nav-button.secondary {
    background-color: #28a745;
}

.nav-button.secondary:hover {
    background-color: #218838;
}

/* Responsive Design */
@media (max-width: 768px) {
    .progress-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .progress-item {
        text-align: center;
    }
    
    .quiz-question {
        padding: 15px;
    }
    
    .option {
        padding: 10px;
    }
    
    .question-text {
        font-size: 1rem;
    }
}