/* ==========================================================================
   Citizen Service Portal - Modern Responsive CSS Design System
   Aesthetic: Professional Indian Digital Service Center (Blue / White / Gold)
   Mobile-First Architecture
   ========================================================================== */

:root {
  /* Color Palette */
  --primary-900: #0f2b5c;
  --primary-800: #1e3a8a;
  --primary-700: #1d4ed8;
  --primary-600: #2563eb;
  --primary-500: #3b82f6;
  --primary-100: #dbeafe;
  --primary-50: #eff6ff;

  --accent-amber: #d97706;
  --accent-amber-light: #fef3c7;
  --accent-gold: #f59e0b;

  --success-700: #15803d;
  --success-600: #16a34a;
  --success-50: #f0fdf4;

  --danger-600: #dc2626;
  --danger-50: #fef2f2;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-card-hover: 0 12px 24px -4px rgba(37, 99, 235, 0.15);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);

  /* Apple-Style Motion System */
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-apple-subtle: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-apple-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-apple-interactive: cubic-bezier(0.2, 0.8, 0.2, 1);

  --duration-micro: 120ms;
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-page: 420ms;
  --duration-reveal: 520ms;
}

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

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  overflow-x: hidden;
  box-sizing: border-box;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--slate-800);
  background-color: var(--slate-50);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  box-sizing: border-box;
  max-width: 100%;
}

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

a:hover {
  color: var(--primary-800);
}

.container,
.site-main-container,
.services-page-container {
  width: calc(100% - 40px);
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container,
  .site-main-container,
  .services-page-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ==========================================================================
   Top Animated Trust & Announcement Ticker (Left to Right Animation)
   ========================================================================== */
.top-ticker-bar {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #f8fafc;
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  user-select: none;
  z-index: 999;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  display: flex;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerScrollRightToLeft 28s linear infinite;
  will-change: transform;
}

.top-ticker-bar:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 2rem;
  font-weight: 500;
  color: #e2e8f0;
  letter-spacing: 0.2px;
}

.ticker-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.6875rem;
  padding: 0.12rem 0.55rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.ticker-bullet {
  color: #38bdf8;
  font-size: 0.75rem;
  margin: 0 0.5rem;
}

@keyframes tickerScrollRightToLeft {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes tickerScrollLeftToRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* ==========================================================================
   Bottom Government & Regulatory Disclaimer Notification Bar
   ========================================================================== */
.bottom-disclaimer-bar {
  background-color: #0f172a;
  color: #94a3b8;
  font-size: 0.775rem;
  padding: 0.5rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bottom-disclaimer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  line-height: 1.4;
}

.disclaimer-badge {
  background-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  font-weight: 700;
  font-size: 0.65rem;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}


/* ==========================================================================
   Header & Sticky Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--duration-normal) var(--ease-apple),
              backdrop-filter var(--duration-normal) var(--ease-apple),
              -webkit-backdrop-filter var(--duration-normal) var(--ease-apple),
              box-shadow var(--duration-normal) var(--ease-apple),
              border-color var(--duration-normal) var(--ease-apple);
}

.site-header.header-scrolled {
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(226, 232, 240, 0.85);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon-shield {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

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

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-700);
  padding: 0.5rem 0.25rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-600);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-600);
  border-radius: 2px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-apple),
              color var(--duration-fast) var(--ease-apple),
              border-color var(--duration-fast) var(--ease-apple),
              box-shadow var(--duration-fast) var(--ease-apple),
              transform var(--duration-fast) var(--ease-apple);
  text-align: center;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}

.btn:active {
  transform: scale(0.98) !important;
  transition-duration: var(--duration-micro) !important;
}

.btn-primary {
  background-color: var(--primary-600);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-700);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-outline {
  background-color: var(--white);
  border-color: var(--slate-300);
  color: var(--slate-700);
}

.btn-outline:hover {
  border-color: var(--primary-600);
  color: var(--primary-600);
  background-color: var(--primary-50);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  color: var(--white);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* Mobile Hamburger Button */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  padding: 8px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--slate-800);
}

.hamburger-btn span {
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 340px;
  height: 100%;
  background-color: var(--white);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--slate-200);
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--slate-800);
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  background-color: var(--slate-50);
}

.mobile-drawer-link:active, .mobile-drawer-link:hover {
  background-color: var(--primary-50);
  color: var(--primary-700);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 3rem 0 4rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--slate-200);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-50);
  border: 1px solid var(--primary-100);
  color: var(--primary-700);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

.hero-badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-gold);
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--slate-900);
  letter-spacing: -0.03em;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--slate-600);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 0.5rem;
}

.hero-private-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--slate-500);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.hero-illustration-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(15, 23, 42, 0.08));
}

/* ==========================================================================
   Trust / Features Section
   ========================================================================== */
.trust-features-section {
  padding: 2.5rem 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--slate-200);
}

.trust-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.trust-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.trust-feature-card:hover {
  transform: translateY(-2px);
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-100);
}

.feature-icon-box {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.25rem;
}

.feature-info p {
  font-size: 0.8125rem;
  color: var(--slate-600);
  line-height: 1.4;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
  padding: 4rem 0;
  background-color: var(--slate-50);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-600);
  background-color: var(--primary-50);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-description {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.5;
}

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

.service-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-apple),
              box-shadow var(--duration-normal) var(--ease-apple),
              border-color var(--duration-normal) var(--ease-apple);
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -4px rgba(37, 99, 235, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  border-color: var(--primary-500);
}

.service-card:active {
  transform: translateY(-2px) scale(0.985);
  transition-duration: var(--duration-micro);
}

.service-card-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background-color: var(--primary-50);
  color: var(--primary-700);
  border: 1px solid var(--primary-100);
  transition: transform var(--duration-fast) var(--ease-apple);
}

.service-card:hover .service-card-badge {
  transform: translateY(-1px);
}

.service-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform var(--duration-normal) var(--ease-apple),
              background-color var(--duration-normal) var(--ease-apple),
              color var(--duration-normal) var(--ease-apple);
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--primary-600);
  color: var(--white);
  transform: scale(1.04);
}

.service-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate-600);
  background-color: var(--slate-100);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* Voter Services Sub-Card Grid */
.voter-services-tabs {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}

.voter-services-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--slate-200);
}

.voter-subgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.voter-subcard {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  background-color: var(--slate-50);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition);
}

.voter-subcard:hover {
  background-color: var(--white);
  border-color: var(--primary-500);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.how-it-works-section {
  padding: 4rem 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--slate-200);
}

.timeline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}

.timeline-step-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-number-circle {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: var(--white);
  font-weight: 800;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.step-content h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.35rem;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* ==========================================================================
   Application Tracking Widget
   ========================================================================== */
.tracking-section {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #1e3a8a, #0f2b5c);
  color: var(--white);
}

.tracking-card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  backdrop-filter: blur(8px);
}

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

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

.tracking-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tracking-input {
  background-color: var(--white);
  border: 2px solid transparent;
  color: var(--slate-900);
  font-weight: 600;
  font-size: 1.0625rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  outline: none;
  width: 100%;
}

.tracking-input:focus {
  border-color: var(--accent-gold);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  padding: 4rem 0;
  background-color: var(--slate-50);
}

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

.contact-info-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-details h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--slate-900);
}

.channel-details p, .channel-details a {
  font-size: 0.875rem;
  color: var(--slate-600);
}

.whatsapp-assist-box {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #0b1329;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand h4 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-links-col h5 {
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-disclaimer-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
}

/* ==========================================================================
   Modals & Application Form Flows
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.modal-dialog {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

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

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--slate-50);
}

.modal-title-group h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--slate-900);
}

.modal-title-group p {
  font-size: 0.8125rem;
  color: var(--slate-500);
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--slate-400);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background-color: var(--slate-200);
  color: var(--slate-800);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--slate-200);
  background-color: var(--slate-50);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Notice Box inside Modal */
.modal-notice-box {
  background-color: var(--accent-amber-light);
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.78125rem;
  color: #92400e;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Progress Stepper
   ========================================================================== */
.stepper-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2rem;
  padding: 0 0.5rem;
}

.stepper-line {
  position: absolute;
  top: 16px;
  left: 20px;
  right: 20px;
  height: 3px;
  background-color: var(--slate-200);
  z-index: 1;
}

.stepper-line-fill {
  height: 100%;
  background-color: var(--primary-600);
  transition: width 0.3s ease;
}

.stepper-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.step-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--white);
  border: 2px solid var(--slate-300);
  color: var(--slate-500);
  font-weight: 700;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.stepper-step.active .step-badge {
  border-color: var(--primary-600);
  background-color: var(--primary-600);
  color: var(--white);
}

.stepper-step.completed .step-badge {
  border-color: var(--success-600);
  background-color: var(--success-600);
  color: var(--white);
}

.step-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stepper-step.active .step-label {
  color: var(--primary-700);
}

/* ==========================================================================
   Form Fields, Inputs & Upload Dropzones
   ========================================================================== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.form-label .required {
  color: var(--danger-600);
  margin-left: 0.2rem;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-top: 0.3rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--slate-900);
  background-color: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-control.is-invalid {
  border-color: var(--danger-600);
  background-color: var(--danger-50);
}

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

.toggle-password-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--slate-400);
  cursor: pointer;
  padding: 4px;
}

.toggle-password-btn:hover {
  color: var(--slate-700);
}

.input-addon-wrapper {
  display: flex;
}

.input-addon-prefix {
  display: flex;
  align-items: center;
  padding: 0 0.875rem;
  background-color: var(--slate-100);
  border: 1px solid var(--slate-300);
  border-right: none;
  border-top-left-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.input-addon-wrapper .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Document Upload Card */
.upload-card-wrapper {
  background-color: var(--slate-50);
  border: 1.5px dashed var(--slate-300);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.upload-card-wrapper:hover, .upload-card-wrapper.dragover {
  border-color: var(--primary-600);
  background-color: var(--primary-50);
}

.upload-card-wrapper.has-file {
  border-style: solid;
  border-color: var(--success-600);
  background-color: var(--white);
}

.upload-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  box-shadow: var(--shadow-sm);
}

.upload-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 0.25rem;
}

.upload-card-sub {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.upload-card-fileinfo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background-color: var(--slate-100);
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-md);
  margin-top: 0.5rem;
  text-align: left;
}

.fileinfo-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.fileinfo-size {
  font-size: 0.6875rem;
  color: var(--slate-500);
}

.btn-remove-file {
  background: none;
  border: none;
  color: var(--danger-600);
  cursor: pointer;
  padding: 2px 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.btn-remove-file:hover {
  text-decoration: underline;
}

/* Checkbox Terms */
.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
  font-size: 0.8125rem;
  color: var(--slate-700);
  line-height: 1.4;
  margin: 1.25rem 0;
}

.checkbox-container input[type="checkbox"] {
  margin-top: 0.15rem;
  width: 17px;
  height: 17px;
  accent-color: var(--primary-600);
}

/* ==========================================================================
   Review Summary Card
   ========================================================================== */
.review-card {
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.review-section-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-700);
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 0.35rem;
}

.review-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding: 0.35rem 0;
}

.review-key {
  color: var(--slate-500);
}

.review-val {
  font-weight: 600;
  color: var(--slate-800);
  text-align: right;
}

/* ==========================================================================
   Success Submission View
   ========================================================================== */
.success-screen {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.success-badge-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--success-50);
  border: 3px solid #bbf7d0;
  color: var(--success-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  animation: scaleUp 0.3s ease-out;
}

@keyframes scaleUp {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-screen h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.success-screen p {
  font-size: 0.9375rem;
  color: var(--slate-600);
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.request-id-card {
  background: linear-gradient(135deg, var(--primary-50), #f8fafc);
  border: 2px dashed var(--primary-500);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.request-id-code {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--primary-700);
  letter-spacing: 1px;
}

.copy-id-btn {
  background: none;
  border: none;
  color: var(--primary-600);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

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

.badge-status-submitted {
  background-color: #dbeafe;
  color: #1e40af;
}

.badge-status-review {
  background-color: #fef3c7;
  color: #92400e;
}

.badge-status-docs {
  background-color: #ffedd5;
  color: #9a3412;
}

.badge-status-processing {
  background-color: #e0e7ff;
  color: #3730a3;
}

.badge-status-completed {
  background-color: #dcfce7;
  color: #166534;
}

.badge-status-rejected {
  background-color: #fee2e2;
  color: #991b1b;
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  background-color: var(--slate-900);
  color: var(--white);
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  max-width: 400px;
  animation: slideInRight 0.25s ease-out;
}

@keyframes slideInRight {
  0% { transform: translateX(100%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

.toast-item.toast-success {
  border-left: 4px solid var(--success-600);
}

.toast-item.toast-error {
  border-left: 4px solid var(--danger-600);
}

/* ==========================================================================
   Media Queries & Responsive Breakpoints
   ========================================================================== */
@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
  .tracking-input-wrapper {
    flex-direction: row;
  }
  .tracking-input-wrapper .btn {
    flex-shrink: 0;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .voter-subgrid {
    grid-template-columns: repeat(3, 1fr);
  }
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
  .hamburger-btn {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
  .hero-title {
    font-size: 3rem;
  }
  .trust-features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .timeline-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
  .footer-bottom {
    flex-direction: row;
  }
}

/* ==========================================================================
   Alerts & Notifications
   ========================================================================== */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  border: 1px solid transparent;
}

.alert-success {
  background-color: var(--success-50);
  border-color: #bbf7d0;
  color: var(--success-700);
}

.alert-danger {
  background-color: var(--danger-50);
  border-color: #fecaca;
  color: var(--danger-600);
}

.alert-warning {
  background-color: var(--accent-amber-light);
  border-color: #fde68a;
  color: #92400e;
}

.alert-info {
  background-color: var(--primary-50);
  border-color: var(--primary-100);
  color: var(--primary-700);
}

/* ==========================================================================
   Compact Document Uploader Styles
   ========================================================================== */
.compact-uploader {
  margin-bottom: 1.25rem;
}

.compact-uploader .uploader-box {
  background-color: var(--white);
  border: 1.5px dashed var(--slate-300);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  transition: var(--transition);
}

.compact-uploader .uploader-box:hover {
  border-color: var(--primary-500);
  background-color: var(--slate-50);
}

.compact-uploader.has-file .uploader-box {
  border-style: solid;
  border-color: var(--success-600);
  background-color: #f0fdf4;
}

.uploader-empty-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.uploader-info-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
}

.uploader-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.uploader-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-800);
}

.uploader-formats {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.uploader-filled-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.uploader-file-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
}

.uploader-filename {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--success-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

.uploader-filesize {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.uploader-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-replace-file {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-replace-file:hover {
  border-color: var(--primary-600);
  color: var(--primary-600);
}

.btn-remove-file {
  background: none;
  border: none;
  color: var(--danger-600);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem;
}

.btn-remove-file:hover {
  text-decoration: underline;
}

.uploader-error {
  color: var(--danger-600);
  font-size: 0.75rem;
  margin-top: 0.35rem;
}

/* ==========================================================================
   Dedicated Form Pages & Containers
   ========================================================================== */
.page-container {
  padding: 2.5rem 0 4rem;
  max-width: 780px;
  margin: 0 auto;
}

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

.page-header-box h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.page-header-box p {
  font-size: 1rem;
  color: var(--slate-600);
}

.form-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-section-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--primary-800);
  margin: 1.75rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--slate-100);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-section-title:first-child {
  margin-top: 0;
}

/* Milestone Timeline for /applications/[id] */
.milestone-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
}

.milestone-timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 11px;
  width: 2px;
  background-color: var(--slate-200);
  transform-origin: top;
  animation: appleTimelineLine 0.6s var(--ease-apple) forwards;
}

@keyframes appleTimelineLine {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.milestone-item {
  position: relative;
  animation: appleFadeUp var(--duration-normal) var(--ease-apple) both;
}

.milestone-item:nth-child(1) { animation-delay: 50ms; }
.milestone-item:nth-child(2) { animation-delay: 120ms; }
.milestone-item:nth-child(3) { animation-delay: 190ms; }
.milestone-item:nth-child(4) { animation-delay: 260ms; }
.milestone-item:nth-child(5) { animation-delay: 330ms; }

.milestone-dot {
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--success-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
  animation: appleScaleIn 0.35s var(--ease-apple-spring) both;
  transition: all var(--duration-fast) var(--ease-apple);
}

.milestone-item.active .milestone-dot {
  background-color: var(--primary-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25);
  animation: appleScaleIn 0.35s var(--ease-apple-spring) both, applePulseSubtle 2.5s infinite ease-in-out;
}

.milestone-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--slate-900);
}

.milestone-desc {
  font-size: 0.8125rem;
  color: var(--slate-600);
  margin-top: 0.2rem;
}

.milestone-time {
  font-size: 0.75rem;
  color: var(--slate-400);
  margin-top: 0.2rem;
}

/* Dashboard Metrics & Layout */
.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.dash-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.dash-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-500);
}

.dash-card-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-700);
  margin-top: 0.25rem;
}

/* ==========================================================================
   Modern Citizen Dashboard & Mobile-First Component System
   ========================================================================== */

.dashboard-container {
  padding: 2rem 1rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Top Notice Bar */
.dashboard-notice-bar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
}

.notice-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.notice-badge {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #bfdbfe;
}

.notice-text {
  color: #475569;
}

.support-badge {
  color: #166534;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Citizen Hero Card */
.citizen-hero-card {
  background: linear-gradient(135deg, #091a3e 0%, #1e3a8a 55%, #2563eb 100%);
  border-radius: 20px;
  padding: 2.25rem;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.75rem;
  box-shadow: 0 12px 32px -4px rgba(30, 58, 138, 0.25);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.citizen-hero-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.citizen-hero-main {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.citizen-avatar-large {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  border: 3px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
}

.hero-top-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.hero-tag-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-status-pill.approved {
  background: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.citizen-hero-name {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.citizen-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.citizen-hero-action {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.btn-hero-cta {
  background: #ffffff;
  color: #1e3a8a;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-hero-cta:hover {
  background: #f8fafc;
  color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

/* Citizen Stats Grid */
.citizen-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem 1.25rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  gap: 1.15rem;
  transition: all 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.stat-card-link {
  text-decoration: none;
}

.stat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-blue { background: #eff6ff; color: #2563eb; }
.stat-icon-amber { background: #fffbeb; color: #d97706; }
.stat-icon-green { background: #f0fdf4; color: #16a34a; }
.stat-icon-whatsapp { background: #dcfce7; color: #15803d; }

.stat-num {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.stat-num.text-green {
  font-size: 1.125rem;
  color: #15803d;
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #475569;
  margin-top: 0.15rem;
}

.stat-sub {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Citizen Applications Card */
.citizen-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.section-card-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-title-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.section-card-subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0.2rem 0 0;
}

.btn-catalog {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  border-radius: 8px;
}

/* Desktop Table Styling */
.desktop-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.citizen-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.citizen-table thead th {
  background: #f8fafc;
  padding: 0.9rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

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

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

.citizen-table tbody td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  font-size: 0.875rem;
}

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

/* Monospace App ID Pill */
.app-id-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8125rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #1e3a8a;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.app-id-pill:hover {
  background: #e0f2fe;
  color: #0284c7;
  border-color: #bae6fd;
}

.service-cell {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.service-cell-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.service-cell-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.9375rem;
}

.service-cell-cat {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.1rem;
}

.date-cell .date-main {
  font-weight: 600;
  color: #334155;
  font-size: 0.8125rem;
}

.date-cell .date-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.1rem;
}

/* Status Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}

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

.badge-status-completed .badge-dot {
  background: #10b981;
}

.badge-status-submitted, .badge-status-review {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-status-submitted .badge-dot, .badge-status-review .badge-dot {
  background: #f59e0b;
}

.badge-status-processing {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.badge-status-processing .badge-dot {
  background: #3b82f6;
}

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

.badge-status-rejected .badge-dot {
  background: #ef4444;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.badge-dot.pulse {
  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn-action-timeline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-action-timeline:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateX(2px);
}

/* Mobile Cards View */
.mobile-cards-wrapper {
  display: none;
}

.mobile-app-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.mobile-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.mobile-service-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

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

.mobile-service-cat {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.15rem;
}

.mobile-card-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 0.9rem 0;
}

.mobile-card-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.detail-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

.detail-value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
}

.app-id-pill-sm {
  display: inline-flex;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #1e3a8a;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.btn-mobile-timeline {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 10px;
}

/* Popular Services Section */
.popular-services-section {
  margin-bottom: 2.5rem;
}

.popular-header {
  margin-bottom: 1.25rem;
}

.popular-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.2rem;
}

.popular-header p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.popular-service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: all 0.2s ease;
}

.popular-service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
  border-color: #3b82f6;
}

.popular-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.popular-service-body {
  flex: 1;
  min-width: 0;
}

.popular-service-body strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popular-service-body span {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popular-arrow {
  font-size: 1rem;
  color: #94a3b8;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.popular-service-card:hover .popular-arrow {
  transform: translateX(3px);
  color: #2563eb;
}

/* Help & Support Banner */
.dashboard-help-banner {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.help-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.help-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.help-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #166534;
  margin: 0 0 0.25rem;
}

.help-content p {
  font-size: 0.8125rem;
  color: #15803d;
  margin: 0;
}

/* User Profile & Wallet in Header */
.user-pill-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-apple);
}

.user-profile-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.header-wallet-chip {
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  color: #166534 !important;
}

.header-wallet-chip:hover {
  background: #dcfce7 !important;
  border-color: #86efac !important;
  transform: translateY(-1px);
}

.header-wallet-chip svg {
  color: #16a34a;
}

.header-profile-chip {
  padding: 0.25rem 0.7rem 0.25rem 0.3rem;
}

.avatar-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.user-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.header-logout-link {
  font-size: 0.8125rem;
  color: #64748b;
  font-weight: 500;
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  transition: color var(--duration-fast) var(--ease-apple), background var(--duration-fast) var(--ease-apple);
}

.header-logout-link:hover {
  color: var(--danger-600);
  background: #fef2f2;
}

/* ==========================================================================
   Mobile Responsive Rules (< 768px, < 480px, < 360px)
   ========================================================================== */

@media (max-width: 992px) {
  .citizen-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .popular-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  /* 1. Viewport & Containers */
  html, body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: clip !important;
    overflow-x: hidden !important;
  }

  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 2. Mobile Header */
  .site-header {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .nav-container {
    height: 60px !important;
    padding: 0 12px !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .brand-logo {
    gap: 0.45rem !important;
    min-width: 120px !important;
    max-width: 58% !important;
    flex-shrink: 1 !important;
    overflow: hidden !important;
  }

  .brand-icon-shield {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }

  .brand-icon-shield svg {
    width: 18px !important;
    height: 18px !important;
  }

  .brand-text {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .brand-title {
    font-size: 0.8125rem !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .brand-sub {
    display: none !important;
  }

  /* Desktop Nav completely hidden on mobile */
  .desktop-nav, .nav-menu {
    display: none !important;
  }

  /* Mobile Header Right Actions: [ Wallet ] [ Profile ] [ ☰ ] */
  .header-actions {
    gap: 0.35rem !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .desktop-only-action, .btn-header-apply, .btn-header-logout {
    display: none !important;
  }

  .user-pill-container {
    gap: 0.35rem !important;
    display: flex !important;
    align-items: center !important;
  }

  .header-wallet-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    background: #ecfdf5 !important;
    border: 1px solid #10b981 !important;
    color: #065f46 !important;
    padding: 0.3rem 0.55rem !important;
    border-radius: 20px !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
  }

  .header-wallet-chip .wallet-label-desktop {
    display: none !important;
  }

  .header-profile-chip {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.2rem !important;
    background: transparent !important;
    border: none !important;
    text-decoration: none !important;
  }

  .header-profile-chip .profile-name-desktop,
  .header-profile-chip .user-status-dot {
    display: none !important;
  }

  .header-profile-chip .avatar-circle {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.8125rem !important;
  }

  .hamburger-btn {
    display: flex !important;
    width: 38px !important;
    height: 38px !important;
    padding: 8px !important;
    flex-shrink: 0 !important;
    align-items: center !important;
    justify-content: space-around !important;
  }

  /* 3. Mobile Navigation Drawer */
  .mobile-nav-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .mobile-drawer-content {
    width: 85% !important;
    max-width: 320px !important;
    height: 100% !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    padding: 1.5rem 1rem !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .mobile-drawer-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid var(--slate-200) !important;
    margin-bottom: 1rem !important;
  }

  .mobile-drawer-links {
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .mobile-drawer-link {
    display: flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 0.65rem 0.75rem !important;
    border-radius: var(--radius-md) !important;
    color: var(--slate-800) !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  }

  /* 4. Customer Hero Section */
  .hero-section {
    padding: 2rem 0 2.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 1rem !important;
  }

  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.25rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .hero-subtitle {
    font-size: 0.9375rem !important;
    line-height: 1.5 !important;
    word-break: break-word !important;
    max-width: 100% !important;
  }

  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    min-height: 46px !important;
    justify-content: center !important;
  }

  .hero-illustration-wrapper {
    width: 100% !important;
    max-width: 290px !important;
    margin: 0.75rem auto 0 !important;
    display: flex !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .hero-illustration {
    max-width: 100% !important;
    height: auto !important;
  }

  /* 4b. Trust & Platform Feature Highlights on Mobile */
  .trust-features-section {
    padding: 1.5rem 0 !important;
    background-color: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  .trust-features-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .trust-feature-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.875rem !important;
    padding: 0.875rem 1.15rem !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  }

  .trust-feature-card:active {
    transform: scale(0.99) !important;
    background-color: #f8fafc !important;
  }

  .feature-icon-box {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 10px !important;
    background: #eff6ff !important;
    color: #2563eb !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .feature-icon-box svg {
    width: 22px !important;
    height: 22px !important;
  }

  .feature-info {
    flex: 1 !important;
    min-width: 0 !important;
  }

  .feature-info h3 {
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 0.2rem 0 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
  }

  .feature-info p {
    font-size: 0.8125rem !important;
    color: #64748b !important;
    line-height: 1.4 !important;
    margin: 0 !important;
  }

  /* 5. Customer Service Cards (Strict 1-Column Grid) */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .service-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 1.25rem !important;
    margin: 0 !important;
  }

  .service-card .btn, .service-card a.btn {
    width: 100% !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.9375rem !important;
  }

  /* 6. Forms, Inputs & Document Upload Boxes */
  .form-card, .page-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .form-group {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .form-control, input, select, textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-height: 44px !important;
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
  }

  textarea.form-control {
    min-height: 80px !important;
  }

  .page-header-box {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .compact-upload-box, .compact-uploader {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.875rem 1rem !important;
  }

  .btn, button {
    min-height: 44px;
  }

  .btn-sm {
    min-height: 38px;
  }

  /* 7. Dashboard on Mobile */
  .dashboard-container {
    padding: 1rem 12px 3rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .citizen-hero-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 1.25rem 1rem !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .citizen-hero-main {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0.875rem !important;
    width: 100% !important;
  }

  .citizen-avatar-large {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.15rem !important;
  }

  .citizen-hero-name {
    font-size: 1.35rem !important;
    word-break: break-word !important;
  }

  .citizen-hero-meta {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
  }

  .citizen-hero-action {
    width: 100% !important;
  }

  .btn-hero-cta {
    width: 100% !important;
    min-height: 46px !important;
    justify-content: center !important;
  }

  /* 8. Stats Grid on Mobile */
  .citizen-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .stat-card {
    padding: 0.875rem 0.75rem !important;
    gap: 0.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .stat-icon-wrap {
    width: 36px !important;
    height: 36px !important;
  }

  .stat-num {
    font-size: 1.25rem !important;
  }

  .popular-grid {
    grid-template-columns: 1fr !important;
  }

  /* 9. Tables on Mobile */
  .desktop-table-wrapper {
    display: none !important;
  }

  .mobile-cards-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    padding: 0.875rem 0.5rem !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 480px) {
  .citizen-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 360px) {
  .brand-title {
    font-size: 0.75rem !important;
    max-width: 110px !important;
  }
  .citizen-stats-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   Apple-Style Motion & Micro-Interaction System (Customer Panel Only)
   Principles: Smooth, Minimal, Elegant, Fluid, Natural, Fast, Subtle
   ========================================================================== */

/* 1. Core Motion Keyframes */
@keyframes appleFadeUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes appleFadeUpMobile {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes appleFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes appleScaleIn {
  0% {
    opacity: 0;
    transform: scale(0.97);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes appleHeroIllustration {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes appleModalIn {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes appleBackdropFade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes applePulseSubtle {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.28);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(37, 99, 235, 0);
  }
}

@keyframes appleCheckmarkStroke {
  0% {
    stroke-dashoffset: 48;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes appleCheckmarkPop {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  65% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes appleShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes appleFloatDelta {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  20% {
    opacity: 1;
    transform: translateY(0);
  }
  80% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* 2. Page & Section Reveal Classes */
.apple-page-enter {
  opacity: 1;
  animation: appleFadeUp var(--duration-page) var(--ease-apple) forwards;
}

.stagger-1 {
  opacity: 1;
  animation: appleFadeUp var(--duration-normal) var(--ease-apple) 40ms forwards;
}
.stagger-2 {
  opacity: 1;
  animation: appleFadeUp var(--duration-normal) var(--ease-apple) 90ms forwards;
}
.stagger-3 {
  opacity: 1;
  animation: appleFadeUp var(--duration-normal) var(--ease-apple) 140ms forwards;
}
.stagger-4 {
  opacity: 1;
  animation: appleFadeUp var(--duration-normal) var(--ease-apple) 190ms forwards;
}

/* 3. Hero Layered Animation (Home Page) */
.hero-content .hero-badge-pill {
  opacity: 1;
  animation: appleFadeUp 0.4s var(--ease-apple) forwards;
}
.hero-content .hero-title {
  opacity: 1;
  animation: appleFadeUp 0.45s var(--ease-apple) 60ms forwards;
}
.hero-content .hero-subtitle {
  opacity: 1;
  animation: appleFadeUp 0.45s var(--ease-apple) 120ms forwards;
}
.hero-content .hero-actions {
  opacity: 1;
  animation: appleFadeUp 0.45s var(--ease-apple) 180ms forwards;
}
.hero-illustration-wrapper .hero-illustration {
  opacity: 1;
  animation: appleHeroIllustration 0.65s var(--ease-apple) 100ms forwards;
  transition: transform var(--duration-normal) var(--ease-apple);
}
.hero-illustration-wrapper .hero-illustration:hover {
  transform: translateY(-3px) scale(1.01);
}

/* 4. Scroll Reveal via IntersectionObserver */
.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--duration-reveal) var(--ease-apple),
              transform var(--duration-reveal) var(--ease-apple);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 5. Skeleton Shimmer Loader */
.skeleton-box {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: appleShimmer 1.6s infinite linear;
  border-radius: var(--radius-sm);
}

.skeleton-line {
  height: 14px;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: appleShimmer 1.6s infinite linear;
  border-radius: 4px;
}

/* 6. Success Checkmark Drawing */
.apple-checkmark-svg {
  display: inline-block;
  vertical-align: middle;
}
.apple-checkmark-circle {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: appleCheckmarkStroke 0.45s var(--ease-apple) forwards;
}
.apple-checkmark-check {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: appleCheckmarkStroke 0.35s 0.2s var(--ease-apple) forwards;
}

/* 7. Floating Wallet Delta Badges */
.wallet-delta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  animation: appleFloatDelta 2.2s var(--ease-apple) forwards;
  pointer-events: none;
}
.wallet-delta-credit {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.wallet-delta-debit {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

/* 8. Mobile Optimizations for Animations */
@media (max-width: 768px) {
  .apple-page-enter {
    animation-name: appleFadeUpMobile !important;
    animation-duration: 320ms !important;
  }
  .stagger-1, .stagger-2, .stagger-3, .stagger-4 {
    animation-name: appleFadeUpMobile !important;
    animation-duration: 260ms !important;
  }
  .reveal-on-scroll {
    transform: translateY(8px);
    transition-duration: 360ms;
  }
  .hero-illustration-wrapper .hero-illustration {
    animation-duration: 450ms;
  }
}

/* ==========================================================================
   Modern Customer Services Catalog Enhancements
   ========================================================================== */

/* Page Background & Subtle Radial Glow */
body.services-catalog-page {
  background: radial-gradient(circle at 50% 0%, #f0f7ff 0%, #f8fafc 40%, #f8fafc 100%);
  background-attachment: fixed;
}

/* 1. Page Width & Layout: 1200px - 1280px Max-Width */
.services-page-container {
  width: calc(100% - 40px);
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  padding-top: 2rem;
  padding-bottom: 4.5rem;
  box-sizing: border-box;
}

/* 4. Hero Section */
.services-hero-box {
  width: 100%;
  max-width: 100%;
  text-align: left;
  margin: 0 0 32px 0;
}

.services-hero-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.services-hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.services-hero-sub {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* 5. Integrated Premium Wallet Card */
.services-wallet-card {
  width: 100%;
  max-width: 100%;
  margin: 0 0 32px 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--duration-fast) var(--ease-apple),
              transform var(--duration-fast) var(--ease-apple);
}

.services-wallet-card:hover {
  box-shadow: 0 8px 18px -2px rgba(15, 23, 42, 0.06);
}

.services-wallet-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.services-wallet-label-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

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

.services-wallet-available {
  color: #059669;
  font-size: 0.8125rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.services-wallet-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
}

.services-wallet-zero {
  color: #64748b;
  font-size: 0.8125rem;
}

.services-wallet-amount-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.services-wallet-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}

.services-wallet-num {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1;
}

.services-wallet-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.services-wallet-btn {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  white-space: nowrap;
}

.services-wallet-trans-btn {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  white-space: nowrap;
  background: #ffffff;
  color: var(--primary-600);
  border: 1px solid var(--slate-300);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-apple);
}

.services-wallet-trans-btn:hover {
  background: #f8fafc;
  border-color: var(--primary-500);
  color: var(--primary-700);
}

/* 6 & 7. Standardized Modern Service Cards Grid */
.services-grid,
.services-page-container .services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin: 0 0 48px 0;
  box-sizing: border-box;
}

@media (max-width: 1024px) and (min-width: 769px) {
  .services-grid,
  .services-page-container .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .services-grid,
  .services-page-container .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }
}

.service-card,
.services-page-container .service-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: transform var(--duration-normal) var(--ease-apple),
              box-shadow var(--duration-normal) var(--ease-apple),
              border-color var(--duration-normal) var(--ease-apple);
  position: relative;
  overflow: hidden;
}

.services-page-container .service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -4px rgba(37, 99, 235, 0.10), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  border-color: #93c5fd;
}

.services-page-container .service-card:active {
  transform: translateY(-2px) scale(0.985);
  transition-duration: var(--duration-micro);
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-normal) var(--ease-apple),
              background-color var(--duration-normal) var(--ease-apple),
              color var(--duration-normal) var(--ease-apple);
  flex-shrink: 0;
}

.services-page-container .service-card:hover .service-icon-box {
  background-color: #2563eb;
  color: #ffffff;
  transform: scale(1.04);
}

.service-card-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  letter-spacing: 0.02em;
}

.service-card-badge.badge-popular {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.service-card-badge.badge-essential {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}

.service-card-badge.badge-fast {
  background: #fefce8;
  color: #a16207;
  border-color: #fef08a;
}

.service-card-badge.badge-special {
  background: #1e40af;
  color: #ffffff;
  border-color: #1d4ed8;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.45rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 0.85rem;
  min-height: 2.5rem;
}

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.service-chip {
  font-size: 0.725rem;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.22rem 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.3;
}

.service-chip svg {
  color: #64748b;
  flex-shrink: 0;
}

.service-fee-box {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
  margin-bottom: 1rem;
}

.fee-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 0.2rem;
}

.fee-amount {
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f172a;
}

.puc-fee-grid {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.puc-fee-col {
  display: flex;
  flex-direction: column;
}

.puc-fee-sub {
  font-size: 0.775rem;
  color: #64748b;
  font-weight: 500;
}

.service-apply-btn {
  width: 100%;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  margin-top: auto;
}

/* 16. Lower Page Content: How It Works & Need Help */
.how-it-works-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.how-it-works-header {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 2rem;
}

.how-it-works-header .section-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.how-it-works-header h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0.25rem 0 0.35rem;
}

.how-it-works-header p {
  font-size: 0.925rem;
  color: #64748b;
  margin: 0;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .how-it-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .how-it-works-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.how-step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.35rem 1.25rem;
  position: relative;
  transition: transform var(--duration-fast) var(--ease-apple),
              border-color var(--duration-fast) var(--ease-apple);
}

.how-step-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.how-step-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.how-step-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.35rem;
}

.how-step-card p {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* Support Banner */
.support-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: #ffffff;
}

.support-banner-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.support-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.support-banner-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: #ffffff;
}

.support-banner-content p {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0;
}

.support-btn {
  background: #ffffff !important;
  color: #0f172a !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  border: none !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: 8px !important;
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-apple), background var(--duration-fast) var(--ease-apple) !important;
}

.support-btn:hover {
  background: #f1f5f9 !important;
  transform: translateY(-1px);
}

/* Mobile Specific Optimizations */
@media (max-width: 768px) {
  .services-page-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.25rem 16px 3.5rem !important;
  }
  .services-hero-box {
    margin-bottom: 24px !important;
  }
  .services-hero-title {
    font-size: 1.75rem !important;
  }
  .services-hero-sub {
    font-size: 0.875rem !important;
  }
  .services-wallet-card {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    padding: 20px 16px !important;
    margin-bottom: 24px !important;
  }
  .services-wallet-num {
    font-size: 1.75rem !important;
  }
  .services-wallet-right {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .services-wallet-btn,
  .services-wallet-trans-btn {
    flex: 1 !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .services-page-container .service-card,
  .service-card {
    padding: 20px 16px !important;
  }
  .service-desc {
    min-height: auto;
  }
  .how-it-works-section {
    padding: 1.75rem 1.25rem;
    margin-bottom: 24px;
  }
  .support-banner {
    padding: 1.25rem;
    margin-bottom: 32px;
  }
}

/* ==============================================================================
 * 10. UNIFIED SERVICE PAGE UI SYSTEM (FASTONLINESERVICES.IN)
 * ============================================================================== */

.service-page-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1rem 3.5rem;
  width: 100%;
  box-sizing: border-box;
}

.service-page-wrapper.wide-form {
  max-width: 880px;
}

/* Breadcrumb Navigation */
.service-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.service-breadcrumb a {
  color: var(--slate-600);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.service-breadcrumb a:hover {
  color: var(--primary-600);
  text-decoration: underline;
}

.service-breadcrumb .sep {
  color: var(--slate-400);
  font-size: 0.75rem;
  user-select: none;
}

.service-breadcrumb .current {
  color: var(--slate-800);
  font-weight: 600;
}

/* Compact Header */
.service-header-compact {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.service-header-left {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex: 1;
}

.service-header-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.service-header-icon svg {
  width: 28px;
  height: 28px;
}

.service-header-title-box {
  flex: 1;
  min-width: 0;
}

.service-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-700);
  background: var(--primary-50);
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.35rem;
  border: 1px solid #dbeafe;
}

.service-header-title {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 0;
  line-height: 1.25;
}

.service-header-desc {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin: 0.35rem 0 0;
  line-height: 1.45;
}

.service-header-fee {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
}

.service-header-fee-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-header-fee-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-900);
}

.service-header-fee-amount.free {
  color: var(--success-600);
}

/* Informational & Guidance Notices */
.service-info-box {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  color: #1e40af;
  font-size: 0.875rem;
  line-height: 1.5;
}

.service-info-box svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #2563eb;
}

.service-info-box.info-amber {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.service-info-box.info-amber svg {
  color: #d97706;
}

.service-info-box.info-green {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.service-info-box.info-green svg {
  color: #16a34a;
}

/* Form Card */
.service-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  position: relative;
  box-sizing: border-box;
}

/* Form Section Divider */
.service-section-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f1f5f9;
}

.service-section-divider:first-of-type {
  margin-top: 0.5rem;
}

.service-section-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-600);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-section-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--slate-800);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Modern Input Controls */
.form-group-custom {
  margin-bottom: 1.25rem;
}

.form-label-custom {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0.4rem;
}

.form-label-custom .req-star {
  color: #dc2626;
  font-weight: 700;
  margin-left: 2px;
}

.form-control-custom {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  padding: 0.65rem 1rem;
  font-size: 0.9375rem;
  color: #0f172a;
  transition: border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  font-family: inherit;
}

.form-control-custom:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.12);
}

.form-control-custom.uppercase-input {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.form-hint-text {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-top: 0.35rem;
  line-height: 1.4;
}

/* Password Eye Toggle */
.password-toggle-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-toggle-wrapper .form-control-custom {
  padding-right: 2.75rem;
}

.password-toggle-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: #64748b;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.15s, background-color 0.15s;
}

.password-toggle-btn:hover {
  color: #1e293b;
  background-color: #f1f5f9;
}

/* Custom File Uploader Component */
.service-file-card {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  position: relative;
  box-sizing: border-box;
}

.service-file-card:hover,
.service-file-card.drag-over {
  border-color: #2563eb;
  background-color: #eff6ff;
}

.service-file-card.has-file {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  text-align: left;
  padding: 0.85rem 1rem;
}

.uploader-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.uploader-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: transform 0.2s var(--ease-apple);
}

.service-file-card:hover .uploader-icon-circle {
  transform: translateY(-2px);
  background: #dbeafe;
  color: #2563eb;
}

.uploader-prompt {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-800);
}

.uploader-subprompt {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.uploader-filled-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

.uploader-preview-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  object-fit: cover;
  flex-shrink: 0;
  background: #ffffff;
}

.uploader-thumb-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #dcfce7;
  border: 1px solid #86efac;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
  flex-shrink: 0;
}

.uploader-file-details {
  flex: 1;
  min-width: 0;
}

.uploader-file-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #15803d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.uploader-file-meta {
  font-size: 0.75rem;
  color: #64748b;
  display: block;
  margin-top: 2px;
}

.uploader-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.uploader-btn-action {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s;
}

.uploader-btn-action:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.uploader-btn-action.remove-btn:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #dc2626;
}

.uploader-error {
  display: none;
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 0.4rem;
  text-align: left;
}

/* Vehicle GPS Photo Prominent Card */
.camera-photo-card {
  border: 2px dashed #93c5fd;
  background: #eff6ff;
  border-radius: 14px;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s var(--ease-apple);
}

.camera-photo-card:hover {
  border-color: #2563eb;
  background: #dbeafe;
}

.camera-photo-card.has-file {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
}

/* Form Action Buttons & Submit */
.service-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 50px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  text-decoration: none;
}

.service-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.32);
  color: #ffffff;
}

.service-submit-btn:active {
  transform: scale(0.985);
}

.service-submit-btn.is-loading {
  opacity: 0.75;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.65s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Consent Box */
.service-consent-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
}

.service-consent-card label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--slate-700);
  cursor: pointer;
  line-height: 1.45;
}

.service-consent-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary-600);
  flex-shrink: 0;
  cursor: pointer;
}

/* Two-column grid for desktop forms */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Review Sheet Box */
.service-review-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.service-review-box h4 {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.service-review-row {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
}

.service-review-row:last-child {
  border-bottom: none;
}

.service-review-label {
  color: #64748b;
  font-weight: 500;
}

.service-review-value {
  color: #0f172a;
  font-weight: 700;
  text-align: right;
}

/* Mobile Service Responsive Overrides */
@media (max-width: 768px) {
  .service-page-wrapper {
    padding: 1rem 0.75rem 3rem;
  }
  .service-header-compact {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .service-header-left {
    gap: 0.75rem;
  }
  .service-header-icon {
    width: 44px;
    height: 44px;
  }
  .service-header-icon svg {
    width: 22px;
    height: 22px;
  }
  .service-header-title {
    font-size: 1.35rem;
  }
  .service-header-fee {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.85rem;
  }
  .service-form-card {
    padding: 1.25rem 1rem;
    border-radius: 14px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-control-custom {
    font-size: 16px; /* Prevents auto-zoom on iOS */
  }
}

@media (max-width: 480px) {
  .service-page-wrapper {
    padding: 0.75rem 0.5rem 2.5rem;
  }
  .service-header-title {
    font-size: 1.2rem;
  }
  .service-form-card {
    padding: 1rem 0.75rem;
  }
}

/* 9. Accessibility: Strict Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .apple-checkmark-circle, .apple-checkmark-check {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }
  .hero-content .hero-badge-pill,
  .hero-content .hero-title,
  .hero-content .hero-subtitle,
  .hero-content .hero-actions,
  .hero-illustration-wrapper .hero-illustration,
  .stagger-1, .stagger-2, .stagger-3, .stagger-4,
  .apple-page-enter {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* -------------------------------------------------------------------------
 * Customer Dashboard Wallet Balance Bar
 * ------------------------------------------------------------------------- */
.dashboard-wallet-bar {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  border-radius: var(--radius-lg, 16px) !important;
  padding: 1.25rem 1.75rem !important;
  margin-bottom: 1.5rem !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 1.25rem !important;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

@media (max-width: 640px) {
  .dashboard-wallet-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 1.25rem !important;
  }
  .dashboard-wallet-bar .wallet-actions {
    width: 100% !important;
  }
  .dashboard-wallet-bar .wallet-actions a {
    flex: 1 !important;
    text-align: center !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   Service Live / Availability Control System Styles
   ========================================================================== */

/* Live / Unavailable Badges - Premium Glass Pill (YouTube Live style) */
.service-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8.5px 3px 6.5px;
  border-radius: 9999px;
  font-size: 0.6875rem; /* ~11px */
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
  vertical-align: middle;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-sizing: border-box;
}

/* LIVE Status Badge: Translucent Emerald Glass with crisp outline & inner highlight */
.service-status-badge.status-live {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.38);
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.service-status-badge.status-live:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.5);
}

/* TEMPORARILY UNAVAILABLE Status Badge: Refined Warm Amber Glass */
.service-status-badge.status-unavailable {
  background: rgba(245, 158, 11, 0.10);
  color: #92400e;
  border: 1px solid rgba(217, 119, 6, 0.32);
  box-shadow: 0 1px 2px rgba(245, 158, 11, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  font-size: 0.60rem;
  letter-spacing: 0.04em;
  padding: 3px 8px 3px 6px;
}

.service-status-badge.status-unavailable:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(217, 119, 6, 0.42);
}

/* Status Indicator Dots */
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  position: relative;
}

/* Live Broadcast Indicator Pulse Animation (YouTube Live style) */
.status-dot.dot-live-pulse {
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.75);
  animation: liveBroadcastPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes liveBroadcastPulse {
  0% {
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.75);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 4.5px rgba(16, 185, 129, 0);
    opacity: 1;
  }
  100% {
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    opacity: 0.95;
  }
}

@media (prefers-reduced-motion: reduce) {
  .status-dot.dot-live-pulse {
    animation: none !important;
    box-shadow: 0 0 3px rgba(16, 185, 129, 0.8) !important;
    transform: none !important;
  }
}

/* Inactive/Unavailable Static Dot */
.status-dot.dot-gray {
  background-color: #d97706;
  opacity: 0.85;
}

/* Service Card Button Unavailable State */
.service-btn-unavailable-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}

.service-apply-btn.btn-unavailable {
  background-color: #e2e8f0 !important;
  border-color: #cbd5e1 !important;
  color: #64748b !important;
  cursor: not-allowed !important;
  opacity: 0.9 !important;
  pointer-events: auto !important;
  font-weight: 600 !important;
}

.service-apply-btn.btn-unavailable:hover,
.service-apply-btn.btn-unavailable:active,
.service-apply-btn.btn-unavailable:focus {
  background-color: #e2e8f0 !important;
  border-color: #cbd5e1 !important;
  color: #64748b !important;
  box-shadow: none !important;
  transform: none !important;
}

.service-unavailable-help {
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
  line-height: 1.35;
}

/* Admin Switch Toggle */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  vertical-align: middle;
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
}

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

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

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

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

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

.switch-toggle input:focus + .slider {
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.status-indicator-live {
  color: #059669;
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.status-indicator-off {
  color: #64748b;
  font-weight: 600;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Floating Toast Notification */
.admin-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.admin-toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 420px;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.15), 0 8px 10px -6px rgba(0,0,0,0.1);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.admin-toast.toast-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.admin-toast.toast-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

