.auth-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 2em;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
input {
    width: 100%;
    padding: 0.75em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
}
button {
    width: 100%;
    background-color: rgb(139, 0, 0);
    color: white;
    padding: 0.75em;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}
button:hover {
    background-color: rgb(120, 0, 0);
}
.toggle-link {
    text-align: center;
    margin-top: 1em;
    cursor: pointer;
    color: rgb(139, 0, 0);
    text-decoration: underline;
    margin-top: 1.5em;    
}
.toggle-link:hover {
    color: rgb(120, 0, 0);
}
.form-section {
  opacity: 1;
  transition: opacity 0.4s ease;
  position: relative;
}
.form-section.hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}
.checkbox-wrapper {
  margin-top: 8px;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 6px;
}
input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* MODAL OVERLAY */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-box {
  background-color: white;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  font-family: 'Poppins', sans-serif;
  text-align: center;
  max-width: 300px;
  width: 90%;
}
.modal-box button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  background-color: #d12a2a;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s ease;
}
.modal-box button:hover {
  background-color: #a32121;
}
.hidden {
  display: none;
}