body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--background-color);
    color: var(--text-color);
}

#container {
    background-color: var(--container-background);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 1200px;
    /* Set a maximum width */
    width: 70%;
    /* Adjust this value as needed */
    /* Increased from 600px */
    margin: 0 auto;
    /* Center the container */
    color: var(--text-color);
}

h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

#score {
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Change this to space-between */
}

#progress {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}

#progress::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #ddd;
    margin-bottom: 10px;
}

#paragraph {
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--text-color);
    padding-left: 10px;
    border-radius: 2px;
    background-color: var(--paragraph-background);
    border-color: var(--paragraph-border);
}

#paragraph-container {
    position: relative;
    padding: 10px 40px 20px 10px;
    background-color: var(--paragraph-background);
    border: 1px solid var(--paragraph-border);
}

.exercise-info {
    display: flex;
    align-items: center;
    font-size: 0.8em;
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px 5px;
    border-radius: 3px;
    margin-bottom: 10px;
    width: 100%;
}

.exercise-level {
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
}

.category-display {
    font-style: italic;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.question {
    margin-bottom: 15px;
    color: var(--text-color);
}

label {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 1.0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

label span {
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
    display: inline-block;
}

label:hover span {
    border-color: var(--primary-color);
}

input[type="radio"] {
    margin-top: -3px;
    margin-right: 8px;
}

button {
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

button:disabled {
    background-color: #bdc3c7;
    cursor: default;
}

button:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

#translation-toggle {
    text-align: center;
    margin-bottom: 15px;
    cursor: pointer;
    transition: color 0.3s ease;
}

#translation-toggle:hover {
    color: var(--primary-color);
}

#translation-text {
    border: 1px dashed var(--primary-color);
    padding: 15px;
    margin-bottom: 20px;
    background-color: var(--paragraph-background);
    border-color: var(--paragraph-border);
    font-style: italic;
    color: var(--text-color);
}

#score.final-score {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 20px;
}

#progress-bar-container {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}

#progress-bar {
    width: 0;
    height: 100%;
    background-color: var(--secondary-color);
    transition: width 0.3s ease-in-out;
}

.fade-transition {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.fade-transition.fade-out {
    opacity: 0;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(243, 156, 18, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(243, 156, 18, 0);
    }
}

#new-game-btn {
    background-color: var(--new-exercise-btn-color);
    /* box-shadow: 0 0 10px var(--new-exercise-btn-glow); */
    transition: all 0.3s ease;
    padding: 5px 10px;
    font-size: 0.9em;
    color: white;
    border: none;
    border-radius: 3px;
}

#new-game-btn:hover {
    box-shadow: 0 0 20px var(--new-exercise-btn-glow);
    transform: translateY(-2px);
}

#new-game-btn:active {
    transform: translateY(0);
}

#new-game-btn.highlight {
    background-color: var(--new-exercise-btn-color);
    animation: pulse 1.5s infinite;
}


@keyframes glow {
    from {
        box-shadow: 0 0 5px var(--new-exercise-btn-glow);
    }

    to {
        box-shadow: 0 0 20px var(--new-exercise-btn-glow);
    }
}

#final-score {
    text-align: center;
    margin-bottom: 30px;
    display: none;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

#final-score h2 {
    color: var(--primary-color);
    font-size: 28px;
    /* Increased from 24px */
    margin-bottom: 30px;
    /* Increased from 20px */
}

#final-score p {
    font-size: 20px;
    /* Increased from 18px */
    margin: 15px 0;
    /* Increased from 10px 0 */
    line-height: 1.5;
    /* Added for better readability */
}

.score-highlight {
    font-weight: bold;
    font-size: 24px;
    /* Increased from default */
    display: inline-block;
    margin: 0 5px;
}

#restart-btn {
    display: block;
    margin: 30px auto 0;
    /* Increased top margin */
    padding: 15px 30px;
    /* Increased padding */
    font-size: 20px;
    /* Increased from 18px */
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

#restart-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

#restart-btn:active {
    transform: translateY(0);
}

#correct-answers,
#final-correct-answers {
    color: var(--success-color);
}

#incorrect-answers,
#final-incorrect-answers {
    color: var(--error-color);
}

#speak-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

#speak-button:hover {
    opacity: 0.7;
}

#controls {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    margin-bottom: 15px;
}

#voice-select {
    width: 100px;
    /* Adjust as needed */
}

#voice-selector-container {
    display: flex;
    align-items: baseline;
    margin-right: 20px;
}

#voice-selector-container label {
    margin-right: 5px;
}

#interface-language-select {
    width: 100px;
    /* Adjust as needed */
}

#interface-language-selector-container {
    display: flex;
    align-items: baseline;
    margin-right: 20px;
}

#interface-language-select label {
    margin-right: 5px;
}

#level-selector-container {
    display: flex;
    align-items: baseline;
}

#level-selector-container label {
    margin-right: 5px;
}

#num-questions-container {
    display: flex;
    align-items: baseline;
    margin: 4px;
}

#num-questions-container label {
    margin: 2px;
}

/* Ensure consistent styling for select elements */
select {
    height: 2em;
    font-size: 1em;
    padding: 0 0.5em;
    color: var(--text-color);
    background-color: var(--container-background);
    border-color: var(--paragraph-border);
}

.hidden {
    display: none;
}

.flex {
    display: flex;
}

.block {
    display: block;
}

#error-message {
    color: var(--error-color);
}

#continue-btn {
    display: none;
}

/* Styles moved from script.js */
#exercise.fade-transition.fade-out {
    display: none;
}

#exercise.fade-transition {
    display: block;
}

#wrong-question-error {
    /* Style for incorrect answer explanation */
    color: var(--error-color);
}

#user-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 10px;
    background-color: var(--container-background);
    border-radius: 5px;
    color: var(--text-color);
}

#google-account-info {
    font-size: 0.9em;
    color: var(--text-color);
}

.user-controls {
    display: flex;
    gap: 10px;
}

#sign-out-btn {
    background-color: var(--sign-out-btn-color);
    padding: 5px 10px;
    font-size: 0.9em;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

#options-btn {
    background-color: var(--options-btn-color);
    padding: 5px 10px;
    font-size: 0.9em;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

#options-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

#stats-btn {
    background-color: var(--stats-btn-color);
    padding: 5px 10px;
    font-size: 0.9em;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

#stats-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

#sign-out-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 4px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toast.show {
    opacity: 1;
}

.toast.info {
    background-color: var(--accent-color);
}

.toast.error {
    background-color: var(--error-color);
}

.toast.success {
    background-color: var(--success-color);
}

.unanswered-error {
    color: var(--error-color);
    /* Set the text color to red */
}

#stats-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    /* Prevent clicks outside the overlay */
}

#stats-overlay.active {
    opacity: 1;
    pointer-events: auto;
    /* Allow clicks inside the overlay */
}

#stats-container {
    position: relative;
    width: 95%;
    max-width: 1400px;
    max-height: 90vh;
}

.modal-content {
    background-color: var(--container-background);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    color: var(--text-color);
    width: max-content;
    max-width: max-content;
    box-sizing: border-box;
    position: relative;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    table-layout: auto;
}

.stats-table th,
.stats-table td {
    border: 1px solid var(--paragraph-border);
    padding: 10px;
    text-align: left;
    color: var(--text-color);
    white-space: nowrap;
}

/* Ensure the close button is positioned correctly */
.modal-content .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal.active {
    display: block;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 24px;
    line-height: 30px;
    text-align: center;
    color: var(--text-color);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    transition: color 0.3s ease;
    user-select: none;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--primary-color);
    text-decoration: none;
    outline: none;
}

.close-btn::before {
    content: "\00d7";
    display: block;
}


#options-overlay .modal-content {
    background-color: var(--container-background);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid var(--paragraph-border);
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
    transition: none;
    color: var(--text-color);
}

.option-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-color);
}

.option-item label {
    flex: 0 0 150px;
    text-align: right;
    padding-right: 10px;
}

.option-item select {
    flex: 0 0 120px;
    color: var(--text-color);
    background-color: var(--container-background);
    border-color: var(--paragraph-border);
}

/* New styles for checkbox alignment */
.option-item input[type="checkbox"] {
    flex: 0 0 120px;
    color: var(--text-color);
    background-color: var(--container-background);
    border-color: var(--paragraph-border);
    margin-left: 0;
    margin-right: auto;
}

/* Adjust the label for the checkbox */
.option-item:first-child label {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Center the checkbox vertically */
.option-item:first-child {
    align-items: center;
}

#save-options-btn {
    margin-top: 20px;
    margin-left: 150px;
    /* Align with the form fields */
}

.wrong-answer {
    color: var(--error-color);
    text-decoration: line-through;
}

.correct-answer {
    color: var(--success-color);
    font-weight: bold;
}

.unanswered {
    color: #e67e22;
}

/* Add horizontal scrolling for very wide tables */
.stats-table-container {
    width: 100%;
    overflow-x: auto;
}

#exercise-container {
    display: none;
}

#exercise-container.visible {
    display: block;
}

#login-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid var(--paragraph-border);
    border-radius: 4px;
    background-color: var(--container-background);
    color: var(--text-color);
}

#login-form button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#login-form button:hover {
    background-color: var(--primary-color);
}

#login-message {
    color: var(--error-color);
    margin-top: 10px;
}

#switch-form {
    margin-top: 10px;
    text-align: center;
}

#switch-form a {
    color: var(--primary-color);
    text-decoration: none;
}

#switch-form a:hover {
    text-decoration: underline;
}

/* Add these styles */
.auth-buttons {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.login-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 1px;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.login-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Style the Google Sign-In button to match the login button size */
.g_id_signin {
    height: 40px !important;
}

.g_id_signin>div {
    height: 40px !important;
}

/* Ensure the Google Sign-In button text is vertically centered */
.g_id_signin>div>div {
    display: flex !important;
    align-items: center !important;
}

#login-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.close {
    color: var(--text-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: var(--container-background);
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    max-height: 400px;
    overflow-y: auto;
    text-align: left;
    border: 1px solid var(--paragraph-border);
    color: var(--text-color);
}

.dropdown-menu.show {
    display: block;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    border-bottom: 1px solid var(--paragraph-border);
    text-align: left;
}

.category-item label {
    display: flex;
    align-items: center;
    flex-grow: 1;
    text-align: left;
    color: var(--text-color);
}

.category-item input[type="checkbox"] {
    margin-right: 10px;
}

.category-name {
    flex-grow: 1;
    text-align: left;
    color: var(--text-color);
}

.select-only {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 2px 5px;
    text-align: center;
    text-decoration: none;
    display: none;
    font-size: 12px;
    margin: 2px 2px;
    cursor: pointer;
    border-radius: 3px;
    margin-left: auto;
}

.category-item:hover .select-only {
    display: inline-block;
}

#select-all-categories,
#select-none-categories {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 2px 2px;
    cursor: pointer;
    border-radius: 3px;
}

#dropdown-button {
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

#dropdown-button:active {
    transform: translateY(0);
}

.error-message {
    color: var(--error-color);
    font-style: italic;
    margin-top: 5px;
    position: relative;
    cursor: help;
}

.error-message::after {
    content: attr(data-translation);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

.error-message:hover::after {
    opacity: 1;
    visibility: visible;
}

#translation-area {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

#translation-area.expanded {
    max-height: 200px !important;
    display: block !important;
}

#category-selector-container {
    margin-right: 5px;
}

#category-selector-container select {
    height: auto;
    overflow-y: auto;
    margin-top: 5px;
    margin-right: 10px;
    /* Adjust margin for better alignment */
}

.hover-translate {
    position: relative;
    cursor: help;
}

.hover-translate::after {
    content: attr(data-translation);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

.hover-translate:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Adjust the position for the restart button */
#restart-btn.hover-translate::after {
    bottom: 120%;
}

#score-text {
    flex-grow: 1;
    text-align: left;
}

.category-controls {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid var(--paragraph-border);
    text-align: left;
}

#dropdown-button:hover,
#dropdown-button:focus {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.question-stats {
    font-size: 0.8em;
    color: #666;
    margin-left: 10px;
}

.question-stats .correct-answers {
    color: #90EE90;
    /* Light green color */
}

.stats-hover {
    position: relative;
    cursor: help;
}

.stats-hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.stats-hover:hover::after {
    opacity: 1;
    visibility: visible;
}

#options-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

#options-overlay.active {
    display: block;
}

.voice-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.voice-option label {
    margin-right: 10px;
    flex-shrink: 0;
}

.voice-option select {
    flex-grow: 1;
    margin-right: 10px;
}

.interface-language-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.interface-language-option label {
    margin-right: 10px;
    flex-shrink: 0;
}

.interface-language-option select {
    flex-grow: 1;
    margin-right: 10px;
}

.theme-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#test-voice-btn {
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    padding: 0;
    margin: 0;
    margin-left: 10px;
}

#test-voice-btn:hover {
    opacity: 0.7;
}

.level-option,
.questions-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.level-option label,
.questions-option label,
.theme-option label {
    margin-right: 10px;
    flex-shrink: 0;
    width: 150px;
    /* Increased width to match other labels */
    text-align: right;
}

.level-option select,
.questions-option select,
.theme-option select {
    flex: 0 0 120px;
    /* Fixed width for selects */
}

#close-options-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    color: var(--text-color);
    transition: color 0.3s;
    margin-top: 20px;
    margin-right: 10px;
}

#close-options-btn:hover {
    color: var(--primary-color);
}

/* Add these styles for tooltips */
[title]:hover {
    position: relative;
}

[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

/* Adjust the position for buttons */
button[title]:hover::after {
    bottom: 120%;
}

#description-field {
    background-color: var(--container-background);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
}

#description-field h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

#description-field p {
    color: var(--text-color);
}

[data-tooltip-key] {
    position: relative;
    cursor: pointer;
}

[data-tooltip-key]::after {
    content: attr(title);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px;
    border-radius: 3px;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

[data-tooltip-key]:hover::after {
    opacity: 1;
    visibility: visible;
}

.highlight {
    background-color: rgba(255, 69, 0, 0.3);
    color: inherit;
    border-radius: 3px;
    padding: 2px 0;
}

.confirmation-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

#confirmation-modal {
    display: none;
    /* Hide the modal by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
}

#confirmation-modal.active {
    display: flex;
    /* Show the modal when the 'active' class is added */
}

.confirmation-content {
    max-width: 400px;
    width: 90%;
    padding: 20px;
    text-align: center;
    background-color: var(--container-background);
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}
