/* ==========================================================================
   E FINANCE (EASY FINANCE) - VIBRANT & ELEGANT LIGHT THEME
   ========================================================================== */

:root {
  /* Core Light Palette */
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --border-glass: #e2e8f0;

  /* Accent Hues */
  --gold-primary: #d97706;
  --gold-glow: #f59e0b;
  --gold-gradient: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);

  --emerald-primary: #059669;
  --emerald-glow: #10b981;
  --emerald-gradient: linear-gradient(135deg, #059669 0%, #10b981 50%, #0d9488 100%);
  
  --indigo-primary: #4f46e5;
  --indigo-gradient: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #8b5cf6 100%);

  --blue-primary: #2563eb;
  --blue-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);

  --secondary-gradient: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  
  /* Status Colors */
  --color-success: #059669;
  --color-warning: #d97706;
  --color-danger: #dc2626;
  --color-info: #2563eb;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  /* Text Colors */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  /* Shadows & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  --shadow-gold-glow: 0 8px 25px rgba(245, 158, 11, 0.25);
  --shadow-green-glow: 0 8px 25px rgba(16, 185, 129, 0.25);
  
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(16, 185, 129, 0.06) 0%, transparent 45%),
    #f8fafc;
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

a {
  color: var(--blue-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: #1d4ed8;
}

/* ==========================================================================
   1. SPLASH SCREEN
   ========================================================================== */
.splash-container {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  background-image: radial-gradient(circle at center, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash-container.fade-out {
  opacity: 0;
  visibility: hidden;
}

.splash-content {
  text-align: center;
  max-width: 380px;
  width: 90%;
  animation: splashFadeIn 0.8s ease-out;
}

.logo-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
}

.logo-glow {
  position: absolute;
  inset: -12px;
  background: var(--gold-gradient);
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.5;
  animation: pulseGlow 2s infinite alternate;
}

.logo-img-badge {
  position: relative;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 2px solid rgba(245, 158, 11, 0.5);
  border-radius: 28px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

.app-web-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

.splash-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.splash-tagline {
  color: var(--emerald-primary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.splash-loader {
  width: 200px;
  height: 4px;
  background: #e2e8f0;
  border-radius: 4px;
  margin: 0 auto 1.5rem;
  overflow: hidden;
}

.loader-bar {
  width: 0%;
  height: 100%;
  background: var(--blue-gradient);
  border-radius: 4px;
  animation: loadProgress 2.2s ease-in-out forwards;
}

.btn-skip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.btn-skip:hover {
  color: var(--text-main);
  border-color: var(--blue-primary);
  background: #eff6ff;
}

@keyframes loadProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.4; }
  100% { transform: scale(1.1); opacity: 0.8; }
}

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

/* ==========================================================================
   APP HEADER & NAVIGATION
   ========================================================================== */
.app-hidden {
  display: none;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #e2e8f0;
  padding: 0.85rem 1.5rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
}

.header-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

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

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--emerald-primary);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-greeting {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.user-greeting strong {
  color: var(--text-main);
}

/* LIVE USD EXCHANGE RATE HEADER PILL & HERO CARD */
.header-fx-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0369a1;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
  transition: var(--transition-fast);
}

.header-fx-pill:hover {
  background: #e0f2fe;
  border-color: #7dd3fc;
  transform: translateY(-1px);
}

.fx-pulse-dot {
  color: #10b981;
  font-size: 0.5rem;
  animation: pulseDot 1.5s infinite;
}

.fx-pair-tag {
  color: #0284c7;
  font-weight: 700;
}

.fx-equal {
  color: #94a3b8;
  font-weight: 500;
}

.fx-rate-val {
  background: #ffffff;
  color: #0284c7;
  padding: 0.1rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #bae6fd;
  font-weight: 800;
  font-family: var(--font-heading);
}

/* SUPER MODERN FX LIVE HERO CARD */
.fx-live-hero-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border: 1.5px solid #e2e8f0;
  border-left: 6px solid #0284c7;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 10px 30px -5px rgba(2, 132, 199, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: var(--transition-smooth);
}

.fx-live-hero-card:hover {
  box-shadow: 0 16px 36px -5px rgba(2, 132, 199, 0.15);
  transform: translateY(-2px);
  border-color: #cbd5e1;
  border-left-color: #2563eb;
}

.fx-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.fx-badge-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.28);
  flex-shrink: 0;
}

.fx-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fx-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fx-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.fx-live-pill {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.04em;
}

.fx-live-pill i {
  font-size: 0.45rem;
  color: #10b981;
  animation: pulseDot 1.5s infinite;
}

.fx-currency-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.currency-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.currency-tag.usd {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.currency-tag.inr {
  background: #f0f9ff;
  color: #0284c7;
  border: 1.5px solid #bae6fd;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.1);
}

.equal-sign {
  font-size: 1.2rem;
  font-weight: 800;
  color: #94a3b8;
}

.fx-right-badge {
  display: flex;
  align-items: center;
}

.fx-sec-status {
  background: #ffffff;
  color: #0284c7;
  border: 1px solid #e2e8f0;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.fx-sec-status i {
  color: #059669;
}

@keyframes pulseDot {
  0% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.3; transform: scale(0.8); }
}

@media (max-width: 768px) {
  .fx-live-hero-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
  }
  .fx-right-badge {
    align-self: flex-start;
  }
  .header-fx-pill {
    display: none;
  }
}

/* ==========================================================================
   PAGE VIEWS
   ========================================================================== */
.page-view {
  display: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  animation: pageSlide 0.35s ease-out;
}

.page-view.active {
  display: block;
}

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

/* ==========================================================================
   AUTH CARDS (LOGIN & REGISTER)
   ========================================================================== */
.auth-card {
  max-width: 450px;
  margin: 2rem auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.auth-card.wide {
  max-width: 600px;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo-box {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 20px;
  border: 2px solid rgba(245, 158, 11, 0.4);
  padding: 4px;
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
}

.auth-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.auth-header h2 {
  font-size: 1.65rem;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.auth-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group label i {
  color: var(--blue-primary);
  margin-right: 0.35rem;
}

.required-star {
  color: var(--color-danger);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="date"],
select {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  color: #0f172a;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

input:focus, select:focus {
  outline: none;
  border-color: var(--blue-primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.input-with-icon {
  position: relative;
}

.input-with-icon .toggle-pw {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.input-with-icon .toggle-pw:hover {
  color: var(--text-main);
}

.input-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

.input-hint.text-error {
  color: var(--color-danger);
  font-weight: 600;
}

.input-hint.text-success {
  color: var(--color-success);
  font-weight: 600;
}

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

.form-grid .full-column {
  grid-column: span 2;
}

.auth-footer {
  text-align: center;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.link-highlight {
  color: var(--blue-primary);
  font-weight: 600;
}

/* ==========================================================================
   BUTTON SYSTEM
   ========================================================================== */
.btn-primary {
  background: var(--blue-gradient);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

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

.btn-emerald {
  background: var(--emerald-gradient);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.btn-secondary-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-secondary-sm:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.btn-danger-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-danger-sm:hover {
  background: #fee2e2;
}

.full-width {
  width: 100%;
}

.margin-top {
  margin-top: 1.5rem;
}

/* ==========================================================================
   USER DASHBOARD
   ========================================================================== */
.dashboard-container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.welcome-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #4f46e5;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.welcome-text h2 {
  font-size: 1.55rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.welcome-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.welcome-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.badge-status {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.badge-status.online {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.badge-status.online i {
  font-size: 0.5rem;
  vertical-align: middle;
  margin-right: 0.25rem;
}

.badge-tag {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* MULTI-COLOR VIBRANT BALANCE CARDS GRID */
.balance-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.balance-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: var(--transition-smooth);
}

/* Card 1: Vibrant Emerald Mint Gradient */
.balance-card.emerald-gradient {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #0d9488 100%);
  color: #ffffff;
}

/* Card 2: Vibrant Golden Amber Gradient */
.balance-card.gold-gradient {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
  color: #ffffff;
  cursor: pointer;
}

.balance-card.gold-gradient:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(217, 119, 6, 0.35);
}

/* Card 3: Royal Indigo Purple Gradient */
.balance-card.dark-glass {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #8b5cf6 100%);
  color: #ffffff;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.card-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.95);
}

.badge-withdrawable {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: #059669;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.badge-scheme {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: #d97706;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.badge-neutral {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: #4f46e5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.currency {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
}

.amount-num {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.card-info {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.clickable-info {
  color: #ffffff;
  font-weight: 600;
}

/* ACTION BUTTONS CARDS */
.action-buttons-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.btn-action {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
}

.btn-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.btn-action.btn-debit {
  border-color: #10b981;
}

.btn-action.btn-debit:hover {
  background: #ecfdf5;
  border-color: #059669;
}

.btn-action.btn-withdraw {
  border-color: #3b82f6;
}

.btn-action.btn-withdraw:hover {
  background: #eff6ff;
  border-color: #2563eb;
}

.btn-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.btn-debit .btn-icon-box {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.btn-withdraw .btn-icon-box {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-text-box {
  flex-grow: 1;
}

.btn-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.btn-subtitle {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.arrow-icon {
  color: var(--text-dim);
  transition: var(--transition-fast);
}

.btn-action:hover .arrow-icon {
  color: var(--text-main);
  transform: translateX(4px);
}

/* DASHBOARD SECTIONS */
.dash-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.section-header h3 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-header h3 i {
  color: var(--gold-primary);
}

.btn-link {
  background: none;
  border: none;
  color: var(--blue-primary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-link:hover {
  text-decoration: underline;
}

/* Debits Grid */
.debits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.debit-item-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.debit-item-card:hover {
  border-color: #3b82f6;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.12);
}

.debit-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.debit-amount-tag {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--emerald-primary);
}

.debit-date-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.debit-card-details {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* DATA TABLES */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.data-table th {
  background: #f1f5f9;
  color: var(--text-muted);
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid #cbd5e1;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.data-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  color: var(--text-main);
  vertical-align: middle;
}

.data-table tbody tr:hover {
  background: #f8fafc;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge.pending {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}

.status-badge.success {
  background: #d1fae5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.status-badge.rejected {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

.empty-icon {
  font-size: 2.5rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   ADMIN PAGE SPECIFIC STYLES
   ========================================================================== */
.admin-card-badge {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #d97706;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.admin-stat-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.stat-icon.gold { background: #fef3c7; color: #d97706; }
.stat-icon.green { background: #d1fae5; color: #059669; }
.stat-icon.orange { background: #fee2e2; color: #dc2626; }

.stat-details {
  display: flex;
  flex-direction: column;
}

.stat-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

/* ==========================================================================
   MODAL OVERLAY & CARDS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
  display: none !important;
  opacity: 0;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
  animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-card.wide {
  max-width: 780px;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

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

.modal-header h3 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-header h3 i {
  color: var(--blue-primary);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 1.5rem;
}

/* Debit Amount Input & Presets */
.amount-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.currency-symbol {
  position: absolute;
  left: 1rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.amount-input-wrapper input {
  padding-left: 2.5rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  background: #ffffff;
}

.preset-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.btn-preset {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-preset:hover, .btn-preset.active {
  background: var(--blue-gradient);
  border-color: var(--blue-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Scheme Preview Box */
.scheme-preview-box {
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  color: #065f46;
}

.scheme-header {
  color: #047857;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.scheme-details ul {
  list-style: none;
  margin-top: 0.35rem;
}

.scheme-details li {
  font-size: 0.85rem;
  color: #065f46;
  margin-bottom: 0.25rem;
}

.text-green { color: #059669 !important; }
.text-gold { color: #d97706 !important; }

/* QR Scanner Section */
.qr-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.qr-section h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.qr-section p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.qr-container-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.qr-box {
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.qr-box img, .qr-box canvas {
  display: block;
}

.upi-id-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
}

.btn-copy {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #2563eb;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-copy:hover {
  background: #2563eb;
  color: #ffffff;
}

/* Scheme Details Modal Timeline */
.scheme-summary-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 100%);
  border: 1.5px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  color: #0f172a;
}

.schedule-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.month-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
}

.month-card.credited {
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.month-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.month-amount {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #059669;
  margin: 0.2rem 0;
}

.month-status {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.month-card.credited .month-status {
  color: #059669;
  font-weight: 700;
}

.scheme-info-footer {
  margin-top: 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Withdraw Modal Options */
.withdraw-balance-banner {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #065f46;
}

.radio-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

.radio-card {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.radio-card input[type="radio"] {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: auto;
}

.radio-card.selected {
  border-color: #2563eb;
  background: #eff6ff;
}

.radio-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.radio-content i {
  font-size: 1.35rem;
  color: #2563eb;
}

.method-fields {
  margin-top: 1.25rem;
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ALERT BOXES */
.alert-box {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #dc2626;
}

.alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
}

.alert-info {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #b45309;
}

.hidden {
  display: none !important;
}

/* TOAST NOTIFICATION */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 280px;
  animation: toastIn 0.35s ease-out;
}

.toast.success { border-left: 5px solid #059669; }
.toast.error { border-left: 5px solid #dc2626; }
.toast.info { border-left: 5px solid #2563eb; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   HOW IT WORKS 3-STEP GUIDE (MULTI-COLOR CARDS)
   ========================================================================== */
.how-it-works-section {
  margin-top: 1rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
}

.step-card:nth-child(1) {
  border-top: 5px solid #2563eb;
}

.step-card:nth-child(2) {
  border-top: 5px solid #059669;
}

.step-card:nth-child(3) {
  border-top: 5px solid #d97706;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.1);
}

.step-number {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #cbd5e1;
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.step-card:nth-child(1) .step-icon {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #2563eb;
}

.step-card:nth-child(2) .step-icon {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
}

.step-card:nth-child(3) .step-icon {
  background: #fff7ed;
  border: 1px solid #fde68a;
  color: #d97706;
}

.step-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.step-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: var(--text-muted);
}

.step-tag.green {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.step-tag.gold {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

/* ==========================================================================
   INTERACTIVE PROFIT CALCULATOR
   ========================================================================== */
.calc-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.calc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.calc-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.calc-badge {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #b45309;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.calc-inputs label {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  accent-color: #2563eb;
  cursor: pointer;
  margin-bottom: 1.25rem;
}

.calc-presets {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-preset-sm {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-preset-sm:hover, .btn-preset-sm.active {
  background: var(--blue-gradient);
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.calc-results-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.res-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.res-label {
  color: var(--text-muted);
}

.res-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-main);
}

.calc-cta-btn {
  margin-top: 0.5rem;
}

/* ==========================================================================
   TRUST BADGES GRID (MULTI-COLOR CARDS)
   ========================================================================== */
.trust-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.trust-card {
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.trust-card:nth-child(1) {
  background: linear-gradient(135deg, #ffffff 0%, #fefce8 100%);
  border: 1px solid #fef08a;
}

.trust-card:nth-child(2) {
  background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
  border: 1px solid #a7f3d0;
}

.trust-card:nth-child(3) {
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  border: 1px solid #bfdbfe;
}

.trust-card i {
  font-size: 1.75rem;
}

.trust-card h5 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  color: var(--text-main);
}

.trust-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .balance-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .app-header {
    padding: 0.75rem 1rem;
  }

  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .brand-sub {
    display: none;
  }

  .user-greeting {
    font-size: 0.8rem;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .welcome-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.35rem;
    gap: 0.75rem;
  }

  .welcome-text h2 {
    font-size: 1.3rem;
  }

  .welcome-badge {
    align-items: flex-start;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }

  .balance-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .balance-card {
    padding: 1.35rem 1.25rem;
  }

  .amount-num {
    font-size: 2.35rem;
  }

  .action-buttons-container {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .btn-action {
    padding: 1rem 1.15rem;
    gap: 1rem;
  }

  .dash-section {
    padding: 1.25rem;
    border-radius: 16px;
  }

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

  .calc-card {
    padding: 1.25rem;
  }

  .calc-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .calc-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .auth-card {
    padding: 1.65rem 1.25rem;
    margin: 0.5rem auto;
    border-radius: 20px;
    width: 100%;
  }

  .preset-buttons {
    grid-template-columns: repeat(3, 1fr);
  }

}

/* ==========================================================================
   CLOUDINARY PAYMENT SCREENSHOT & UTR PROOF STYLES
   ========================================================================== */
.proof-preview-wrapper {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin-top: 0.85rem;
  text-align: center;
}

.preview-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.proof-preview-img {
  max-width: 100%;
  max-height: 180px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  object-fit: contain;
}

.debit-proof-thumb {
  margin: 0.5rem 0;
  cursor: pointer;
  display: inline-block;
}

.debit-proof-thumb img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #0284c7;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.15);
  transition: var(--transition-fast);
}

.debit-proof-thumb img:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3);
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-status.pending {
  background: #fefce8;
  color: #d97706;
  border: 1px solid #fef08a;
}

.badge-status.success {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.badge-status.danger {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.status-badge.pending {
  background: #fefce8;
  color: #d97706;
}

.status-badge.approved, .status-badge.success {
  background: #ecfdf5;
  color: #059669;
}

.status-badge.rejected, .status-badge.failed {
  background: #fef2f2;
  color: #dc2626;
}

.fund-badge-pill {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  border-radius: var(--radius-full);
  padding: 0.2rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.12);
}

.click-schedule-hint {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0284c7;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.3rem;
}

.payout-progress-pill {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.modal-card.wide {
  max-width: 920px !important;
  width: 95% !important;
}

.phonepe-brand-header {
  box-shadow: 0 4px 14px rgba(95, 37, 159, 0.25);
}
