/* Dark mode overrides - only override what Bootstrap doesn't handle */
body {
    background-color: #121212;
}

.card {
    background-color: #1e1e1e;
    border-color: #2d2d2d;
}

.nav-tabs {
    border-bottom-color: #2d2d2d;
}

.nav-tabs .nav-link {
    color: #e0e0e0;
}

.nav-tabs .nav-link:hover {
    border-color: #2d2d2d;
    color: #ffffff;
}

.nav-tabs .nav-link.active {
    background-color: #1e1e1e;
    border-color: #2d2d2d;
    color: #ffffff;
}

.form-control {
    background-color: #2d2d2d;
    border-color: #3d3d3d;
    color: #e0e0e0;
}

.form-control:focus {
    background-color: #2d2d2d;
    border-color: #4d4d4d;
    color: #e0e0e0;
}

/* Game metadata - Desktop styles */
.metadata-wrapper {
    width: 100%;
}

.game-metadata {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.1rem;
    padding: 0.1rem;
    font-size: 0.9rem;
    color: #e0e0e0;
    width: 100%;
}

.game-metadata span {
    white-space: nowrap;
    display: inline-block;
    margin: 0 0.25rem;
}

.game-metadata-secondary {
    margin-top: -0.5rem;
    padding-top: 0;
    border-top: none;
    font-size: 0.85rem;
    opacity: 0.9;
    width: 100%;
    display: flex;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
}

.game-metadata-secondary span {
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: none;  /* Allow full width on desktop */
    margin: 0 0.25rem;
}

/* Metadata links */
.metadata-link {
    color: #e0e0e0 !important;
    text-decoration: none;
}

.metadata-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Quiz content */
.quiz-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    counter-reset: hint-counter;
    padding-top: 0;
}

.quiz-content h4 {
    color: #0d6efd;
    margin-bottom: 1rem;
}

/* Masked title styling */
.quiz-content .card-body h5 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-family: monospace;
    font-size: 1.2rem;
    letter-spacing: 0;
    width: 100%;
    padding: 0.5rem;
    margin: 0;
}

.quiz-content .card-body h5 .masked-word {
    display: inline-block;
    white-space: nowrap;
}

.quiz-content .card-body h5 .word-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.25rem;
}

/* Make card fit content width */
.quiz-content .card {
    width: fit-content;
    min-width: 100%;
    max-width: min(95vw, 1200px);
    margin: 0 auto;
}

/* Calendar customization - consolidated styles */
.flatpickr-calendar {
    background: #1e1e1e;
    border-color: #2d2d2d;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.flatpickr-day {
    color: #e0e0e0;
}

.flatpickr-day.selected {
    background: #0d6efd;
    border-color: #0d6efd;
}

.flatpickr-day.today {
    border-color: #0d6efd;
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-weekdays {
    background: #1e1e1e;
    color: #e0e0e0;
}

/* Game search */
.guess-container {
    position: relative;
}

/* Give Up button */
#giveUpButton {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    transition: all 0.15s ease-in-out;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

#giveUpButton:hover {
    background-color: #5c636a;
    border-color: #565e64;
    border-right-color: rgba(255, 255, 255, 0.2);
}

/* Skip button */
#skipButton {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    transition: all 0.15s ease-in-out;
    margin-right: 0 !important;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#skipButton:hover {
    background-color: #5c636a;
    border-color: #565e64;
}

#skipButton:focus {
    box-shadow: 0 0 0 0.25rem rgba(130,138,145,.5);
}

#skipButton.reveal {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

#skipButton.reveal:hover {
    background-color: #ffca2c;
    border-color: #ffc720;
}

#skipButton.reveal:focus {
    box-shadow: 0 0 0 0.25rem rgba(255,193,7,.5);
}

/* Search input styling */
#gameSearch {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#searchResults {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    background: #1e1e1e;
    border: 1px solid #2d2d2d;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#searchResults .list-group-item {
    background: #1e1e1e;
    color: #e0e0e0;
    border-color: #2d2d2d;
    cursor: pointer;
}

#searchResults .list-group-item:hover {
    background: #2d2d2d;
}

/* Guess history */
#guessHistory .alert {
    background-color: #1e1e1e;
    border-color: #2d2d2d;
    border-width: 1px;
}

/* Current hint highlight */
.quiz-content .card {
    min-height: 100px;
    background-color: #1e1e1e !important;
    border: 2px solid #0a58ca !important;
    border-left: 0 !important;
    transform: translateX(-12px);
    transition: all 0.3s ease-in-out;
    position: relative;
    border-radius: 0 0.25rem 0.25rem 0 !important;
}

.quiz-content .card::before {
    counter-increment: hint-counter;
    content: "Hint " counter(hint-counter);
    position: absolute;
    left: -37px;
    top: -2px;
    height: calc(100% + 4px);
    width: 40px;
    background-color: #0a58ca;
    color: white;
    padding: 8px 0;
    border-radius: 0 10px 10px 0;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: -1px 0 3px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    background-clip: padding-box;
}

/* Game details styles */
.game-details {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    flex-direction: column;
}

.game-content {
    flex-grow: 1;
    width: 100%;
}

.game-header-row {
    display: flex;
    align-items: start;
    gap: 1rem;
    width: 100%;
}

.game-title {
    margin-bottom: 0.25rem;
    text-decoration: underline;
    font-size: 1.25rem;
    font-weight: 600;
}

.game-year {
    text-align: center;
    margin-top: 0.25rem;
}

/* Game description */
.game-description {
    margin-top: 0.25rem;
    margin-bottom: 0.1rem;
    color: #e0e0e0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    max-height: calc(1.3em * 3);
    text-overflow: ellipsis;
}

/* Guess styles */
.guess-element {
    display: flex;
    min-height: 100px;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    position: relative;
    border-right: 0 !important;
    transform: translateX(-12px);
    transition: all 0.3s ease-in-out;
    border-radius: 0.25rem 0 0 0.25rem !important;
}

.guess-element.correct {
    background-color: #0d3d23 !important;
    border: 2px solid #155724 !important;
    border-right: 0 !important;
    color: #d4edda !important;
}

.guess-element.incorrect {
    background-color: #3d1515 !important;
    border: 2px solid #571515 !important;
    border-right: 0 !important;
    color: #edcfcf !important;
}

.guess-element.revealed {
    background-color: #332701 !important;
    border: 2px solid #ffc107 !important;
    border-right: 0 !important;
    color: #fff3cd !important;
}

.guess-element.correct a:not(.metadata-link) {
    color: #28a745 !important;
}

.guess-element.incorrect a:not(.metadata-link) {
    color: #dc3545 !important;
}

.guess-element.revealed a:not(.metadata-link) {
    color: #ffc107 !important;
}

.guess-element::after {
    counter-increment: guess-counter;
    content: "Guess " counter(guess-counter);
    position: absolute;
    right: -37px;
    top: -2px;
    height: calc(100% + 4px);
    width: 40px;
    background-color: #28a745;
    color: white;
    padding: 8px 0;
    border-radius: 0 10px 10px 0;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 1px 0 3px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
    writing-mode: vertical-lr;
    display: flex;
    align-items: center;
    justify-content: center;
    background-clip: padding-box;
}

.guess-element.incorrect::after {
    background-color: #dc3545;
}

.guess-element.correct::after {
    background-color: #28a745;
}

.guess-element.revealed::after {
    background-color: #ffc107;
    color: #000;
}

/* Initialize guess counter */
#guessHistory {
    counter-reset: guess-counter;
}

/* Game thumbnail styles */
.game-thumbnail {
    width: 100px;
    height: 100px;
    position: relative;
    background-color: #2b3035;
    flex-shrink: 0;
}

.game-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}

.game-thumbnail-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    flex-shrink: 0;
}

/* Quiz navigation */
.nav-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
}

.nav.nav-tabs {
    display: inline-flex;
    align-items: flex-end;
    border-bottom: none;
    gap: 0.25rem;
    position: relative;
    width: fit-content;
    margin-bottom: 0;
}

/* Blue line under tabs */
.nav.nav-tabs::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: calc(100% - 0px);
    height: 2px;
    background-color: var(--bs-primary);
    z-index: 0;
}

/* Quiz header container */
.quiz-header-container {
    max-width: 800px;
    margin: -2px auto 1.5rem;
    text-align: center;
    position: relative;
    padding: 1.25rem 0.5rem;
    background: rgba(13,110,253,0.05);
    border: 1px solid rgba(13,110,253,0.2);
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
}

.quiz-header-container h4 {
    margin: 0;
    color: #0d6efd;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.quiz-header-container h4.completed {
    color: #198754;
}

/* Update completion mark styling */
.completion-mark {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #198754;
    color: white;
    border-radius: 50%;
    margin-left: 0.75rem;
    font-size: 0.9rem;
    vertical-align: middle;
    transform: translateY(-1px);
}

/* Tab styling */
.nav-tabs .nav-link {
    color: white;
    background-color: #343a40;
    border: 2px solid rgba(0,0,0,0.1);
    border-bottom: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem 0.5rem 0 0;
    margin-bottom: -2px;
    transition: all 0.2s;
    position: relative;
    top: 2px;
}

.nav-tabs .nav-link:hover {
    background-color: #2b3035;
    color: white;
    border-color: rgba(0,0,0,0.2);
}

.nav-tabs .nav-link.active {
    color: white;
    background-color: var(--bs-primary);
    border-color: rgba(0,0,0,0.1);
    border-bottom: 2px solid var(--bs-primary);
    font-weight: 500;
    z-index: 1;
}

/* Quiz navigation inputs */
.row.justify-content-center.align-items-center {
    max-width: 800px;
    margin: 0 auto;
    gap: 1rem;
}

.col-md-2.col-sm-8 {
    min-width: 200px;
    margin: 0 1rem;
    flex: 1;
    max-width: 300px;
    position: relative;
}

#quizDate,
#quizIndex {
    min-width: 150px;
    width: 100%;
}

/* Ensure the input group (quiz index + button) stays together */
.input-group {
    min-width: 200px;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
}

/* Make sure the Go button doesn't shrink too much */
#goButton {
    min-width: 50px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .col-md-2.col-sm-8 {
        margin: 0.5rem;
        max-width: none;
    }
    
    .row.justify-content-center.align-items-center {
        padding: 0 0.5rem;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0.25rem;
        max-width: 100%;
    }

    .input-group {
        width: 100%;
    }

    /* Make tabs fit in one row by reducing padding and font size */
    .nav-tabs .nav-link {
        padding: 0.25rem 0.35rem;  /* Further reduced padding */
        font-size: 0.8rem;  /* Smaller font */
        white-space: nowrap;
        letter-spacing: -0.02em;  /* Slightly tighter letter spacing */
    }
    
    /* Ensure tabs container allows full compression */
    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
        width: 100%;  /* Ensure full width */
        margin-bottom: 4px;  /* Space for the blue line */
        gap: 0.15rem;  /* Reduce gap between tabs */
    }
    
    /* Ensure blue line stays visible */
    .nav.nav-tabs::after {
        bottom: 0;  /* Adjust position */
        width: 100%;  /* Full width */
    }
    
    /* Hide scrollbar for Chrome, Safari and Opera */
    .nav-tabs::-webkit-scrollbar {
        display: none;
    }
    
    /* Adjust quiz header layout for mobile */
    .quiz-header-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
        width: 100%;
        padding: 1rem;  /* Consistent padding */
    }
    
    /* Reset and adjust score display position for mobile */
    .score-display {
        position: static !important;  /* Override absolute positioning */
        top: auto !important;
        right: auto !important;
        width: 3.5rem !important;  /* Smaller fixed size */
        height: 3.5rem !important;
        margin-left: 0.75rem;
        transform: rotate(20deg) scale(0.9);
        transform-origin: center;
        font-size: 1.2rem;
    }
    
    /* Adjust score display sizes for different digit counts */
    .score-display.digits-3,
    .score-display.digits-4,
    .score-display.digits-5 {
        width: 3.5rem !important;
        height: 3.5rem !important;
        right: auto !important;
    }
    
    /* Make header text smaller on mobile */
    .quiz-header-container h4 {
        font-size: 1.1rem;
        margin: 0;
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-right: 0.5rem;  /* Space between text and score */
    }

    /* About link mobile styling */
    .btn.btn-link.text-muted.p-0.ms-2 {
        font-size: 0.8rem;  /* Slightly smaller on mobile */
    }

    /* Keep save settings visible */
    .save-settings,
    .save-label,
    .save-toggle {
        display: flex !important;
    }
    
    /* Adjust width of date and index pickers */
    .row.justify-content-center.align-items-center {
        padding: 0 0.5rem;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0.25rem;
        max-width: 100%;
    }

    .col-md-2.col-sm-8 {
        margin: 0;
        max-width: none;
        flex: 1 1 auto;
        min-width: 0;
    }

    /* Date picker specific styles */
    .col-md-2.col-sm-8:first-child {
        flex: 0 0 auto;
        width: auto;
        min-width: 110px;
    }

    /* Quiz index specific styles */
    .col-md-2.col-sm-8:last-child {
        flex: 1 1 auto;
        min-width: 0;
    }

    #quizDate,
    #quizIndex {
        min-width: 0;
        width: 100%;
    }

    .input-group {
        min-width: 0;
        width: 100%;
        gap: 0.15rem;
    }

    /* Ensure navigation arrows and shuffle icon fit */
    .quiz-nav-link {
        padding: 0.25rem 0.35rem;
        font-size: 0.8rem;
        white-space: nowrap;
        min-width: 1.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Ensure Go button has consistent width */
    #goButton {
        min-width: 2.75rem;
        flex-shrink: 0;
    }

    /* Ensure quiz index input matches Go button width */
    #quizIndex {
        min-width: 2.75rem;
    }

    /* Adjust hint card styling for mobile */
    .quiz-content .card {
        transform: none !important;
        margin-left: 40px;
        width: calc(100% - 40px) !important;
        min-width: 0 !important;
    }

    /* Adjust hint label positioning */
    .quiz-content .card::before {
        left: -40px;
    }

    /* Make title text smaller on mobile */
    .quiz-content .card-body h5 {
        font-size: 1rem;
        padding: 0.25rem;
        letter-spacing: -0.02em;
    }

    .game-description {
        font-size: 0.85rem;
        line-height: 1.2;
        max-height: calc(1.2em * 3);
    }

    .game-metadata {
        font-size: 0.8rem;
        gap: 0.35rem;
        max-height: calc(1.1em * 2 + 0.7rem);
    }

    .game-metadata span:not(:last-child)::after {
        margin-left: 0.35rem;
    }

    /* Container for all metadata on mobile */
    .guess-element .metadata-wrapper {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        max-height: calc(1.4em * 3);
        overflow: hidden;
        text-align: center;
        padding-right: 40px;
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .guess-element .game-metadata,
    .guess-element .game-metadata-secondary {
        display: inline;
        margin: 0;
        padding: 0;
        font-size: inherit;
        opacity: 1;
        width: auto;
    }

    .guess-element .game-metadata span,
    .guess-element .game-metadata-secondary span {
        display: inline;
        white-space: normal;
        margin: 0 0.25rem;
    }
}

/* Save settings styling */
.save-settings {
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.save-label {
    line-height: 1;
    margin-top: 1px;
    cursor: help;
}

.save-toggle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--bs-primary);
    background-color: #1e1e1e;
    cursor: pointer;
    position: relative;
    padding: 0;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.save-toggle.enabled {
    background-color: var(--bs-primary);
}

.save-toggle.enabled::after {
    content: '✓';
    color: white;
    font-size: 12px;
    line-height: 1;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Override checkmark for icon buttons */
.btn-link.save-toggle.enabled::after {
    display: none;
}

.btn-link.save-toggle.enabled {
    color: var(--save-toggle-color, #28a745) !important;
}

/* Score display */
.score-display {
    background-color: var(--bs-primary);
    color: white;
    font-weight: 700;
    font-size: 1.4rem;
    border-radius: 50%;
    width: 4.55rem;
    height: 4.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0.2rem;
    transform: rotate(20deg);
    transition: all 0.3s;
    position: absolute;
    top: -10px;
    right: -80px;
    z-index: 0;
}

/* Scale up for 3 digits */
.score-display.digits-3 {
    width: 5.2rem;
    height: 5.2rem;
    right: -90px;
}

/* Scale up for 4 digits */
.score-display.digits-4 {
    width: 5.85rem;
    height: 5.85rem;
    right: -100px;
}

/* Scale up for 5+ digits */
.score-display.digits-5 {
    width: 6.5rem;
    height: 6.5rem;
    right: -110px;
}

.score-display .vp-text {
    font-size: inherit;
    font-weight: inherit;
    margin-left: 0.2rem;
}

/* Score star animation */
.score-star {
    position: fixed;
    font-size: 1.5rem;
    line-height: 1;
    pointer-events: none;
    z-index: 9999;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
    animation: star-spin 1s linear infinite;
    color: gold;
    text-shadow: 
        0 0 5px rgba(255, 215, 0, 0.5),
        0 0 10px rgba(255, 215, 0, 0.3),
        0 0 15px rgba(255, 215, 0, 0.2);
}

@keyframes star-spin {
    from {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    to {
        transform: rotate(360deg) scale(1);
    }
}

.vp-text {
    display: inline-block;
    vertical-align: middle;
}

/* Cover Quiz Styles */
#coverImage {
    position: relative;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#coverImage img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    max-height: 80vh;
    width: auto;
    object-fit: contain;
    display: block;
}

#coverImage img.visible {
    opacity: 1;
}

#coverImage img.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#coverImage img.fade-in {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: opacity 0.5s ease-in-out;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Search Results Styles */
.search-container {
    position: relative;
}

#searchResults {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
    background: #1e1e1e;
}

/* Quiz navigation links */
.quiz-nav-link {
    color: var(--bs-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.quiz-nav-link:hover {
    color: var(--bs-primary);
    background-color: rgba(13, 110, 253, 0.1);
    text-decoration: none;
}

.quiz-nav-link[style*="display: none"] {
    display: none !important;
}

@media (max-width: 768px) {
    .quiz-nav-link {
        font-size: 1rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Quiz list modal styles */
.quiz-status-link {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.quiz-status-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: inherit;
}

.quiz-status-link i {
    font-size: 1.2rem;
}

.table-dark {
    background-color: #1e1e1e;
    color: #e0e0e0;
}

.table-dark th {
    background-color: #2d2d2d;
    border-color: #3d3d3d;
    color: #e0e0e0;
}

.table-dark td {
    border-color: #3d3d3d;
}

.table-dark tbody tr:hover {
    background-color: #2d2d2d;
}

.table-responsive {
    max-height: calc(90vh - 150px);
    overflow-y: auto;
}