@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap");
@import url("./auth-common.css");

.main-bg {
  background-position: 60%;
}

.btn-primary:disabled,
.btn-primary.disabled {
  background-color: #000080 !important;
  border-color: #000080 !important;
  opacity: 1 !important;
}

.form-check-input:checked {
  background-color: #000080;
  border-color: #000080;
}

/* MODAL SECTION */
/* modal.css */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(2px);
}

.custom-modal-box {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-danger {
  background-color: #ff3b30 !important; /* Matches the red in your image */
  border: none;
  transition: transform 0.1s;
}

.btn-danger:active {
  transform: scale(0.95);
}

/* OTP */
.otp-field {
  display: flex;
  justify-content: center;
  gap: 0;
}
.otp-field input {
  width: 45px;
  height: 50px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  border: 1px solid #ced4da;
  border-radius: 8px;
  background-color: #e9ecef;
  margin: 0 5px;
  transition: all 0.3s ease;
}
.otp-field input:focus {
  border-color: #000080;
  box-shadow: 0 0 0 4px rgba(0, 0, 128, 0.1);
  outline: none;
  background-color: #fff;
}
.btn-link-custom {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875em;
  color: #6c757d;
  text-decoration: none;
  cursor: pointer;
}
.btn-link-custom:hover {
  text-decoration: underline;
  color: #000080;
}
/* Visual cue for password mismatch */
.is-invalid {
  border-color: #dc3545 !important;
  background-image: none !important; /* Removes Bootstrap icon to keep it clean */
}
