/* File: css/forgot-password.css */

body.bg-orange {
  background-color: #f47c20; /* Orange theme */
  color: white;
}

.card {
  border-radius: 12px;
}

.card .form-label {
  color: #333;
}

.btn-light {
  background-color: #f47c20 !important;
  color: white !important;
  font-weight: bold !important;
}

.btn-light:hover {
  background-color: #b46223 !important;
  color: white !important;
  border: 1px solid white !important;
}

.back-to-login-link {
  color: #f47c20 !important;
  text-decoration: underline;
  font-weight: bold;
}

.back-to-login-link:hover {
  color: #b46223 !important;
}

.otp-inputs {
  gap: 5px;
}

.otp-box {
  width: 40px;
  height: 45px;
  font-size: 1.25rem;
  border: 2px solid #f47c20;
  border-radius: 6px;
  color: #333;
}

.otp-box:focus {
  outline: none;
  border-color: #333;
  box-shadow: 0 0 0 0.15rem rgba(244, 124, 32, 0.25);
}

/* Loader overlay start */
#globalLoader .loader-overlay {
  position: fixed;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fancy rotating loader */
.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: relative;
  animation: rotate 1s linear infinite;
}
.loader::before,
.loader::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  inset: 0px;
  border-radius: 50%;
  border: 5px solid #FFF;
  animation: prixClipFix 2s linear infinite;
}
.loader::after {
  border-color: #FF3D00;
  animation: prixClipFix 2s linear infinite, rotate 0.5s linear infinite reverse;
  inset: 6px;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg)
  }
  100% {
    transform: rotate(360deg)
  }
}

@keyframes prixClipFix {
  0% {
    clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)
  }
  25% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)
  }
  50% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)
  }
  75% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)
  }
  100% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)
  }
}
/* Loader overlay end */
