:root {
  --bg-dark: #080c14;
  --surface-card: rgba(17, 24, 39, 0.85);
  --surface-secondary: #162033;
  --surface-hover: #1e293b;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: #6366f1;
  --primary: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.35);
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-main: 0 25px 50px -12px rgba(0, 0, 0, 0.65), 0 0 30px rgba(99, 102, 241, 0.1);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Ambient Backdrop Glows */
.background-glow {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 15%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 85%, rgba(16, 185, 129, 0.10) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

/* Header */
.app-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
}

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

.brand-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: monospace;
}

.badge-secure {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Main Layout */
.main-container {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  width: 100%;
  margin: 1.5rem auto 3rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  box-sizing: border-box;
}

.payment-card,
.info-sidebar,
.info-card,
.android-card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Payment Card */
.payment-card {
  background: var(--surface-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-main);
  transition: var(--transition);
}

.card-header h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.card-header .subtitle {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* Intent Notice Banner */
.intent-banner {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #6366f1;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(99, 102, 241, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
  }
}

.banner-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.banner-content strong {
  font-size: 0.88rem;
  color: #c7d2fe;
}

.banner-content span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* UPI Apps Row */
.upi-apps-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.app-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--surface-secondary);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.app-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.app-dot.gpay { background: #4285F4; box-shadow: 0 0 6px #4285F4; }
.app-dot.phonepe { background: #5f259f; box-shadow: 0 0 6px #5f259f; }
.app-dot.paytm { background: #00baf2; box-shadow: 0 0 6px #00baf2; }
.app-dot.bhim { background: #007934; box-shadow: 0 0 6px #007934; }
.app-dot.cred { background: #ffffff; box-shadow: 0 0 6px #ffffff; }

/* Form Elements */
.payment-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #d1d5db;
}

.amount-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.currency-symbol {
  position: absolute;
  left: 1.25rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  pointer-events: none;
}

.amount-input-wrapper input {
  width: 100%;
  background: var(--surface-secondary);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1rem 1rem 3rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}

.amount-input-wrapper input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.amount-chip {
  background: var(--surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.amount-chip:hover,
.amount-chip.active {
  background: var(--surface-hover);
  color: #fff;
  border-color: var(--primary);
}

.amount-chip.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: #6366f1;
  color: #c7d2fe;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  background: var(--surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: #fff;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Pay Button */
.pay-btn {
  background: var(--primary-gradient);
  border: none;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  box-shadow: 0 8px 25px var(--primary-glow);
  transition: var(--transition);
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}

.pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.5);
}

.pay-btn:active {
  transform: translateY(0);
}

.pay-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-amount {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.pay-btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* Status Messages */
.status-box {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.4;
}

.status-box.hidden {
  display: none;
}

.status-box.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.status-box.info {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #c7d2fe;
}

/* Security Footer */
.security-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.dot-separator {
  opacity: 0.4;
}

/* Sidebar Information */
.info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.info-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #fff;
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.steps-list li {
  display: flex;
  gap: 0.85rem;
}

.step-num {
  width: 28px;
  height: 28px;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.steps-list strong {
  display: block;
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-bottom: 0.2rem;
}

.steps-list p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Android Companion Card */
.android-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.android-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.android-icon {
  width: 40px;
  height: 40px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.android-icon svg {
  width: 22px;
  height: 22px;
}

.android-header h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
}

.android-header p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.android-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Footer */
.app-footer {
  margin-top: auto;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 10;
}

.app-footer strong {
  color: var(--text-secondary);
}



/* =========================================================
   STEPPER & OTP AUTHENTICATION STYLING
   ========================================================= */

.stepper-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.45;
  transition: var(--transition);
}

.step-indicator.active {
  opacity: 1;
}

.step-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-secondary);
  border: 2px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.step-indicator.active .step-bubble {
  background: var(--primary-gradient);
  border-color: #818cf8;
  color: #fff;
  box-shadow: 0 0 15px var(--primary-glow);
}

.step-indicator.completed .step-bubble {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #fff;
}

.step-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.step-divider {
  width: 48px;
  height: 2px;
  background: var(--border-color);
  margin: 0 0.85rem;
}

.step-divider.active {
  background: var(--accent-emerald);
}

/* Step Sections */
.step-section {
  display: flex;
  flex-direction: column;
}

.step-section.hidden {
  display: none !important;
}

/* Indian Phone Input with +91 Prefix */
.phone-input-wrapper {
  display: flex;
  align-items: stretch;
  background: var(--surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.phone-input-wrapper:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.country-prefix {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid var(--border-color);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  user-select: none;
}

.flag-icon {
  font-size: 1.15rem;
}

.phone-input-wrapper input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 0.95rem 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  outline: none;
}

.phone-input-wrapper input::placeholder {
  color: var(--text-muted);
  letter-spacing: 0.02em;
  font-weight: 400;
}

.input-hint {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* OTP Verify Container */
.otp-verify-container {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border-color);
  animation: fadeIn 0.3s ease;
}

.otp-notice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: #c7d2fe;
  font-size: 0.86rem;
  margin-bottom: 1.25rem;
}

.otp-digit-input {
  text-align: center;
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.4em !important;
  padding: 0.85rem !important;
  color: #fff !important;
  background: var(--surface-secondary) !important;
  border: 2px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
}

.otp-digit-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px var(--primary-glow) !important;
}

.otp-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.65rem;
  margin-bottom: 1.25rem;
}

.timer-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.timer-text strong {
  color: var(--text-secondary);
}

.text-link-btn {
  background: none;
  border: none;
  color: #818cf8;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.text-link-btn:hover {
  color: #a5b4fc;
}

.verify-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  box-shadow: 0 4px 20px var(--accent-emerald-glow) !important;
}

/* Verified Phone Banner */
.verified-phone-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.verified-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-emerald);
  font-size: 0.9rem;
}

.verified-badge strong {
  color: #fff;
  letter-spacing: 0.04em;
}

.change-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-secondary);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.change-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* All Methods Showcase */
.all-methods-banner {
  background: var(--surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem;
  margin-bottom: 1.5rem;
}

.methods-title {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.methods-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.method-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.method-chip.upi {
  border-color: rgba(99, 102, 241, 0.3);
  color: #c7d2fe;
}

.method-chip.wallet {
  border-color: rgba(236, 72, 153, 0.3);
  color: #fbcfe8;
}

.method-chip.card {
  border-color: rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
}

.method-chip.nb {
  border-color: rgba(245, 158, 11, 0.3);
  color: #fde68a;
}

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

/* =========================================================
   COMPREHENSIVE MOBILE-FIRST RESPONSIVE DESIGN (300px - 1024px)
   ========================================================= */

@media (max-width: 960px) {
  .main-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    margin: 1rem auto 2.5rem;
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
  }
}

@media (max-width: 640px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .app-header {
    padding: 0.75rem 0.85rem;
    gap: 0.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .logo-container {
    min-width: 0;
    gap: 0.55rem;
  }
  .logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
  }
  .logo-icon svg {
    width: 18px;
    height: 18px;
  }
  .brand-title {
    font-size: 1.05rem;
    line-height: 1.2;
  }
  .brand-subtitle {
    font-size: 0.7rem;
  }
  .badge-secure {
    padding: 0.28rem 0.55rem;
    font-size: 0.7rem;
    gap: 0.25rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .main-container {
    padding: 0 0.65rem;
    margin: 0.5rem auto 1.75rem;
    gap: 1.25rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .payment-card {
    padding: 1.25rem 0.85rem;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .card-header h1 {
    font-size: 1.3rem;
    line-height: 1.25;
    word-break: break-word;
  }
  .card-header .subtitle {
    font-size: 0.82rem;
    margin-bottom: 1rem;
    line-height: 1.35;
    word-break: break-word;
  }

  /* Stepper */
  .stepper-wrapper {
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .step-indicator {
    min-width: 0;
    gap: 0.35rem;
  }
  .step-bubble {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
    flex-shrink: 0;
  }
  .step-label {
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .step-divider {
    flex: 1 1 16px;
    min-width: 12px;
    max-width: 32px;
    height: 2px;
    margin: 0 0.35rem;
  }

  /* Phone & OTP Form */
  .phone-input-wrapper {
    width: 100%;
    max-width: 100%;
  }
  .country-prefix {
    padding: 0 0.55rem;
    font-size: 0.85rem;
    gap: 0.25rem;
    flex-shrink: 0;
  }
  .flag-icon {
    font-size: 0.95rem;
  }
  .phone-input-wrapper input {
    padding: 0.8rem 0.55rem;
    font-size: 1rem;
    letter-spacing: 0.03em;
    min-width: 0;
    width: 100%;
  }
  .input-hint {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .otp-notice {
    padding: 0.6rem 0.75rem;
    font-size: 0.78rem;
    gap: 0.45rem;
    word-break: break-word;
  }
  .otp-digit-input {
    font-size: 1.3rem !important;
    letter-spacing: 0.18em !important;
    padding: 0.7rem 0.4rem !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .otp-actions-row {
    margin-top: 0.5rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .timer-text, .text-link-btn {
    font-size: 0.76rem;
  }

  /* Step 2 Elements */
  .verified-phone-banner {
    padding: 0.65rem 0.75rem;
    gap: 0.5rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.15rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .verified-badge {
    font-size: 0.78rem;
    min-width: 0;
    flex: 1 1 auto;
  }
  .verified-badge span {
    word-break: break-all;
  }
  .change-btn {
    padding: 0.25rem 0.55rem;
    font-size: 0.72rem;
    flex-shrink: 0;
  }

  .all-methods-banner {
    padding: 0.65rem 0.75rem;
    margin-bottom: 1.15rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .methods-title {
    font-size: 0.68rem;
    margin-bottom: 0.4rem;
  }
  .methods-chips {
    gap: 0.35rem;
    width: 100%;
  }
  .method-chip {
    font-size: 0.68rem;
    padding: 0.25rem 0.45rem;
    white-space: normal;
    word-break: break-word;
    line-height: 1.25;
    max-width: 100%;
  }

  .amount-input-wrapper {
    width: 100%;
    max-width: 100%;
  }
  .amount-input-wrapper input {
    font-size: 1.35rem;
    padding: 0.75rem 0.65rem 0.75rem 2.25rem;
    width: 100%;
    max-width: 100%;
  }
  .currency-symbol {
    left: 0.75rem;
    font-size: 1.35rem;
  }

  .quick-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .amount-chip {
    padding: 0.5rem 0.2rem;
    font-size: 0.78rem;
    text-align: center;
    border-radius: 6px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    white-space: nowrap;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"] {
    padding: 0.75rem 0.75rem;
    font-size: 0.88rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .form-label {
    font-size: 0.8rem;
  }

  .pay-btn {
    padding: 0.85rem 0.85rem;
    font-size: 0.92rem;
    gap: 0.4rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .btn-text {
    font-size: 0.88rem;
  }
  .btn-amount {
    font-size: 0.78rem;
    padding: 0.15rem 0.4rem;
  }

  .security-footer {
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.72rem;
    text-align: center;
  }
  .dot-separator {
    display: none;
  }

  .info-card, .android-card {
    padding: 1.15rem 0.85rem;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .info-card h3 {
    font-size: 1rem;
    margin-bottom: 0.85rem;
  }
  .steps-list {
    gap: 0.85rem;
  }
  .step-num {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }

  .app-footer {
    padding: 1.15rem 0.75rem;
    font-size: 0.74rem;
    word-break: break-word;
  }
}

@media (max-width: 360px) {
  .app-header {
    padding: 0.5rem 0.65rem;
  }
  .main-container {
    padding: 0 0.45rem;
  }
  .payment-card {
    padding: 1rem 0.65rem;
  }
  .card-header h1 {
    font-size: 1.15rem;
  }
  .step-label {
    font-size: 0.72rem;
  }
  .step-divider {
    min-width: 8px;
    max-width: 16px;
    margin: 0 0.2rem;
  }
  .quick-amounts {
    grid-template-columns: repeat(2, 1fr);
  }
  .otp-digit-input {
    font-size: 1.1rem !important;
    letter-spacing: 0.12em !important;
  }
  .verified-phone-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

