/* =========================
     LOGIN / SIGNUP BUTTON
========================= */
.auth_button button {
  background-color: var(--secondary-color-50);
  color: var(--primary-color-100);
  padding: 0.7rem 1rem;
  border-radius: 0.3rem;
  width: 100%;
  font-size: 0.9rem;
  border: none;
  transition: all 0.2s ease-in-out !important;
}
.auth_button button:hover {
  background-color: var(--secondary-color-70);

}
.forget_password a {
  color: var(--secondary-color-100);
  font-size: 0.9rem;
  text-decoration: none;
}
/* =========================
     GOOGLE / APPLE LOGIN
========================= */
.login_options a {
  text-decoration: none;
  color: var(--text-color-100);
  font-size: 0.9rem;
  display: flex;
  font-weight: 500;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--text-color-30);
  padding: 0.6rem 3rem;
  border-radius: 0.3rem;
}

.no_account {
  font-size: 0.9rem;
}
.no_account a {
  color: var(--secondary-color-100);
  font-weight: 500;
  text-decoration: none;
}
/* =========================
     FULL LOGIN PAGE
========================= */
.login_screen {
  width: 70%;
  border-radius: 0.5rem !important;
}
@media (max-width: 1100px) {
  .login_screen {
    width: 100%;
  }
}
/* =========================
     INPUT FIELD ICON
========================= */
.icons {
  background-color: var(--text-color-10);
  display: flex;
  width: 50px;
  border-bottom-left-radius: 0.3rem;
  border-top-left-radius: 0.3rem;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--text-color-30);
}
.input-group {
  position: relative;
}
/* =========================
     EYE ICON POSITION
========================= */
.password_hide {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 5;
}
/* =========================
     CUSTOM INPUT FIELD
========================= */
.custom-input {
  border-bottom-right-radius: 0.3rem !important;
  border-top-right-radius: 0.3rem !important;
}

/* =========================
     PASSWORD RULES
========================= */
.password-rules p {
  font-weight: 500;
  font-size: 0.9rem;
}
.password-rules li {
  font-size: 0.9rem;
  color: var(--error-color);
}

/* =============================
    DISABLED BUTTON STYLE
================================ */
#login_button:disabled,
#signUp_button:disabled,
#reset_button:disabled {
  opacity: 0.5 !important; /* visually shows it's disabled */
  cursor: not-allowed; /* shows the "not clickable" cursor */
  background-color: var(--text-color-50); /* optional, to gray it out */
}

/* =============================
    INPUT LINE ERROR STYLE
================================ */
.error-line {
  color: var(--error-color);
  font-size: 0.8rem;
  font-weight: 500;
}

/* =============================
    BACK TO LOGIN STYLE
================================ */
.back_to_login a {
  text-decoration: none;
  color: var(--text-color-100);
  font-size: 0.9rem;
}

/* =============================
    MODAL BOX STYLING
================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-box {
  background: var(--primary-color-100);
  border-radius: 8px;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease-in-out;
}

/* Optional smooth appearance */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
