/* ==========================================================================
   PrintX Portal Design System
   Modern, High-Contrast, Glassmorphism, Micro-Animations
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Outfit', var(--font-sans);

  /* Primary Palette */
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #eef2ff;
  --primary-glow: rgba(79, 70, 229, 0.25);

  /* Accents */
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-violet: #8b5cf6;

  /* Surfaces & Neutrals (Dark Theme by default for premium feel) */
  --bg-app: #090d16;
  --bg-surface: #111827;
  --bg-surface-elevated: #1f2937;
  --bg-glass: rgba(17, 24, 39, 0.7);
  --bg-glass-card: rgba(31, 41, 55, 0.55);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.6);

  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.2);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* Light Mode Overrides when data-theme="light" */
[data-theme="light"] {
  --bg-app: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-card: rgba(255, 255, 255, 0.7);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-app);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(at 100% 0%, rgba(99, 102, 241, 0.12) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(6, 182, 212, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar .container {
  max-width: 1440px;
  padding: 0 16px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-badge {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
  flex-shrink: 0;
}

.brand-text-group {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.brand-text {
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: -0.02em;
}
[data-theme="light"] .brand-text {
  background: linear-gradient(to right, #0f172a, #475569);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.admin-badge {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c084fc;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  padding: 2px 6px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  white-space: nowrap;
}

.nav-item {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.nav-item:hover {
  color: var(--text-main);
  background: var(--border-subtle);
}

.nav-item.active {
  color: var(--text-main);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  font-weight: 600;
}

.nav-item-admin {
  color: #c084fc;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.25);
  font-weight: 600;
}
.nav-item-admin:hover, .nav-item-admin.active {
  color: #e9d5ff;
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.4);
}

.nav-counter-badge {
  background: #f59e0b;
  color: #000;
  font-size: 0.675rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 9999px;
  margin-left: 2px;
  line-height: 1.2;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Wallet Pill */
.wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.wallet-pill:hover {
  background: rgba(16, 185, 129, 0.2);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.wallet-amount {
  font-weight: 700;
  white-space: nowrap;
}

.wallet-add-chip {
  background: rgba(16, 185, 129, 0.25);
  padding: 1px 6px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
}

.portal-view-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.portal-view-link:hover {
  background: rgba(6, 182, 212, 0.2);
  color: #fff;
}

.admin-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.775rem;
  font-weight: 600;
  color: #c084fc;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.theme-toggle-btn {
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  cursor: pointer;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: var(--border-subtle);
  transform: rotate(15deg);
}

[data-theme="dark"] .theme-toggle-btn .icon-moon { display: none !important; }
[data-theme="dark"] .theme-toggle-btn .icon-sun { display: block !important; color: #f59e0b; }
[data-theme="light"] .theme-toggle-btn .icon-sun { display: none !important; }
[data-theme="light"] .theme-toggle-btn .icon-moon { display: block !important; color: #6366f1; }

.btn-logout {
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: #f43f5e;
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.2);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-logout:hover {
  background: rgba(244, 63, 94, 0.25);
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4338ca, #4f46e5);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  border-color: var(--border-subtle);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--border-subtle);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-emerald {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* Glass Panels */
.glass {
  background: var(--bg-glass-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--border-subtle);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Stats Ribbon */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.stat-card {
  padding: 24px;
  text-align: center;
}

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

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Services Grid */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.category-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover, .filter-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 14px var(--primary-glow);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.service-card {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 14px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.service-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.service-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.service-fee-badge {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #10b981;
  margin-top: 4px;
}

.service-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}

.service-card p {
  display: none;
}

/* Service Runner & Forms */
.runner-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 40px 0;
}

@media (max-width: 900px) {
  .runner-layout {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* CR80 PVC Printable Card Styles */
.card-print-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pvc-card {
  width: 324px; /* Proportional to CR80 85.6mm */
  height: 204px; /* Proportional to CR80 53.98mm */
  background: #ffffff;
  color: #111827;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  font-size: 9px;
  line-height: 1.25;
  border: 1px solid #d1d5db;
  user-select: none;
}

/* Aadhaar Card Inner Styling */
.aadhaar-front, .aadhaar-back {
  background: #fff;
  border: 1px solid #cbd5e1;
}

.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-bottom: 1.5px solid #e2e8f0;
  background: #fafafa;
}

.emblem-img { width: 16px; height: auto; }
.aadhaar-img { width: 36px; height: auto; }

.govt-heading {
  text-align: center;
  flex: 1;
}
.hindi-title { display: block; font-weight: 700; font-size: 8px; color: #1e3a8a; }
.eng-title { display: block; font-size: 6.5px; font-weight: 700; color: #1e3a8a; }

.card-body-flex {
  display: flex;
  padding: 8px 10px;
  gap: 10px;
}

.id-photo {
  width: 62px;
  height: 74px;
  object-fit: cover;
  border: 1px solid #94a3b8;
  border-radius: 4px;
}

.info-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-row.bold { font-weight: 700; font-size: 10px; color: #0f172a; }
.info-row .lbl { color: #64748b; font-size: 7.5px; }
.info-row .val { font-weight: 600; font-size: 8px; color: #0f172a; }

.card-footer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 4px 10px;
  text-align: center;
}

.uid-digits {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #dc2626;
}

.slogan-line {
  font-size: 7px;
  font-weight: 600;
  color: #1e3a8a;
}

/* Aadhaar Back */
.address-box { flex: 1; }
.address-head { font-weight: 700; font-size: 8px; color: #1e3a8a; margin-bottom: 2px; }
.address-text { font-size: 8px; line-height: 1.25; color: #1e293b; }
.id-qr { width: 64px; height: 64px; }
.toll-free { font-size: 6.5px; color: #64748b; }

/* PAN Card Styling */
.pan-front {
  background: #fbfbfd;
  border: 1px solid #cbd5e1;
}

.pan-header {
  display: flex;
  justify-content: space-between;
  padding: 6px 10px;
  background: linear-gradient(to right, #0284c7, #0369a1);
  color: #fff;
}
.income-tax-text span, .govt-india span { display: block; font-weight: 700; font-size: 7.5px; }
.income-tax-text small, .govt-india small { display: block; font-size: 6px; }

.pan-body {
  display: flex;
  padding: 6px 10px;
  gap: 8px;
}

.pan-left-details { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.field-label { display: block; font-size: 6.5px; color: #64748b; }
.field-val { display: block; font-size: 8px; font-weight: 700; color: #0f172a; }
.pan-number-box {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #0369a1;
  background: #e0f2fe;
  padding: 2px 6px;
  border-radius: 3px;
}

.pan-right-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.pan-photo { width: 56px; height: 68px; object-fit: cover; border: 1px solid #94a3b8; }
.signature-box {
  width: 56px;
  height: 20px;
  border: 1px dashed #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: cursive;
  font-size: 8px;
}

.pan-footer {
  position: absolute;
  bottom: 4px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.hologram-sim {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fcd34d, #ec4899, #38bdf8);
  opacity: 0.75;
}

.pan-back {
  background: #f8fafc;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pan-back-header { font-weight: 800; font-size: 7.5px; color: #0369a1; text-align: center; }
.pan-back-content p { font-size: 6.5px; color: #475569; margin-bottom: 4px; }
.barcode-mock { font-family: monospace; letter-spacing: 2px; font-weight: 700; font-size: 12px; }

/* Verification Receipt */
.verification-receipt-card {
  padding: 28px;
  margin-top: 24px;
}

.receipt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.receipt-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.table-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-subtle);
}

.cell-key { color: var(--text-muted); font-size: 0.9rem; }
.cell-val { font-size: 0.95rem; color: var(--text-main); text-align: right; }

.receipt-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}
.verified-tag { color: #10b981; font-size: 0.825rem; font-weight: 600; }

/* Footer */
.footer {
  margin-top: auto;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
}
.footer-links a:hover {
  color: var(--text-main);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Android Mobile Bottom Navigation (Material Design 3)
   ========================================================================== */
.android-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  /* Mobile Top App Bar */
  .navbar {
    height: 56px;
    overflow-x: clip;
  }
  .navbar .nav-inner {
    height: 56px;
    padding: 0 10px;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .navbar .nav-links {
    display: none;
  }
  .brand-text-sub,
  .brand-text-domain,
  .admin-badge-sub {
    display: none;
  }
  .brand-text {
    font-size: 1.05rem;
    font-weight: 800;
  }
  .nav-btn-register {
    display: none;
  }
  .nav-btn-signin {
    padding: 5px 14px;
    font-size: 0.825rem;
    font-weight: 700;
    height: 34px;
    border-radius: 9999px;
    white-space: nowrap;
  }
  .nav-user-profile .user-first-name {
    display: none;
  }

  .android-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    z-index: 10000;
    justify-content: space-around;
    align-items: center;
    background: rgba(13, 19, 33, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
  }

  .android-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 4px 2px;
    cursor: pointer;
  }

  .android-nav-icon-container {
    width: 52px;
    height: 28px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--text-muted);
  }

  .android-nav-label {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-dim);
    margin-top: 2px;
    letter-spacing: 0.1px;
    white-space: nowrap;
  }

  .android-nav-item.active .android-nav-icon-container {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
  }

  .android-nav-item.active .android-nav-label {
    color: var(--text-main);
    font-weight: 700;
  }

  .android-balance-indicator {
    position: absolute;
    top: -5px;
    right: -6px;
    background: #10b981;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 9999px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .android-nav-chip {
    position: absolute;
    top: -5px;
    right: -6px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 9999px;
    line-height: 1.2;
    white-space: nowrap;
  }
}
