@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;800&display=swap');

html {
  font-size: 85% !important;
}

/* QHD+ Scaling */
@media (min-width: 1440px) {
  html {
    font-size: 92% !important;
  }
}

/* 4K Scaling */
@media (min-width: 2560px) {
  html {
    font-size: 110% !important;
  }
}

* {
  box-sizing: border-box;
}

body {
  background: #f6f5f7;
  display: flex;
  justify-content: flex-start; /* Ensure top alignment on mobile */
  align-items: center;
  flex-direction: column;
  font-family: 'Montserrat', sans-serif;
  min-height: 100dvh;
  margin: 0;
}

@media (min-width: 769px) {
  body {
    height: 100dvh;
    justify-content: center; /* Center on desktop */
    overflow: hidden; 
  }
}

h1 {
  font-weight: bold;
  margin: 0;
  font-size: 1.8rem;
}

h2 {
  text-align: center;
}

p {
  font-size: 14px;
  font-weight: 100;
  line-height: 20px;
  letter-spacing: 0.5px;
  margin: 20px 0 30px;
}

span {
  font-size: 12px;
}

a {
  color: #333;
  font-size: 14px;
  text-decoration: none;
  margin: 15px 0;
}

a:hover {
  text-decoration: none;
}

button {
  border-radius: 10px;
  border: 1px solid #1f6f78;
  background-color: #1f6f78;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: bold;
  padding: 12px 45px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background-color 150ms ease-in;
  cursor: pointer;
}

button:hover {
  background-color: #175f67;
  border-color: #175f67;
}

button:active {
  transition: transform 0.1s;
}

button:focus {
  outline: none;
}

button.ghost {
  background-color: transparent;
  border-color: #FFFFFF;
}

button.ghost:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

form {
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 10%;
  min-height: 100%; /* Changed from height:100% to ensure background grows with content */
  width: 100%;
  text-align: center;
}

form > * {
  width: 100%; /* Ensure all direct children are full width */
}

input, select, .input-with-toggle {
  width: 100% !important;
  display: block !important;
}

input, select {
  background-color: #f1f3f5 !important;
  border: 1.5px solid #e9ecef !important;
  padding: 10px 15px !important;
  margin: 6px 0 !important;
  font-size: 14px;
  height: 45px !important;
  border-radius: 8px !important;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  color: #1a1a1a;
}

select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem !important;
}

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

.date-input-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.date-input-wrapper .calendar-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: black;
  pointer-events: none;
  font-size: 1.1rem;
}

/* Force birthday visibility */
input[name="birthday"] {
  color: #1a1a1a !important;
}

input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
  color: transparent;
}

input[type="date"]:focus::-webkit-datetime-edit-text,
input[type="date"]:focus::-webkit-datetime-edit-month-field,
input[type="date"]:focus::-webkit-datetime-edit-day-field,
input[type="date"]:focus::-webkit-datetime-edit-year-field,
input[type="date"]:valid::-webkit-datetime-edit-text,
input[type="date"]:valid::-webkit-datetime-edit-month-field,
input[type="date"]:valid::-webkit-datetime-edit-day-field,
input[type="date"]:valid::-webkit-datetime-edit-year-field {
  color: #1a1a1a;
}

.birthday-placeholder-text {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  pointer-events: none;
  font-size: 14px;
}

#birthdayInput:focus + .birthday-placeholder-text,
#birthdayInput:valid + .birthday-placeholder-text {
  display: none;
}

input:focus, select:focus {
  outline: none;
  border-color: #22747f !important;
  background-color: #fff !important;
  box-shadow: 0 0 0 4px rgba(34, 116, 127, 0.1) !important;
}

input.valid { border-color: #28a745; }
input.invalid { border-color: #dc3545; }

.login-container {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  width: 95%;
  max-width: 960px;
  min-height: 520px;
  margin: auto;
}

.form-container {
  position: absolute;
  top: 0;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1),
              opacity 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  background-color: #FFFFFF;
  z-index: 1;
  pointer-events: auto;
  will-change: transform, opacity;
}

.sign-in-container {
  left: 0;
  width: 50%;
  z-index: 2;
}

.login-container.right-panel-active .sign-in-container {
  transform: translateX(100%);
}

.sign-up-container {
  left: 0;
  width: 50%;
  opacity: 0;
  z-index: 1;
  overflow-y: auto;
  padding-bottom: 100px; /* High padding to ensure Register button stays above keyboard/footer */
  scrollbar-width: thin;
  scrollbar-color: #1f6f78 #f1f3f5;
}

.sign-up-container::-webkit-scrollbar {
  width: 6px;
}

.sign-up-container::-webkit-scrollbar-track {
  background: #f1f3f5;
}

.sign-up-container::-webkit-scrollbar-thumb {
  background: #1f6f78;
  border-radius: 5px;
}

.sign-up-container form {
  padding-top: 50px;
  padding-bottom: 50px;
  justify-content: flex-start !important;
  min-height: 100%;
  height: auto !important; /* Allow growing */
}

.sign-up-container form {
  width: 100%;
}

.login-container.right-panel-active .sign-up-container {
  transform: translateX(100%);
  opacity: 1;
  z-index: 200; /* Higher than overlay to be safe */
  animation: show 0.6s;
}

@keyframes show {

  0%,
  49.99% {
    opacity: 0;
    z-index: 1;
  }

  50%,
  100% {
    opacity: 1;
    z-index: 200;
  }
}

.login-container.right-panel-active .overlay-container {
  transform: translateX(-100%);
}
.overlay-container {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  pointer-events: none; /* Allow clicks through to forms behind transparent areas */
}

.overlay {
  background: #1f6f78;
  background: -webkit-linear-gradient(to right, #2c8a96, #1f6f78);
  background: linear-gradient(to right, #2c8a96, #1f6f78);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  color: #FFFFFF;
  position: relative;
  left: -100%;
  height: 100%;
  width: 200%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}

.login-container.right-panel-active .overlay {
  transform: translateX(50%);
}

.overlay-panel {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 15%;
  text-align: center;
  top: 0;
  height: 100%;
  width: 50%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
  pointer-events: auto; /* Restore clicks for overlay content (Sign In/Up buttons) */
}

.overlay-left {
  transform: translateX(-20%);
}

.login-container.right-panel-active .overlay-left {
  transform: translateX(0);
}

.overlay-right {
  right: 0;
  transform: translateX(0);
}

.login-container.right-panel-active .overlay-right {
  transform: translateX(20%);
}

.social-container {
  margin: 20px 0;
}

.social-container a {
  border: 1px solid #DDDDDD;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  height: 40px;
  width: 40px;
}

footer {
  background-color: #f8fafc;
  color: #94a3b8;
  font-size: 11px;
  width: 100%;
  text-align: center;
  padding: 15px 0;
  border-top: 1px solid #e2e8f0;
  margin-top: auto; /* Push to bottom of flex container */
  z-index: 1000;
}

footer p {
  margin: 0;
}

footer span {
  font-weight: 500;
  letter-spacing: 0.1px;
}

@media (max-width: 768px) {
  footer {
    padding: 25px 0 40px;
    background-color: #fff;
    border-top: 1px solid #f1f5f9;
  }
}




/* Mobile & Tablet Responsive */
.mobile-toggle {
  /* display: none handled by Bootstrap d-md-none in HTML */
  margin-top: 15px;
  font-size: 12px;
}

.mobile-toggle span {
  font-weight: bold;
  color: #1f6f78;
  cursor: pointer;
}

@media (max-width: 768px) {
  .login-container {
    width: 100%;
    height: auto;
    min-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0;
    overflow: visible; /* Allow content to flow */
  }

  .mobile-logo-area {
    display: none !important; /* Fully disabled */
  }

  .mobile-logo-area h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -1px;
  }

  .logo-tagline {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .form-container {
    position: relative;
    width: 100%;
    height: auto; /* Allow natural height */
    min-height: 100dvh;
    background: #fff;
    border-radius: 0;
    padding: 30px 20px 40px; 
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    overflow-y: visible; /* Use body/container scroll */
  }

  /* Form spacing for mobile */
  form {
    padding: 0 !important;
    justify-content: flex-start !important;
    min-height: auto !important;
    display: block !important; /* Allow natural flow */
  }

  form h1 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem !important;
  }

  form span {
    margin-bottom: 20px !important;
    display: block;
  }

  .sign-in-container {
    z-index: 5;
    opacity: 1;
  }

  .sign-up-container {
    z-index: 1;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100dvh;
    border-radius: 0;
    padding: 30px 20px 40px;
    background: #fff;
  }

  /* Logic to switch forms in the card */
  .login-container.right-panel-active .sign-in-container {
    transform: translateY(0);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
  }

  .login-container.right-panel-active .sign-up-container {
    transform: translateY(0);
    opacity: 1;
    z-index: 5;
    animation: fadeIn 0.5s forwards;
  }



  /* Hide background lines on mobile for cleaner look */
  .background-anim {
    display: none;
  }

  /* Keyboard adaptation: lift logo area slightly when height is small */
  @media (max-height: 600px) {
    .mobile-logo-area {
      top: 2dvh;
    }
    .mobile-logo-area h1 {
      font-size: 1.8rem;
    }
    .form-container {
      height: 85dvh;
    }
  }

  /* Optimization for tall FHD+ mobiles (e.g. 1080x2340) */
  @media (min-height: 800px) {
    .mobile-logo-area {
      top: 10dvh;
    }
    .form-container {
      height: 70dvh;
      padding-top: 50px;
    }
    .form-container h1 {
      margin-bottom: 1rem;
    }
  }
}

/* Background Shapes */
.background-anim {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.line {
  position: absolute;
  width: 100%;
  height: 300px;
  background: linear-gradient(90deg, #1f6f78, transparent);
  opacity: 0.1;
  transform: rotate(-45deg);
  transform-origin: bottom left;
}

.line:nth-child(1) {
  bottom: 0;
  left: -20%;
  width: 150%;
}

.line:nth-child(2) {
  bottom: -10%;
  left: -10%;
  width: 150%;
  background: linear-gradient(90deg, transparent, #1f6f78);
  opacity: 0.08;
}

/* ============================================
   OTP & Success Container Transitions
   ============================================ */
.otp-container,
.success-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  /* Hidden state */
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
  visibility: hidden;
}

.otp-container.active,
.success-container.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

/* ============================================
   6-Box OTP Input (matching recovery page)
   ============================================ */
.otp-boxes {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px auto 0;
}

.otp-box {
  width: 46px !important;
  height: 54px !important;
  border: 2px solid #dee2e6 !important;
  border-radius: 5px !important;
  font-size: 1.5rem !important;
  font-weight: 700;
  text-align: center;
  color: #1f6f78;
  background: #f8f9fa !important;
  caret-color: transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
}

.otp-box:focus {
  border-color: #1f6f78 !important;
  box-shadow: 0 0 0 3px rgba(31,111,120,0.15) !important;
  background: #fff !important;
}

.otp-box.filled {
  border-color: #1f6f78 !important;
  background: #fff !important;
}

/* Timer styles for auth page */
.timer-display-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.timer-circle-small {
  width: 70px;
  height: 70px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timer-svg-small {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.timer-bg-circle {
  fill: none;
  stroke: #f1f3f5;
  stroke-width: 6;
}

.timer-progress-circle {
  fill: none;
  stroke: #1f6f78;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}

.timer-text-small {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.timer-count {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f6f78;
  line-height: 1;
}

.otp-timer-expired {
    text-align: center;
}

.otp-timer-expired a {
    display: inline-block;
    margin: 0;
}

/* OTP section illustration */
.otp-illustration {
  display: flex;
  justify-content: center;
}

.otp-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(31,111,120,0.12), rgba(44,138,150,0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #1f6f78;
}

.otp-sub {
  font-size: 13px;
  color: #6c757d;
  line-height: 1.6;
  margin: 6px 0 4px;
}

.resend-area {
  font-size: 13px;
  color: #555;
}

.resend-link {
  color: #1f6f78;
  font-weight: 600;
  font-size: 13px;
  margin: 0;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.resend-link:hover { opacity: 0.75; }

/* Back ghost button */
.ghost-btn {
  background: transparent !important;
  border: 1.5px solid #adb5bd !important;
  color: #6c757d !important;
  font-size: 12px;
  padding: 10px 28px;
  border-radius: 5px;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.ghost-btn:hover {
  border-color: #1f6f78 !important;
  color: #1f6f78 !important;
}

/* ============================================
   Success Layout
   ============================================ */
.success-container {
  flex-direction: row;
}

.success-left {
  width: 50%;
  padding: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.success-icon-wrap {
  font-size: 4rem;
  color: #28a745;
  margin-bottom: 16px;
  animation: successPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes successPop {
  0%   { transform: scale(0.3); opacity: 0; }
  100% { transform: scale(1);   opacity: 1; }
}

.success-sub {
  font-size: 13px;
  color: #6c757d;
  line-height: 1.6;
  margin: 6px 0;
}

.signin-btn {
  display: inline-block;
  border-radius: 5px;
  border: none;
  background-color: #1f6f78;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 12px 45px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.signin-btn:hover {
  background-color: #175f67;
}

.success-info-panel {
  width: 50%;
  background: linear-gradient(135deg, #2c8a96, #1f6f78);
  color: white;
  padding: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.success-check-big {
  font-size: 3rem;
  opacity: 0.85;
}

.success-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.feature-item i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* Validation tooltip used for username / password hints */
.password-requirements, .username-requirements {
  background: #fdfdfd;
  border: 1px solid #22747f40;
  border-left: 4px solid #22747f;
  border-radius: 6px;
  padding: 12px 18px;
  margin: 8px 0 20px !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.password-requirements p, .username-requirements p {
  color: #495057;
  font-weight: 700 !important;
  margin: 0 0 8px 0 !important;
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.password-requirements ul li, .username-requirements ul li {
  font-size: 12px !important;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.password-requirements ul li i, .username-requirements ul li i {
  width: 18px;
}

.text-success { color: #28a745 !important; }
.text-danger { color: #dc3545 !important; }

/* Remove old tooltip styles */
.validation-tooltip { display: none !important; }

/* Password toggle button */
.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  color: rgba(0,0,0,0.4) !important;
  font-size: 14px !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  z-index: 10;
  box-shadow: none !important;
  transition: color 0.2s ease !important;
}

.toggle-password:hover {
  color: #1f6f78 !important;
  transform: translateY(-50%) scale(1.1) !important;
}

.toggle-password:active {
  transform: translateY(-50%) scale(0.9) !important;
}

.password-field-wrapper { 
  position: relative; 
  margin: 4px 0 !important;
}

.password-field-wrapper input {
  margin: 0 !important;
  padding-right: 35px !important; /* Space for the eye icon */
}

.otp-content {
  width: 50%;
  padding: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}



.info-panel {
  width: 50%;
  background-color: #1f6f78;
  color: white;
  padding: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.info-content h3 {
  margin: 0 0 30px 0;
  font-size: 24px;
  font-weight: 600;
}

.step-indicator {
  margin-bottom: 30px;
}

.step {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.step.active {
  opacity: 1;
}

.step.completed {
  opacity: 1;
}

.step-number {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  margin-right: 15px;
  flex-shrink: 0;
}

.step.active .step-number {
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid white;
}

.step.completed .step-number {
  background: #28a745;
  border: 2px solid #28a745;
}

.step-text {
  text-align: left;
  flex: 1;
}

.step-text h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
  font-weight: 600;
}

.step-text p {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
}



.message {
  margin-top: 10px;
  padding: 8px;
  border-radius: 5px;
  font-size: 12px;
  text-align: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  display: none;
}

.message.show {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

.message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.loader {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #1f6f78;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  margin: 10px auto;
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loader.show {
  display: block;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40%  { transform: translateY(-10px); }
  60%  { transform: translateY(-5px); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}

/* Mobile Responsive Adjustments for OTP/Success */
@media (max-width: 768px) {

  .otp-container,
  .success-container {
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
  }

  .otp-content,
  .success-left {
    width: 100%;
    padding: 30px 8%;
  }

  /* Hide teal info/feature panels on mobile */
  .info-panel,
  .success-info-panel {
    display: none;
  }

  .otp-boxes {
    gap: 7px;
  }

  .otp-box {
    width: 40px !important;
    height: 48px !important;
    font-size: 1.3rem !important;
    border-radius: 5px !important;
  }

  .form-container {
    overflow-y: auto;
  }
}
/* ============================================================
   BROWSER DARK MODE NEUTRALIZER – Auth
   ============================================================ */
