/* ============================================================
   THEME TOKENS & DESIGN SYSTEM — TamuKita
   Dinas Kominfo Kabupaten Kuantan Singingi
   ============================================================ */

:root {
  /* ---------- Brand Primary (Indigo) ---------- */
  --primary-50:  #EEF2FF;
  --primary-100: #E0E7FF;
  --primary-200: #C7D2FE;
  --primary-400: #818CF8;
  --primary-500: #6366F1;
  --primary-600: #4F46E5;   /* Warna Utama */
  --primary-700: #4338CA;
  --primary-800: #3730A3;
  --primary-glow: rgba(79, 70, 229, 0.25);

  /* ---------- Accent (Teal) ---------- */
  --accent-50:  #F0FDFA;
  --accent-100: #CCFBF1;
  --accent-500: #14B8A6;
  --accent-600: #0D9488;
  --accent-700: #0F766E;

  /* ---------- Semantic / Status Colors ---------- */
  --success-50:  #F0FDF4;
  --success-100: #DCFCE7;
  --success-500: #22C55E;
  --success-600: #16A34A;

  --warning-50:  #FFFBEB;
  --warning-100: #FEF3C7;
  --warning-500: #F59E0B;
  --warning-600: #D97706;

  --danger-50:   #FEF2F2;
  --danger-100:  #FEE2E2;
  --danger-500:  #EF4444;
  --danger-600:  #DC2626;

  --info-50:     #EFF6FF;
  --info-100:    #DBEAFE;
  --info-500:    #3B82F6;
  --info-600:    #2563EB;

  /* ---------- Background & Surfaces (Light Mode — DEFAULT) ---------- */
  --bg-deep: #F8FAFC;
  --bg-surface: #FFFFFF;
  --card-bg: #FFFFFF;
  --card-border: #E2E8F0;
  --card-border-hover: rgba(99, 102, 241, 0.35);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);

  /* ---------- Text & Typography ---------- */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-on-primary: #FFFFFF;
  --text-link: var(--primary-600);

  /* ---------- Border & Divider ---------- */
  --border-default: #E2E8F0;
  --border-strong: #CBD5E1;

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

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* ============================================================
   DARK THEME TOKENS ([data-theme="dark"])
   ============================================================ */
[data-theme="dark"] {
  --bg-deep: #070D1E;
  --bg-surface: #0E172E;
  --card-bg: rgba(18, 28, 54, 0.85);
  --card-border: rgba(255, 255, 255, 0.09);
  --card-border-hover: rgba(99, 102, 241, 0.45);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 25px 40px rgba(0, 0, 0, 0.6);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-on-primary: #FFFFFF;
  --text-link: var(--primary-400);

  --border-default: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  --primary-glow: rgba(99, 102, 241, 0.35);

  --success-50:  rgba(34, 197, 94, 0.12);
  --warning-50:  rgba(245, 158, 11, 0.12);
  --danger-50:   rgba(239, 68, 68, 0.12);
  --info-50:     rgba(59, 130, 246, 0.12);

  --success-600: #4ADE80;
  --warning-600: #FBBF24;
  --danger-600:  #F87171;
  --info-600:    #60A5FA;
}

/* ============================================================
   GLOBAL RESET & BASE STYLES
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-deep);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

main {
  flex: 1;
}

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

a:hover {
  text-decoration: none;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Ambient Glows */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.glow-top {
  top: -100px;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
}

.glow-bottom {
  top: 700px;
  right: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.14) 0%, transparent 70%);
}

[data-theme="dark"] .ambient-glow {
  opacity: 0.35;
}

/* ============================================================
   TYPOGRAPHY & UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.hidden { display: none !important; }
.text-success { color: var(--success-600); }
.text-warning { color: var(--warning-600); }
.text-danger  { color: var(--danger-600); }
.text-info    { color: var(--info-600); }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--primary-50);
  color: var(--primary-600);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

[data-theme="dark"] .section-badge {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-400);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--primary-600);
  color: var(--text-on-primary);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-700);
  box-shadow: 0 4px 14px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-strong);
  color: var(--text-primary);
}

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

[data-theme="dark"] .btn-outline:hover {
  background-color: rgba(99, 102, 241, 0.12);
  color: var(--primary-400);
}

.btn-secondary {
  background-color: var(--card-border);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--border-strong);
}

.btn-success {
  background-color: var(--success-600);
  color: #ffffff;
}

.btn-success:hover {
  background-color: #15803d;
}

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

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

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

[data-theme="dark"] .btn-icon:hover {
  background-color: rgba(99, 102, 241, 0.15);
  color: var(--primary-400);
}

/* Theme toggle icon switcher */
[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-moon { display: inline-block; }
[data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-icon-sun { display: inline-block; }

/* ============================================================
   NAVBAR / HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-default);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="dark"] .site-header {
  background-color: rgba(14, 23, 46, 0.85);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}

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

.logo-badge {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px var(--primary-glow);
}

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

.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.logo-title span {
  color: var(--primary-600);
}

.logo-subtitle {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Lobby Status Pill */
.lobby-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background-color: var(--success-50);
  border: 1px solid rgba(34, 197, 94, 0.25);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--success-600);
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success-500);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu-list li {
  list-style: none;
  position: relative;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

[data-theme="dark"] .nav-link:hover, [data-theme="dark"] .nav-link.active {
  color: var(--primary-400);
}

/* Dropdown Menu Styling */
.nav-menu .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #ffffff;
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: 6px 0;
  margin-top: 8px;
  z-index: 1000;
  list-style: none;
}

[data-theme="dark"] .nav-menu .dropdown-menu {
  background: var(--bg-card, #1E293B);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.nav-menu .dropdown:hover > .dropdown-menu,
.nav-menu .dropdown:focus-within > .dropdown-menu {
  display: block;
}

.nav-menu .dropdown-menu li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.nav-menu .dropdown-menu .dropdown-item {
  display: block;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary, #475569);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-menu .dropdown-menu .dropdown-item:hover,
.nav-menu .dropdown-menu .dropdown-item.active {
  background-color: rgba(79, 70, 229, 0.08);
  color: var(--primary-600, #4F46E5);
}

[data-theme="dark"] .nav-menu .dropdown-menu .dropdown-item:hover,
[data-theme="dark"] .nav-menu .dropdown-menu .dropdown-item.active {
  background-color: rgba(99, 102, 241, 0.15);
  color: var(--primary-400, #818CF8);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-receptionist {
  background: linear-gradient(135deg, #1E293B, #0F172A);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

[data-theme="dark"] .btn-receptionist {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-600));
}

.btn-receptionist:hover {
  background: #000000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.receptionist-badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--warning-500);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-left: 4px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  padding: 64px 0 56px;
  position: relative;
  z-index: 1;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 920px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background-color: var(--primary-50);
  color: var(--primary-600);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid var(--primary-100);
}

[data-theme="dark"] .hero-badge {
  background-color: rgba(99, 102, 241, 0.15);
  color: var(--primary-400);
  border-color: rgba(99, 102, 241, 0.3);
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.highlight-text {
  color: var(--primary-600);
  position: relative;
  display: inline-block;
}

[data-theme="dark"] .highlight-text {
  color: var(--primary-400);
}

.hero-desc {
  font-size: 1.1875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 780px;
  margin: 0 auto 36px;
}

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

/* Hero Stats Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: left;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--card-border-hover);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stat-icon-indigo {
  background-color: var(--primary-50);
  color: var(--primary-600);
}

.stat-icon-emerald {
  background-color: var(--success-50);
  color: var(--success-600);
}

.stat-icon-amber {
  background-color: var(--warning-50);
  color: var(--warning-600);
}

.stat-icon-teal {
  background-color: var(--accent-50);
  color: var(--accent-600);
}

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

.stat-number {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

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

/* ============================================================
   HOW IT WORKS / 3 STEPS
   ============================================================ */
.how-it-works-section {
  padding: 64px 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 48px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  position: relative;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--card-border-hover);
}

.step-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--border-strong);
  opacity: 0.4;
  font-family: var(--font-mono);
}

.step-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

[data-theme="dark"] .step-icon-wrap {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-400);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   GUEST REGISTRATION FORM & LIVE E-BADGE WIZARD
   ============================================================ */
.guest-form-section {
  padding: 60px 0 88px;
  position: relative;
  z-index: 1;
}

.form-section-intro {
  margin-bottom: 32px;
}

.form-intro-desc {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid Layout: Left Step Form + Right Live Badge */
.guest-experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: 36px;
  align-items: start;
}

/* ---------------- STEPPER & FORM CARD (LEFT) ---------------- */
.form-step-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 36px 40px;
  position: relative;
}

/* Stepper Track */
.stepper-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
}

.step-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  cursor: pointer;
  user-select: none;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  background-color: var(--bg-surface);
  border: 2px solid #CBD5E1;
  color: #94A3B8;
  transition: all var(--transition-fast);
}

.step-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.step-nav-item.active .step-circle {
  background-color: #1E3A8A;
  border-color: #1E3A8A;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.15);
}

.step-nav-item.active .step-title {
  color: #1E3A8A;
  font-weight: 700;
}

[data-theme="dark"] .step-nav-item.active .step-circle {
  background-color: #3B82F6;
  border-color: #3B82F6;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .step-nav-item.active .step-title {
  color: #60A5FA;
}

.step-nav-item.completed .step-circle {
  background-color: var(--success-600);
  border-color: var(--success-600);
  color: #ffffff;
}

.step-nav-item.completed .step-title {
  color: var(--success-600);
}

.step-nav-line {
  flex: 1;
  height: 2px;
  background-color: #E2E8F0;
  margin: 0 12px;
  position: relative;
  top: -14px;
  transition: background-color var(--transition-fast);
}

.step-nav-line.active {
  background-color: #1E3A8A;
}

[data-theme="dark"] .step-nav-line {
  background-color: #334155;
}

[data-theme="dark"] .step-nav-line.active {
  background-color: #3B82F6;
}

/* Step Panels */
.step-panel {
  display: none;
  animation: fadeInStep 0.25s ease-in-out;
}

.step-panel.active {
  display: block;
}

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

.step-panel-heading {
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-default);
}

.step-panel-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.step-panel-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.form-hint-text {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 5px;
}

/* Step Navigation Buttons */
.step-nav-buttons {
  display: flex;
  align-items: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-default);
  gap: 16px;
}

.step-nav-buttons.justify-end {
  justify-content: flex-end;
}

.step-nav-buttons.justify-between {
  justify-content: space-between;
}

.btn-navy-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  background-color: #1E3A8A;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.btn-navy-action:hover {
  background-color: #172554;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.35);
  color: #ffffff;
}

[data-theme="dark"] .btn-navy-action {
  background-color: #2563EB;
}

[data-theme="dark"] .btn-navy-action:hover {
  background-color: #1D4ED8;
}

/* ---------------- STEP 3 VERIFICATION LAYOUT ---------------- */
.verification-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.verification-camera-col,
.verification-summary-col {
  display: flex;
  flex-direction: column;
}

.summary-card-box {
  background-color: var(--bg-deep);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 0.85rem;
  border-bottom: 1px dashed var(--border-default);
  padding-bottom: 8px;
}

.summary-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-item-full {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.summary-label {
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.summary-val {
  color: var(--text-primary);
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}

.summary-item-full .summary-val {
  text-align: left;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-secondary);
}

/* ---------------- E-BADGE GUEST CARD (RIGHT) ---------------- */
.badge-preview-sticky-col {
  position: sticky;
  top: 96px;
}

.ebadge-guest-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: all var(--transition-normal);
}

/* Header with Dark Navy & Glow */
.ebadge-card-header {
  background: linear-gradient(135deg, #111C38 0%, #172554 100%);
  padding: 24px 28px 22px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.ebadge-glow-circle {
  position: absolute;
  top: -24px;
  right: -24px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.45) 0%, rgba(20, 184, 166, 0) 70%);
  filter: blur(14px);
  pointer-events: none;
}

.ebadge-govt-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
}

.ebadge-header-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ebadge-photo-wrap {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ebadge-guest-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ebadge-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.8rem;
}

.ebadge-header-text {
  flex: 1;
  min-width: 0;
}

.ebadge-guest-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  word-break: break-word;
}

.ebadge-role-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background-color: #0D9488;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
}

/* Card Body */
.ebadge-card-body {
  padding: 24px 28px 24px;
  background-color: var(--card-bg);
}

.ebadge-meta-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ebadge-qr-wrapper {
  width: 82px;
  height: 82px;
  min-width: 82px;
  border: 1px solid var(--border-default);
  border-radius: 10px;
  padding: 4px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.ebadge-qr-wrapper img,
.ebadge-qr-wrapper canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.ebadge-id-info {
  display: flex;
  flex-direction: column;
}

.ebadge-id-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.ebadge-id-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1E3A8A;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 4px;
}

[data-theme="dark"] .ebadge-id-value {
  color: #60A5FA;
}

.ebadge-status-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.ebadge-dotted-divider {
  border-top: 1px dotted #CBD5E1;
  margin: 18px 0;
}

[data-theme="dark"] .ebadge-dotted-divider {
  border-top-color: #334155;
}

.ebadge-info-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ebadge-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 0.85rem;
}

.ebadge-key {
  color: var(--text-secondary);
  font-weight: 500;
}

.ebadge-val {
  color: var(--text-primary);
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}

.ebadge-card-footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border-default);
  width: 100%;
  box-sizing: border-box;
}

.ebadge-card-footer .btn,
.btn-submit-guest {
  white-space: normal !important;
  word-break: break-word;
  text-align: center;
  line-height: 1.35;
  padding: 11px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-ebadge-print {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 16px;
  background-color: var(--primary-600);
  border: 1px solid var(--primary-600);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  box-shadow: 0 2px 8px var(--primary-glow);
  transition: all var(--transition-fast);
}

.btn-ebadge-print:hover {
  background-color: var(--primary-700);
  border-color: var(--primary-700);
  box-shadow: 0 4px 14px var(--primary-glow);
  transform: translateY(-1px);
}

[data-theme="dark"] .btn-ebadge-print {
  background-color: var(--primary-600);
  color: #ffffff;
}

.badge-action-buttons {
  width: 100%;
  box-sizing: border-box;
}

.badge-action-buttons .btn-outline {
  padding: 9px 16px;
  font-size: 0.85rem;
}

.ebadge-print-caption {
  text-align: center;
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.4;
}

.badge-success-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  color: #059669;
  font-size: 0.85rem;
  font-weight: 700;
  justify-content: center;
}

[data-theme="dark"] .badge-success-banner {
  background-color: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34D399;
}

/* Form Groups & Controls */
.form-group {
  margin-bottom: 20px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

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

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  pointer-events: none;
  transition: color var(--transition-fast);
}

.textarea-icon-wrap .input-icon {
  top: 14px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9375rem;
  color: var(--text-primary);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input-icon-wrap .form-control {
  padding-left: 42px;
}

.form-control:focus {
  outline: none;
  border-color: #1E3A8A;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}

[data-theme="dark"] .form-control:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-control.is-invalid {
  border-color: var(--danger-500);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 88px;
}

.field-error-msg {
  display: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--danger-500);
  margin-top: 6px;
}

.field-error-msg.visible {
  display: block;
}

.verification-error-summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 20px;
  padding: 14px 16px;
  color: #B91C1C;
  background-color: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
}

.verification-error-summary:focus {
  outline: 3px solid rgba(239, 68, 68, 0.22);
  outline-offset: 2px;
}

.verification-error-summary .fa-circle-exclamation {
  margin-top: 2px;
  font-size: 1rem;
}

.verification-field-error.visible {
  padding: 10px 12px;
  color: #B91C1C;
  background-color: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.camera-viewport-box.is-invalid {
  border-color: var(--danger-500);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.16);
}

.agreement-checkbox-group.is-invalid {
  padding: 12px;
  border: 1px solid #FCA5A5;
  border-radius: var(--radius-md);
  background-color: #FEF2F2;
}

.agreement-checkbox-group .form-check-input.is-invalid {
  border-color: var(--danger-500);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

.mobile-submit-action {
  display: none;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .guest-experience-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .badge-preview-sticky-col {
    position: static;
  }
}

@media (max-width: 640px) {
  .guest-form-section {
    padding: 44px 0 60px;
  }

  .form-section-intro {
    margin-bottom: 24px;
  }

  .form-intro-desc {
    font-size: 0.9375rem;
  }

  .form-step-card {
    padding: 22px 16px;
    border-radius: 16px;
  }

  .verification-layout-grid {
    grid-template-columns: 1fr;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .form-control {
    min-height: 48px;
    font-size: 1rem;
  }

  textarea.form-control {
    min-height: 112px;
  }

  .stepper-track {
    margin-bottom: 24px;
  }

  .step-nav-line {
    margin: 0 6px;
  }

  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .step-title {
    font-size: 0.75rem;
  }

  .step-panel-heading {
    margin-bottom: 20px;
    padding-bottom: 12px;
  }

  .step-panel-title {
    font-size: 1.2rem;
  }

  .step-nav-buttons,
  .step-nav-buttons.justify-between,
  .step-nav-buttons.justify-end {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 26px;
    padding-top: 16px;
  }

  .step-nav-buttons .btn {
    width: 100%;
    min-height: 48px;
  }

  #stepPanel3 {
    padding-bottom: 82px;
  }

  .verification-error-summary {
    margin-bottom: 16px;
    padding: 12px;
  }

  .agreement-checkbox-group.is-invalid {
    padding: 10px;
  }

  .mobile-submit-action {
    display: block;
    position: fixed;
    right: 16px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 16px;
    z-index: 50;
    padding: 8px;
    background-color: color-mix(in srgb, var(--card-bg) 92%, transparent);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.2);
  }

  .mobile-submit-action .btn {
    min-height: 50px;
  }

  .ebadge-card-header {
    padding: 20px 16px;
  }

  .ebadge-card-body {
    padding: 20px 16px;
  }

  .ebadge-guest-card {
    border-radius: 16px;
  }

  .ebadge-photo-wrap {
    width: 60px;
    height: 60px;
    min-width: 60px;
  }

  .ebadge-guest-name {
    font-size: 1.05rem;
  }

  .ebadge-role-pill {
    max-width: 100%;
    line-height: 1.35;
    white-space: normal;
  }

  .ebadge-meta-top {
    gap: 12px;
  }

  .ebadge-qr-wrapper {
    width: 68px;
    height: 68px;
    min-width: 68px;
  }

  .ebadge-id-info,
  .ebadge-val {
    min-width: 0;
  }

  .ebadge-key {
    flex: 0 0 40%;
  }
}

@media (max-width: 380px) {
  .guest-form-section .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .form-step-card {
    padding: 20px 14px;
  }

  .step-nav-line {
    margin: 0 3px;
  }

  .step-nav-item {
    gap: 6px;
  }

  .step-title {
    font-size: 0.6875rem;
  }

  .step-panel-desc {
    font-size: 0.85rem;
  }
}

/* ============================================================
   CAMERA MODULE (KOLOM KANAN)
   ============================================================ */
.camera-card-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.camera-viewport-box {
  position: relative;
  width: 100%;
  height: 310px;
  background-color: #0F172A;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Shutter Flash Animation */
.camera-flash-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  transition: opacity 0.15s ease-out;
}

.camera-flash-overlay.flashing {
  opacity: 0.9;
}

/* Camera Placeholder */
.camera-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  color: #94A3B8;
}

.placeholder-icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary-400);
  margin-bottom: 14px;
}

.placeholder-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 6px;
}

.placeholder-desc {
  font-size: 0.8125rem;
  color: #94A3B8;
  max-width: 260px;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* Webcam Live Stream */
.webcam-stream {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1); /* Efek mirror */
}

/* Face Guide Oval */
.face-guide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}

.face-guide-oval {
  width: 160px;
  height: 200px;
  border: 2px dashed rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.35);
  animation: pulseGuide 2s infinite ease-in-out;
}

@keyframes pulseGuide {
  0% { border-color: rgba(255, 255, 255, 0.6); }
  50% { border-color: var(--primary-400); }
  100% { border-color: rgba(255, 255, 255, 0.6); }
}

.face-guide-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
}

/* Snapshot Preview */
.snapshot-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Camera Controls Bar */
.camera-controls-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.camera-controls-bar .btn {
  width: 100%;
}

.photo-status-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: var(--radius-md);
  background-color: var(--success-50);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--success-600);
  font-size: 0.875rem;
  font-weight: 700;
}

/* Upload Fallback */
.upload-fallback-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.divider-text {
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.divider-text::before, .divider-text::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-default);
}

.divider-text span {
  padding: 0 10px;
}

.upload-file-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-strong);
  background-color: var(--bg-deep);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.upload-file-label:hover {
  border-color: var(--primary-500);
  color: var(--primary-600);
}

.hidden-file-input {
  display: none;
}

/* Submit Bar */
.form-submit-bar {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-default);
  display: flex;
  justify-content: flex-end;
}

.btn-submit-guest {
  padding: 16px 36px;
  font-size: 1.0625rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px var(--primary-glow);
}

@media (min-width: 641px) and (prefers-reduced-motion: no-preference) {
  .registration-action-shake {
    animation: registrationActionShake 0.55s ease-in-out;
  }

  @keyframes registrationActionShake {
    0%,
    100% {
      transform: translateX(0);
    }

    20%,
    60% {
      transform: translateX(-6px);
    }

    40%,
    80% {
      transform: translateX(6px);
    }
  }
}

/* ============================================================
   MODALS GLOBAL STYLES
   ============================================================ */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-dialog-container {
  width: 100%;
  max-width: 500px;
  margin: auto;
}

.modal-dialog-wide {
  max-width: 1100px;
}

.modal-card {
  position: relative;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-default);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background-color: var(--danger-50);
  color: var(--danger-500);
  border-color: var(--danger-100);
}

/* ============================================================
   e-PASS VISITOR BADGE (ID CARD LANYARD STYLE)
   ============================================================ */
.epass-header-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background-color: var(--success-50);
  border: 1px solid rgba(34, 197, 94, 0.25);
  margin-bottom: 24px;
}

.epass-header-notice i {
  font-size: 1.5rem;
  margin-top: 2px;
}

.epass-header-notice h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--success-600);
  margin-bottom: 2px;
}

.epass-header-notice p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* Card Badge */
.visitor-badge-card {
  position: relative;
  background-color: #FFFFFF;
  color: #0F172A;
  border: 2px solid #CBD5E1;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
}

/* Lanyard Slot Hole Decor */
.lanyard-hole-decor {
  width: 48px;
  height: 8px;
  border-radius: 6px;
  background-color: #E2E8F0;
  border: 1px solid #CBD5E1;
  margin-bottom: 16px;
}

.badge-header-din {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  text-align: left;
}

.badge-gov-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #4F46E5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.badge-gov-sub {
  font-size: 0.625rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.05em;
  display: block;
}

.badge-gov-main {
  font-size: 0.875rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

.badge-pass-title {
  font-size: 0.6875rem;
  font-weight: 800;
  color: #4F46E5;
  letter-spacing: 0.08em;
  display: block;
  margin-top: 2px;
}

.badge-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #CBD5E1, transparent);
  margin-bottom: 16px;
}

/* Identity Section */
.badge-identity-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 16px;
}

.badge-photo-wrapper {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid #4F46E5;
  padding: 3px;
  background-color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 12px;
}

.badge-guest-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.badge-guest-name {
  font-size: 1.1875rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 2px;
}

.badge-guest-agency {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 10px;
}

.badge-ticket-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background-color: #F1F5F9;
  border: 1px solid #E2E8F0;
  margin-bottom: 8px;
}

.ticket-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #64748B;
}

.ticket-id-mono {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #4F46E5;
}

.badge-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background-color: #FFFBEB;
  color: #D97706;
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.badge-status-pill.status-hadir {
  background-color: #F0FDF4;
  color: #16A34A;
  border-color: rgba(22, 163, 74, 0.3);
}

.badge-status-pill.status-selesai {
  background-color: #F1F5F9;
  color: #475569;
  border-color: #CBD5E1;
}

.badge-status-pill.status-ditolak {
  background-color: #FEF2F2;
  color: #DC2626;
  border-color: rgba(220, 38, 38, 0.3);
}

/* Badge Details */
.badge-details-list {
  width: 100%;
  border-top: 1px dashed #CBD5E1;
  border-bottom: 1px dashed #CBD5E1;
  padding: 12px 0;
  margin-bottom: 16px;
  text-align: left;
}

.badge-detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.8125rem;
}

.badge-detail-item:last-child {
  margin-bottom: 0;
}

.detail-label {
  color: #64748B;
  font-weight: 500;
}

.detail-value {
  color: #0F172A;
  font-weight: 700;
  text-align: right;
  max-width: 60%;
}

/* QR Code */
.badge-qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.qr-canvas-box {
  width: 140px;
  height: 140px;
  padding: 8px;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-canvas-box img, .qr-canvas-box canvas {
  width: 100% !important;
  height: 100% !important;
}

.badge-qr-hint {
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 4px;
}

.badge-footer-note {
  font-size: 0.6875rem;
  color: #94A3B8;
  font-style: italic;
}

.modal-actions-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* ============================================================
   RECEPTIONIST DESK (MODAL MEJA RESEPSIONIS)
   ============================================================ */
.receptionist-modal-card {
  padding: 32px;
}

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

.receptionist-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.receptionist-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-600);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
}

.receptionist-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.receptionist-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Receptionist Metrics Ribbon */
.receptionist-metrics-ribbon {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.metric-pill {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  background-color: var(--bg-deep);
  display: flex;
  flex-direction: column;
}

.metric-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.metric-val {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
}

.metric-total .metric-val { color: var(--primary-600); }
.metric-hadir .metric-val { color: var(--success-600); }
.metric-menunggu .metric-val { color: var(--warning-600); }
.metric-selesai .metric-val { color: var(--text-secondary); }
.metric-ditolak .metric-val { color: var(--danger-600); }

/* Toolbar */
.receptionist-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.toolbar-search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.toolbar-search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.toolbar-search-box .form-control {
  padding-left: 38px;
}

.toolbar-filter-box {
  position: relative;
  min-width: 200px;
}

.toolbar-filter-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.toolbar-filter-box .form-control {
  padding-left: 38px;
}

.toolbar-actions-group {
  display: flex;
  gap: 8px;
}

/* Receptionist Table */
.receptionist-table-wrapper {
  max-height: 420px;
  overflow-y: auto;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  background-color: var(--bg-surface);
}

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

.guests-table th {
  position: sticky;
  top: 0;
  background-color: var(--bg-deep);
  color: var(--text-secondary);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-default);
  z-index: 5;
}

.guests-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-default);
  vertical-align: middle;
  color: var(--text-primary);
}

.guests-table tr:hover {
  background-color: rgba(99, 102, 241, 0.04);
}

.guest-table-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-strong);
}

.guest-info-cell {
  display: flex;
  flex-direction: column;
}

.guest-info-name {
  font-weight: 700;
  color: var(--text-primary);
}

.guest-info-agency {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.guest-info-ticket {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--primary-600);
}

/* Status Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge-hadir {
  background-color: var(--success-50);
  color: var(--success-600);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-menunggu {
  background-color: var(--warning-50);
  color: var(--warning-600);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-selesai {
  background-color: var(--bg-deep);
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
}

.badge-ditolak {
  background-color: var(--danger-50);
  color: var(--danger-600);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Action Buttons inside Table */
.table-actions-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-action-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-default);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8125rem;
  transition: all var(--transition-fast);
}

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

.btn-action-approve:hover {
  background-color: var(--success-50);
  color: var(--success-600);
  border-color: var(--success-500);
}

.btn-action-done:hover {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-action-reject:hover {
  background-color: var(--danger-50);
  color: var(--danger-600);
  border-color: var(--danger-500);
}

.table-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  color: var(--text-muted);
  gap: 12px;
}

.table-empty-state i {
  font-size: 2.5rem;
  opacity: 0.5;
}

.receptionist-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-default);
  padding: 56px 0 0;
  margin-top: auto;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.footer-logo i {
  color: var(--primary-600);
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-address {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
}

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

.footer-links-list li, .footer-links-list a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-links-list a:hover {
  color: var(--primary-600);
}

.footer-contact-col .footer-links-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-default);
  padding: 20px 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-badges {
  display: flex;
  gap: 8px;
}

.footer-tag {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background-color: var(--bg-deep);
  border: 1px solid var(--border-default);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 64px;
  }
  .nav-menu {
    display: none; /* Mobile menu ringkas */
  }
  .lobby-status-pill small {
    display: none;
  }
  .hero-section {
    padding: 40px 0 36px;
  }
  .hero-title {
    font-size: 2.125rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .form-wrapper-card {
    padding: 24px 18px;
  }
  .form-card-header {
    flex-direction: column;
    align-items: stretch;
  }
  .registration-tab-group {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .tab-btn {
    justify-content: center;
    font-size: 0.8125rem;
    padding: 8px;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .receptionist-metrics-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .modal-card {
    padding: 20px 16px;
  }
}

/* ============================================================
   PRINT STYLES (@media print)
   Khusus kartu e-Pass Visitor Badge
   ============================================================ */
@media print {
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Sembunyikan semua elemen kecuali kartu ID tunggal */
  .site-header,
  .hero-section,
  .how-it-works-section,
  .form-section-intro,
  .form-step-card,
  .cms-section,
  .site-footer,
  .ambient-glow,
  .no-print,
  .modal-backdrop,
  #receptionistModalBackdrop {
    display: none !important;
  }

  .guest-form-section {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }

  .guest-experience-grid {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .badge-preview-sticky-col {
    position: static !important;
    margin: 0 auto !important;
    max-width: 9.5cm !important;
  }

  .ebadge-guest-card {
    width: 9.5cm !important;
    border: 1.5px solid #1E293B !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    margin: 1cm auto !important;
    page-break-inside: avoid;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    background: #FFFFFF !important;
  }

  .ebadge-card-header {
    background: #111C38 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    color: #ffffff !important;
  }

  .ebadge-role-pill {
    background-color: #0D9488 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    color: #ffffff !important;
  }
}

/* ============================================================
   CMS INTEGRATION & GENERAL VIEWS EXTENSIONS (TamuKita Theme)
   ============================================================ */

.cms-section {
  padding: 3.5rem 0;
}

.cms-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  overflow: hidden;
}

.cms-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.post-single, .page-single {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

@media (max-width: 768px) {
  .post-single, .page-single {
    padding: 1.5rem;
  }
}

.post-title, .page-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-default);
}

.post-meta i {
  color: var(--primary-500);
  margin-right: 0.35rem;
}

.post-featured-media {
  margin-bottom: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.post-featured-media img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.post-content, .page-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.post-content h2, .post-content h3, .post-content h4,
.page-content h2, .page-content h3, .page-content h4 {
  color: var(--text-primary);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content p, .page-content p {
  margin-bottom: 1.25rem;
}

.post-content blockquote, .page-content blockquote {
  border-left: 4px solid var(--primary-600);
  background: var(--primary-50);
  color: var(--text-primary);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-style: italic;
}

[data-theme=dark] .post-content blockquote,
[data-theme=dark] .page-content blockquote {
  background: rgba(79, 70, 229, 0.12);
  color: var(--text-primary);
}

.post-content ul, .post-content ol,
.page-content ul, .page-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}

.post-content img, .page-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.post-tags-wrap {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-default);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: var(--bg-deep);
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.tag-badge:hover {
  background: var(--primary-50);
  color: var(--primary-600);
  border-color: var(--primary-200);
}

[data-theme=dark] .tag-badge:hover {
  background: rgba(79, 70, 229, 0.2);
  color: var(--primary-400);
}

.author-card-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-deep);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
}

.author-avatar-circle {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-600), var(--accent-600));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.sidebar-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
}

.sidebar-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-600);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  margin-bottom: 0.85rem;
}

.sidebar-list li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.925rem;
  transition: color var(--transition-fast);
  display: block;
  line-height: 1.4;
}

.sidebar-list li a:hover {
  color: var(--primary-600);
}

[data-theme=dark] .sidebar-list li a:hover {
  color: var(--primary-400);
}

.search-input-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
}

.search-result-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all var(--transition-fast);
}

.search-result-card:hover {
  border-color: var(--primary-500);
  box-shadow: var(--shadow-sm);
}

.search-result-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.search-result-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.search-result-title a:hover {
  color: var(--primary-600);
}

.error-404-container {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-404-number {
  font-size: 7.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-600), var(--accent-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
}

.breadcrumb-nav {
  padding: 0.75rem 0;
  background: transparent;
  margin-bottom: 1.5rem;
}

.breadcrumb-nav .breadcrumb {
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.breadcrumb-nav .breadcrumb-item a {
  color: var(--primary-600);
  text-decoration: none;
}

.breadcrumb-nav .breadcrumb-item.active {
  color: var(--text-muted);
}

.pagination-wrapper {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.pagination-wrapper .pagination {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-wrapper .page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.pagination-wrapper .page-item.active .page-link {
  background: var(--primary-600);
  border-color: var(--primary-600);
  color: #ffffff;
}

.pagination-wrapper .page-item .page-link:hover:not(.active) {
  border-color: var(--primary-500);
  color: var(--primary-600);
  background: var(--primary-50);
}

/* ============================================================
   SEKSI INFORMASI LAYANAN & KONTAK
   ============================================================ */
.info-service-section {
  padding: 5rem 0;
  background: var(--bg-deep);
}

.info-card {
  background: var(--card-bg);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.info-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-icon-blue {
  background: #EEF2FF;
  color: #4F46E5;
}

.info-icon-green {
  background: #ECFDF5;
  color: #10B981;
}

.info-icon-amber {
  background: #FEF3C7;
  color: #D97706;
}

[data-theme="dark"] .info-icon-blue {
  background: rgba(79, 70, 229, 0.2);
  color: #818CF8;
}

[data-theme="dark"] .info-icon-green {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
}

[data-theme="dark"] .info-icon-amber {
  background: rgba(217, 119, 6, 0.2);
  color: #FBBF24;
}

.info-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.info-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.info-schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.925rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--border-default);
}

.info-schedule-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-schedule-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.info-schedule-val {
  font-weight: 700;
  color: var(--text-primary);
}

.info-schedule-val.text-closed {
  color: var(--danger-600);
}

.info-card-footer-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: auto;
}

.info-rules-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.info-rules-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.info-rules-icon {
  color: #10B981;
  font-size: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.info-address-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.info-nav-box {
  background: var(--bg-deep);
  border: 1px dashed var(--border-default);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.info-nav-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

.info-nav-desc {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.btn-whatsapp-helpdesk {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #0D9488;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
  margin-top: auto;
  border: none;
  width: 100%;
}

.btn-whatsapp-helpdesk:hover {
  background: #0F766E;
  color: #ffffff;
}

/* ============================================================
   SURVEI KEPUASAN LAYANAN TAMU
   ============================================================ */
.skm-cta-section {
  padding: 1.5rem 0 5rem;
}

.skm-cta-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(125deg, var(--primary-700), var(--primary-500));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  color: #ffffff;
}

.skm-cta-icon,
.skm-status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  font-size: 1.5rem;
}

.skm-cta-icon {
  background: rgba(255, 255, 255, 0.18);
}

.skm-cta-content {
  flex: 1;
}

.skm-cta-content .section-badge {
  color: var(--primary-700);
  background: #ffffff;
  border-color: transparent;
  margin-bottom: 0.75rem;
}

.skm-cta-content h2 {
  margin: 0 0 0.5rem;
  color: #ffffff;
  font-size: 1.5rem;
}

.skm-cta-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.skm-cta-button {
  flex: 0 0 auto;
  background: #ffffff;
  color: var(--primary-700);
  border-color: #ffffff;
}

.skm-cta-button:hover {
  background: var(--primary-50);
  color: var(--primary-700);
}

.skm-page-section {
  padding: 4.5rem 0 5rem;
}

.skm-page-header {
  max-width: 48rem;
  margin: 0 auto 2rem;
}

.skm-page-header h1,
.skm-status-card h1 {
  margin: 0.75rem 0;
  color: var(--text-primary);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
}

.skm-page-header p,
.skm-status-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.skm-scale-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 0.875rem;
}

.skm-form-card,
.skm-results-card,
.skm-status-card {
  max-width: 58rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
}

.skm-form-section + .skm-form-section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-default);
}

.skm-section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.skm-section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: var(--primary-100);
  color: var(--primary-700);
  font-family: var(--font-mono);
  font-weight: 800;
}

.skm-section-heading h2,
.skm-results-card h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 800;
}

.skm-section-heading p {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.skm-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.skm-question-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skm-question-card {
  min-width: 0;
  margin: 0;
  padding: 1.25rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
}

.skm-question-card legend {
  display: flex;
  width: 100%;
  gap: 0.75rem;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.55;
}

.skm-question-card legend small {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.skm-question-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary-700);
  font-size: 0.8rem;
}

.skm-rating-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.skm-rating-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.8rem;
  padding: 0.45rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.skm-rating-option:has(input:checked) {
  border-color: var(--primary-500);
  background: var(--primary-50);
  color: var(--primary-700);
}

.skm-rating-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skm-rating-option:focus-within {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
}

.skm-rating-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--bg-deep);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.skm-submit-area {
  margin-top: 2rem;
  text-align: center;
}

.skm-submit-area p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.skm-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  line-height: 1.5;
}

.skm-alert-error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.skm-status-card {
  max-width: 42rem;
}

.skm-status-icon {
  margin: 0 auto 1.5rem;
}

.skm-status-icon.success {
  background: var(--success-50);
  color: var(--success-600);
}

.skm-status-icon.warning {
  background: var(--warning-50);
  color: var(--warning-600);
}

.skm-status-card .d-flex {
  margin-top: 1.75rem;
}

.skm-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 58rem;
  margin: 0 auto 1rem;
}

.skm-stat-card {
  padding: 1.5rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.skm-stat-card span,
.skm-stat-card small {
  display: block;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.skm-stat-card strong {
  display: block;
  margin: 0.4rem 0;
  color: var(--primary-600);
  font-family: var(--font-mono);
  font-size: 1.75rem;
}

.skm-results-card h2 {
  margin-bottom: 1.25rem;
}

.skm-results-table-wrap {
  overflow-x: auto;
}

.skm-results-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-secondary);
}

.skm-results-table th,
.skm-results-table td {
  padding: 0.9rem;
  border-bottom: 1px solid var(--border-default);
  text-align: left;
}

.skm-results-table th {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.skm-results-table td span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8125rem;
}

@media (max-width: 767px) {
  .skm-cta-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .skm-cta-button {
    width: 100%;
  }

  .skm-profile-grid,
  .skm-stat-grid {
    grid-template-columns: 1fr;
  }

  .skm-rating-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
