/* ============================================================
   ERROR MESSAGE STYLES
   ============================================================ */

.error_txt {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 7px 12px;
  border-radius: 7px;
  background: rgba(255, 77, 77, 0.12);
  border: 1px solid rgba(255, 100, 100, 0.30);
  color: #ff6b6b;
  font-size: 12.5px;
  font-weight: 500;
  font-family: 'Roboto Condensed', sans-serif;
  letter-spacing: 0.01em;
  line-height: 1.4;
  animation: errFadeIn 0.2s ease;
}

.error_txt::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  min-width: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b6b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E") center/contain no-repeat;
  vertical-align: middle;
  flex-shrink: 0;
}

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

/* Input border highlight when error is visible */
.input-error {
  border-color: rgba(255, 100, 100, 0.55) !important;
  box-shadow: 0 0 0 2px rgba(255, 80, 80, 0.12) !important;
}

/* ================== */
.auth_modal .modal {
  background: #0000005e;
  backdrop-filter: blur(14px);
  z-index: 9999;
  position: relative;
  font-family: 'Roboto Condensed', sans-serif;
}

.auth_modal .modal-dialog {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.auth_modal .modal-content {
  background: #FFFFFF24;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0px 17px 54px 0px #00000070;
  backdrop-filter: blur(345.1606750488281px);
  position: relative;
}

.auth_modal .modal-content::after {
  content: "";
  position: absolute;
  inset: 0;
  padding-top: 4px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}


.auth_modal .modal-backdrop {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}


.auth_modal .btn-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3E%3C/svg%3E") center/1em no-repeat;
  opacity: 1;
}

.auth_logo {
  margin-bottom: -30px;
}

.auth-content-box {
  margin-top: 22px;
}

.auth-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 600;
  font-size: 32px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0;
}

.auth-subtitle {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  opacity: 0.7;
  color: #FFFFFF;
  margin-top: 4px;
  margin-bottom: 0;

}


/* Form Inputs */
.input-group-custom {
  width: 100%;
  margin-bottom: 16px;
}

.input-fild {
  position: relative;
  width: 100%;
}

.auth-form-label {
  font-weight: 400;
  font-size: 14px;
  font-family: 'Roboto Condensed', sans-serif;
  color: #FFFFFF;
  margin-bottom: 5px;

}

.auth-form-control {
  width: 100%;
  padding: 12px 48px 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #000000;
  border: 1px solid #FFFFFF33;
  background: #191818;
  outline: none;
  /*transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    */
  box-sizing: border-box;
  cursor: pointer;
  border-radius: 9px;
  color: #fff;
}

.auth-form-control::placeholder {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #F7F8FC;
  opacity: 0.4;
}



.field-icon-wrapper {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  cursor: pointer;
}



.icon-show {
  display: none;
}

/* Forgot Password */
.FlEX {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.FlEX a {
  font-weight: 600;
  font-size: 15px;
  color: #AE64FF;
}

/* Custom Checkbox */
.remember-me-checkbox {
  display: flex !important;
  align-items: center;
  cursor: pointer;
  gap: 8px;
  user-select: none;
  margin-bottom: 0 !important;
}

.remember-me-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

.checkbox-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgb(15 23 42 / 50%);
  border-radius: 4px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.remember-me-checkbox input:checked+.checkbox-custom {
  background: #FFFFFF;
  border-color: #ffffff;
}

.remember-me-checkbox input:checked+.checkbox-custom::after {
  content: url("data:image/svg+xml,%3Csvg width='13' height='9' viewBox='0 0 13 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.7891 1.41431L4.53906 7.66431L1.41406 4.53931' stroke='%2346337D' stroke-width='2' stroke-linecap='square' stroke-linejoin='round'/%3E%3C/svg%3E");
  color: #46337D;
  font-size: 14px;
  font-weight: bold;
}

.remember-me-checkbox input:hover+.checkbox-custom {
  border-color: #037abd;
}

.is-invalid-label .checkbox-custom {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.18);
}

.checkbox-label {
  font-weight: 400;
  font-size: 15px;
  color: #FFFFFF;
  cursor: pointer;
  margin: 0;
  opacity: 0.7;
}



.auth-primary {
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  color: #FFFFFF;
  margin-bottom: 0;

}

.auth-primary span {
  opacity: 0.6;
}

.primary_txt {
  color: #AE64FF;
  font-weight: 600;
  opacity: 1;
}

.auth_btN {
  width: 100%;
  margin: 20px 0;
}

.agree_txt {
  font-weight: 300;
  font-size: 13px;
  text-align: center;
  color: #FFFFFF;
  margin-top: 22px;
}

.agree_txt a {
  color: #AE64FF;
  font-weight: 400;
}

/* ------------OTP Verification [ START ]---------- */


.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 5px 0;
}

.otp-inputs .otp-digit {
  width: 54px;
  height: 48px;
  padding: 5px;
  font-size: 15px;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  border: 1px solid #FFFFFF33;
  background: #191818;
  border-radius: 9px;
  outline: none;
}

.otp-inputs .otp-digit:focus {
  border: 1px solid #AE64FF;
  box-shadow: none;
}

.otp-inputs .otp-digit::placeholder {
  color: rgba(15, 23, 42, 0.35);
}

.resend-code {
  font-weight: 500;
  font-size: 18px;
  text-transform: uppercase;
  color: #AE64FF;
  margin-bottom: 22px;
  text-align: center;
}

/* ------------OTP Verification [ END ]------------ */

/* ------------Profile Upload [ START ]------------ */
.uprofile {
  margin-bottom: 15px;
}

.upload-profile {
  display: flex !important;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  width: 100%;
  user-select: none;
  margin-bottom: 0 !important;
}

.upload-circle {
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  border-radius: 50%;
  border: 2px dashed #AE64FF;
  background: #0000004D;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.upload-profile:hover .upload-circle {
  border-color: #d8b4fe;
  box-shadow: 0 0 14px rgba(174, 100, 255, 0.4);
  background: rgba(174, 100, 255, 0.08);
}

.upload-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.upload-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: none;
}

.upload-profile.has-preview .upload-icon {
  display: none;
}

.upload-profile.has-preview .upload-preview {
  display: block;
}

.upload-profile.has-preview .upload-circle {
  border-style: solid;
  border-color: #AE64FF;
}

.upload-text {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #FFFFFF;
}

/* ------------Profile Upload [ END ]------------ */

@media (max-width:991px) {
  .auth_modal .modal-content {
    padding: 12px 0;
  }

  .otp-inputs .otp-digit {
    width: 48px;
  }
}

@media (max-width: 374px) {
  .otp-inputs .otp-digit {
    width: 40px;
    height: 40px;
  }
}