/* ==========================================================================
   Aurum - Light Responsive Authentication Suite
   Fonts: Sora (Headings/Buttons/Badges) & Inter (Body/Inputs/Labels)
   Theme: white / light backgrounds, indigo primary (#3d4ec8 / #4d63e6)
   ========================================================================== */

/* Design Tokens & CSS Variables */
:root {
  --bg-page: #f5f6fa;
  --bg-surface: #ffffff;
  --bg-input: #f8f9fd;
  --bg-input-focus: #ffffff;

  --primary-blue: #3d4ec8;
  --primary-light: #4d63e6;
  --primary-glow: rgba(61, 78, 200, 0.25);
  --accent-cyan: #4d63e6;
  --accent-gradient: linear-gradient(90deg, #3d4ec8 0%, #4d63e6 55%, #5b73f0 100%);
  --text-gradient: linear-gradient(135deg, #4d63e6 0%, #2c3aa8 100%);

  --text-white: #1d2433;
  --text-primary: #1d2433;
  --text-secondary: #5d6a7e;
  --text-muted: #8a95a9;

  --border-card: rgba(61, 78, 200, 0.14);
  --border-input: #dfe4f0;
  --border-focus: #4d63e6;

  --card-radius: 24px;
  --input-radius: 12px;
  --btn-radius: 12px;

  --shadow-card: 0 24px 60px -28px rgba(29, 36, 51, 0.22),
                 0 2px 8px rgba(29, 36, 51, 0.05);
  --shadow-btn: 0 10px 22px -8px rgba(61, 78, 200, 0.55);
  --shadow-input-focus: 0 0 0 3px rgba(61, 78, 200, 0.15);

  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-primary);
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Full Page Wrapper: light gradient backdrop with subtle pattern */
.login-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 2.5rem 1.5rem;
  background-color: var(--bg-page);
  background-image:
    radial-gradient(circle at 84% 10%, rgba(77, 99, 230, 0.10) 0%, transparent 34%),
    radial-gradient(circle at 6% 94%, rgba(61, 78, 200, 0.08) 0%, transparent 30%),
    linear-gradient(180deg, #f8f9fd 0%, #f0f3fb 55%, #eaeefb 100%);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  overflow-x: hidden;
  z-index: 1;
}

/* Decorative faint grid pattern, faded toward the edges */
.login-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61, 78, 200, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 78, 200, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 42%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 95% 85% at 50% 42%, #000 20%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

/* Soft aurora glow accent in the top-right corner */
.login-wrapper::after {
  content: '';
  position: absolute;
  top: -170px;
  right: -130px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(77, 99, 230, 0.13) 0%, rgba(77, 99, 230, 0) 65%);
  pointer-events: none;
  z-index: 0;
}

/* Main Container: 2-Column Desktop Grid */
.login-container {
  width: 100%;
  max-width: 1240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
  margin: auto;
}

/* ==========================================================================
   LEFT COLUMN: BRANDING & FEATURES (DESKTOP)
   ========================================================================== */
.brand-column {
  flex: 1.15;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 620px;
  position: relative;
  padding-right: 1.5rem;
}

/* Brand Header & Logo */
.brand-header {
  margin-bottom: 2rem;
}

.logo-box {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* Logo Styling - shown as-is on the light backdrop */
.brand-logo, .card-logo {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover, .card-logo:hover {
  transform: scale(1.02);
}

/* Hero Typography */
.brand-hero {
  margin-bottom: 1rem;
  position: relative;
  z-index: 3;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  color: #141b2c;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.hero-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 1rem;
  border-radius: 4px;
  background: linear-gradient(90deg, #3d4ec8, #4d63e6 60%, rgba(77, 99, 230, 0.25) 100%);
}

.gradient-text {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-family: var(--font-body);
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 440px;
  font-weight: 400;
  line-height: 1.6;
}

/* Spacer for balanced layout */
.hero-spacer {
  flex: 1;
  min-height: 140px;
}

/* Bottom Features Bar */
.features-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: auto;
  padding-top: 1.25rem;
  position: relative;
  z-index: 5;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-icon {
  color: #3d4ec8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-line1 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.2;
}

.feature-line2 {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: #1d2433;
  font-weight: 600;
  line-height: 1.2;
}

.feature-divider {
  width: 1px;
  height: 28px;
  background: rgba(61, 78, 200, 0.22);
}

/* ==========================================================================
   RIGHT COLUMN: AUTH CARD (WHITE, ELEVATED)
   ========================================================================== */
.login-card-column {
  flex: 0.95;
  display: flex;
  justify-content: center;
  max-width: 490px;
  width: 100%;
}

.login-card {
  position: relative;
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--card-radius);
  padding: 2.25rem 2.2rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Soft floating halo behind the card */
.login-card::after {
  content: '';
  position: absolute;
  bottom: -110px;
  left: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 78, 200, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* ==========================================================================
   ANIMATED CARD GLOW BAR (indigo beam on the card's top edge)
   ========================================================================== */
.card-glow-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(61, 78, 200, 0.12) 15%,
    rgba(61, 78, 200, 0.55) 35%,
    #4d63e6 50%,
    rgba(61, 78, 200, 0.55) 65%,
    rgba(61, 78, 200, 0.12) 85%,
    transparent 100%
  );
  background-size: 200% 100%;
  box-shadow: 0 0 14px 1px rgba(61, 78, 200, 0.35);
  animation: glowSweep 4s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Light flare traveling along top edge */
.card-glow-bar::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 80px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 10%, rgba(77, 99, 230, 0.9) 60%, transparent 100%);
  filter: blur(1.5px);
  box-shadow: 0 0 14px 3px rgba(61, 78, 200, 0.35);
  animation: plasmaLaser 4s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

@keyframes glowSweep {
  0% {
    background-position: 100% 0;
    opacity: 0.75;
  }
  50% {
    background-position: 50% 0;
    opacity: 1;
  }
  100% {
    background-position: 0% 0;
    opacity: 0.75;
  }
}

@keyframes plasmaLaser {
  0% {
    left: -10%;
    opacity: 0.3;
    transform: scaleX(0.6);
  }
  20% {
    opacity: 1;
    transform: scaleX(1.2);
  }
  80% {
    opacity: 1;
    transform: scaleX(1.2);
  }
  100% {
    left: 85%;
    opacity: 0.3;
    transform: scaleX(0.6);
  }
}

/* Card Header */
.card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.card-logo-wrap {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: #1d2433;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}

.card-subtitle {
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Form Styles */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.form-group {
  position: relative;
}

/* Form Controls with Left Icon & Clean Light Look */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--input-radius);
  transition: all 0.25s ease;
}

.input-wrapper:focus-within {
  border-color: var(--border-focus);
  background: var(--bg-input-focus);
  box-shadow: var(--shadow-input-focus);
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: #8a95a9;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: color 0.2s ease;
}

.input-wrapper:focus-within .input-icon {
  color: #3d4ec8;
}

/* Stacked Two-Tier Input Container */
.input-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 0.45rem 1rem 0.45rem 3.1rem;
}

.input-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.1;
  margin-bottom: 2px;
  pointer-events: none;
}

.input-content .form-control {
  padding: 0;
  height: 24px;
  font-size: 0.94rem;
}

/* Standard Single-tier Input */
.form-control {
  width: 100%;
  height: 48px;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 1rem 0 3.1rem;
  font-size: 0.96rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  border-radius: var(--input-radius);
}

.form-control::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

/* Password Visibility Toggle Button */
.password-toggle {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.password-toggle:hover {
  color: #3d4ec8;
  transform: scale(1.08);
}

.hidden {
  display: none !important;
}

/* Terms Checkbox Row */
.terms-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.2rem 0;
}

.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #c4cce0;
  border-radius: 5px;
  background: #ffffff;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.custom-checkbox:checked {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
}

.custom-checkbox:checked::before {
  content: '';
  width: 9px;
  height: 5px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.terms-text {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.terms-link {
  color: #3d4ec8;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.terms-link:hover {
  color: #2c3aa8;
  text-decoration: underline;
}

/* Footer disclaimer text */
.footer-disclaimer {
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.4;
}

/* Captcha Row */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
}

.captcha-badge {
  flex-shrink: 0;
  width: 120px;
  height: 48px;
  background: #f1f5f9;
  border-radius: var(--input-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 6px rgba(29, 36, 51, 0.08);
  border: 1px solid #e2e8f0;
  cursor: pointer;
  user-select: none;
}

.captcha-badge canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.captcha-refresh-btn {
  flex-shrink: 0;
  width: 46px;
  height: 48px;
  background: #ffffff;
  border: 1px solid var(--border-input);
  border-radius: var(--input-radius);
  color: #3d4ec8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.captcha-refresh-btn:hover {
  background: rgba(61, 78, 200, 0.08);
  border-color: var(--border-focus);
  color: #2c3aa8;
}

.captcha-refresh-btn.rotating svg {
  animation: rotateRefresh 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes rotateRefresh {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.captcha-input-wrap {
  flex: 1;
}

.captcha-input-wrap .form-control {
  padding-left: 2.85rem;
  font-size: 0.92rem;
  height: 48px;
}

.captcha-input-wrap .input-icon {
  left: 0.85rem;
}

/* Feedback Notifications */
.form-feedback {
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-feedback.error {
  display: block;
  background: rgba(225, 75, 82, 0.08);
  border: 1px solid rgba(225, 75, 82, 0.35);
  color: #b03238;
}

.form-feedback.success {
  display: block;
  background: rgba(31, 160, 92, 0.08);
  border: 1px solid rgba(31, 160, 92, 0.35);
  color: #157347;
}

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

/* Buttons */
.btn-login, .btn-primary {
  position: relative;
  width: 100%;
  height: 50px;
  background: var(--accent-gradient);
  border: none;
  border-radius: var(--btn-radius);
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  margin-top: 0.25rem;
  text-decoration: none;
}

.btn-login::before, .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.btn-login:hover, .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(61, 78, 200, 0.6);
}

.btn-login:hover::before, .btn-primary:hover::before {
  left: 100%;
}

.btn-login:active, .btn-primary:active {
  transform: translateY(0);
}

.btn-login svg, .btn-primary svg {
  transition: transform 0.25s ease;
}

.btn-login:hover svg, .btn-primary:hover svg {
  transform: translateX(4px);
}

/* Divider OR */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.2rem 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: #e3e7f2;
}

.divider-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* Outline Action Button */
.btn-signup, .btn-outline {
  width: 100%;
  height: 48px;
  background: #ffffff;
  border: 1px solid rgba(61, 78, 200, 0.4);
  border-radius: var(--btn-radius);
  color: #1d2433;
  font-size: 0.98rem;
  font-weight: 500;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-signup svg, .btn-outline svg {
  color: #3d4ec8;
}

.btn-signup:hover, .btn-outline:hover {
  background: rgba(61, 78, 200, 0.07);
  border-color: var(--border-focus);
  transform: translateY(-1px);
}

.btn-outline .link-accent {
  color: #3d4ec8;
  font-weight: 600;
  margin-left: 4px;
}

/* Forgot Password Link */
.forgot-password-wrap {
  text-align: center;
  margin-top: 0.2rem;
}

.forgot-password-link {
  font-family: var(--font-body);
  color: #3d4ec8;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.forgot-password-link:hover {
  color: #2c3aa8;
  text-decoration: underline;
}

/* ==========================================================================
   PASSWORD STRENGTH METER & REQUIREMENT CHECKLIST
   ========================================================================== */
.strength-box {
  margin: 0.2rem 0 0.4rem;
  background: #f8f9fd;
  border: 1px solid rgba(61, 78, 200, 0.14);
  border-radius: var(--input-radius);
  padding: 0.75rem 0.9rem;
}

.strength-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  margin-bottom: 0.45rem;
}

.strength-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.strength-status {
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.strength-status.weak { color: #e14b52; }
.strength-status.fair { color: #d97706; }
.strength-status.good { color: #3d4ec8; }
.strength-status.strong { color: #1fa05c; }

.strength-meter {
  display: flex;
  gap: 5px;
  height: 4px;
  width: 100%;
  margin-bottom: 0.65rem;
}

.meter-segment {
  flex: 1;
  height: 100%;
  border-radius: 2px;
  background: rgba(29, 36, 51, 0.1);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.meter-segment.active-weak {
  background: #e14b52;
}

.meter-segment.active-fair {
  background: #d97706;
}

.meter-segment.active-good {
  background: #3d4ec8;
}

.meter-segment.active-strong {
  background: #1fa05c;
}

.requirement-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.req-item {
  font-size: 0.73rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.25s ease;
}

.req-icon {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.req-item.valid {
  color: #2c3aa8;
}

.req-item.valid .req-icon {
  background: #3d4ec8;
  border-color: #3d4ec8;
  color: #ffffff;
}

/* ==========================================================================
   COPYRIGHT SECTION
   ========================================================================== */
.page-copyright {
  position: relative;
  z-index: 2;
  margin-top: 1.8rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.page-copyright a {
  color: #3d4ec8;
  text-decoration: none;
  margin: 0 0.35rem;
  transition: color 0.2s ease;
}

.page-copyright a:hover {
  color: #2c3aa8;
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE DESIGN (NO UNNECESSARY SCROLLING ON MOBILE)
   ========================================================================== */

/* Tablet & Mobile Screens */
@media screen and (max-width: 920px) {
  .login-wrapper {
    padding: 1.25rem 1rem 1rem;
    min-height: 100vh;
    justify-content: center;
  }

  /* Hide the left marketing column on mobile */
  .brand-column {
    display: none !important;
  }

  .login-container {
    justify-content: center;
    align-items: center;
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
  }

  .login-card-column {
    max-width: 100%;
    width: 100%;
  }

  .login-card {
    padding: 1.6rem 1.35rem;
    border-radius: 20px;
  }

  .card-header {
    margin-bottom: 1.15rem;
  }

  .card-logo {
    height: 42px;
  }

  .card-title {
    font-size: 1.55rem;
  }

  .card-subtitle {
    font-size: 0.86rem;
  }

  .login-form {
    gap: 0.75rem;
  }

  .input-content {
    padding: 0.35rem 0.85rem 0.35rem 2.85rem;
  }

  .input-icon {
    left: 0.85rem;
  }

  .form-control {
    height: 44px;
    font-size: 0.92rem;
  }

  .input-content .form-control {
    height: 22px;
  }

  .captcha-badge {
    height: 44px;
    width: 110px;
  }

  .captcha-refresh-btn {
    height: 44px;
    width: 44px;
  }

  .btn-login, .btn-primary {
    height: 46px;
    font-size: 1.02rem;
  }

  .btn-signup, .btn-outline {
    height: 44px;
    font-size: 0.94rem;
  }

  .page-copyright {
    margin-top: 1rem;
    font-size: 0.78rem;
  }
}

/* Extra small devices */
@media screen and (max-width: 400px) {
  .login-card {
    padding: 1.4rem 1.1rem;
  }

  .captcha-row {
    flex-wrap: wrap;
  }

  .captcha-input-wrap {
    flex-basis: 100%;
  }

  .otp-inputs-wrap {
    gap: 0.35rem !important;
  }

  .otp-digit {
    width: 40px !important;
    height: 48px !important;
    font-size: 1.25rem !important;
  }
}

/* ==========================================================================
   OTP Verification Components
   ========================================================================== */
.otp-card-section {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  animation: fadeInOtp 0.4s ease-out;
}

@keyframes fadeInOtp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.otp-target-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(61, 78, 200, 0.07);
  border: 1px solid rgba(61, 78, 200, 0.22);
  border-radius: 99px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  color: #3d4ec8;
  margin: 0 auto;
  max-width: 100%;
  word-break: break-all;
}

.otp-target-badge .target-val {
  font-weight: 600;
  color: #1d2433;
}

.otp-target-badge .btn-change-target {
  background: none;
  border: none;
  color: #3d4ec8;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.8rem;
  font-family: inherit;
  padding: 0;
}

.otp-target-badge .btn-change-target:hover {
  color: #2c3aa8;
}

.otp-inputs-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin: 0.5rem 0;
}

.otp-digit {
  width: 48px;
  height: 56px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: #1d2433;
  background: #ffffff;
  border: 1.5px solid var(--border-input);
  border-radius: var(--input-radius);
  outline: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  caret-color: var(--primary-light);
  box-shadow: 0 1px 3px rgba(29, 36, 51, 0.06);
}

.otp-digit:focus {
  border-color: var(--primary-light);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(61, 78, 200, 0.18);
  transform: translateY(-2px);
}

.otp-digit.filled {
  border-color: rgba(61, 78, 200, 0.55);
  background: rgba(61, 78, 200, 0.05);
  color: #2c3aa8;
}

.otp-timer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 0 0.25rem;
}

.otp-timer-count {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
}

.otp-timer-count.active {
  color: #d97706;
}

.otp-resend-btn {
  background: none;
  border: none;
  color: #3d4ec8;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  padding: 0.2rem 0.4rem;
}

.otp-resend-btn:hover:not(:disabled) {
  color: #2c3aa8;
  text-decoration: underline;
}

.otp-resend-btn:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.6;
  text-decoration: none;
}

.otp-demo-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(61, 78, 200, 0.06);
  border: 1px dashed rgba(61, 78, 200, 0.35);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
  color: #4a5578;
}

.otp-demo-hint strong {
  font-family: var(--font-heading);
  letter-spacing: 2px;
  color: #3d4ec8;
  font-size: 0.95rem;
}

.btn-autofill-otp {
  background: linear-gradient(90deg, #3d4ec8, #4d63e6);
  border: none;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-autofill-otp:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(61, 78, 200, 0.35);
}

/* Verified Badge in Change Password */
.verified-account-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(31, 160, 92, 0.08);
  border: 1px solid rgba(31, 160, 92, 0.3);
  border-radius: 10px;
  padding: 0.65rem 0.95rem;
  margin-bottom: 1.1rem;
  color: #157347;
  font-size: 0.85rem;
}

.verified-account-badge .v-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1fa05c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
}
