
 body {
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     line-height: 1.6;
     color: #333;
     background-color: #fff;
 }

 .quiz-container {
     max-width: 800px;
     margin: 0 auto;
     padding: 20px;
 }

 .container .quiz-container h1{
    text-align: center;
    margin-bottom: 20px;
    color: blue;
 }

 .quiz-question {
     background: #fff;
     border-radius: 8px;
     padding: 20px;
     margin-bottom: 20px;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 }

 .question-text {
     font-size: 1.2rem;
     margin-bottom: 15px;
     font-weight: 500;
 }

.quiz-timer-container {
    position: fixed; 
    top: 20px;
    right: 20px; 
    background: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quiz-timer-container .quiz-timer {
    font-size: 18px;
    font-weight: 600;
    color: #4f46e5;
}

.quiz-timer-container .timer-icon {
    font-size: 22px;
    color: #4f46e5;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

 .options {
     margin: 15px 0;
 }

 .option {
     margin: 10px 0;
     padding: 10px 15px;
     border: 1px solid #ddd;
     border-radius: 5px;
     cursor: pointer;
     transition: all 0.3s;
 }

 .option:hover {
     background: #f8f9fa;
 }

 .option.selected {
     background: #e7f4ff;
     border-color: #007bff;
 }

 .option.correct {
     background: #d4edda;
     border-color: #28a745;
 }

 .option.incorrect {
     background: #f8d7da;
     border-color: #dc3545;
 }

 .show-answer-btn {
     background: #007bff;
     color: white;
     border: none;
     padding: 8px 16px;
     border-radius: 4px;
     cursor: pointer;
     margin-top: 10px;
     transition: background 0.3s;
 }

 .show-answer-btn:hover {
     background: #0056b3;
 }

 .show-answer-btn.showing {
     background: #6c757d;
 }

 .answer-explanation {
     display: none;
     margin-top: 15px;
     padding: 15px;
     background: #f8f9fa;
     border-radius: 5px;
     border-right: 4px solid #007bff;
 }

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 10px;  
}

.quiz-navigation a {
    text-decoration: none;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    min-width: 100px;
    font-size: 16px;
}

.btn-outline {
    background:#007bff;
    border: 2px solid #007bff;
    color: #fff;
}

.btn-outline:hover {
    background: #f8f9fa;
    color: #007bff;
}