/* ══════════════════════════════════════════════════════════
   search_pan.css — Page-specific styles for search_pan.php
   Path: /assets/css/search_pan.css
   (Global variables & resets are in /assets/css/style.css)
   ══════════════════════════════════════════════════════════ */

/* ── Page wrap ──────────────────────────────────────────── */
.sp-wrap {
  max-width: 728px;
  margin: 0 auto;
  padding: 24px 14px 100px;
  width: 100%;
}

/* ── Hero ───────────────────────────────────────────────── */
.sp-hero {
  background: linear-gradient(135deg, var(--navy), #1a3a8f, var(--navy-light));
  border-radius: 18px;
  padding: 30px 22px 26px;
  text-align: center;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.sp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 1px, transparent 14px);
  opacity: .03;
}
.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 11px;
  color: #93c5fd;
  font-weight: 700;
  letter-spacing: .6px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.sp-hero h1 {
  font-size: clamp(20px, 4.5vw, 27px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.sp-hero p {
  font-size: 13px;
  color: #93c5fd;
  line-height: 1.5;
}

/* ── Form Card ──────────────────────────────────────────── */
.sp-card {
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 26px 22px;
}
.sp-field { margin-bottom: 18px; }
.sp-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.sp-lbl i { color: var(--primary); font-size: 12px; }
.sp-inp {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.sp-inp:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(59,130,246,.14);
  background: #fff;
}
.sp-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .2s;
}
.sp-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,86,219,.30);
}

/* ════════════════════════════════════════════════════════
   OVERLAY & MODAL
   ════════════════════════════════════════════════════════ */
.sp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,20,50,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.sp-overlay.open { display: flex; }

.sp-modal {
  background: #fff;
  border-radius: 22px;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(10,20,50,.20);
  animation: spPop .32s cubic-bezier(.175,.885,.32,1.275);
}

/* Mobile — bottom sheet */
@media (max-width: 600px) {
  .sp-overlay {
    align-items: flex-end;
    justify-content: center;
    padding: 0;
  }
  .sp-modal {
    max-width: 100%;
    border-radius: 22px 22px 0 0;
    animation: spSlideUp .32s cubic-bezier(.175,.885,.32,1.275);
  }
}

@keyframes spPop {
  from { opacity: 0; transform: scale(.90); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes spSlideUp {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════
   SUCCESS MODAL
   ════════════════════════════════════════════════════════ */
.sp-mh {
  padding: 26px 22px 22px;
  text-align: center;
}
.sp-mh-success {
  background: linear-gradient(135deg, var(--navy), #1a3a8f);
}
.sp-mh-icon {
  width: 58px;
  height: 58px;
  background: rgba(255,255,255,.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border: 1px solid rgba(255,255,255,.22);
}
.sp-mh-success h2 { font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 5px; }
.sp-mh-success p  { font-size: 12.5px; color: #93c5fd; margin: 0; }

.sp-mb { padding: 20px; }

/* Masked PAN box */
.sp-pan-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  margin-bottom: 14px;
}
.sp-pan-lbl {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom: 8px;
}
.sp-pan-val {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 4px;
  font-family: monospace;
  margin-bottom: 5px;
}
.sp-pan-note { font-size: 11.5px; color: #94a3b8; }

/* Price box */
.sp-price-box {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}
.sp-price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.sp-p-orig  { font-size: 12.5px; color: #9ca3af; text-decoration: line-through; }
.sp-p-badge { background: #22c55e; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.sp-p-final { font-size: 28px; font-weight: 700; color: #15803d; margin-bottom: 10px; }
.sp-p-final span { font-size: 14px; font-weight: 400; color: #9ca3af; text-decoration: line-through; margin-left: 6px; }
.sp-feats { display: flex; flex-direction: column; gap: 6px; }
.sp-feat { font-size: 12.5px; color: #166534; display: flex; align-items: center; gap: 7px; font-weight: 500; }
.sp-feat i { color: #22c55e; font-size: 13px; }

/* Pay button */
.sp-pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all .22s;
  box-shadow: 0 4px 16px rgba(34,197,94,.30);
}
.sp-pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(34,197,94,.40);
}

/* Modal footer */
.sp-modal-footer {
  padding: 0 20px 18px;
  text-align: center;
}
.sp-close-lnk {
  font-size: 12.5px;
  color: #94a3b8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color .2s;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
}
.sp-close-lnk:hover { color: var(--primary); }

/* ════════════════════════════════════════════════════════
   NOT-FOUND MODAL
   ════════════════════════════════════════════════════════ */
.sp-mh-notfound {
  background: #EAF4FF;
  border-bottom: 1px solid #B5D4F4;
}
.sp-nf-ring {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #DBEEFF;
  border: 1.5px solid #B5D4F4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 26px;
  color: #185FA5;
}
.sp-mh-notfound h2 { font-size: 19px; font-weight: 600; color: #0C447C; margin: 0 0 5px; }
.sp-nf-sub { font-size: 13px; color: #185FA5; margin: 0 0 12px; }
.sp-cd-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #DBEEFF;
  border: 1px solid #B5D4F4;
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 12.5px;
  color: #0C447C;
  font-weight: 500;
}
.sp-cd-pill b { font-weight: 700; min-width: 18px; display: inline-block; text-align: center; }

.sp-nf-body { padding: 20px; }
.sp-tips-box {
  background: #f8faff;
  border: 1px solid #B5D4F4;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sp-tip-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #374151;
  line-height: 1.55;
}
.sp-tip-row i { color: #378ADD; margin-top: 2px; flex-shrink: 0; font-size: 13px; }

.sp-btn-retry {
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  transition: all .2s;
  text-decoration: none;
}
.sp-btn-retry:hover { background: var(--navy-light); transform: translateY(-1px); }

.sp-btn-ghost {
  width: 100%;
  padding: 11px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all .2s;
  text-decoration: none;
}
.sp-btn-ghost:hover {
  background: #EAF4FF;
  color: var(--primary);
  border-color: #B5D4F4;
}

/* ════════════════════════════════════════════════════════
   LOADING OVERLAY
   ════════════════════════════════════════════════════════ */
.sp-loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,20,50,.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sp-loading-overlay.open { display: flex; }

.sp-loading-box {
  background: #fff;
  border-radius: 22px;
  width: 100%;
  max-width: 370px;
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(10,20,50,.25);
  animation: spPop .35s cubic-bezier(.175,.885,.32,1.275);
}

/* Header */
.sp-lb-head {
  background: linear-gradient(135deg, var(--navy), #1a3a8f);
  padding: 28px 24px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Ring */
.sp-lb-ring-wrap {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto 14px;
}
.sp-lb-ring-svg {
  position: absolute;
  inset: 0;
  width: 70px;
  height: 70px;
  animation: spRingSpin 1.4s linear infinite;
}
.sp-lb-ring-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-lb-ring-icon > div {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes spRingSpin { to { transform: rotate(360deg); } }

.sp-lb-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 5px;
}
.sp-lb-sub {
  font-size: 12.5px;
  color: #93c5fd;
  margin: 0;
  min-height: 18px;
  transition: opacity .4s;
}

/* Body / steps */
.sp-lb-body {
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-lstep {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 11px;
  border: 1px solid transparent;
  transition: all .4s ease;
}
.sp-lstep-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-lstep-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sp-lstep-name { font-size: 13px; font-weight: 600; }
.sp-lstep-desc { font-size: 11px; }

/* Done */
.sp-lstep-done {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.sp-lstep-done .sp-lstep-dot-done {
  background: var(--primary);
}
.sp-lstep-done .sp-lstep-name { color: var(--navy); }
.sp-lstep-done .sp-lstep-desc { color: var(--primary); }
.sp-lstep-tick { flex-shrink: 0; }

/* Active */
.sp-lstep-active {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.sp-lstep-dot-active {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  animation: spPulse 1s ease-in-out infinite;
}
.sp-lstep-active .sp-lstep-name { color: var(--navy); }
.sp-lstep-active .sp-lstep-desc { color: var(--primary); }
.sp-lstep-dots {
  display: flex;
  gap: 3px;
  align-items: center;
  flex-shrink: 0;
}
.sp-lstep-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  animation: spDot 1.2s ease-in-out infinite;
}
.sp-lstep-dots span:nth-child(2) { animation-delay: .2s; }
.sp-lstep-dots span:nth-child(3) { animation-delay: .4s; }

/* Idle */
.sp-lstep-idle {
  background: #f8faff;
  border-color: var(--border);
}
.sp-lstep-dot-idle { background: #e2e8f0; }
.sp-lstep-idle .sp-lstep-name { color: #94a3b8; }
.sp-lstep-idle .sp-lstep-desc { color: #cbd5e1; }

/* Animations */
@keyframes spPulse { 0%,100%{opacity:1} 50%{opacity:.65} }
@keyframes spDot   { 0%,80%,100%{transform:scale(1);opacity:.4} 40%{transform:scale(1.5);opacity:1} }
@keyframes spSpin  { to{transform:rotate(360deg)} }
.sp-spin { animation: spSpin 1s linear infinite; }

/* ── Mobile tweaks ──────────────────────────────────────── */
@media (max-width: 420px) {
  .sp-pan-val  { font-size: 22px; letter-spacing: 3px; }
  .sp-p-final  { font-size: 24px; }
  .sp-pay-btn  { font-size: 14px; padding: 13px; }
}

/* ══════════════════════════════════════════════════════════
   search_pan_legal.css — Legal Disclaimer section styles
   for search_pan.php
   Include via: <link rel="stylesheet" href="/assets/css/search_pan_legal.css">
   ══════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════
   TRUST STRIP — Legal · Instant PAN · 24×7
   ════════════════════════════════════════════════════════ */
.sp-trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(10,20,50,.06);
  gap: 8px;
}

.sp-trust-item {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1;
  min-width: 0;
}

.sp-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.sp-trust-icon--blue   { background: #eff6ff; color: #1a56db; }
.sp-trust-icon--green  { background: #f0fdf4; color: #16a34a; }
.sp-trust-icon--purple { background: #f5f3ff; color: #7c3aed; }

.sp-trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sp-trust-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy, #0c2461);
  white-space: nowrap;
}
.sp-trust-desc {
  font-size: 10.5px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-trust-divider {
  width: 1px;
  height: 38px;
  background: var(--border, #e2e8f0);
  flex-shrink: 0;
}

/* Mobile — stack to 3 rows */
@media (max-width: 480px) {
  .sp-trust-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 14px;
  }
  .sp-trust-item {
    padding: 12px 0;
  }
  .sp-trust-divider {
    width: 100%;
    height: 1px;
  }
  .sp-trust-desc { white-space: normal; }
}

/* ── Legal Disclaimer Wrapper ───────────────────────────── */
.sp-legal {
  margin-top: 28px;
  background: #f8faff;
  border: 1px solid #dce8f9;
  border-radius: 14px;
  overflow: hidden;
}

/* ── Collapsible Toggle Header ──────────────────────────── */
.sp-legal-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
  background: #edf3fd;
  border: none;
  width: 100%;
  font-family: 'Inter', sans-serif;
  transition: background .2s;
}
.sp-legal-toggle:hover {
  background: #dce8f9;
}
.sp-legal-toggle-left {
  display: flex;
  align-items: center;
  gap: 9px;
}
.sp-legal-toggle-left i {
  color: #1a56db;
  font-size: 13px;
}
.sp-legal-toggle-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #0c2461;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.sp-legal-toggle-icon {
  font-size: 11px;
  color: #4b6cb7;
  transition: transform .3s ease;
}
.sp-legal.open .sp-legal-toggle-icon {
  transform: rotate(180deg);
}

/* ── Collapsible Body ───────────────────────────────────── */
.sp-legal-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}
.sp-legal.open .sp-legal-body {
  max-height: 900px;
}

.sp-legal-inner {
  padding: 18px 18px 20px;
}

/* ── Purpose Note ───────────────────────────────────────── */
.sp-legal-purpose {
  background: #eff6ff;
  border-left: 3px solid #3b82f6;
  border-radius: 0 8px 8px 0;
  padding: 11px 14px;
  font-size: 12.5px;
  color: #1e3a8a;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* ── Declaration List ───────────────────────────────────── */
.sp-legal-decl-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 9px;
}
.sp-legal-decl-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}
.sp-legal-decl-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  color: #374151;
  line-height: 1.6;
}
.sp-legal-decl-item i {
  color: #22c55e;
  font-size: 12px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ── Laws Box ───────────────────────────────────────────── */
.sp-legal-laws {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 13px 14px;
  margin-bottom: 14px;
}
.sp-legal-laws-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.sp-legal-laws-title i { color: #f59e0b; }
.sp-legal-laws-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sp-legal-law-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #78350f;
  line-height: 1.55;
}
.sp-legal-law-item::before {
  content: '•';
  color: #f59e0b;
  font-size: 14px;
  line-height: 1.3;
  flex-shrink: 0;
}

/* ── Consequences Box ───────────────────────────────────── */
.sp-legal-cons {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 10px;
  padding: 13px 14px;
  margin-bottom: 14px;
}
.sp-legal-cons-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #9f1239;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.sp-legal-cons-title i { color: #f43f5e; }
.sp-legal-cons-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.sp-legal-cons-chip {
  background: #ffe4e6;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11.5px;
  color: #9f1239;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}
.sp-legal-cons-chip i { color: #f43f5e; font-size: 10px; }

/* ── Bottom Note ────────────────────────────────────────── */
.sp-legal-note {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  color: #166534;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.sp-legal-note i {
  color: #22c55e;
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ── Mobile tweaks ──────────────────────────────────────── */
@media (max-width: 420px) {
  .sp-legal-inner { padding: 14px 14px 16px; }
  .sp-legal-toggle { padding: 12px 14px; }
  .sp-legal-cons-chips { gap: 5px; }
}

/* ════════════════════════════════════════════════════════
   OTP-STYLE AADHAAR INPUT  (4 — 4 — 4)
   Desktop: 12 individual boxes | Mobile: single input
   ════════════════════════════════════════════════════════ */

/* ── Desktop OTP boxes (shown above 520px) ─────────────── */
.sp-otp-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.sp-otp-group {
  display: flex;
  gap: 6px;
}

.sp-otp-box {
  width: 42px;
  height: 50px;
  border: 1.5px solid var(--border, #e2e8f0);
  border-radius: 10px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Inter', monospace;
  color: var(--navy, #0c2461);
  background: var(--bg, #f8faff);
  outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
  caret-color: transparent;
  -webkit-appearance: none;
}
.sp-otp-box:focus {
  border-color: #3b82f6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.sp-otp-box:not(:placeholder-shown) {
  border-color: #93c5fd;
  background: #eff6ff;
}

.sp-otp-sep {
  font-size: 22px;
  font-weight: 300;
  color: #cbd5e1;
  line-height: 1;
  user-select: none;
  margin: 0 2px;
}

/* Mobile single input — hidden on desktop */
.sp-mob-inp { display: none; }

/* ── Mobile (≤520px): hide boxes, show single input ─────── */
@media (max-width: 730px) {
  .sp-otp-wrap  { display: none !important; }
  .sp-mob-inp   { display: block !important; }
}

/* Hint below input */
.sp-otp-hint {
  text-align: center;
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 9px;
  transition: color .2s;
  font-family: 'Inter', sans-serif;
}
.sp-otp-hint--ok {
  color: #16a34a;
  font-weight: 600;
}

/* Submit button disabled state */
.sp-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}