body {
    font-family: Arial, sans-serif;
    padding: 3rem;
    background-color: white;
    color: black;
}
.dark-mode, div#flashcard-container .dark-mode  {
  background-color: #22203e;
  color: white;
}

.btn {
    margin: 3px;
}

img {
    width: 100%;
    max-width: 750px;
    height: auto;
    margin: .5rem;
}

label {
    padding-left: 4px;
}

#examsListDiv button {
    margin: 1rem;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


#examsListDiv button:hover {
    background-color: #0056b3;
}

#examContainer li {
    list-style-type: none;
    margin: 5px 0;
}

#examContainer input[type='radio'] {
    margin-right: 10px;
}

.correct {
    background-color: #28a745; /* Green */
    color: white;
}

.incorrect {
    background-color: #dc3545; /* Red */
    color: white;
}

.correct, .incorrect {
   border-radius: 2px;
}

#submit, #skip, #continue, #exit, #documents-btn, #debugging-mode button, #clear-site-data, #timer-btn__start, #timer-btn__pause, #timer-btn__reset {
    margin: 10px 5px;
    padding: 8px 16px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#submit, #skip, #continue, #timer-btn__start, #timer-btn__pause, #timer-btn__reset {
    background-color: #17a2b8;
}
#submit:hover, #skip:hover, #continue:hover {
    background-color: #138496;
}

#documents-btn, #debugging-mode button, #clear-site-data {
    background-color: #ffc107;
    text-decoration: none;
}

#documents-btn:hover, #debugging-mode button:hover, #clear-site-data button:hover{
    background-color: #d39e00;
}

#exit {
    background-color: red;
}
#exit:hover {
    background-color: darkred;
}


/* Hide on load */
.hide {
    display: none;
}

div#explanation {
    color: gray;
    font-style: italic;
}

#timer-display {
    font-size: 2em;
    margin-bottom: 10px;
}

.results__p {
    padding: 0.2rem 1rem;
}

.editModeActivated {
    background-color: rgba(204, 203, 203, 0.534);
}
.toggleEditButton--submit {
    background-color: #28a745;
}



/* FLASKCARDS: */
#flashcard {
    padding: 1rem;
}
div#flashcard-description {
    text-align: left;
    white-space: pre-wrap;
}
.flashcard-image {
    border-radius: 7px;
    width: -webkit-fill-available;
}

/* lightbox */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 7px;
    border: 1px solid cyan;
}
#lightbox .close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}