/* General Page Background */
body {
    background-color: #1e1e2e;
    color: #cdd6f4;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* Quiz Card Container */
.quiz-card {
    background-color: #2b2b3b;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);
    width: 420px;
    text-align: center;
}

h2 {
    margin-top: 0;
    color: #89b4fa;
}

.progress-bar {
    font-size: 14px;
    color: #a6adc8;
    margin-bottom: 15px;
}

#question-text {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Dynamic Option Buttons */
#options-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.option-btn {
    background-color: #181825;
    color: #cdd6f4;
    border: 1px solid #45475a;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease-in-out;
}

.option-btn:hover:not([disabled]) {
    background-color: #313244;
    border-color: #89b4fa;
}

/* Feedback States for Answer Selection */
.option-btn.correct {
    background-color: #2e4338 !important;
    border-color: #a6e3a1 !important;
    color: #a6e3a1 !important;
    font-weight: bold;
}

.option-btn.incorrect {
    background-color: #4a2d3b !important;
    border-color: #f38ba8 !important;
    color: #f38ba8 !important;
    font-weight: bold;
}

/* Action Buttons */
#next-btn, #restart-btn {
    background-color: #89b4fa;
    color: #11111b;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
}

#next-btn:hover, #restart-btn:hover {
    background-color: #b4befe;
}

/* Screen Switcher Utility */
.hidden {
    display: none !important;
}