/* ============================================================
   Utkal Print Portal - Master Premium Stylesheet
   Designed for Indian Digital Retailers, CSC Centers & Cyber Cafes
   ============================================================ */

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

:root {
  /* Brand Identity - Vibrant Tiranga & Indian Tech */
  --primary-orange: #ff6b00;
  --primary-orange-hover: #e55e00;
  --primary-orange-light: #fff7ed;
  --primary-orange-border: #fed7aa;
  
  --primary-green: #10b981;
  --primary-green-dark: #059669;
  --primary-green-light: #ecfdf5;
  --primary-green-border: #a7f3d0;
  
  --accent-blue: #0ea5e9;
  --accent-blue-hover: #0284c7;
  --accent-blue-light: #f0f9ff;
  --accent-blue-border: #bae6fd;

  --accent-purple: #8b5cf6;
  --accent-purple-light: #f5f3ff;
  --accent-purple-border: #ddd6fe;

  --accent-amber: #f59e0b;
  --accent-amber-light: #fffbeb;
  --accent-amber-border: #fde68a;

  --accent-red: #ef4444;
  --accent-red-hover: #dc2626;
  --accent-red-light: #fef2f2;
  --accent-red-border: #fecaca;
  
  /* Neutral Dark Palettes */
  --dark-navy: #0b1120;
  --dark-navy-surface: #0f172a;
  --dark-slate: #1e293b;
  --dark-text: #0f172a;
  --body-text: #334155;
  --muted-text: #64748b;
  --subtle-text: #94a3b8;
  
  /* Borders & Surfaces */
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --border-focus: #ff6b00;
  
  /* Canvas Backgrounds */
  --bg-gradient: linear-gradient(180deg, #fbfbf9 0%, #f8fafc 50%, #f1f5f9 100%);
  --sidebar-gradient: linear-gradient(180deg, #ffffff 0%, #fff9f2 40%, #f0fdf4 100%);
  --admin-sidebar-bg: linear-gradient(180deg, #0b1120 0%, #0f172a 60%, #1e293b 100%);
  
  /* Cards & Shadows */
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 28px -6px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.12), 0 8px 20px -4px rgba(15, 23, 42, 0.04);
  --shadow-glow-orange: 0 10px 30px -5px rgba(255, 107, 0, 0.35);
  --shadow-glow-green: 0 10px 30px -5px rgba(16, 185, 129, 0.35);
  
  /* Radius Tokens */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-gradient);
  color: var(--body-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, .brand-logo, .hero-title, .section-title, .page-title, .stat-number, .stat-value {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.fa-solid, .fas {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}
.fa-regular, .far {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
}
.fa-brands, .fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

.fa-spin {
  display: inline-block !important;
  transform-origin: center center !important;
}

.loading-state-cell {
  text-align: center !important;
  padding: 34px 20px !important;
  color: #64748b !important;
  font-weight: 500 !important;
  font-size: 0.92rem !important;
}

.loading-spinner-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ff6b00;
  font-weight: 600;
}

.loading-spinner-wrapper i {
  font-size: 1.25rem;
  color: #ff6b00;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ============================================================
   Buttons & Interactive Elements
   ============================================================ */
.btn-tiranga {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8a00 45%, #10b981 100%);
  color: #ffffff !important;
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 26px;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.3), 0 2px 6px rgba(16, 185, 129, 0.2);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-tiranga::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s ease;
}

.btn-tiranga:hover::before {
  left: 100%;
}

.btn-tiranga:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.4), 0 4px 12px rgba(16, 185, 129, 0.3);
  color: #ffffff !important;
}

/* Disabled & Loading Button States - Prevent Hovering */
button:disabled,
button[disabled],
.btn-tiranga:disabled,
.btn-tiranga.is-loading,
.btn-primary-orange:disabled,
.btn-primary-orange.is-loading,
.btn-primary-green:disabled,
.btn-primary-green.is-loading,
.btn-secondary:disabled,
.btn-outline-custom:disabled {
  opacity: 0.72 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: none !important;
  box-shadow: none !important;
  transition: none !important;
}

button:disabled::before,
.btn-tiranga:disabled::before,
.btn-tiranga.is-loading::before {
  display: none !important;
  animation: none !important;
}

.btn-outline-custom {
  background: rgba(255, 255, 255, 0.95);
  color: #1e293b !important;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.btn-outline-custom:hover {
  background: #ffffff;
  border-color: var(--primary-orange);
  color: var(--primary-orange) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.btn-primary-orange {
  background: linear-gradient(135deg, #ff6b00, #ff8a00);
  color: #ffffff !important;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-glow-orange);
}

.btn-primary-orange:hover {
  background: linear-gradient(135deg, #e55e00, #ff6b00);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(255, 107, 0, 0.45);
}

.btn-primary-green {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff !important;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-glow-green);
}

.btn-primary-green:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(16, 185, 129, 0.45);
}

.btn-secondary {
  background: #f1f5f9;
  color: #334155 !important;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #e2e8f0;
  color: #0f172a !important;
}

.btn-success-soft {
  background: var(--primary-green-light);
  color: var(--primary-green-dark) !important;
  border: 1px solid var(--primary-green-border);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-success-soft:hover {
  background: var(--primary-green-dark);
  color: #ffffff !important;
}

.btn-danger-soft {
  background: var(--accent-red-light);
  color: var(--accent-red) !important;
  border: 1px solid var(--accent-red-border);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-danger-soft:hover {
  background: var(--accent-red);
  color: #ffffff !important;
}

.btn-blue-soft {
  background: var(--accent-blue-light);
  color: #0369a1 !important;
  border: 1px solid var(--accent-blue-border);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-blue-soft:hover {
  background: #0284c7;
  color: #ffffff !important;
}

/* ============================================================
   Public Navigation & Announcement Bar
   ============================================================ */
.top-announcement-bar {
  background: linear-gradient(90deg, #090e17 0%, #0f172a 45%, #1e293b 80%, #090e17 100%);
  color: #cbd5e1;
  padding: 8px 20px;
  font-size: 0.81rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 101;
}

.top-announcement-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.announcement-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.announcement-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.announcement-live-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

.announcement-text {
  color: #e2e8f0;
  font-weight: 500;
}

.announcement-right {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 0.8rem;
  color: #94a3b8;
}

.announcement-link {
  color: #cbd5e1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.announcement-link:hover {
  color: #ff9e42;
}

.announcement-link i {
  color: #ff9e42;
}

.announcement-sep {
  opacity: 0.3;
  color: #64748b;
}

.announcement-safe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.announcement-safe i {
  color: #10b981;
}

/* Sticky High-End Glassmorphism Navbar */
.navbar-custom {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.navbar-custom.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  border-bottom-color: rgba(203, 213, 225, 0.9);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dark-navy);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff6b00 0%, #ff8a00 50%, #10b981 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover .brand-logo-icon {
  transform: scale(1.05) rotate(-3deg);
}

.brand-logo-text {
  display: flex;
  align-items: center;
  gap: 1px;
}

.brand-text-dark {
  color: #0f172a;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.03em;
}

.brand-text-orange {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.03em;
}

.brand-badge {
  background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 6px;
  margin-left: 6px;
  box-shadow: 0 2px 6px rgba(255, 107, 0, 0.35);
}

/* Nav Links - Modern Capsule Items */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  background: rgba(241, 245, 249, 0.6);
  padding: 4px 6px;
  border-radius: 9999px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-link-item {
  color: #475569;
  font-weight: 600;
  font-size: 0.91rem;
  text-decoration: none;
  padding: 7px 15px;
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-icon-wrapper {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  transition: transform 0.2s ease;
}

.nav-icon-orange { color: #ea580c; background: rgba(234, 88, 12, 0.1); }
.nav-icon-green { color: #059669; background: rgba(5, 150, 105, 0.1); }
.nav-icon-blue { color: #2563eb; background: rgba(37, 99, 235, 0.1); }
.nav-icon-purple { color: #7c3aed; background: rgba(124, 58, 237, 0.1); }

.nav-link-item:hover {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  transform: translateY(-1px);
}

.nav-link-item:hover .nav-icon-wrapper {
  transform: scale(1.12);
}

.nav-link-item:active {
  transform: scale(0.97);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Login Capsule Button */
.nav-btn-login {
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 9px 20px;
  font-weight: 600;
  font-size: 0.92rem;
  color: #1e293b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-btn-login i {
  font-size: 0.88rem;
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-btn-login:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #ea580c;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.nav-btn-login:hover i {
  color: #ea580c;
  transform: translateX(2px);
}

.nav-btn-login:active {
  transform: scale(0.97);
}

/* Admin Login Capsule Button */
.nav-btn-admin {
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #334155;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-btn-admin i {
  font-size: 0.88rem;
  color: #dc2626;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-btn-admin:hover {
  background: #0b1120;
  border-color: #0b1120;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(11, 17, 32, 0.2);
  transform: translateY(-1px);
}

.nav-btn-admin:hover i {
  color: #f87171;
  transform: translateX(1px);
}

.nav-btn-admin:active {
  transform: scale(0.97);
}

/* High Impact CTA Button */
.nav-btn-cta {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8a00 45%, #10b981 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 9999px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 4px 18px rgba(255, 107, 0, 0.32), 0 2px 6px rgba(16, 185, 129, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.nav-btn-cta i {
  font-size: 0.85rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.42), 0 3px 10px rgba(16, 185, 129, 0.28);
}

.nav-btn-cta:hover i {
  transform: translateX(4px);
}

.nav-btn-cta:active {
  transform: scale(0.97);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  width: 42px;
  height: 42px;
  color: #0f172a;
  font-size: 1.15rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.mobile-menu-btn:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #ff6b00;
  transform: scale(1.04);
}

.mobile-menu-btn:active {
  transform: scale(0.95);
}

/* ============================================================
   Atmospheric Hero Section & Previews
   ============================================================ */
.hero-section {
  position: relative;
  padding: 64px 20px 84px 20px;
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 680px;
  background: 
    radial-gradient(circle at 50% 10%, rgba(255, 107, 0, 0.14) 0%, transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 15% 40%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 163, 184, 0.2) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 107, 0, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  color: #c2410c;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.12);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  color: var(--dark-navy);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero-title-gradient {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8a00 45%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: #475569;
  max-width: 760px;
  margin: 0 auto 34px auto;
  line-height: 1.65;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust-item i {
  color: var(--primary-green-dark);
}

/* Showcase Visuals */
.hero-visual-container {
  margin-top: 50px;
  position: relative;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.hero-showcase-glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 25px 65px -15px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(226, 232, 240, 0.7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
  overflow: visible;
}

.mockup-pvc-card {
  background: linear-gradient(135deg, #ffffff 0%, #fffbf5 100%);
  border: 1.5px solid #fed7aa;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 15px 32px -8px rgba(255, 107, 0, 0.16);
  position: relative;
  transition: transform 0.3s ease;
}

.mockup-pvc-card:hover {
  transform: translateY(-4px);
}

.pvc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #ffedd5;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.pvc-flag-strip {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ff6b00 33%, #ffffff 33%, #ffffff 66%, #10b981 66%);
  margin-bottom: 8px;
}

.pvc-card-body {
  display: flex;
  gap: 16px;
  align-items: center;
}

.pvc-photo-box {
  width: 76px;
  height: 92px;
  background: #e2e8f0;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 1.8rem;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.pvc-photo-box::after {
  content: 'PHOTO';
  position: absolute;
  bottom: 4px;
  font-size: 0.55rem;
  font-weight: 800;
  color: #475569;
}

.pvc-details {
  flex: 1;
}

.pvc-name {
  font-weight: 800;
  color: var(--dark-navy);
  font-size: 1rem;
  margin-bottom: 2px;
}

.pvc-meta {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 4px;
}

.pvc-aadhaar-num {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: #c2410c;
  background: #fff7ed;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 6px;
  border: 1px dashed #fdba74;
}

.mockup-pan-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border: 1.5px solid #bbf7d0;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 15px 32px -8px rgba(16, 185, 129, 0.16);
  position: relative;
  transition: transform 0.3s ease;
}

.mockup-pan-card:hover {
  transform: translateY(-4px);
}

.pan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #dcfce7;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.pan-badge-live {
  background: #dcfce7;
  color: #15803d;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  border: 1px solid #86efac;
}

.pan-result-box {
  background: #ffffff;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 14px;
  margin-top: 10px;
}

.pan-extracted-number {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 900;
  color: #065f46;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 8px;
  background: #ecfdf5;
  border-radius: 8px;
  margin-bottom: 8px;
}

.floating-chip {
  position: absolute;
  background: #ffffff;
  border-radius: var(--radius-full);
  padding: 8px 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

.floating-chip.top-left {
  top: -18px;
  left: -20px;
  animation-delay: 0s;
}

.floating-chip.bottom-right {
  bottom: -20px;
  right: -20px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Stats */
.stats-strip {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 38px 20px;
  margin: 40px 0 60px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.stats-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 10px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: #e2e8f0;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--dark-navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-number span {
  color: var(--primary-orange);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
}

/* Services Section */
.section-header-modern {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px auto;
  padding: 0 20px;
}

.section-tag {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark-navy);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.65;
}

.services-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-card-modern {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card-modern::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b00, #10b981);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card-modern:hover {
  transform: translateY(-6px);
  border-color: #fdba74;
  box-shadow: 0 20px 35px -8px rgba(255, 107, 0, 0.16);
}

.service-card-modern:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.service-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 10px;
}

.service-card-desc {
  color: #64748b;
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.service-feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px dashed #e2e8f0;
}

.service-feature-checklist li {
  font-size: 0.88rem;
  color: #334155;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-feature-checklist li i {
  color: #10b981;
  font-size: 0.95rem;
}

.service-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 12px;
}

.service-rate-pill {
  font-weight: 800;
  font-size: 0.95rem;
  color: #c2410c;
  background: #fff7ed;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid #ffedd5;
}

/* Service Card Item for Portal List */
.service-card-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.service-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -6px rgba(255, 107, 0, 0.15);
  border-color: #fed7aa;
}

/* Process Timeline */
.process-section {
  background: #ffffff;
  padding: 84px 20px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin: 70px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

.process-step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.process-step-card:hover {
  background: #ffffff;
  border-color: #ff8a00;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.process-step-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff6b00, #10b981);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.28);
}

.process-step-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 8px;
}

.process-step-desc {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Pricing Section */
.pricing-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.pricing-table-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.pricing-table-head {
  background: linear-gradient(135deg, #0b1120 0%, #1e293b 100%);
  color: #ffffff;
  padding: 26px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.pricing-item-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 20px 32px;
  border-bottom: 1px solid #f1f5f9;
  align-items: center;
  font-size: 0.94rem;
  transition: background 0.2s ease;
}

.pricing-item-row:hover {
  background: #fffcf8;
}

.pricing-item-row:last-child {
  border-bottom: none;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonial-card-modern {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease;
}

.testimonial-card-modern:hover {
  transform: translateY(-4px);
  border-color: #fdba74;
}

.testimonial-stars {
  color: #f59e0b;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.testimonial-quote {
  font-size: 0.96rem;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 22px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffedd5, #fdba74);
  color: #c2410c;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.author-info h5 {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--dark-navy);
}

.author-info p {
  font-size: 0.8rem;
  color: #64748b;
}

/* FAQ */
.faq-wrapper {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-item-modern {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item-modern.active {
  border-color: #fdba74;
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.08);
}

.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon-chevron {
  transition: transform 0.3s ease;
  color: #ff6b00;
}

.faq-item-modern.active .faq-icon-chevron {
  transform: rotate(180deg);
}

.faq-answer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 24px;
  color: #64748b;
  font-size: 0.94rem;
  line-height: 1.65;
}

.faq-item-modern.active .faq-answer-content {
  max-height: 300px;
  padding: 0 24px 22px 24px;
}

/* CTA Banner */
.cta-banner-wrapper {
  max-width: 1240px;
  margin: 70px auto 60px auto;
  padding: 0 20px;
}

.cta-banner-card {
  background: linear-gradient(135deg, #0b1120 0%, #1e293b 60%, #064e3b 100%);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 55px -12px rgba(11, 17, 32, 0.45);
}

.cta-banner-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.3), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner-title {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.cta-banner-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 660px;
  margin: 0 auto 34px auto;
  line-height: 1.65;
}

/* Footer */
.footer-modern {
  background: #0b1120;
  color: #94a3b8;
  padding: 70px 20px 30px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #94a3b8;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

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

.footer-links-list a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: #ff8a00;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: #cbd5e1;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: #64748b;
}

/* ============================================================
   Portal Shell & Navigation (User & Admin Dashboards)
   ============================================================ */
.portal-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.portal-sidebar {
  width: 270px;
  height: 100vh;
  height: 100dvh;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  background: linear-gradient(180deg, #0b1120 0%, #0f172a 55%, #1e293b 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 14px 24px 14px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: width, transform;
  z-index: 90;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  -webkit-overflow-scrolling: touch;
}

/* Custom Sleek Scrollbar for Navigation Bar */
.portal-sidebar::-webkit-scrollbar {
  width: 5px;
}
.portal-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.portal-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 10px;
}
.portal-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

.sidebar-header {
  padding-bottom: 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
}

.sidebar-header .brand-logo {
  color: #ffffff !important;
  flex: 1;
  min-width: 0;
}

.sidebar-header .brand-logo span:first-child {
  color: #ffffff !important;
}

/* Mobile Close Button (Hidden on Desktop) */
.sidebar-mobile-close-btn {
  display: none !important;
}

/* Sidebar Collapse Toggle Icon Button */
.sidebar-collapse-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.82rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.sidebar-collapse-btn:hover {
  background: rgba(255, 107, 0, 0.22);
  color: #ff9e42;
  border-color: rgba(255, 107, 0, 0.4);
  transform: scale(1.1);
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 0 auto;
  flex-shrink: 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background-color 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  position: relative;
  transform: translateZ(0);
  will-change: transform, background-color, color;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.sidebar-link i {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
  transition: color 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .sidebar-link:hover:not(.active) {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateX(3px) translateZ(0);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  }

  .sidebar-link:hover:not(.active) i {
    color: #ff9e42;
    transform: scale(1.08);
  }
}

.sidebar-link:active {
  transform: scale(0.98) translateZ(0);
  transition-duration: 0.08s;
}

.sidebar-link:focus,
.sidebar-link:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.sidebar-link.active,
.sidebar-item.active > .sidebar-link {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.24) 0%, rgba(255, 107, 0, 0.08) 100%);
  color: #ff9e42 !important;
  box-shadow: 0 4px 18px rgba(255, 107, 0, 0.15), inset 0 0 0 1px rgba(255, 107, 0, 0.35);
  font-weight: 700;
  border-color: rgba(255, 107, 0, 0.4);
  transform: translateZ(0);
}

.sidebar-link.active i,
.sidebar-item.active > .sidebar-link i {
  color: #ff9e42;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .sidebar-link.active:hover,
  .sidebar-item.active > .sidebar-link:hover {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.28) 0%, rgba(255, 107, 0, 0.12) 100%);
    box-shadow: 0 6px 22px rgba(255, 107, 0, 0.25), inset 0 0 0 1px rgba(255, 107, 0, 0.45);
    transform: translateX(2px) translateZ(0);
  }
}

.sidebar-link.active::before,
.sidebar-item.active > .sidebar-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 3.5px;
  background: #ff6b00;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 8px #ff6b00;
}

.sidebar-submenu {
  list-style: none;
  padding-left: 36px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-sublink {
  color: #64748b;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 4px 0;
  display: block;
  transition: color 0.2s ease;
}

.sidebar-sublink:hover {
  color: #ff9e42;
}

.wallet-badge {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-left: auto;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ============================================================
   SIDEBAR USER FOOTER (Expanded Mode)
   ============================================================ */
.sidebar-user-footer,
.portal-sidebar div[style*="border-top"] {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.035);
  border-radius: 14px;
  padding: 10px 12px !important;
  margin-top: auto !important;
  margin-bottom: 2px;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  position: relative;
}

.sidebar-user-footer:hover,
.portal-sidebar div[style*="border-top"]:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.sidebar-user-info,
.sidebar-user-footer > div:first-child,
.portal-sidebar div[style*="border-top"] > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.sidebar-user-footer .topbar-avatar,
.portal-sidebar div[style*="border-top"] .topbar-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.sidebar-user-details,
.sidebar-user-footer > div:first-child > div:last-child,
.portal-sidebar div[style*="border-top"] > div:first-child > div:last-child {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.sidebar-user-footer .user-name-display,
.portal-sidebar div[style*="border-top"] .user-name-display {
  font-size: 0.83rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.sidebar-user-footer .user-role-display,
.portal-sidebar div[style*="border-top"] .user-role-display {
  font-size: 0.7rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  margin-top: 1px;
}

.sidebar-user-footer .btn-logout-action,
.portal-sidebar .btn-logout-action {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
  color: #f87171 !important;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.sidebar-user-footer .btn-logout-action:hover,
.portal-sidebar .btn-logout-action:hover {
  background: rgba(239, 68, 68, 0.24) !important;
  border-color: rgba(239, 68, 68, 0.45) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.28);
}

/* ============================================================
   COLLAPSED MINI-SIDEBAR RAIL MODE (Desktop & Mobile)
   ============================================================ */
.portal-sidebar.collapsed {
  width: 78px;
  padding: 20px 8px 24px 8px;
}

.portal-sidebar.collapsed .sidebar-header {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.portal-sidebar.collapsed .brand-logo div:not(.brand-logo-icon),
.portal-sidebar.collapsed .brand-logo .brand-badge {
  display: none !important;
}

.portal-sidebar.collapsed .brand-logo {
  justify-content: center;
  width: 100%;
  margin: 0;
}

.portal-sidebar.collapsed .brand-logo-icon {
  width: 38px;
  height: 38px;
  font-size: 1.15rem;
  margin: 0 auto;
}

.portal-sidebar.collapsed .sidebar-collapse-btn {
  margin: 0 auto;
  background: rgba(255, 107, 0, 0.16);
  border-color: rgba(255, 107, 0, 0.35);
  color: #ff9e42;
}

.portal-sidebar.collapsed .sidebar-collapse-btn:hover {
  background: rgba(255, 107, 0, 0.3);
  color: #ffffff;
  transform: scale(1.12);
}

.portal-sidebar.collapsed .sidebar-collapse-btn i {
  transform: rotate(180deg);
}

.portal-sidebar.collapsed .sidebar-menu {
  gap: 8px;
  align-items: center;
}

.portal-sidebar.collapsed .sidebar-link {
  width: 48px;
  height: 46px;
  padding: 0;
  justify-content: center;
  border-radius: 12px;
  margin: 0 auto;
  gap: 0;
  transform: none !important;
}

.portal-sidebar.collapsed .sidebar-link:hover,
.portal-sidebar.collapsed .sidebar-link:active,
.portal-sidebar.collapsed .sidebar-link i,
.portal-sidebar.collapsed .sidebar-link:hover i {
  transform: none !important;
}

/* Custom Smooth Floating Glass Tooltip for Collapsed Sidebar */
.portal-sidebar.collapsed .sidebar-link[data-tooltip] {
  position: relative;
}

.portal-sidebar.collapsed .sidebar-link[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  background: rgba(15, 23, 42, 0.96);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.2s;
  z-index: 999;
}

.portal-sidebar.collapsed .sidebar-link[data-tooltip]::before {
  content: '';
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  border-width: 5px 6px 5px 0;
  border-style: solid;
  border-color: transparent rgba(15, 23, 42, 0.96) transparent transparent;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.2s;
  z-index: 999;
}

@media (hover: hover) and (pointer: fine) {
  .portal-sidebar.collapsed .sidebar-link[data-tooltip]:hover::after,
  .portal-sidebar.collapsed .sidebar-link[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
  }
}

.portal-sidebar.collapsed .sidebar-link span,
.portal-sidebar.collapsed .sidebar-link .fa-chevron-right,
.portal-sidebar.collapsed .sidebar-submenu {
  display: none !important;
}

.portal-sidebar.collapsed .sidebar-link .wallet-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  padding: 0;
  font-size: 0;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #0f172a;
  box-shadow: 0 0 6px #10b981;
}

.portal-sidebar.collapsed .sidebar-link i {
  font-size: 1.25rem;
  margin: 0;
  width: auto;
}

.portal-sidebar.collapsed .sidebar-link.active::before,
.portal-sidebar.collapsed .sidebar-item.active > .sidebar-link::before {
  left: -5px;
  top: 18%;
  height: 64%;
  width: 3.5px;
  border-radius: 0 4px 4px 0;
}

/* ============================================================
   COLLAPSED MODE: SIDEBAR USER FOOTER & TOOLTIPS
   ============================================================ */
.portal-sidebar.collapsed {
  overflow: visible !important;
}

.portal-sidebar.collapsed .sidebar-user-footer,
.portal-sidebar.collapsed div[style*="border-top"] {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 14px 0 0 0 !important;
  margin: auto 0 0 0 !important;
  background: transparent !important;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.portal-sidebar.collapsed .sidebar-user-info,
.portal-sidebar.collapsed .sidebar-user-footer > div:first-child,
.portal-sidebar.collapsed div[style*="border-top"] > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide all text inside collapsed footer */
.portal-sidebar.collapsed .sidebar-user-details,
.portal-sidebar.collapsed .user-name-display,
.portal-sidebar.collapsed .user-role-display,
.portal-sidebar.collapsed .sidebar-user-footer > div:first-child > div:not(.topbar-avatar),
.portal-sidebar.collapsed div[style*="border-top"] > div:first-child > div:not(.topbar-avatar) {
  display: none !important;
}

/* Avatar centered cleanly */
.portal-sidebar.collapsed .sidebar-user-footer .topbar-avatar,
.portal-sidebar.collapsed div[style*="border-top"] .topbar-avatar {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 11px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
  cursor: pointer;
  position: relative;
}

/* Logout button centered directly below avatar */
.portal-sidebar.collapsed .sidebar-user-footer .btn-logout-action,
.portal-sidebar.collapsed .btn-logout-action {
  width: 44px !important;
  height: 42px !important;
  min-width: 44px !important;
  margin: 0 auto !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
  color: #f87171 !important;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transform: none !important;
}

.portal-sidebar.collapsed .sidebar-user-footer .btn-logout-action:hover,
.portal-sidebar.collapsed .btn-logout-action:hover {
  background: rgba(239, 68, 68, 0.28) !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35) !important;
}

.portal-sidebar.collapsed .btn-logout-action span {
  display: none !important;
}

.portal-sidebar.collapsed .btn-logout-action i {
  font-size: 1.15rem !important;
  margin: 0 !important;
  width: auto !important;
}

/* Floating Glass Tooltip for Collapsed Sidebar Footer Items */
.portal-sidebar.collapsed .btn-logout-action[data-tooltip],
.portal-sidebar.collapsed .sidebar-user-footer .topbar-avatar[data-tooltip],
.portal-sidebar.collapsed div[style*="border-top"] .topbar-avatar[data-tooltip] {
  position: relative;
}

.portal-sidebar.collapsed .btn-logout-action[data-tooltip]::after,
.portal-sidebar.collapsed .sidebar-user-footer .topbar-avatar[data-tooltip]::after,
.portal-sidebar.collapsed div[style*="border-top"] .topbar-avatar[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  background: rgba(15, 23, 42, 0.96);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.2s;
  z-index: 1000;
}

.portal-sidebar.collapsed .btn-logout-action[data-tooltip]::before,
.portal-sidebar.collapsed .sidebar-user-footer .topbar-avatar[data-tooltip]::before,
.portal-sidebar.collapsed div[style*="border-top"] .topbar-avatar[data-tooltip]::before {
  content: '';
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  border-width: 5px 6px 5px 0;
  border-style: solid;
  border-color: transparent rgba(15, 23, 42, 0.96) transparent transparent;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.2s;
  z-index: 1000;
}

@media (hover: hover) and (pointer: fine) {
  .portal-sidebar.collapsed .btn-logout-action[data-tooltip]:hover::after,
  .portal-sidebar.collapsed .btn-logout-action[data-tooltip]:hover::before,
  .portal-sidebar.collapsed .sidebar-user-footer .topbar-avatar[data-tooltip]:hover::after,
  .portal-sidebar.collapsed .sidebar-user-footer .topbar-avatar[data-tooltip]:hover::before,
  .portal-sidebar.collapsed div[style*="border-top"] .topbar-avatar[data-tooltip]:hover::after,
  .portal-sidebar.collapsed div[style*="border-top"] .topbar-avatar[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
  }
}

.portal-main {
  margin-left: 270px;
  width: calc(100% - 270px);
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  background: #f8fafc;
  transition: margin-left 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-sidebar.collapsed ~ .portal-main,
.portal-wrapper:has(.portal-sidebar.collapsed) .portal-main {
  margin-left: 78px;
  width: calc(100% - 78px);
}

/* Mobile Hamburger Toggle Button (Hidden on Desktop) */
.sidebar-toggle {
  display: none !important;
}

.portal-topbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1.5px solid #e2e8f0;
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 80;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.portal-content {
  padding: 26px 28px;
  flex: 1;
}

/* Stat Cards */
.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

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

.stat-icon.orange { background: #fff7ed; color: #ea580c; border: 1px solid #fed7aa; }
.stat-icon.green { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.stat-icon.blue { background: #f0f9ff; color: #0284c7; border: 1px solid #bae6fd; }
.stat-icon.purple { background: #f5f3ff; color: #7c3aed; border: 1px solid #ddd6fe; }
.stat-icon.red { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

.stat-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--dark-text);
  line-height: 1.15;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 3px;
}

.glass-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-bottom: 24px;
}

/* ============================================================
   WALLET FINTECH SMART CARD & QUICK PRESETS
   ============================================================ */
.wallet-hero-card {
  background: linear-gradient(135deg, #052e16 0%, #064e3b 45%, #0f172a 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 20px 40px -10px rgba(6, 78, 59, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.wallet-hero-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -8%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.wallet-card-chip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.wallet-card-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #a7f3d0;
  text-transform: uppercase;
}

.wallet-sim-chip {
  width: 32px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  border: 1px solid #fef08a;
  position: relative;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.wallet-sim-chip::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(0, 0, 0, 0.25);
  border-radius: 3px;
}

.wallet-card-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6ee7b7;
}

.wallet-card-balance-section {
  position: relative;
  z-index: 2;
}

.wallet-card-balance-section .balance-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 2px;
}

.wallet-balance-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: #4ade80;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 10px rgba(74, 222, 128, 0.3);
}

.wallet-card-balance-section .balance-subtext {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-top: 6px;
}

.wallet-card-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 2;
}

.wallet-card-user-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.wallet-card-user-meta .meta-item {
  display: flex;
  flex-direction: column;
}

.wallet-card-user-meta .meta-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 700;
}

.wallet-card-user-meta .meta-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.wallet-card-user-meta .meta-value.tier {
  color: #6ee7b7;
}

.wallet-recharge-cta-btn {
  background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
  transition: all 0.2s ease;
}

.wallet-recharge-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.5);
}

.quick-topup-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.wallet-presets-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.amount-chip {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.amount-chip .chip-label {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.amount-chip:hover {
  background: #ffffff;
  border-color: #ff6b00;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.12);
}

.amount-chip:hover .chip-label {
  color: #ea580c;
}

.amount-chip.chip-popular {
  background: #fff7ed;
  border-color: #fdba74;
}

.amount-chip.chip-popular .chip-label {
  color: #c2410c;
}

.amount-chip .popular-tag {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: #ff6b00;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 9999px;
  position: absolute;
  top: 4px;
  line-height: 1.2;
}

.amount-chip.chip-popular {
  padding-top: 18px;
}

.amount-chip.chip-custom {
  background: #f0f9ff;
  border-color: #bae6fd;
}

.amount-chip.chip-custom .chip-label {
  color: #0369a1;
  font-size: 0.92rem;
}

/* ============================================================
   HELPDESK TOP STATS & LIVE WHATSAPP CONNECT
   ============================================================ */
.helpdesk-stats-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.helpdesk-whatsapp-card {
  background: linear-gradient(135deg, #052e16 0%, #14532d 100%);
  color: #ffffff;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.15);
  position: relative;
  overflow: hidden;
}

.helpdesk-whatsapp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.25);
  border-color: #22c55e;
}

.whatsapp-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
}

.whatsapp-card-info {
  flex: 1;
  min-width: 0;
}

.whatsapp-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #86efac;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.whatsapp-card-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.whatsapp-card-sub {
  font-size: 0.76rem;
  color: #cbd5e1;
  margin-top: 1px;
}

.whatsapp-card-action {
  background: #22c55e;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.helpdesk-whatsapp-card:hover .whatsapp-card-action {
  background: #16a34a;
}

.helpdesk-metric-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.2s ease;
}

.helpdesk-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.helpdesk-metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.helpdesk-metric-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.helpdesk-metric-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.helpdesk-metric-icon.bolt {
  background: #ecfdf5;
  color: #059669;
}

.helpdesk-metric-icon.shield {
  background: #f0f9ff;
  color: #0284c7;
}

.helpdesk-metric-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 3px;
}

.helpdesk-metric-sub {
  font-size: 0.75rem;
  color: #64748b;
}

/* ============================================================
   PROFILE IDENTITY HERO CARD (MY ACCOUNT)
   ============================================================ */
.profile-hero-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

.profile-hero-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}

.profile-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.profile-large-avatar {
  width: 64px !important;
  height: 64px !important;
  font-size: 1.5rem !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.3) !important;
}

.profile-avatar-status {
  width: 14px;
  height: 14px;
  background: #10b981;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
  position: absolute;
  bottom: -2px;
  right: -2px;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.profile-user-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-user-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.user-role-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.profile-meta-pills {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-meta-pill {
  font-size: 0.82rem;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.profile-hero-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-wallet-btn {
  padding: 10px 20px !important;
  font-size: 0.88rem !important;
  text-decoration: none !important;
}

/* Modern KPI Metric Grid & Cards */
.kpi-grid {
  display: grid;
  gap: 16px;
}

.kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.kpi-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

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

.kpi-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.kpi-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 6px;
}

.kpi-footer {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
}

/* Support & Complaints Layout Grid */
.complaint-layout-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(380px, 1.4fr);
  gap: 24px;
  align-items: start;
}

/* Recent Service Orders Responsive Container Switch (Desktop default) */
.recent-orders-mobile-container {
  display: none !important;
}

.recent-orders-desktop-table {
  display: block;
}

/* Wallet Transactions Responsive Container Switch (Desktop default) */
.wallet-history-mobile-container {
  display: none !important;
}

.wallet-history-desktop-table {
  display: block;
}

/* Print Orders Ledger Responsive Switch (Desktop default) */
.print-orders-mobile-container {
  display: none !important;
}

.print-orders-desktop-table {
  display: block;
}

/* PAN Orders Ledger Responsive Switch (Desktop default) */
.pan-orders-mobile-container {
  display: none !important;
}

.pan-orders-desktop-table {
  display: block;
}

/* Support History Responsive Switch (Desktop default) */
.support-history-mobile-container {
  display: none !important;
}

.support-history-desktop-table {
  display: block;
}

/* Documents Vault Responsive Switch (Desktop default) */
.documents-mobile-container {
  display: none !important;
}

.documents-desktop-table {
  display: block;
}

.qr-preview-box {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  margin: 14px 0;
}

.qr-image-display {
  max-width: 180px;
  max-height: 180px;
  border-radius: 10px;
  margin: 0 auto 12px auto;
  display: block;
  background: #ffffff;
  padding: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}

/* Tables */
.custom-table-container {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: var(--shadow-xs);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th {
  background: #f8fafc;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.78rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.custom-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
  color: var(--body-text);
  vertical-align: middle;
}

.custom-table tbody tr {
  transition: background 0.15s ease;
}

.custom-table tbody tr:hover {
  background: #fffcf8;
}

.custom-table tbody tr:last-child td {
  border-bottom: none;
}

.order-num-tag {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-weight: 700;
  font-size: 0.84rem;
  color: #ff7a00;
  background: #fff7ed;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #ffedd5;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-status {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-transform: capitalize;
}

.badge-pending { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.badge-processing { background: #e0f2fe; color: #075985; border: 1px solid #bae6fd; }
.badge-completed { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.badge-rejected { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* Filter Tabs */
.filter-tabs-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 20px;
}

.segmented-tabs-group {
  display: inline-flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
  flex-wrap: wrap;
}

.segmented-tab {
  background: transparent;
  border: none;
  padding: 7px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.segmented-tab:hover:not(.active) {
  color: #1e293b;
  background: rgba(255, 255, 255, 0.6);
}

.segmented-tab.active {
  background: #ffffff;
  color: #ff6b00;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.tab-badge-count {
  background: #e2e8f0;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.segmented-tab.active .tab-badge-count {
  background: #fff7ed;
  color: #ff6b00;
}

.search-box-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box-wrapper .search-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
}

.search-box-wrapper input {
  padding: 9px 14px 9px 38px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.88rem;
  width: 250px;
  background: #f8fafc;
  transition: all 0.2s ease;
  color: var(--dark-text);
}

.search-box-wrapper input:focus {
  outline: none;
  border-color: #ff6b00;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
  width: 280px;
}

/* Modals */
.modal-backdrop-custom {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop-custom.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog-custom {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #e2e8f0;
}

.modal-backdrop-custom.active .modal-dialog-custom {
  transform: scale(1) translateY(0);
}

.modal-header-custom {
  padding: 20px 26px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-body-custom {
  padding: 26px;
}

.modal-footer-custom {
  padding: 18px 26px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: #f8fafc;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--dark-text);
  background: #ffffff;
  transition: all 0.2s ease;
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

/* Toast */
#toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-msg {
  min-width: 320px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-success { background: linear-gradient(135deg, #16a34a, #15803d); }
.toast-error { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.toast-info { background: linear-gradient(135deg, #0284c7, #0369a1); }

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============================================================
   MOBILE & RESPONSIVE DESIGN SYSTEM
   ============================================================ */

/* Mobile Backdrop */
.portal-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1090;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-sidebar-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

body.sidebar-open {
  overflow: hidden;
}

/* Mobile Dropdown Navigation Menu */
.mobile-nav-dropdown {
  display: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 18px 20px 18px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.mobile-nav-dropdown.show {
  display: block;
  animation: slideDownNav 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #334155;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.mobile-nav-link i {
  color: #ff6b00;
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #ea580c;
}

.mobile-nav-actions {
  display: flex;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

/* Mobile Sidebar Dimming Backdrop */
.portal-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s;
  pointer-events: none;
}

.portal-sidebar-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.sidebar-open {
  overflow: hidden !important;
  touch-action: none !important;
}

/* Mobile Bottom Navigation Bar (Retailer & Admin Portals) */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  z-index: 1040;
  padding: 6px 12px;
  padding-bottom: max(6px, env(safe-area-inset-bottom));
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.admin-bottom-bar .bottom-nav-item.active {
  color: #ef4444 !important;
}

.admin-bottom-bar .bottom-nav-item.active i {
  color: #ef4444 !important;
  transform: translateY(-2px);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 3px;
  flex: 1;
  padding: 6px 0;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.bottom-nav-item i {
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}

.bottom-nav-item.active {
  color: #ff6b00;
}

.bottom-nav-item.active i {
  transform: translateY(-2px);
  color: #ff6b00;
}

/* Tablet & Mobile Screens (<= 991px) */
@media (max-width: 991px) {
  .hero-title { font-size: 2.6rem; }
  .hero-showcase-glass-card { grid-template-columns: 1fr; gap: 20px; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  
  .nav-links { display: none !important; }
  .nav-register-btn, .nav-btn-cta { display: none !important; }
  
  .mobile-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    color: var(--dark-navy);
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  }

  .nav-login-btn, .nav-btn-login {
    padding: 8px 16px;
    font-size: 0.88rem;
  }

  .floating-chip { display: none; }

  .portal-sidebar,
  .portal-sidebar.collapsed {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 1200 !important;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.35) !important;
    width: min(300px, 86vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    padding: 18px 16px 24px 16px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .portal-sidebar.show {
    transform: translateX(0) !important;
  }

  /* Reset collapsed rules on mobile so opened drawer always displays full text & labels */
  .portal-sidebar.collapsed .sidebar-header {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 16px !important;
    padding-bottom: 14px !important;
  }

  .portal-sidebar.collapsed .brand-logo div:not(.brand-logo-icon),
  .portal-sidebar.collapsed .brand-logo .brand-badge {
    display: block !important;
  }

  .portal-sidebar.collapsed .brand-logo {
    justify-content: flex-start !important;
    width: auto !important;
  }

  .portal-sidebar.collapsed .sidebar-menu {
    gap: 6px !important;
    align-items: stretch !important;
  }

  .portal-sidebar.collapsed .sidebar-link {
    width: 100% !important;
    height: auto !important;
    padding: 11px 14px !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    border-radius: var(--radius-md) !important;
  }

  .portal-sidebar.collapsed .sidebar-link span,
  .portal-sidebar.collapsed .sidebar-link .fa-chevron-right,
  .portal-sidebar.collapsed .sidebar-submenu {
    display: block !important;
  }

  .portal-sidebar.collapsed .sidebar-user-footer {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.035) !important;
    width: 100% !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
    margin-top: auto !important;
  }

  .portal-sidebar.collapsed .sidebar-user-info {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: auto !important;
    gap: 10px !important;
  }

  .portal-sidebar.collapsed .sidebar-user-details,
  .portal-sidebar.collapsed .user-name-display,
  .portal-sidebar.collapsed .user-role-display {
    display: block !important;
  }

  .portal-sidebar.collapsed .btn-logout-action {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 10px !important;
    margin: 0 !important;
  }

  .portal-sidebar .sidebar-collapse-btn {
    display: none !important;
  }

  .sidebar-mobile-close-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
  }

  .sidebar-mobile-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.4);
  }

  .portal-main,
  .portal-sidebar.collapsed ~ .portal-main,
  .portal-wrapper:has(.portal-sidebar.collapsed) .portal-main {
    margin-left: 0 !important;
    width: 100% !important;
    padding-bottom: 74px;
  }

  .sidebar-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 1.05rem;
    color: var(--dark-navy);
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s;
  }

  .sidebar-toggle:active {
    background: #e2e8f0;
    transform: scale(0.96);
  }

  .mobile-bottom-bar {
    display: flex;
  }

  .portal-content {
    padding: 16px;
  }

  .glass-card {
    padding: 20px 16px;
    border-radius: var(--radius-lg);
  }

  .services-grid-modern {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .pricing-container {
    padding: 0 16px;
  }

  .pricing-table-card {
    overflow-x: auto;
  }

  .pricing-item-row {
    min-width: 600px;
  }
}

/* Smartphone Screens (<= 640px) */
@media (max-width: 640px) {
  .navbar-inner {
    padding: 10px 14px;
  }

  .brand-logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .brand-logo-text {
    font-size: 1.15rem;
  }

  .brand-badge {
    font-size: 0.62rem;
    padding: 2px 5px;
    margin-left: 2px;
  }

  .nav-login-btn, .nav-btn-login {
    padding: 7px 14px;
    font-size: 0.82rem;
  }
  
  .announcement-right {
    display: none !important;
  }
  
  .announcement-left {
    justify-content: center;
    width: 100%;
  }

  .hero-section {
    padding: 36px 14px 28px 14px;
  }

  .hero-pill-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
    margin-bottom: 14px;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.35;
    text-align: left;
  }

  .hero-title {
    font-size: 1.95rem;
    letter-spacing: -0.025em;
    line-height: 1.18;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 22px;
    padding: 0 4px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 22px;
  }

  .hero-actions .btn-tiranga,
  .hero-actions .btn-outline-custom {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.95rem;
    border-radius: 12px;
  }

  .hero-trust-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 8px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
  }

  .hero-trust-item {
    font-size: 0.74rem;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .hero-trust-item i {
    font-size: 0.88rem;
    color: #10b981;
    flex-shrink: 0;
  }

  .hero-showcase-glass-card {
    padding: 12px;
    border-radius: 16px;
    gap: 14px;
  }

  .mockup-pvc-card,
  .mockup-pan-card {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .pvc-card-body {
    flex-direction: row;
    gap: 10px;
    align-items: center;
  }

  .pvc-photo-box {
    width: 50px;
    height: 60px;
    font-size: 1.3rem;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .pvc-name {
    font-size: 0.86rem;
  }

  .pvc-meta {
    font-size: 0.7rem;
  }

  .pvc-aadhaar-num {
    font-size: 0.92rem;
    letter-spacing: 1.5px;
    padding: 3px 6px;
    margin-top: 4px;
  }

  .pan-extracted-number {
    font-size: 1.15rem;
    letter-spacing: 2px;
    padding: 6px 8px;
  }

  .stats-strip {
    padding: 24px 16px;
    margin: 24px 0 36px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .stat-number {
    font-size: 1.85rem;
  }

  .stat-label {
    font-size: 0.78rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.92rem;
  }

  .services-grid-modern {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 16px;
  }

  .service-card-modern {
    padding: 22px 18px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .process-step-card {
    padding: 22px 16px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .top-announcement-bar {
    display: none;
  }

  /* ============================================================
     PORTAL TOPBAR & MOBILE HEADER OPTIMIZATIONS
     ============================================================ */
  .portal-topbar {
    padding: 8px 12px !important;
    gap: 8px !important;
    height: auto !important;
    min-height: 56px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* Left Group: Hamburger Menu + Page Title */
  .portal-topbar > div:first-child {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }

  .portal-topbar > div:first-child > div {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }

  /* Hide category/breadcrumb uppercase subtitle on mobile */
  .portal-topbar small,
  .portal-topbar div[style*="uppercase"] {
    display: none !important;
  }

  .portal-topbar h1 {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .page-title-sub {
    display: none !important;
  }

  /* Right Group: Wallet Pill + Profile Avatar */
  .portal-topbar > div:last-child {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  /* Compact Wallet Pill on Mobile */
  .topbar-wallet-pill {
    padding: 4px 8px !important;
    gap: 5px !important;
    border-radius: 9999px !important;
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    flex-shrink: 0 !important;
  }

  .topbar-wallet-pill i {
    font-size: 0.82rem !important;
  }

  .topbar-wallet-pill .user-wallet-display {
    font-size: 0.8rem !important;
    font-weight: 800 !important;
  }

  .topbar-wallet-pill .pill-add-btn,
  .topbar-wallet-pill .badge-topup {
    display: none !important; /* Hide tiny + on mobile to preserve layout width */
  }

  /* User Profile Badge: Hide text, display only sleek avatar chip */
  .topbar-user-badge,
  .topbar-user-chip {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    gap: 0 !important;
    flex-shrink: 0 !important;
  }

  .topbar-user-badge > div:not(.topbar-avatar),
  .topbar-user-chip > div:not(.topbar-avatar),
  .topbar-user-chip .user-chip-text {
    display: none !important;
  }

  .topbar-avatar {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 0.75rem !important;
  }

  .portal-topbar .btn-logout-action {
    display: none !important;
  }

  /* ============================================================
     NOTICE BANNER & METRIC CARDS (2x2 Grid)
     ============================================================ */
  #noticeBanner {
    padding: 10px 12px !important;
    margin-bottom: 14px !important;
    border-radius: 12px !important;
  }

  #noticeBanner i {
    font-size: 1rem !important;
  }

  #noticeBanner #noticeContent {
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
  }

  /* 2x2 Metric KPI Grid for seamless mobile view */
  .portal-content > div[style*="repeat(auto-fit, minmax(220px, 1fr))"],
  .portal-content > div[style*="repeat(auto-fit, minmax(200px, 1fr))"],
  .portal-content > div[style*="repeat(auto-fit, minmax(240px, 1fr))"],
  .kpi-metrics-grid,
  .kpi-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
  }

  .portal-content > div[style*="repeat(auto-fit, minmax(220px, 1fr))"] > .glass-card,
  .portal-content > div[style*="repeat(auto-fit, minmax(200px, 1fr))"] > .glass-card,
  .portal-content > div[style*="repeat(auto-fit, minmax(240px, 1fr))"] > .glass-card,
  .portal-content > div[style*="repeat(auto-fit, minmax(220px, 1fr))"] > .stat-card,
  .kpi-metrics-grid > .glass-card,
  .kpi-metrics-grid > .stat-card,
  .kpi-card,
  .stat-card {
    padding: 10px 10px !important;
    gap: 8px !important;
    border-radius: 14px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .kpi-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 6px !important;
    gap: 4px !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .kpi-title {
    font-size: 0.62rem !important;
    line-height: 1.2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .kpi-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    flex-shrink: 0 !important;
  }

  .kpi-value {
    font-size: 1.25rem !important;
    line-height: 1.1 !important;
    margin-bottom: 2px !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .kpi-footer {
    font-size: 0.64rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Helpdesk Stats on Mobile: WhatsApp full width, 2 SLA metrics in 2-column grid */
  .helpdesk-stats-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
  }

  .helpdesk-whatsapp-card {
    grid-column: span 2 !important;
    padding: 14px 16px !important;
    gap: 12px !important;
    border-radius: 14px !important;
  }

  .whatsapp-card-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    font-size: 1.45rem !important;
  }

  .whatsapp-card-number {
    font-size: 1.15rem !important;
  }

  .whatsapp-card-action {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
  }

  .helpdesk-metric-card {
    padding: 12px 14px !important;
    border-radius: 14px !important;
  }

  .helpdesk-metric-val {
    font-size: 1.35rem !important;
  }

  .helpdesk-metric-label {
    font-size: 0.68rem !important;
  }

  .helpdesk-metric-sub {
    font-size: 0.68rem !important;
  }

  /* Profile Hero Card on Mobile */
  .profile-hero-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 18px 16px !important;
    gap: 16px !important;
    border-radius: 16px !important;
  }

  .profile-hero-left {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .profile-meta-pills {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .profile-meta-pill {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .profile-hero-right {
    width: 100% !important;
  }

  .profile-wallet-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .complaint-layout-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .complaint-layout-grid > .glass-card {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .portal-content > div[style*="repeat(auto-fit, minmax(220px, 1fr))"] .glass-card div[style*="width: 44px"],
  .portal-content > div[style*="repeat(auto-fit, minmax(200px, 1fr))"] .glass-card div[style*="width: 44px"],
  .portal-content > div[style*="repeat(auto-fit, minmax(240px, 1fr))"] .glass-card div[style*="width: 44px"],
  .kpi-metrics-grid .glass-card div[style*="width: 44px"],
  .stat-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    font-size: 1.1rem !important;
    border-radius: 10px !important;
  }

  .portal-content > div[style*="repeat(auto-fit, minmax(220px, 1fr))"] .glass-card div[style*="font-size: 1.5rem"],
  .portal-content > div[style*="repeat(auto-fit, minmax(200px, 1fr))"] .glass-card div[style*="font-size: 1.5rem"],
  .kpi-metrics-grid .glass-card div[style*="font-size: 1.5rem"],
  .stat-card .stat-value {
    font-size: 1.35rem !important;
    line-height: 1.1 !important;
  }

  .portal-content > div[style*="repeat(auto-fit, minmax(220px, 1fr))"] .glass-card div[style*="font-size: 0.72rem"],
  .portal-content > div[style*="repeat(auto-fit, minmax(200px, 1fr))"] .glass-card div[style*="font-size: 0.72rem"],
  .kpi-metrics-grid .glass-card div[style*="font-size: 0.72rem"],
  .stat-card .stat-label {
    font-size: 0.65rem !important;
    line-height: 1.2 !important;
  }

  /* Grids to single column on mobile */
  .portal-content > div[style*="repeat(auto-fit, minmax(280px, 1fr))"],
  .portal-content > div[style*="minmax(320px, 1fr)"],
  .portal-content div[style*="minmax(320px, 1fr)"],
  #printServicesGrid,
  #panServicesGrid,
  .services-grid-modern {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-bottom: 18px !important;
  }

  .portal-content {
    padding: 12px 12px calc(96px + env(safe-area-inset-bottom, 0px)) 12px !important;
  }

  .wallet-hero-card {
    padding: 20px 16px !important;
    gap: 16px !important;
    border-radius: 16px !important;
  }

  .wallet-card-chip-row {
    width: 100% !important;
  }

  .wallet-balance-amount {
    font-size: 2.6rem !important;
  }

  .wallet-card-bottom-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
  }

  .wallet-card-user-meta {
    justify-content: space-between !important;
    width: 100% !important;
  }

  .wallet-recharge-cta-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .quick-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .quick-stat-pill {
    padding: 12px 14px;
  }

  .search-box-wrapper {
    width: 100%;
  }

  .search-box-wrapper input {
    width: 100% !important;
  }

  .segmented-tabs-group {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 4px;
  }

  .segmented-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* ============================================================
     RECENT SERVICE ORDERS ON MOBILE (Native Cards & Centered State)
     ============================================================ */
  .recent-orders-desktop-table {
    display: none !important;
  }

  .recent-orders-mobile-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .mobile-order-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.2s ease;
  }

  .mobile-order-card:active {
    transform: scale(0.99);
    background: #f8fafc;
  }

  .mobile-order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .mobile-order-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-order-service-name {
    font-weight: 800;
    color: #0f172a;
    font-size: 0.95rem;
    line-height: 1.25;
  }

  .mobile-order-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.78rem;
    flex-wrap: wrap;
  }

  .mobile-order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    gap: 10px;
  }

  .mobile-order-amount {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.08rem;
    color: #0f172a;
  }

  .mobile-order-action {
    display: flex;
    align-items: center;
  }

  .mobile-orders-empty-state {
    padding: 32px 18px;
    text-align: center;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }

  .mobile-orders-empty-state .empty-state-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #fff7ed;
    color: #ea580c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 12px;
  }

  .mobile-orders-empty-state .empty-state-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
  }

  .mobile-orders-empty-state .empty-state-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.4;
    max-width: 290px;
    margin: 0 auto;
  }

  .mobile-order-loading {
    padding: 32px 16px;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  /* Sticky centering for generic table empty states */
  .custom-table td[colspan] .empty-state-box {
    position: sticky;
    left: 0;
    width: calc(100vw - 64px);
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  /* ============================================================
     WALLET TRANSACTIONS & TOP-UP HISTORY (Mobile Responsive Cards)
     ============================================================ */
  .wallet-history-desktop-table {
    display: none !important;
  }

  .wallet-history-mobile-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .mobile-tx-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.2s ease;
  }

  .mobile-tx-card:active {
    transform: scale(0.99);
    background: #f8fafc;
  }

  .mobile-tx-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .mobile-tx-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-tx-desc {
    font-weight: 800;
    color: #0f172a;
    font-size: 0.95rem;
    line-height: 1.25;
  }

  .mobile-tx-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.78rem;
    flex-wrap: wrap;
  }

  .mobile-tx-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    gap: 10px;
  }

  .mobile-tx-amount {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
  }

  .mobile-tx-amount.credit {
    color: #059669;
  }

  .mobile-tx-amount.debit {
    color: #dc2626;
  }

  .mobile-tx-empty-state {
    padding: 32px 18px;
    text-align: center;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }

  .mobile-tx-empty-state .empty-state-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f0fdf4;
    color: #10b981;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 12px;
  }

  .mobile-tx-empty-state .empty-state-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
  }

  .mobile-tx-empty-state .empty-state-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.4;
    max-width: 290px;
    margin: 0 auto;
  }

  /* ============================================================
     PRINT ORDERS, PAN SEARCH & SUPPORT HISTORY LEDGERS (Mobile Responsive Cards)
     ============================================================ */
  .print-orders-desktop-table,
  .pan-orders-desktop-table,
  .support-history-desktop-table,
  .documents-desktop-table {
    display: none !important;
  }

  .print-orders-mobile-container,
  .pan-orders-mobile-container,
  .support-history-mobile-container,
  .documents-mobile-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .mobile-ledger-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.2s ease;
  }

  .mobile-ledger-card:active {
    background: #f8fafc;
  }

  .mobile-ledger-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .mobile-ledger-card-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .mobile-ledger-title {
    font-weight: 800;
    color: #0f172a;
    font-size: 0.96rem;
    line-height: 1.3;
  }

  .mobile-ledger-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.78rem;
    flex-wrap: wrap;
  }

  .mobile-ledger-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    gap: 10px;
    flex-wrap: wrap;
  }

  .mobile-ledger-amount {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #0f172a;
  }

  .pan-number-chip {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 800;
    color: #065f46;
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #a7f3d0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.04em;
  }

  .mobile-ledger-empty-state {
    padding: 34px 18px;
    text-align: center;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }

  .mobile-ledger-empty-state .empty-state-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #fff7ed;
    color: #ea580c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 12px;
  }

  .mobile-ledger-empty-state.pan-empty .empty-state-icon {
    background: #ecfdf5;
    color: #059669;
  }

  .mobile-ledger-empty-state .empty-state-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
  }

  .mobile-ledger-empty-state .empty-state-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.4;
    max-width: 290px;
    margin: 0 auto;
  }

  .mobile-ledger-empty-state.support-empty .empty-state-icon {
    background: #ecfdf5;
    color: #10b981;
  }

  .mobile-ticket-reply-box {
    background: rgba(13, 148, 136, 0.05);
    border: 1px solid rgba(13, 148, 136, 0.2);
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 4px;
    font-size: 0.82rem;
    color: #0f172a;
    line-height: 1.45;
  }

  .mobile-ticket-reply-box .reply-header {
    font-size: 0.68rem;
    font-weight: 700;
    color: #0d9488;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  /* ============================================================
     TABLES & LEDGERS ON MOBILE
     ============================================================ */
  .custom-table-container {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 12px !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .custom-table {
    min-width: 560px !important;
    width: 100% !important;
  }

  .custom-table th,
  .custom-table td {
    padding: 10px 12px !important;
    font-size: 0.8rem !important;
    white-space: nowrap;
  }

  /* Wallet Presets Grid on Mobile (3 columns x 2 rows) */
  .wallet-presets-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .wallet-presets-grid .amount-chip {
    width: 100% !important;
    padding: 10px 2px !important;
    font-size: 0.82rem !important;
    text-align: center !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  div[style*="overflow-x: auto"] {
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
  }

  /* ============================================================
     MODALS ON MOBILE (Native Bottom Sheet Style)
     ============================================================ */
  .modal-backdrop-custom {
    padding: 0 !important;
    align-items: flex-end !important;
  }

  .modal-dialog-custom {
    max-height: 88vh !important;
    max-height: 88dvh !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 22px 22px 0 0 !important;
    transform: translateY(100%);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35) !important;
  }

  .modal-backdrop-custom.active .modal-dialog-custom {
    transform: translateY(0) !important;
  }

  .modal-header-custom {
    padding: 14px 18px !important;
    border-bottom: 1px solid #e2e8f0;
  }

  .modal-body-custom {
    padding: 16px 18px !important;
    max-height: calc(88vh - 125px) !important;
    max-height: calc(88dvh - 125px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .modal-footer-custom {
    padding: 12px 18px !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .modal-footer-custom button {
    flex: 1 1 auto !important;
    min-height: 42px !important;
  }

  /* Prevent iOS Auto-Zoom on form input focus: minimum 16px */
  .modal-body-custom input,
  .modal-body-custom select,
  .modal-body-custom textarea,
  .form-control-custom,
  .search-box-wrapper input {
    font-size: 16px !important;
  }

  /* Auth Screens */
  .auth-card {
    border-radius: 18px;
    margin: 10px;
  }

  .auth-body {
    padding: 24px 18px;
  }

  #toast-container {
    left: 16px;
    right: 16px;
    top: 16px;
  }

  .toast-msg {
    min-width: unset;
    width: 100%;
  }
}

/* Extra Small Phones (<= 400px) */
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.7rem;
  }
  .brand-logo-text {
    font-size: 1.05rem;
  }
  .nav-login-btn span,
  .nav-btn-login span {
    display: none;
  }
  .hero-trust-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .btn-tiranga,
  .btn-outline-custom {
    padding: 11px 16px;
    font-size: 0.88rem;
  }
  .pvc-card-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .pvc-details {
    text-align: center !important;
  }
}

/* ============================================================
   EXECUTIVE MODERN DESIGN SYSTEM - MASTER ENHANCEMENTS
   ============================================================ */

/* 1. Typography & General Polish */
body {
  letter-spacing: -0.01em;
}

.font-outfit {
  font-family: 'Outfit', sans-serif !important;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace !important;
}

/* 2. Enhanced High-Precision Status Badges with Live Pulse Dots */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1.3;
}

.badge-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-completed,
.badge-approved,
.badge-resolved {
  background: #ecfdf5 !important;
  color: #065f46 !important;
  border: 1px solid #a7f3d0 !important;
}
.badge-completed::before,
.badge-approved::before,
.badge-resolved::before {
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.badge-pending {
  background: #fffbeb !important;
  color: #92400e !important;
  border: 1px solid #fde68a !important;
}
.badge-pending::before {
  background: #f59e0b;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

.badge-processing,
.badge-in_progress {
  background: #f0f9ff !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
}
.badge-processing::before,
.badge-in_progress::before {
  background: #0284c7;
  box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7);
  animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

.badge-rejected,
.badge-cancelled,
.badge-suspended {
  background: #fef2f2 !important;
  color: #991b1b !important;
  border: 1px solid #fecaca !important;
}
.badge-rejected::before,
.badge-cancelled::before,
.badge-suspended::before {
  background: #ef4444;
}

.badge-open {
  background: #f5f3ff !important;
  color: #6b21a8 !important;
  border: 1px solid #ddd6fe !important;
}
.badge-open::before {
  background: #9333ea;
  box-shadow: 0 0 0 0 rgba(147, 51, 234, 0.7);
  animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

/* 3. Sleek Sidebar Category Divider */
.sidebar-category-header {
  font-size: 0.67rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 14px 4px 14px;
  user-select: none;
  opacity: 0.85;
}

.portal-sidebar.collapsed .sidebar-category-header {
  display: none;
}

/* 4. Executive Topbar Polish */
.portal-topbar {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.03) !important;
}

.topbar-user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 6px;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  text-decoration: none;
  color: #1e293b;
}

.topbar-user-badge:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.topbar-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  box-shadow: 0 2px 6px rgba(255, 107, 0, 0.3);
}

.topbar-avatar.admin {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
}

.topbar-wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  padding: 6px 14px;
  border-radius: 9999px;
  color: #059669;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(16, 185, 129, 0.08);
}

.topbar-wallet-pill:hover {
  background: #d1fae5;
  border-color: #6ee7b7;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.15);
}

.topbar-wallet-pill i {
  color: #10b981;
}

.topbar-wallet-pill .pill-add-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  margin-left: 2px;
}

/* 5. Modern Data Table Containers */
.custom-table-container {
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.custom-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 18px;
  border-bottom: 1px solid #e2e8f0;
}

.custom-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  font-size: 0.88rem;
  vertical-align: middle;
}

.custom-table tbody tr:hover {
  background: #fcfdfe;
}

.order-id-chip {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.82rem;
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.utr-id-chip {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.8rem;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 2px 7px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 6. Icon Action Buttons */
.btn-icon-action {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-icon-action:hover {
  background: #f8fafc;
  color: #ff6b00;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.btn-icon-action.success:hover {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

.btn-icon-action.danger:hover {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}

/* 7. Enhanced Cards & Shortcuts */
.glass-card {
  border: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04) !important;
  border-radius: 16px !important;
}

.stat-card {
  border: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04) !important;
  border-radius: 16px !important;
  padding: 20px 22px !important;
}

.stat-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.07), 0 4px 6px -2px rgba(15, 23, 42, 0.02) !important;
  border-color: #cbd5e1 !important;
}

.stat-card .stat-value {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.85rem !important;
  letter-spacing: -0.03em !important;
  color: #0f172a !important;
}

.stat-card .stat-label {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

/* 8. Modern Drag & Drop File Upload Zone */
.file-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  padding: 24px 18px;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s ease;
  position: relative;
}

.file-dropzone:hover,
.file-dropzone.dragover {
  border-color: #ff6b00;
  background: #fff7ed;
}

.file-dropzone i.upload-icon {
  font-size: 2rem;
  color: #ff6b00;
  margin-bottom: 8px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.file-dropzone:hover i.upload-icon {
  transform: translateY(-3px);
}

.file-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* 9. Modern Switch Toggle */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

input:checked + .toggle-slider {
  background-color: #10b981;
}

input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* 10. Empty State Styling */
.empty-state-box {
  padding: 48px 24px;
  text-align: center;
  color: #64748b;
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #f1f5f9;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.empty-state-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.empty-state-desc {
  font-size: 0.88rem;
  color: #64748b;
  max-width: 360px;
  margin: 0 auto;
}

