/* ========== 1. DESIGN DNA & GLOBAL ========== */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;900&family=Space+Mono:wght@700&display=swap");

body {
  background-color: #fff;
  font-family: "Montserrat", sans-serif;
}

.font-chunky {
  font-family: "Arial Black", sans-serif;
  font-weight: 900;
}

/* ========== 2. LAYOUT SIDES (40/60 Split) ========== */
.signup-left {
  background-image: url("../images/signupImage.jpg");
  background-size: cover;
}

.signup-right {
  background: linear-gradient(to bottom right, #ffbed4, #ff8da1);
  padding: 20px;
}

@media (min-width: 768px) {
  .col-signup-img {
    flex: 0 0 40% !important;
    max-width: 40% !important;
  }
  .col-signup-form {
    flex: 0 0 60% !important;
    max-width: 60% !important;
  }
}

/* ========== 3. THE CARD & CONTENT ========== */
.shadow-card {
  background-color: white;
  border: 3px solid black;
  border-radius: 30px;
  width: 100%;
  max-width: 650px; /* Limits width for readability */
  box-shadow: 15px 15px 0px 0px rgba(0, 0, 0, 1);
  overflow: hidden;
  margin: 0 auto;
}

.card-header {
  border-bottom: 3px solid black;
  padding: 10px 0px;
}

.card-content {
  padding: 10px 20px;
}

/* ========== 4. FORM ELEMENTS ========== */
.form-label {
  font-weight: bold;
  font-size: 0.8rem;
  margin: 8px 0 2px 0;
}

.neo-input {
  background-color: #efeaff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-family: "Space Mono", monospace;
}

.neo-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}

.small-text {
  font-size: 0.75rem;
  color: #555;
}

.login-link {
  color: #000;
  font-weight: bold;
  text-decoration: underline;
}

/* ========== 5. OTP & MODALS ========== */
.otp-page {
  background: linear-gradient(135deg, #ffbed4 0%, #ff8da1 100%);
  position: relative;
  overflow: hidden;
}

.neo-close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #000;
  -webkit-text-stroke: 1.5px black;
  transition: transform 0.1s;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
}

.neo-close-btn:hover {
  transform: scale(1.1);
}

.otp-circle {
  width: 45px;
  height: 55px;
  border: 2px solid black;
  border-radius: 35%;
  text-align: center;
  font-family: "Space Mono", monospace;
  font-weight: bold;
  font-size: 1.2rem;
  outline: none;
}

.otp-circle:focus {
  background-color: #efeaff;
}

.otp-card {
  z-index: 1;
  max-width: 500px;
}
/* FOR THE FORGOT PASSWORD SO THAT MODAL OVERRIDES*/
.modal {
  z-index: 1060 !important;
}
.modal-backdrop {
  z-index: 1050 !important;
  opacity: 0.7 !important;
}
.modal.show .otp-card {
  z-index: 1061 !important;
}
.neo-close-btn {
  z-index: 1062 !important;
}

.modal-content {
  position: relative;
}

.modal-content .neo-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1065;
}

/* ========== 5.1 OTP INPUTS INLINE========== */
/* Custom scrollbar for the T&C Modal Body */
/* Custom highlighting for the modal content */
.text-primary {
  color: #0056b3 !important;
} /* A deeper professional blue */
.text-danger {
  color: #dc3545 !important;
} /* Standard alert red */

#tncModal .modal-body {
  scrollbar-width: thin;
  scrollbar-color: #000 #f1f1f1;
}

#tncModal .modal-body::-webkit-scrollbar {
  width: 8px;
}

#tncModal .modal-body::-webkit-scrollbar-thumb {
  background: #000;
}

.transition-all {
  transition: all 0.3s ease-in-out;
}
/*LOADING*/
.btn-neo.loading {
  pointer-events: none; /* Prevents spam clicking */
}

.btn-neo.loading .btn-text {
  display: none;
}

.btn-spinner {
  display: none;
  width: 1.2rem;
  height: 1.2rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

.btn-neo.loading .btn-spinner {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ========== 6. RESPONSIVE OVERRIDES (767px and below) ========== */
@media (max-width: 767px) {
  .vh-100 {
    height: auto !important;
    min-height: 100vh;
  }

  .shadow-card {
    width: 95% !important;
    margin: 20px auto;
    box-shadow: 8px 8px 0px 0px black;
  }

  .card-content .row-cols-1 .col {
    margin-bottom: 0;
  }

  .btn-neo.w-50 {
    width: 80% !important;
  }

  .signup-left h1 {
    text-align: center;
    padding: 20px 0;
  }
}
