/* Custom Auth Modal Styles - Professional Casino UI */

.custom-auth-modal {
  background: rgba(24, 24, 32, 0.96);
  backdrop-filter: blur(14px) saturate(120%);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.28);
  border: none;
  animation: modalFadeIn 0.5s cubic-bezier(.4,2,.6,1) both;
  max-width: 620px;
  margin: auto;
}
@keyframes modalFadeIn {
  0% { opacity: 0; transform: translateY(40px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.custom-auth-header {
  background: linear-gradient(90deg, #181824 60%, #ffd600 100%);
  border-radius: 1.5rem 1.5rem 0 0;
  padding: 2.2rem 1rem 1.2rem 1rem;
  text-align: center;
  position: relative;
}
.custom-auth-header .modal-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
  margin-top: 0.7rem;
}
.custom-auth-header .auth-logo {
  background: #ffd600;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.5rem auto;
}

.custom-auth-body {
  padding: 2rem 1.5rem 1.5rem 1.5rem;
}

.custom-auth-field {
  position: relative;
  margin-bottom: 1.2rem;
}
.custom-auth-field .form-control,
.custom-auth-field .form-select {
  background: #181824;
  color: #fff;
  border-radius: 0.7rem;
  border: 1.5px solid #232323;
  font-size: 1.08rem;
  min-height: 48px;
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  padding-left: 2.3rem;
}
.custom-auth-field .form-control::placeholder,
.custom-auth-field .form-select::placeholder {
  color: #bdbdbd;
  opacity: 1;
}
.custom-auth-field .form-control:focus,
.custom-auth-field .form-select:focus {
  border-color: #ffd600;
  color: #fff;
}
.custom-auth-field .form-control:focus::placeholder,
.custom-auth-field .form-select:focus::placeholder {
  color: #ffd600;
  opacity: 1;
}
.custom-auth-field label {
  color: #bdbdbd;
  font-size: 1rem;
  padding: 0 0.2rem;
  background: transparent;
  margin-bottom: 0.3rem;
  display: block;
}
.custom-auth-field .input-icon {
  position: absolute;
  left: 0.9rem;
  top: 70%;
  transform: translateY(-50%);
  color: #ffd600;
  font-size: 1.15rem;
  z-index: 2;
  pointer-events: none;
}

/* intl-tel-input fix */
.iti {
  width: 100%;
}
.iti--separate-dial-code .form-control {
  padding-left: 60px !important;
}

.custom-auth-btn {
  background: linear-gradient(90deg, #ffd600 0%, #ffb300 100%);
  color: #181824;
  border: none;
  font-weight: 700;
  border-radius: 0.7rem;
  font-size: 1.13rem;
  padding: 0.85rem 0;
  margin-top: 0.5rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px 0 rgba(255,214,0,0.13);
  transition: box-shadow 0.2s, transform 0.2s;
}
.custom-auth-btn:hover, .custom-auth-btn:focus {
  box-shadow: 0 6px 24px 0 rgba(255,214,0,0.22);
  transform: translateY(-2px) scale(1.04);
}

.custom-auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #bdbdbd;
  font-size: 0.98rem;
  margin: 1.2rem 0;
}
.custom-auth-divider::before, .custom-auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #444;
}
.custom-auth-divider:not(:empty)::before {
  margin-right: .75em;
}
.custom-auth-divider:not(:empty)::after {
  margin-left: .75em;
}

.custom-auth-social {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}
.custom-auth-social .btn {
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  background: #232323;
  color: #ffd600;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.custom-auth-social .btn:hover {
  background: #ffd600;
  color: #181824;
}

.custom-auth-checkbox {
  margin-bottom: 0.7rem;
  font-size: 0.97rem;
  color: #bdbdbd;
}
.custom-auth-checkbox .form-check-input {
  border-radius: 0.3rem;
  border: 1.5px solid #ffd600;
  background: #181824;
  margin-right: 0.5rem;
}
.custom-auth-checkbox .form-check-input:checked {
  background-color: #ffd600;
  border-color: #ffd600;
}

@media (max-width: 575.98px) {
  .custom-auth-modal {
    width: 98vw;
    min-width: unset;
    max-width: 100vw;
    padding: 0.5rem 0.2rem;
    border-radius: 1rem;
  }
  .custom-auth-header {
    border-radius: 1rem 1rem 0 0;
    padding: 1.3rem 0.5rem 0.7rem 0.5rem;
  }
  .custom-auth-header .modal-title {
    font-size: 1.05rem;
  }
  .custom-auth-body {
    padding: 1.1rem 0.5rem 0.7rem 0.5rem;
  }
  .custom-auth-btn {
    font-size: 1rem;
    padding: 0.7rem 0;
  }
}

@media (max-width: 991.98px) {
  #verifyOtpModal .modal-content.custom-auth-modal {
    max-width: 98vw;
    min-width: unset;
    width: 100vw;
    border-radius: 1rem;
    padding: 0.5rem 0.2rem;
  }
  #verifyOtpModal .col-md-6.d-none.d-md-block {
    display: none !important;
  }
  #verifyOtpModal .col-12.col-md-6 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

#otp-timer,
#otp-back-signup,
#otp-signin-link,
#otp-back-signup.text-muted,
#otp-timer.text-muted,
#otp-signin-link.text-accent,
#verifyOtpModal .text-muted {
  color: #fff !important;
}

#ajax-loader-overlay {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20000;
  background: rgba(24,24,32,0.75);
  backdrop-filter: blur(2px);
} 