/* Base layout */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f6fa;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Titles */
h1, h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* Timer and Progress */
#timer {
    text-align: right;
    font-size: 18px;
    color: #dc3545;
    font-weight: bold;
    margin-bottom: 10px;
}
.progress {
    text-align: center;
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 20px;
}

/* Answer options */
.answers {
    margin: 20px 0;
}

.answer-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}
.answer-option:hover {
    background: #e9ecef;
}
.answer-option input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.3);
}

/* Buttons */
button {
    background: #007bff;
    color: white;
    padding: 12px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin: 8px 4px;
    transition: background 0.2s ease;
}
button:hover {
    background: #0056b3;
}
button:disabled {
    background: #ccc;
}

/* Feedback styles */
.correct {
    color: green;
    font-weight: bold;
}
.incorrect {
    color: red;
    font-weight: bold;
}
