/* ==========================================================================
   VastuLab — Ultra-Clean Minimalist Mobile Funnel
   Design Philosophy: Apple / Stripe / Superprofile Grade (Zero Clutter)
   ========================================================================== */

:root {
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  
  --color-brand: #047857;
  --color-brand-light: #ecfdf5;
  --color-yellow-cta: #facc15;
  --color-yellow-hover: #eab308;
  
  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-input: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body.sp-page {
  font-family: var(--font-body);
  background-color: #f8fafc;
  background-image: radial-gradient(at 50% 0%, #ffffff 0%, #f8fafc 75%, #f1f5f9 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.5;
  padding-bottom: 140px; /* Ample space so sticky bar never overlaps content */
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .sp-title, .sp-card-heading, .sp-sticky-cta, .sp-inpage-cta, .sp-price-val, .sp-brand-title {
  font-family: var(--font-heading);
}

/* ==========================================================================
   1. Brand Header
   ========================================================================== */
.sp-header {
  text-align: center;
  padding: 24px 16px 14px;
}

.sp-brand-avatar {
  width: 54px;
  height: 54px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.2), 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-brand-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.sp-brand-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.sp-badge-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 800;
}

/* ==========================================================================
   2. Main Clean Card
   ========================================================================== */
.sp-card-wrapper {
  max-width: 440px;
  margin: 0 auto;
  padding: 0 12px;
}

.sp-card {
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sp-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0a0e1a 0%, #111827 50%, #0a0e1a 100%);
  overflow: hidden;
  position: relative;
}

.sp-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--bg-card), transparent);
  pointer-events: none;
}

.sp-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-content {
  padding: 20px 18px 22px;
}

.sp-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.sp-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 12px;
}

.sp-meta-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  padding: 5px 12px;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 20px;
}

.sp-rating {
  font-weight: 700;
  color: #b45309;
}

.sp-dot {
  color: #cbd5e1;
}

.sp-format {
  font-weight: 600;
  color: #78350f;
}

/* Feature List */
.sp-section {
  margin-top: 4px;
}

.sp-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sp-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.sp-bonus-item {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 4px;
}

.sp-bonus-check {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #ffffff;
}

.sp-list li strong {
  display: inline;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-right: 4px;
}

.sp-list li span {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* In-Page CTA Wrap */
.sp-inpage-cta-wrap {
  margin-top: 20px;
  text-align: center;
}

.sp-inpage-cta {
  width: 100%;
  background: var(--color-yellow-cta);
  color: #0f172a;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35);
  transition: all 0.2s ease;
}

.sp-inpage-cta:hover {
  background: var(--color-yellow-hover);
  transform: translateY(-1px);
}

.sp-inpage-cta:active {
  transform: scale(0.98);
}

.sp-inpage-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Common Subcards */
.sp-subcard {
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -3px rgba(15, 23, 42, 0.04), 0 2px 6px rgba(15, 23, 42, 0.02);
  padding: 20px 18px;
  margin-top: 14px;
}

.sp-card-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.sp-card-subtext {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 14px;
}

/* Pain Points / Warning Card */
.sp-warning-card {
  border-color: #fecaca;
  background: linear-gradient(180deg, #fff5f5 0%, #ffffff 40%);
}

.sp-warning-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #b91c1c;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  padding: 3px 8px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.sp-mistake-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sp-mistake-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #fee2e2;
  border-radius: 12px;
  padding: 10px 12px;
}

.sp-mistake-icon {
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.sp-mistake-item strong {
  display: inline;
  font-size: 0.82rem;
  font-weight: 700;
  color: #991b1b;
  margin-right: 4px;
}

.sp-mistake-item span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Target Audience List */
.sp-target-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sp-target-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 10px 12px;
}

.sp-target-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #047857;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.sp-target-item strong {
  display: inline;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-right: 4px;
}

.sp-target-item span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Reviews & Social Proof */
.sp-reviews-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.sp-rating-pill {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #b45309;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.sp-review-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sp-review-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.sp-review-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.sp-avatar-initials {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-reviewer-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sp-reviewer-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.sp-reviewer-loc {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.sp-stars {
  color: #f59e0b;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.sp-review-quote {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  font-style: italic;
}

/* Mid-Page Banner CTA */
.sp-banner-cta {
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  border-radius: 20px;
  padding: 22px 18px;
  margin-top: 14px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 8px 24px -4px rgba(4, 120, 87, 0.35);
}

.sp-banner-cta-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.sp-banner-cta-content p {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-bottom: 14px;
}

.sp-banner-cta-content .sp-inpage-cta {
  background: #ffffff;
  color: #047857;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sp-banner-cta-content .sp-inpage-cta:hover {
  background: #f8fafc;
}

/* FAQ Accordion */
.sp-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-faq-item {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.sp-faq-item.active {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.sp-faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
}

.sp-faq-icon {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.sp-faq-item.active .sp-faq-icon {
  transform: rotate(45deg);
}

.sp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 14px;
}

.sp-faq-item.active .sp-faq-answer {
  max-height: 200px;
  padding: 0 14px 12px;
}

.sp-faq-answer p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Trust / Guarantee Card */
.sp-trust-card {
  text-align: center;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 16px 14px;
  margin-top: 14px;
}

.sp-trust-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.sp-trust-card h4 {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.sp-trust-card p {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.4;
}


/* ==========================================================================
   3. Persistent Sticky Bottom Bar
   ========================================================================== */
.sp-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 12px 16px;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
}

.sp-sticky-inner {
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sp-sticky-price {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sp-price-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sp-price-label {
  font-size: 0.64rem;
  font-weight: 800;
  color: #047857;
  letter-spacing: 0.4px;
}

.sp-discount-pill {
  font-size: 0.62rem;
  font-weight: 800;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 1px 6px;
  border-radius: 12px;
  line-height: 1.2;
}

.sp-price-numbers {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.sp-price-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1;
}

.sp-price-strike {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: line-through;
}

.sp-sticky-cta {
  background: linear-gradient(180deg, #fde047 0%, #facc15 100%);
  color: #0f172a;
  border: 1px solid #eab308;
  border-radius: 14px;
  padding: 13px 22px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.15s ease;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.38);
}

.sp-sticky-cta:hover {
  background: #eab308;
  transform: translateY(-1px);
}

.sp-sticky-cta:active {
  transform: scale(0.98);
}

.sp-arrow {
  font-size: 1rem;
  font-weight: 800;
  transition: transform 0.15s ease;
}

.sp-sticky-cta:hover .sp-arrow {
  transform: translateX(2px);
}

/* ==========================================================================
   4. Clean Minimalist Checkout Drawer
   ========================================================================== */
.sp-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(3px);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sp-drawer {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  border-radius: 18px 18px 0 0;
  max-height: 88vh;
  overflow-y: auto;
  padding: 12px 16px 22px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.22s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.sp-drawer-pill {
  width: 32px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 2px;
  margin: 0 auto 10px;
}

/* 3-Step Progress Bar — Centered & Refined */
.sp-step-progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 290px;
  margin: 0 auto 14px;
  padding: 2px 0 12px;
  border-bottom: 1px solid var(--border-light);
}

.sp-progress-step {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.sp-step-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.sp-step-name {
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748b;
  transition: color 0.2s ease;
}

.sp-progress-step.active .sp-step-circle {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.sp-progress-step.active .sp-step-name {
  color: #0f172a;
  font-weight: 800;
}

.sp-progress-step.completed .sp-step-circle {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.sp-progress-step.completed .sp-step-name {
  color: #0f172a;
  font-weight: 700;
}

.sp-progress-connector {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin: 0 8px;
  min-width: 16px;
  max-width: 32px;
  transition: background 0.2s ease;
}

.sp-progress-connector.active {
  background: #0f172a;
}

/* Step 2 Cart Item */
.sp-cart-item {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.sp-cart-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.sp-cart-text strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.sp-cart-text span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.sp-cart-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}

/* Product Icon Badges */
.sp-product-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-product-icon svg {
  flex-shrink: 0;
}

.sp-product-icon-pdf {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.sp-product-icon-audio {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}

.sp-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 14px;
}

.sp-step2-header {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
}

.sp-step2-header .sp-back-btn {
  justify-self: start;
}

.sp-step2-header .sp-header-center,
.sp-step2-header > div:nth-child(2) {
  justify-self: center;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sp-step2-header .sp-close-btn {
  justify-self: end;
}

/* Glassmorphic Liquid Glass Navigation Buttons (< Back & X Close) */
.sp-glass-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(241, 245, 249, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: #475569;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  flex-shrink: 0;
  outline: none;
}

.sp-glass-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(203, 213, 225, 0.9);
  color: #0f172a;
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1), inset 0 1px 1px #ffffff;
}

.sp-glass-btn:active {
  transform: scale(0.92);
  background: rgba(226, 232, 240, 0.9);
}

.sp-glass-btn svg {
  stroke: currentColor;
  display: block;
}

.sp-drawer-header h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.sp-header-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-price-pill {
  display: inline-flex;
  align-items: center;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 9999px;
  letter-spacing: 0.2px;
}

.sp-step1-header {
  align-items: center;
}

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

.sp-header-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  white-space: nowrap;
}

.sp-header-trust-chip svg {
  color: #10b981;
  flex-shrink: 0;
}

.sp-drawer-header p {
  font-size: 0.74rem;
  color: var(--text-muted);
}


/* Step Views */
.checkout-step-view {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  animation: fadeIn 0.18s ease-in-out;
}

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

/* Form inputs & Field Groups */
.sp-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.sp-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.sp-field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 2px;
}

.sp-field-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.sp-label-hint {
  font-size: 0.68rem;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: none;
  letter-spacing: 0;
}

.sp-label-hint-muted {
  color: #64748b;
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.sp-input {
  width: 100%;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-input);
  padding: 11px 12px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text-primary);
  outline: none;
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sp-input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.sp-phone-wrap {
  position: relative;
}

.sp-phone-prefix {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #334155;
  pointer-events: none;
}

.sp-phone-prefix .sp-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.sp-prefix-divider {
  width: 1px;
  height: 16px;
  background: #cbd5e1;
  margin: 0 2px 0 4px;
}

.sp-phone-field {
  padding-left: 78px;
}

.sp-step1-trust-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  margin: -6px 0 6px;
}

.sp-step1-trust-note svg {
  color: #10b981;
  flex-shrink: 0;
}

/* Order Bump Card */
.sp-bump-card {
  background: #f8fafc;
  border: 1px dashed #93c5fd;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.sp-bump-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.sp-bump-info {
  flex: 1;
}

.sp-bump-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #1e3a8a;
}

.sp-bump-tag {
  font-size: 0.78rem;
  font-weight: 800;
  color: #2563eb;
}

.sp-bump-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.sp-bump-checkbox-label {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #3b82f6;
  background: #ffffff;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #1d4ed8;
  cursor: pointer;
}

.sp-checkbox {
  accent-color: #2563eb;
  width: 14px;
  height: 14px;
}

/* Price Breakdown */
.sp-breakdown {
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.sp-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.sp-breakdown-total {
  border-top: 1px dashed var(--border-light);
  padding-top: 8px;
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.sp-total-number {
  font-weight: 800;
  color: #0f172a;
}

/* Header Amount Badge */
.sp-header-badge {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 2px;
}

/* Step 3 Layout: Dynamic Ordering based on mode-upi vs mode-qr */
#checkoutStep3 {
  flex-direction: column;
}

#checkoutStep3 .sp-drawer-header {
  order: 1;
}

/* Mode UPI: Switcher Tabs on Top, Pay Button Below (Niche) */
#checkoutStep3.mode-upi .sp-method-tabs {
  order: 2;
  margin-top: 0;
  margin-bottom: 6px;
}

#checkoutStep3.mode-upi #panelMobileApps {
  order: 3;
}

#checkoutStep3.mode-upi #panelMobileApps .sp-btn-center-wrap {
  margin: 18px 0 16px;
}

#checkoutStep3.mode-upi .sp-secure-text {
  order: 4;
}

/* Mode QR: QR Code on Top (under Expires in), Switcher Tabs Below */
#checkoutStep3.mode-qr #panelQrCode {
  order: 2;
}

#checkoutStep3.mode-qr .sp-method-tabs {
  order: 3;
  margin-top: 10px;
  margin-bottom: 6px;
}

#checkoutStep3.mode-qr .sp-secure-text {
  order: 4;
}

/* Segmented Method Tabs */
.sp-method-tabs {
  display: flex;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 3px;
  margin-top: 6px;
  margin-bottom: 6px;
  gap: 4px;
}

.sp-method-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 7px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.sp-method-tab.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Centering Wrapper for Clean Pill Buttons */
.sp-btn-center-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 22px 0 16px;
}

/* Action & Payment Buttons — Sized gracefully to text, Warm Gold Glow (Zero Green) */
.sp-pay-btn {
  width: auto;
  min-width: 210px;
  max-width: 90%;
  box-sizing: border-box;
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  color: #0f172a;
  border: none;
  border-radius: 9999px;
  padding: 12px 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.32);
  transition: all 0.15s ease;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.sp-pay-btn:hover {
  background: linear-gradient(135deg, #fde047 0%, #eab308 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4);
}

.sp-pay-btn:active {
  transform: scale(0.98);
}

/* ==========================================================================
   Step 3: Razorpay / Superprofile Grade 1-Tap UPI App Cards
   ========================================================================== */
.sp-app-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 380px;
  margin: 8px auto 14px;
}

.sp-app-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  width: 100%;
  box-sizing: border-box;
}

button.sp-app-card {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.sp-app-card:hover {
  border-color: #cbd5e1;
  background: #fafafa;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.sp-app-card:active {
  transform: scale(0.985);
}

/* App Card Highlights */
.sp-card-phonepe:hover {
  border-color: #c084fc;
  background: #faf5ff;
}

.sp-card-gpay:hover {
  border-color: #93c5fd;
  background: #f8faff;
}

.sp-card-paytm:hover {
  border-color: #7dd3fc;
  background: #f0f9ff;
}

.sp-card-other:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.sp-app-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sp-app-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s ease;
  overflow: hidden;
  box-sizing: border-box;
}

.sp-real-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.sp-app-card:hover .sp-app-icon {
  transform: scale(1.05);
}

.icon-phonepe {
  background: #f3e8ff;
  border: 1px solid #e9d5ff;
}

.icon-gpay {
  background: #eff6ff;
  border: 1px solid #dbeafe;
}

.icon-paytm {
  background: #e0f2fe;
  border: 1px solid #bae6fd;
}

.icon-other {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.sp-app-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.sp-app-title-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sp-app-name {
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  white-space: nowrap;
}

.sp-app-tag-popular {
  font-size: 0.60rem;
  font-weight: 800;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 1px 5px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.sp-app-sub {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-app-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: 8px;
}

.sp-app-pay-tag {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
  background: linear-gradient(135deg, #fef08a 0%, #facc15 100%);
  border: 1px solid #fde047;
  padding: 5px 9px;
  border-radius: 7px;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(250, 204, 21, 0.25);
  transition: all 0.15s ease;
}

.sp-app-pay-tag.sp-qr-tag {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #334155;
  box-shadow: none;
}

.sp-app-card:hover .sp-app-pay-tag {
  transform: translateY(-0.5px);
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

.sp-app-arrow {
  font-size: 0.90rem;
  font-weight: 700;
  color: #94a3b8;
  transition: transform 0.15s ease, color 0.15s ease;
}

.sp-app-card:hover .sp-app-arrow {
  transform: translateX(2px);
  color: #0f172a;
}

/* ==========================================================================
   Dedicated Clean QR View (Replaces PhonePe/GPay/Paytm when clicked)
   ========================================================================== */
.sp-qr-standalone-view {
  width: 100%;
  max-width: 380px;
  margin: 4px auto 8px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px 16px;
  animation: fadeIn 0.18s ease-in-out;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.sp-qr-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.sp-btn-back-to-apps {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 5px 11px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.sp-btn-back-to-apps:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.sp-qr-view-badge {
  font-size: 0.70rem;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 9px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.sp-qr-scan-hint {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
  margin: 8px 0 12px;
}

.sp-vpa-chip-wrap {
  margin-top: 8px;
}

.sp-vpa-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: #64748b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 3px 10px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.sp-vpa-chip strong {
  color: #0f172a;
}

/* Step 3 Header with Live Countdown Timer */
.sp-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sp-header-timer-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 5px 13px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sp-timer-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: -0.01em;
}

.sp-header-timer-chip strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #d97706;
}

.sp-header-clock-icon {
  stroke: #d97706;
  flex-shrink: 0;
}

.sp-expired-notice {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #dc2626;
  font-size: 0.74rem;
  font-weight: 700;
  margin-top: 2px;
}

.sp-btn-refresh-session {
  background: #dc2626;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

/* QR Code Display */
.sp-qr-container {
  text-align: center;
  padding: 8px 0 6px;
}

.sp-qr-box {
  width: 155px;
  height: 155px;
  margin: 0 auto 10px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  padding: 6px;
}

.sp-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dp-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-light);
  border-top-color: var(--color-brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 4px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.sp-qr-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.sp-btn-secondary {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 6px 14px;
  min-width: 108px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.sp-btn-secondary:hover {
  background: #f8fafc;
}

.sp-secure-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  color: #94a3b8;
  padding-top: 10px;
  margin-top: 6px;
  border-top: none;
}

.sp-secure-text svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ==========================================================================
   5. Success Modal (Modern & High-Trust Post-Purchase Screen)
   ========================================================================== */
.sp-success-card {
  background: #ffffff;
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  padding: 24px 20px 20px;
  text-align: center;
  margin: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(16, 185, 129, 0.15);
  position: relative;
  overflow: hidden;
  animation: modalPopIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Checkmark Pulse Animation */
.sp-success-badge-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-success-pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  animation: pulseAura 2s ease-out infinite;
}

@keyframes pulseAura {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    transform: scale(0.85);
    opacity: 0;
  }
}

.sp-success-icon-badge {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border: 2px solid #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25);
}

.sp-success-header {
  margin-bottom: 14px;
}

.sp-success-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.sp-success-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 3px;
  letter-spacing: -0.02em;
}

.sp-success-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.35;
}

/* Details Box */
.sp-success-details {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
  text-align: left;
}

.sp-success-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  padding: 4px 0;
  border-bottom: 1px solid #f1f5f9;
}

.sp-success-row:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}

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

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

.sp-order-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: #e2e8f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: #334155;
}

.sp-amount-val {
  color: #047857;
  font-size: 0.95rem;
  font-weight: 800;
}

.sp-sent-pill {
  font-size: 0.74rem;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 2px 8px;
  border-radius: 9999px;
  max-width: 190px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Auto Download Status Banner */
.sp-download-status-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 7px 10px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  color: #166534;
  font-weight: 600;
}

.sp-spinner-mini {
  width: 12px;
  height: 12px;
  border: 2px solid #bbf7d0;
  border-top-color: #16a34a;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

/* High-Impact PDF Download Button */
.sp-btn-download-pdf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  border-radius: 12px;
  padding: 12px 14px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  transition: all 0.18s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sp-btn-download-pdf:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.45);
}

.sp-btn-download-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.sp-btn-icon-wrap {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-btn-download-text {
  display: flex;
  flex-direction: column;
}

.sp-download-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.sp-download-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: #d1fae5;
  margin-top: 1px;
}

.sp-download-arrow {
  font-size: 1.25rem;
  font-weight: 800;
  color: #a7f3d0;
  padding-left: 6px;
}

/* Audio Bump Box */
.sp-success-audio {
  text-align: left;
  background: #fdfbf7;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
}

.sp-audio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.sp-audio-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #b45309;
}

.sp-audio-tag {
  font-size: 0.68rem;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  padding: 1px 6px;
  border-radius: 9999px;
  font-weight: 700;
}

.sp-audio-player {
  width: 100%;
  height: 32px;
  margin-bottom: 8px;
}

.sp-audio-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #78350f;
  color: #ffffff !important;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 12px;
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.sp-audio-btn:hover {
  opacity: 0.92;
}

/* Footer with WhatsApp & Done Button */
.sp-success-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.sp-whatsapp-help {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  color: #64748b;
}

.sp-whatsapp-help a {
  color: #059669;
  font-weight: 700;
  text-decoration: none;
}

.sp-whatsapp-help a:hover {
  text-decoration: underline;
}

.sp-btn-done {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 24px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sp-btn-done:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ==========================================================================
   6. Clean Minimal App Notice (Step 3 UPI Fallback)
   ========================================================================== */
.sp-notice-center {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.sp-app-notice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 500;
  color: #475569;
  text-align: center;
  animation: fadeIn 0.16s ease-out;
}

.sp-app-notice svg {
  color: #64748b;
  flex-shrink: 0;
}

.sp-app-notice strong {
  color: #0f172a;
  font-weight: 600;
}

/* Button Launching Feedback State */
.sp-app-tag-launching {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border-color: #cbd5e1 !important;
}


