/* Light mode styles */
.light-mode {
    background-color: #ffffff;
    color: #000000;
}

/* Dark mode styles */
.dark-mode {
    background-color: #333333;
    color: #ffffff;
}

/* Modal container */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Modal content */
.modal-content {
    background-color: white;
    border-radius: 5px;
    width: 250px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Modal header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: grey;
    color: white;
    padding: 10px 15px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    position: relative;
}
.modal-body {
    padding: 15px 15px;
}

.modal-header h3 {
    margin: 0;
    font-size: 16px;
}

/* Close button inside modal header */
.close-btn {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0 10px;
    height: 100%;
    width: 50px;
}

/* Radio buttons and labels */
.modal-content label {
    display: block;
    font-size: 20px;
    margin-bottom: 10px;
    
}

input[type="radio"] {
  appearance: none;
  width: 23px;
  height: 23px;
  border: 1px solid gray;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
  cursor: pointer;
}

input[type="radio"]:checked {
  border-color: blue;
  background-color: rgba(0, 0, 0.5, 0);
}

input[type="radio"]:checked::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  background: blue;
  border-radius: 50%;
}

/* Styles for the appearance modal button */
.appearance-modal {
    padding: 20px;
}

.appearance-modal button {
    height: 40px;
    width: 150px;
    border: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: cyan;
    cursor: pointer;
}

.appearance-modal button:hover {
  box-shadow: 4px 4px 10px rgba(0, 0, 0.3, 0);

}

/* Ensure the modal content adjusts when switching between light and dark modes */
.light-mode .modal-content {
    background-color: #ffffff;
    color: #000000;
}

.dark-mode .modal-content {
    background-color: #333333;
    color: #ffffff;
}

/* Add transitions for smooth background-color and color changes */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}