:root {
  --transition-effect: all 0.3s ease;
  --transition-slow-effect: all 0.5s ease;
  --primary-font-family: "Inter", sans-serif;
  --secondary-font-family: "Cabinet Grotesk", sans-serif;
  --theme-color-1: #055078;
  --theme-color-2: #f58634;
  --theme-color-3: #e80000;
}

html,
body {
  padding-right: 0 !important;
}

body {
  font-family: var(--primary-font-family) !important;
}

p,
ol li,
ul li {
  font-family: var(--primary-font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
  color: #1a1a1a;
  -webkit-transition: var(--transition-effect);
  -o-transition: var(--transition-effect);
  transition: var(--transition-effect);
}

a {
  display: inline-block;
  color: #1a1a1a;
  text-decoration: none;
  -webkit-transition: var(--transition-effect);
  -o-transition: var(--transition-effect);
  transition: var(--transition-effect);
}

a:hover {
  color: #1a1a1a;
}

ol,
ul {
  list-style: none;
}

img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

.spinner-preloader {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9999;
  cursor: wait;
}

.spinner-preloader.show {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.spinner-bg {
  position: absolute;
  background-color: #f4f6f9;
  height: 100%;
  width: 100%;
  opacity: 0.7;
}

.sign-in-wrap {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px;
  background-color: #f5f5f5;
  background-image: url("../../../assets/images/signin-bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}

.sign-in-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.sign-in-form-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
  backdrop-filter: blur(3px);
  border-radius: 0.25rem;
  padding: 64px 48px;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.4) 100%
  );
}

.text-field {
  position: relative;
  background-color: transparent;
}

.text-field input,
.text-field textarea,
.text-field select {
  font-family: var(--primary-font-family);
  display: block;
  width: 100%;
  color: #1a1a1a;
  font-size: 16px;
  background-color: #ffffff;
  outline: none;
  border: 1px solid #e5e5e5;
  border-radius: 0.25rem;
  padding: 12px 16px;
  -webkit-transition: var(--transition-effect);
  -o-transition: var(--transition-effect);
  transition: var(--transition-effect);
}

.btn-show-hide-password,
.btn-show-hide-confirm-password {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: transparent;
  border: 0;
  padding: 0 16px;
  margin: 0;
  height: 100%;
  font-size: 14px;
  color: rgba(37, 43, 54, 0.7);
  -webkit-transition: var(--transition-effect);
  -o-transition: var(--transition-effect);
  transition: var(--transition-effect);
}

.btn-show-hide-password:hover,
.btn-show-hide-confirm-password:hover {
  color: #333333;
}

.forgot-password-link,
.form-check-label {
  font-family: var(--primary-font-family);
  font-size: 14px;
  color: #333333;
  font-weight: 500;
  text-decoration: none;
  -webkit-transition: all 0.3s ease !important;
  -moz-transition: all 0.3s ease !important;
  -o-transition: all 0.3s ease !important;
  -ms-transition: all 0.3s ease !important;
  transition: all 0.3s ease !important;
}

.form-check input,
.form-check .form-check-label {
  cursor: pointer;
}

.form-check:hover .form-check-label,
.forgot-password-link:hover {
  text-decoration: underline;
}

#signInForm button[type="submit"],
#forgotPasswordForm button[type="submit"],
#changePasswordForm button[type="submit"],
#CheckCodeForm button[type="submit"] {
  font-family: var(--primary-font-family);
  display: block;
  width: 100%;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--theme-color-1);
  outline: none;
  border: 0;
  border-radius: 0.25rem;
  padding: 12px 16px;
  -webkit-transition: var(--transition-effect);
  -o-transition: var(--transition-effect);
  transition: var(--transition-effect);
}

#signInForm button[type="submit"]:hover,
#forgotPasswordForm button[type="submit"]:hover,
#changePasswordForm button[type="submit"]:hover,
#CheckCodeForm button[type="submit"]:hover {
  background-color: var(--theme-color-2);
}

.cursor-pointer {
  cursor: pointer;
}

.back-login:hover {
  text-decoration: underline;
}

.invalid-feedback-success {
  background: #76ff9854;
}
.popup-container {
  padding: 25px;
  text-align: center;
}

.popup-actions {
  margin-top: 20px;
}

.btn-primary {
  background: #007bff;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 10px;
}

.btn-primary:hover {
  background: #0063d1;
}

.btn-secondary {
  background: #ccc;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}



.popup-content {

  animation: fadeIn 0.25s ease-out;
  text-align: center;
}

@keyframes fadeIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ==== Text ==== */
.popup-content h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: bold;
}

.popup-content p {
  font-size: 14px;
  color: #444;
  margin: 8px 0;
}

/* ==== Code Input ==== */
#code-inputs {
  position: relative;
  margin: 15px 0 20px;
}

#code {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 50px;
  cursor: text;
}

/* 6 boxes */
.boxes {
  display: flex;
  justify-content: space-between;
}

.box {
  width: 42px;
  height: 48px;
  border: 2px solid #ccc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  background: #fafafa;
  transition: border-color 0.2s;
}

.box.active {
  border-color: #007bff;
  position: relative;
}
.box.active::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 60%;
  background: #007bff;
  animation: blink 1s infinite;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

/* ==== Button ==== */
.verify_code {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-radius: 8px;
  background: #007bff;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}

.verify_code:hover {
  background: #005fcc;
}

/* ==== Message ==== */
.message {
  margin-top: 10px;
  font-size: 14px;
  color: red;
}
#resend-otp{
    border: none;
    outline: none;
        background: none;
}