/* ================================================================
   Eazy Recharge — Cute & Stylish White + Blue Light Theme
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ── Design Token System ──────────────────────────────────────── */
:root {
  --primary:        #2563EB;   /* Royal Blue */
  --primary-dark:   #1D4ED8;
  --primary-light:  #60A5FA;
  --primary-pale:   #EFF6FF;
  --secondary:      #06B6D4;  /* Cyan */
  --accent:         #8B5CF6;  /* Soft Violet */
  --accent-pink:    #EC4899;  /* Playful Pink */

  --success:        #10B981;
  --success-bg:     #ECFDF5;
  --warning:        #F59E0B;
  --warning-bg:     #FFFBEB;
  --danger:         #EF4444;
  --danger-bg:      #FEF2F2;
  --info:           #06B6D4;
  --info-bg:        #ECFEFF;

  --bg:             #F0F7FF;   /* Very soft blue-white */
  --bg-white:       #FFFFFF;
  --bg-card:        #FFFFFF;
  --bg-card-hover:  #F8FBFF;
  --bg-input:       #F5F9FF;
  --bg-subtle:      #EBF4FF;

  --text:           #1E293B;
  --text-muted:     #64748B;
  --text-dim:       #94A3B8;
  --text-light:     #CBD5E1;

  --border:         #DBEAFE;
  --border-hover:   #BFDBFE;

  --shadow-xs:      0 1px 4px rgba(37, 99, 235, 0.06);
  --shadow-sm:      0 2px 12px rgba(37, 99, 235, 0.08);
  --shadow:         0 8px 28px rgba(37, 99, 235, 0.12);
  --shadow-md:      0 12px 40px rgba(37, 99, 235, 0.15);
  --shadow-lg:      0 20px 60px rgba(37, 99, 235, 0.18);
  --shadow-blue:    0 8px 24px rgba(37, 99, 235, 0.3);

  --radius-xs:      8px;
  --radius-sm:      12px;
  --radius:         18px;
  --radius-lg:      24px;
  --radius-xl:      32px;
  --radius-full:    9999px;

  --nav-height:     68px;
  --bottom-nav-h:   76px;
  --transition:     all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --bounce:         all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 15% 10%, rgba(37, 99, 235, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, #F0F7FF 0%, #EBF4FF 100%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

h1, h2, h3, h4, h5, h6, .nav-title, .balance-amount, .plan-price {
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.01em;
}

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ── Top Navigation ───────────────────────────────────────────── */
.top-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1.5px solid var(--border);
  display: flex; align-items: center; padding: 0 20px;
  gap: 14px;
  box-shadow: 0 2px 16px rgba(37, 99, 235, 0.07);
}
.top-nav .back-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary-pale); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 16px; transition: var(--bounce);
}
.top-nav .back-btn:hover {
  background: var(--primary); color: #fff;
  transform: translateX(-2px) scale(1.05);
  box-shadow: var(--shadow-blue);
  border-color: var(--primary);
}
.top-nav .nav-title {
  font-size: 18px; font-weight: 800; flex: 1;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.top-nav .nav-actions { display: flex; gap: 8px; }
.top-nav .nav-icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary-pale); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 16px; transition: var(--bounce); position: relative;
}
.top-nav .nav-icon-btn:hover {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-blue);
}
.notif-badge {
  position: absolute; top: -3px; right: -3px;
  background: linear-gradient(135deg, var(--accent-pink), #fb7185);
  color: #fff;
  width: 17px; height: 17px; border-radius: 50%;
  font-size: 9px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.4);
}

/* ── Page Wrapper ───────────────────────────────────────────── */
.page-wrapper {
  padding-top: calc(var(--nav-height) + 16px);
  padding-bottom: calc(var(--bottom-nav-h) + 28px);
  min-height: 100vh;
}
.container-app { max-width: 480px; margin: 0 auto; padding: 0 18px; }

/* ── Bottom Navigation ─────────────────────────────────────── */
.bottom-nav {
  position: fixed; bottom: 14px; left: 14px; right: 14px; z-index: 1000;
  height: var(--bottom-nav-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: space-around;
  padding: 0 10px;
  box-shadow:
    0 10px 40px rgba(37, 99, 235, 0.12),
    0 2px 8px rgba(37, 99, 235, 0.06);
  max-width: 448px;
  margin: 0 auto;
}
.bottom-nav .nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 4px; padding: 6px 2px;
  color: var(--text-dim); transition: var(--bounce);
  text-decoration: none; border-radius: var(--radius-sm);
  font-size: 10px; font-weight: 700; position: relative;
  letter-spacing: 0.01em;
}
.bottom-nav .nav-item .nav-icon { font-size: 22px; transition: var(--bounce); }
.bottom-nav .nav-item:hover { color: var(--primary); }
.bottom-nav .nav-item:hover .nav-icon { transform: translateY(-3px) scale(1.1); }
.bottom-nav .nav-item.active { color: var(--primary); }
.bottom-nav .nav-item.active .nav-icon {
  color: var(--primary);
  transform: translateY(-4px) scale(1.15);
  filter: drop-shadow(0 3px 6px rgba(37, 99, 235, 0.35));
}
.bottom-nav .nav-item.active::after {
  content: '';
  position: absolute; bottom: -1px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 6px var(--primary);
}

/* Center Pay Button */
.bottom-nav .nav-item.center-btn {
  position: relative; margin-top: -30px; z-index: 10;
}
.bottom-nav .nav-item.center-btn .center-icon {
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
  box-shadow:
    0 8px 22px rgba(37, 99, 235, 0.45),
    0 0 0 4px rgba(255,255,255,0.9),
    0 0 0 6px rgba(37, 99, 235, 0.12);
  border: none; transition: var(--bounce);
}
.bottom-nav .nav-item.center-btn:hover .center-icon {
  transform: translateY(-5px) scale(1.1) rotate(12deg);
  box-shadow:
    0 14px 30px rgba(37, 99, 235, 0.55),
    0 0 0 4px rgba(255,255,255,0.95),
    0 0 0 7px rgba(37, 99, 235, 0.2);
}
.bottom-nav .nav-item.center-btn span {
  font-size: 10px; font-weight: 800;
  color: var(--primary); margin-top: 4px;
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* ── Cards ────────────────────────────────────────────────────── */
.card-app {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.card-app:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.card-app .card-body { padding: 20px; }

/* ── Wallet Card ────────────────────────────────────────────── */
.wallet-card {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 45%, #0EA5E9 100%);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  position: relative; overflow: hidden;
  border: none;
  box-shadow:
    0 16px 48px rgba(37, 99, 235, 0.4),
    0 4px 16px rgba(37, 99, 235, 0.25);
  transition: var(--bounce);
}
.wallet-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 24px 60px rgba(37, 99, 235, 0.5),
    0 6px 20px rgba(37, 99, 235, 0.3);
}
.wallet-card::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.wallet-card::after {
  content: '';
  position: absolute; bottom: -80px; left: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.wallet-card .card-chip {
  width: 36px; height: 26px;
  background: linear-gradient(135deg, rgba(255,255,255,0.5), rgba(255,255,255,0.2));
  border-radius: 5px; margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(5px);
}
.wallet-card .card-brand {
  position: absolute; top: 22px; right: 22px;
  font-size: 15px; font-weight: 900; color: rgba(255,255,255,0.9);
  letter-spacing: 0.08em; font-family: 'Poppins', sans-serif;
}
.wallet-card .balance-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 2px;
  color: rgba(255,255,255,0.65); margin-bottom: 6px; font-weight: 700;
}
.wallet-card .balance-amount {
  font-size: 38px; font-weight: 900;
  color: #fff;
  line-height: 1; letter-spacing: -1.5px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.wallet-card .balance-sub {
  font-size: 11px; color: rgba(255,255,255,0.65);
  margin-top: 8px; display: flex; align-items: center; gap: 5px; font-weight: 600;
}
.wallet-card .balance-sub::before { content: '🛡️'; font-size: 11px; }
.wallet-card .wallet-actions { display: flex; gap: 10px; margin-top: 22px; }
.wallet-card .wallet-btn {
  flex: 1; padding: 11px 0; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 800; text-align: center;
  transition: var(--bounce); display: flex; align-items: center;
  justify-content: center; gap: 6px; text-transform: uppercase; letter-spacing: 0.06em;
}
.wallet-btn-add {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  border: none;
}
.wallet-btn-add:hover {
  background: #fff; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.wallet-btn-history {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: rgba(255,255,255,0.9) !important;
  backdrop-filter: blur(5px);
}
.wallet-btn-history:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.55);
  transform: translateY(-2px);
}

/* ── Services Grid ───────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.service-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 14px 6px; border-radius: var(--radius);
  background: var(--bg-card); border: 1.5px solid var(--border);
  cursor: pointer; transition: var(--bounce);
  text-decoration: none; color: var(--text);
  box-shadow: var(--shadow-xs);
}
.service-item:hover {
  background: var(--primary-pale);
  border-color: var(--primary-light);
  transform: translateY(-5px) scale(1.03);
  box-shadow: var(--shadow);
  color: var(--primary);
}
.service-item .svc-icon {
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
  transition: var(--bounce);
}
.service-item:hover .svc-icon { transform: scale(1.15) rotate(5deg); }
.svc-mobile   { background: linear-gradient(135deg, #6366F1, #8B5CF6); box-shadow: 0 4px 12px rgba(99,102,241,0.35); }
.svc-dth      { background: linear-gradient(135deg, #0EA5E9, #2563EB); box-shadow: 0 4px 12px rgba(14,165,233,0.35); }
.svc-electric { background: linear-gradient(135deg, #F59E0B, #EF4444); box-shadow: 0 4px 12px rgba(245,158,11,0.35); }
.svc-broad    { background: linear-gradient(135deg, #06B6D4, #0EA5E9); box-shadow: 0 4px 12px rgba(6,182,212,0.35); }
.svc-fastag   { background: linear-gradient(135deg, #10B981, #06B6D4); box-shadow: 0 4px 12px rgba(16,185,129,0.35); }
.svc-gas      { background: linear-gradient(135deg, #F97316, #EF4444); box-shadow: 0 4px 12px rgba(249,115,22,0.35); }
.svc-insure   { background: linear-gradient(135deg, #8B5CF6, #EC4899); box-shadow: 0 4px 12px rgba(139,92,246,0.35); }
.svc-loan     { background: linear-gradient(135deg, #EC4899, #F97316); box-shadow: 0 4px 12px rgba(236,72,153,0.35); }
.service-item .svc-label {
  font-size: 10px; font-weight: 700; text-align: center;
  color: var(--text-muted); transition: var(--transition); line-height: 1.3;
}
.service-item:hover .svc-label { color: var(--primary); }

/* ── Banner Slider ───────────────────────────────────────────── */
.banner-slider {
  border-radius: var(--radius); overflow: hidden;
  border: 1.5px solid var(--border); box-shadow: var(--shadow);
}
.banner-slider .carousel-item img {
  border-radius: var(--radius); height: 155px; object-fit: cover; width: 100%;
}
.carousel-indicators [data-bs-target] {
  width: 6px; height: 6px; border-radius: 50%; background: rgba(37,99,235,0.25);
}
.carousel-indicators .active {
  background: var(--primary); width: 22px; border-radius: 6px;
  box-shadow: 0 0 8px rgba(37,99,235,0.5);
}

/* ── Transaction List ────────────────────────────────────────── */
.txn-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  transition: var(--transition); text-decoration: none; color: var(--text);
}
.txn-item:last-child { border-bottom: none; }
.txn-item:hover {
  background: var(--primary-pale);
  transform: scale(1.005);
}
.txn-icon {
  width: 44px; height: 44px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; flex-shrink: 0;
}
.txn-icon.recharge {
  background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
  color: var(--accent); border: 1.5px solid #C4B5FD;
}
.txn-icon.bill {
  background: linear-gradient(135deg, #E0F2FE, #BAE6FD);
  color: var(--secondary); border: 1.5px solid #7DD3FC;
}
.txn-icon.wallet {
  background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
  color: var(--success); border: 1.5px solid #6EE7B7;
}
.txn-info { flex: 1; min-width: 0; }
.txn-info .txn-name {
  font-size: 14px; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.txn-info .txn-meta { font-size: 11px; color: var(--text-muted); margin-top: 3px; font-weight: 500; }
.txn-amount { text-align: right; flex-shrink: 0; }
.txn-amount .amount { font-size: 15px; font-weight: 800; font-family: 'Poppins', sans-serif; }
.txn-amount .amount.debit  { color: var(--danger); }
.txn-amount .amount.credit { color: var(--success); }
.txn-amount .txn-status { font-size: 10px; margin-top: 3px; font-weight: 700; }

/* ── Forms ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--text-muted); margin-bottom: 8px; display: block;
}
.form-control-app {
  width: 100%; padding: 14px 16px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-family: 'Nunito', sans-serif; font-size: 15px; font-weight: 600;
  transition: var(--transition); outline: none;
  box-shadow: inset 0 1px 4px rgba(37, 99, 235, 0.05);
}
.form-control-app:focus {
  border-color: var(--primary-light);
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.12),
    inset 0 1px 4px rgba(37, 99, 235, 0.06);
  background: #fff;
}
.form-control-app::placeholder { color: var(--text-dim); font-weight: 500; }
.form-control-app.is-valid { border-color: var(--success); }
.form-control-app.is-invalid { border-color: var(--danger); }

.input-group-app { position: relative; display: flex; align-items: center; }
.input-group-app .form-control-app { padding-right: 48px; }
.input-group-app .input-addon {
  position: absolute; right: 15px;
  color: var(--primary-light); font-size: 17px; pointer-events: none;
}
.input-group-app .input-btn {
  position: absolute; right: 7px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none; color: #fff;
  padding: 8px 13px; border-radius: 8px; font-size: 12px; font-weight: 800;
  cursor: pointer; transition: var(--bounce);
  text-transform: uppercase; letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.input-group-app .input-btn:hover {
  filter: brightness(1.1); transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-app {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px 24px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 800; letter-spacing: 0.5px;
  border: none; cursor: pointer; transition: var(--bounce);
  font-family: 'Nunito', sans-serif;
}
.btn-primary-app {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary-app:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45);
  filter: brightness(1.05);
}
.btn-primary-app:active { transform: translateY(-1px); }
.btn-secondary-app {
  background: var(--bg-subtle); border: 1.5px solid var(--border); color: var(--text-muted);
}
.btn-secondary-app:hover { background: var(--primary-pale); border-color: var(--primary-light); color: var(--primary); }
.btn-success-app {
  background: linear-gradient(135deg, var(--success), #059669);
  color: #fff; font-weight: 800;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}
.btn-success-app:hover { box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5); transform: translateY(-2px); }
.btn-danger-app {
  background: linear-gradient(135deg, var(--danger), #DC2626);
  color: #fff; box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
}
.btn-danger-app:hover { box-shadow: 0 8px 24px rgba(239, 68, 68, 0.5); transform: translateY(-2px); }
.btn-sm-app { padding: 10px 18px; font-size: 12px; }

/* ── Operator Pills ──────────────────────────────────────────── */
.operator-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.op-pill {
  padding: 9px 18px; border-radius: var(--radius-full);
  background: var(--bg-subtle); border: 1.5px solid var(--border);
  color: var(--text-muted); font-size: 13px; font-weight: 700;
  cursor: pointer; transition: var(--bounce);
}
.op-pill:hover {
  background: var(--primary-pale); border-color: var(--primary-light); color: var(--primary);
  transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.op-pill.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary); color: #fff;
  box-shadow: var(--shadow-blue); font-weight: 800;
  transform: translateY(-2px);
}

/* ── Plan Cards ─────────────────────────────────────────────── */
.plan-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.plan-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 16px; cursor: pointer;
  transition: var(--bounce); position: relative; overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.plan-card:hover, .plan-card.selected {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: var(--primary-pale);
}
.plan-card.selected {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}
.plan-card .plan-price {
  font-size: 22px; font-weight: 900; color: var(--primary);
}
.plan-card .plan-desc {
  font-size: 11.5px; color: var(--text-muted); margin-top: 5px; line-height: 1.5; font-weight: 500;
}
.plan-card .plan-validity {
  font-size: 11px; color: var(--success); margin-top: 7px; font-weight: 800;
}
.plan-card .plan-type-badge {
  position: absolute; top: 10px; right: 10px;
  font-size: 9px; font-weight: 900; text-transform: uppercase;
  padding: 3px 9px; border-radius: var(--radius-full); letter-spacing: 0.4px;
}
.badge-popular { background: rgba(236, 72, 153, 0.1); color: var(--accent-pink); border: 1px solid rgba(236,72,153,0.2); }
.badge-data    { background: rgba(6, 182, 212, 0.1);  color: var(--secondary);   border: 1px solid rgba(6,182,212,0.2); }
.badge-voice   { background: rgba(16, 185, 129, 0.1); color: var(--success);     border: 1px solid rgba(16,185,129,0.2); }

/* ── Tab Navigation ─────────────────────────────────────────── */
.tab-nav {
  display: flex; background: var(--bg-subtle); border-radius: var(--radius-sm);
  padding: 4px; gap: 4px; margin-bottom: 20px; border: 1.5px solid var(--border);
}
.tab-nav .tab-btn {
  flex: 1; padding: 10px; border-radius: var(--radius-xs);
  border: none; background: transparent; color: var(--text-muted);
  font-size: 12px; font-weight: 800; cursor: pointer; transition: var(--bounce);
  font-family: 'Nunito', sans-serif; text-transform: uppercase; letter-spacing: 0.04em;
}
.tab-nav .tab-btn.active {
  background: #fff; color: var(--primary);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

/* ── Status Chips ───────────────────────────────────────────── */
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: var(--radius-full); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.chip-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(16,185,129,0.2); }
.chip-failed  { background: var(--danger-bg);  color: var(--danger);  border: 1px solid rgba(239,68,68,0.2); }
.chip-pending { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(245,158,11,0.2); }

/* ── Stat Cards ─────────────────────────────────────────────── */
.stat-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.stat-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 18px 16px;
  box-shadow: var(--shadow-xs); transition: var(--bounce);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-hover); }
.stat-card .stat-icon {
  width: 42px; height: 42px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 12px;
}
.stat-card .stat-value { font-size: 22px; font-weight: 900; color: var(--text); }
.stat-card .stat-label { font-size: 10px; color: var(--text-muted); margin-top: 3px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* ── Section Header ─────────────────────────────────────────── */
.section-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.section-header h3 { font-size: 16px; font-weight: 800; color: var(--text); }
.section-header a  { font-size: 12px; font-weight: 700; color: var(--primary); }
.section-header a:hover { color: var(--primary-dark); text-decoration: underline; }

/* ── Offer Tag ──────────────────────────────────────────────── */
.offer-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, rgba(236,72,153,0.08), rgba(139,92,246,0.08));
  border: 1.5px solid rgba(236,72,153,0.2);
  color: var(--accent-pink); padding: 7px 15px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 800;
  box-shadow: 0 2px 10px rgba(236,72,153,0.1);
}

/* ── Info Box ───────────────────────────────────────────────── */
.info-box {
  background: var(--bg-subtle); border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm); padding: 14px 16px;
  border: 1.5px solid var(--border);
}
.info-box .info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.info-box .info-row:last-child { border-bottom: none; }
.info-box .info-label { color: var(--text-muted); font-weight: 600; }
.info-box .info-value { font-weight: 800; color: var(--text); }

/* ── OTP Input ──────────────────────────────────────────────── */
.otp-inputs { display: flex; gap: 10px; justify-content: center; }
.otp-input {
  width: 50px; height: 56px; text-align: center;
  background: var(--bg-input); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-size: 24px; font-weight: 900; font-family: 'Poppins', sans-serif;
  transition: var(--transition); outline: none;
  box-shadow: var(--shadow-xs);
}
.otp-input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background: #fff;
}

/* ── Auth Layout ─────────────────────────────────────────────── */
.auth-wrapper {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 32px 20px;
  background: radial-gradient(ellipse at top, #EFF6FF 0%, #F0F7FF 70%);
}
.auth-logo { text-align: center; margin-bottom: 36px; }
.auth-logo .logo-icon {
  width: 76px; height: 76px; border-radius: 22px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; margin: 0 auto 14px;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
  border: 2px solid rgba(255,255,255,0.5);
}
.auth-logo h1 {
  font-size: 26px; font-weight: 900; color: var(--primary);
}
.auth-logo p { color: var(--text-muted); font-size: 14px; font-weight: 600; margin-top: 3px; }
.auth-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 26px;
  width: 100%; max-width: 420px;
  box-shadow: var(--shadow-md);
}
.auth-card h2 { font-size: 20px; font-weight: 800; margin-bottom: 6px; color: var(--text); }
.auth-card .auth-sub { color: var(--text-muted); font-size: 13px; margin-bottom: 24px; font-weight: 500; }
.auth-footer { text-align: center; margin-top: 22px; font-size: 13px; color: var(--text-muted); font-weight: 600; }
.auth-footer a { font-weight: 800; color: var(--primary); }

/* ── Alerts & Toasts ────────────────────────────────────────── */
.alert-app {
  padding: 14px 16px; border-radius: var(--radius-sm);
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; font-weight: 600; margin-bottom: 16px;
}
.alert-error   { background: var(--danger-bg);  border: 1px solid rgba(239,68,68,0.25);  color: var(--danger); }
.alert-success { background: var(--success-bg); border: 1px solid rgba(16,185,129,0.25); color: var(--success); }
.alert-info    { background: var(--info-bg);    border: 1px solid rgba(6,182,212,0.25);  color: var(--info); }

.toast-container { position: fixed; top: 82px; right: 16px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast-app {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 18px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px;
  min-width: 270px; animation: slideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.toast-app::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; border-radius: 4px 0 0 4px;
}
.toast-app.toast-success::before { background: var(--success); }
.toast-app.toast-error::before   { background: var(--danger); }
.toast-app.toast-pending::before { background: var(--warning); }
@keyframes slideIn { from { transform: translateX(100px) scale(0.9); opacity: 0; } to { transform: translateX(0) scale(1); opacity: 1; } }

/* ── Loader ─────────────────────────────────────────────────── */
.loader-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(240, 247, 255, 0.88); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px;
}
.loader-spinner {
  width: 48px; height: 48px; border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-right-color: var(--secondary);
  animation: spin 0.7s ease-in-out infinite;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.15);
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text { color: var(--primary); font-size: 14px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }

/* ── Section Divider ────────────────────────────────────────── */
.section-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--text-dim); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.section-divider::before, .section-divider::after { content: ''; flex: 1; height: 1.5px; background: var(--border); }

/* ── Bill Info Card ─────────────────────────────────────────── */
.bill-info-card {
  background: linear-gradient(135deg, var(--info-bg), #EFF6FF);
  border: 1.5px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius); padding: 18px;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.1);
}

/* ── Profile ─────────────────────────────────────────────────── */
.profile-avatar {
  width: 86px; height: 86px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 900; color: #fff; margin: 0 auto;
  border: 3px solid #fff; box-shadow: var(--shadow-md);
}
.profile-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* ── FAB ─────────────────────────────────────────────────────── */
.fab {
  position: fixed; bottom: calc(var(--bottom-nav-h) + 34px); right: 22px;
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px;
  box-shadow: var(--shadow-blue);
  cursor: pointer; transition: var(--bounce); z-index: 99;
  border: 2.5px solid rgba(255,255,255,0.6);
}
.fab:hover { transform: scale(1.12) rotate(15deg); box-shadow: 0 12px 30px rgba(37, 99, 235, 0.55); }

/* ── Empty State ────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 44px 20px; }
.empty-state .empty-icon {
  font-size: 56px; margin-bottom: 18px;
  display: inline-block;
  animation: floatIcon 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.15));
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.empty-state h4 { font-size: 17px; font-weight: 800; margin-bottom: 7px; color: var(--text); }
.empty-state p  { color: var(--text-muted); font-size: 13.5px; font-weight: 500; }

/* ── Shimmer Loading ────────────────────────────────────────── */
.shimmer {
  background: linear-gradient(90deg, #EBF4FF 25%, #DBEAFE 50%, #EBF4FF 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 400px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .plan-cards    { grid-template-columns: repeat(2, 1fr); }
  .stat-row      { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) { .container-app { max-width: 540px; } }

/* ── Utilities ──────────────────────────────────────────────── */
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.text-center     { text-align: center; }
.text-muted      { color: var(--text-muted) !important; }
.text-primary    { color: var(--primary) !important; }
.text-success    { color: var(--success) !important; }
.text-danger     { color: var(--danger) !important; }
.text-warning    { color: var(--warning) !important; }
.fw-bold         { font-weight: 700; }
.fw-medium       { font-weight: 500; }
.d-flex          { display: flex; }
.align-center    { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8           { gap: 8px; }
.gap-12          { gap: 12px; }
.w-100           { width: 100%; }
.hidden          { display: none !important; }
.pointer         { cursor: pointer; }
