/* ═══════════════════════════════════════════════
   NeoLight Theme — TSA Presence
   Clean, modern enterprise SaaS light UI
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Core Palette */
  --bg: #f5f7ff;
  --surface: #ffffff;
  --surface2: #f0f3ff;
  --border: rgba(99,102,241,0.12);
  --border-strong: rgba(99,102,241,0.22);

  /* Primary — Indigo/Blue */
  --accent: #4f46e5;
  --accent-mid: #6366f1;
  --accent-light: rgba(99,102,241,0.08);
  --accent-lighter: rgba(99,102,241,0.04);
  --accent2: #f43f5e;

  /* Status Colors */
  --green: #10b981;
  --green-light: rgba(16,185,129,0.08);
  --red: #ef4444;
  --red-light: rgba(239,68,68,0.08);
  --orange: #f59e0b;
  --orange-light: rgba(245,158,11,0.08);
  --purple: #8b5cf6;
  --purple-light: rgba(139,92,246,0.08);
  --blue: #3b82f6;
  --blue-light: rgba(59,130,246,0.08);

  /* Typography */
  --text: #0f172a;
  --text-secondary: #475569;
  --muted: #94a3b8;
  --card: #ffffff;

  /* Shadows — soft, layered */
  --shadow: 0 1px 3px rgba(15,23,42,0.06), 0 4px 12px rgba(99,102,241,0.06);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.08), 0 1px 4px rgba(99,102,241,0.08);
  --shadow-lg: 0 8px 32px rgba(15,23,42,0.10), 0 2px 8px rgba(99,102,241,0.08);
  --shadow-xl: 0 20px 60px rgba(15,23,42,0.12), 0 4px 16px rgba(99,102,241,0.10);

  /* Glows — very subtle for light theme */
  --glow: 0 0 0 3px rgba(99,102,241,0.12);
  --glow-green: 0 0 0 3px rgba(16,185,129,0.12);
  --glow-red: 0 0 0 3px rgba(239,68,68,0.12);
  --glow-hover: 0 0 24px rgba(99,102,241,0.15);

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 70% -10%, rgba(99,102,241,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(59,130,246,0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(99,102,241,0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(99,102,241,0.35); }

/* ── LOADING ── */
#loadingOverlay {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 20px;
}
.spinner {
  width: 44px; height: 44px;
  border: 3px solid rgba(99,102,241,0.12);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
#loadingOverlay p {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ── LOGIN ── */
#loginPage {
  display: none; align-items: center; justify-content: center;
  min-height: 100vh; background: var(--bg); position: relative;
}
#loginPage::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(99,102,241,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 100%, rgba(59,130,246,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.login-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 48px 44px;
  width: 440px; max-width: 95vw;
  box-shadow: var(--shadow-xl);
  animation: slideUp .45s cubic-bezier(.16,1,.3,1);
  position: relative; z-index: 1;
}
.login-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: linear-gradient(90deg, var(--accent), #818cf8, var(--blue));
}
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.logo-wrap { text-align: center; margin-bottom: 36px; }
.logo-wrap img.tsa-logo { width: 140px; height: auto; margin-bottom: 16px; }
.logo-wrap h1 {
  font-size: 19px; font-weight: 800;
  color: var(--text); letter-spacing: .5px;
}
.logo-wrap p { color: var(--muted); font-size: 13px; margin-top: 6px; font-weight: 500; }

/* ── LOGIN HINT ── */
.login-hint { font-size: 11px; color: var(--muted); text-align: center; margin-top: 20px; line-height: 1.6; font-weight: 500; }

/* ── FORMS ── */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 7px;
}
.form-control {
  width: 100%; padding: 11px 14px;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; font-weight: 500;
  transition: border-color .18s, box-shadow .18s, background .18s;
  outline: none;
}
.form-control:focus {
  border-color: var(--accent-mid);
  background: var(--surface);
  box-shadow: var(--glow);
}
.form-control::placeholder { color: var(--muted); font-weight: 400; }
select.form-control option { background: #fff; color: var(--text); }

/* ── BUTTONS ── */
.btn {
  width: 100%; padding: 12px 20px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-mid) 100%);
  border: none; border-radius: var(--r-sm);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  transition: all .18s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 2px 8px rgba(99,102,241,0.3), 0 1px 2px rgba(99,102,241,0.15);
  letter-spacing: .3px;
}
.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(99,102,241,0.4), 0 2px 6px rgba(99,102,241,0.2);
  filter: brightness(1.05);
}
.btn:active { transform: translateY(0); box-shadow: 0 1px 4px rgba(99,102,241,0.25); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-strong);
  color: var(--text-secondary);
  box-shadow: none;
}
.btn-outline:hover:not(:disabled) {
  border-color: var(--accent-mid);
  color: var(--accent);
  background: var(--accent-light);
  box-shadow: none;
}

.btn-sm { width: auto; padding: 8px 16px; font-size: 12px; border-radius: var(--r-sm); }

.btn-green {
  background: linear-gradient(135deg, #059669 0%, var(--green) 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(16,185,129,0.3), 0 1px 2px rgba(16,185,129,0.2);
}
.btn-green:hover:not(:disabled) { box-shadow: 0 5px 18px rgba(16,185,129,0.38); filter: brightness(1.06); }
.btn-green:active { transform: translateY(1px); box-shadow: 0 1px 5px rgba(16,185,129,0.2); }

.btn-red {
  background: linear-gradient(135deg, #dc2626 0%, var(--red) 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(239,68,68,0.3), 0 1px 2px rgba(239,68,68,0.2);
}
.btn-red:hover:not(:disabled) { box-shadow: 0 5px 18px rgba(239,68,68,0.38); filter: brightness(1.06); }
.btn-red:active { transform: translateY(1px); box-shadow: 0 1px 5px rgba(239,68,68,0.2); }

.btn-orange {
  background: linear-gradient(135deg, #d97706 0%, var(--orange) 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(245,158,11,0.25);
}
.btn-orange:hover:not(:disabled) { box-shadow: 0 4px 16px rgba(245,158,11,0.35); filter: brightness(1.06); }

.btn-purple {
  background: linear-gradient(135deg, #7c3aed 0%, var(--purple) 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(139,92,246,0.25);
}
.btn-purple:hover:not(:disabled) { box-shadow: 0 4px 16px rgba(139,92,246,0.35); filter: brightness(1.06); }

.login-error { color: var(--red); font-size: 13px; text-align: center; margin-top: -6px; margin-bottom: 10px; min-height: 18px; font-weight: 600; }

/* ── LAYOUT ── */
#mainApp { display: none; min-height: 100vh; }

.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; width: 252px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  z-index: 100;
  box-shadow: 1px 0 0 var(--border), 4px 0 24px rgba(15,23,42,0.04);
}

.sidebar-logo {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(99,102,241,0.05) 0%, transparent 100%);
}
.sidebar-logo img { width: 118px; height: auto; display: block; }
.sidebar-logo img.logo-white { filter: brightness(0) saturate(100%) invert(27%) sepia(90%) saturate(1500%) hue-rotate(225deg) brightness(85%); }

.nav-section {
  padding: 18px 18px 5px;
  font-size: 9px; font-weight: 800;
  color: var(--muted);
  text-transform: uppercase; letter-spacing: 1.8px;
}

.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  margin: 1px 8px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all .13s;
  color: var(--text-secondary);
  font-size: 13px; font-weight: 600;
}
.nav-item:hover { background: var(--accent-lighter); color: var(--accent); }
.nav-item.active {
  background: var(--accent-light);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(99,102,241,0.18);
}
.nav-item.active .nav-dot { background: var(--accent); }
.nav-dot { width: 5px; height: 5px; border-radius: 50%; background: transparent; transition: background .15s; flex-shrink: 0; }
.nav-item .icon { font-size: 15px; width: 20px; text-align: center; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-item .icon svg { width: 16px; height: 16px; }
.sidebar-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; padding-bottom: 4px; }
.sidebar-scroll::-webkit-scrollbar { width: 0; }

.sidebar-footer {
  padding: 12px;
  border-top: 1px solid var(--border);
  background: linear-gradient(0deg, rgba(99,102,241,0.02) 0%, transparent 100%);
}
.user-card {
  display: flex; align-items: center; gap: 10px; padding: 10px 11px;
  background: var(--surface2);
  border-radius: var(--r-md); cursor: pointer;
  transition: background .15s;
  border: 1px solid var(--border);
}
.user-card:hover { background: var(--accent-light); border-color: rgba(99,102,241,0.2); }
.avatar {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--accent), #818cf8);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.avatar.red-avatar { background: linear-gradient(135deg, var(--accent2), #fb7185); }
.user-info .name { font-size: 12px; font-weight: 700; color: var(--text); }
.user-info .role { font-size: 10px; color: var(--muted); font-weight: 500; margin-top: 1px; }

.main-content {
  margin-left: 252px; padding: 24px 28px;
  min-height: 100vh; position: relative; z-index: 1;
}
.page-header { margin-bottom: 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.page-header-left { flex: 1; min-width: 0; }
.page-header h2 {
  font-size: 20px; font-weight: 800; letter-spacing: -.3px;
  color: var(--text);
}
.page-header p { color: var(--muted); font-size: 12px; margin-top: 3px; font-weight: 500; }

/* ── CARDS ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px;
  box-shadow: var(--shadow);
}
.card-title { font-size: 14px; font-weight: 800; color: var(--text); margin-bottom: 16px; letter-spacing: -.1px; }

.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 20px; }

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px 20px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .18s, transform .18s;
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2.5px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.stat-card::after {
  content: ''; position: absolute; top: -10px; right: -10px; width: 70px; height: 70px;
  border-radius: 50%; transform: translate(20%, -20%);
  opacity: .06; pointer-events: none;
}
.stat-card.blue::before { background: linear-gradient(90deg, var(--accent), #818cf8); }
.stat-card.blue::after { background: var(--accent); }
.stat-card.green::before { background: linear-gradient(90deg, var(--green), #34d399); }
.stat-card.green::after { background: var(--green); }
.stat-card.red::before { background: linear-gradient(90deg, var(--red), #fb7185); }
.stat-card.red::after { background: var(--red); }
.stat-card.orange::before { background: linear-gradient(90deg, var(--orange), #fbbf24); }
.stat-card.orange::after { background: var(--orange); }
.stat-card.purple::before { background: linear-gradient(90deg, var(--purple), #a78bfa); }
.stat-card.purple::after { background: var(--purple); }

.stat-label { font-size: 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.stat-value {
  font-size: 28px; font-weight: 800; margin: 6px 0 3px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text);
}
.stat-sub { font-size: 10px; color: var(--muted); font-weight: 500; }
.stat-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 24px; opacity: .1; }

/* ── EMPLOYEE PORTAL ── */
.emp-absen-card {
  background: var(--card); border-radius: var(--r-xl); padding: 28px;
  text-align: center; margin-bottom: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.emp-absen-card::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.07), transparent 70%);
  pointer-events: none;
}
.emp-clock {
  font-family: 'JetBrains Mono', monospace;
  font-size: 52px; font-weight: 700;
  color: var(--accent); line-height: 1; margin-bottom: 4px;
  letter-spacing: -2px;
}
.emp-date { font-size: 13px; color: var(--muted); margin-bottom: 16px; letter-spacing: .5px; font-weight: 500; }

/* ── LOCATION ── */
.location-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--accent-lighter);
  border-radius: var(--r-md); padding: 12px 16px; margin-bottom: 16px;
  border: 1px solid var(--border);
  text-align: left;
}
.location-icon { font-size: 20px; flex-shrink: 0; }
.location-info { flex: 1; min-width: 0; }
.location-info .addr { font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.location-info .coords { font-size: 10px; color: var(--muted); font-family: 'JetBrains Mono', monospace; margin-top: 2px; }
.geofence-ok { color: var(--green); font-weight: 700; font-size: 11px; flex-shrink: 0; }
.geofence-fail { color: var(--red); font-weight: 700; font-size: 11px; flex-shrink: 0; }

/* ── TABLE ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left; padding: 10px 16px;
  font-size: 10px; font-weight: 800;
  color: var(--muted); text-transform: uppercase; letter-spacing: 1.2px;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}
td {
  padding: 13px 16px; font-size: 13px;
  border-bottom: 1px solid var(--border);
  color: var(--text); font-weight: 500;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--accent-lighter); }

/* ── BADGES ── */
.badge { display: inline-block; padding: 3px 10px; border-radius: 5px; font-size: 10px; font-weight: 700; letter-spacing: .4px; }
.badge-green { background: var(--green-light); color: #065f46; border: 1px solid rgba(16,185,129,.2); }
.badge-red { background: var(--red-light); color: #991b1b; border: 1px solid rgba(239,68,68,.2); }
.badge-orange { background: var(--orange-light); color: #92400e; border: 1px solid rgba(245,158,11,.2); }
.badge-blue { background: var(--accent-light); color: #3730a3; border: 1px solid rgba(99,102,241,.2); }
.badge-purple { background: var(--purple-light); color: #5b21b6; border: 1px solid rgba(139,92,246,.2); }

/* ── FILTER BAR ── */
.filter-bar { display: flex; gap: 10px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.filter-bar select, .filter-bar input {
  padding: 8px 13px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 500;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.filter-bar select:focus, .filter-bar input:focus {
  border-color: var(--accent-mid);
  box-shadow: var(--glow);
}

/* ── FORM GRIDS ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* ── TABS ── */
.content-tabs {
  display: flex; gap: 2px; margin-bottom: 24px;
  border-bottom: 1.5px solid var(--border);
}
.content-tab {
  padding: 10px 18px; cursor: pointer;
  font-size: 12px; font-weight: 700;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: all .15s;
  margin-bottom: -1.5px;
  letter-spacing: .4px; text-transform: uppercase;
}
.content-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.content-tab:hover:not(.active) { color: var(--text-secondary); border-bottom-color: var(--border-strong); }

/* ── PAGES ── */
.page { display: none; }
.page.active { display: block; }

/* ── OFFICE CARDS ── */
.office-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 16px; }
.office-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 20px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .18s, transform .18s;
}
.office-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.office-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), #818cf8);
}
.office-card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.office-name { font-weight: 800; font-size: 14px; color: var(--text); }
.office-city { font-size: 11px; color: var(--muted); margin-top: 2px; font-weight: 500; }
.office-detail { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 6px; font-weight: 500; }
.office-detail span { color: var(--text); font-weight: 600; }
.office-actions { display: flex; gap: 8px; margin-top: 16px; }

/* ── EMPLOYEE CARDS ── */
.emp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 12px; }
.emp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 14px 16px;
  display: flex; gap: 12px; align-items: flex-start;
  box-shadow: var(--shadow);
  transition: box-shadow .18s, transform .18s;
}
.emp-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* Icon action buttons inside emp card */
.btn-icon-edit, .btn-icon-del {
  width: 30px; height: 30px; border-radius: var(--r-sm);
  border: 1px solid var(--border); cursor: pointer;
  font-size: 13px; display: flex; align-items: center; justify-content: center;
  transition: all .13s; background: var(--surface2);
}
.btn-icon-edit:hover { background: var(--accent-light); border-color: var(--accent-mid); }
.btn-icon-del:hover  { background: var(--red-light); border-color: var(--red); }
.emp-avatar {
  width: 48px; height: 48px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--accent), #818cf8);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.emp-name { font-weight: 700; font-size: 14px; color: var(--text); }
.emp-role { font-size: 11px; color: var(--muted); margin-top: 2px; font-weight: 500; }
.emp-office { font-size: 11px; color: var(--accent); margin-top: 4px; font-weight: 700; }
.emp-id-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  background: var(--accent-light);
  color: var(--accent); padding: 2px 8px;
  border-radius: 4px; font-weight: 700; margin-top: 4px;
  border: 1px solid rgba(99,102,241,.2);
}
.emp-stats { display: flex; gap: 12px; margin-top: 8px; }
.emp-stat-item { font-size: 11px; color: var(--muted); font-weight: 500; }
.emp-stat-item span { display: block; font-size: 14px; font-weight: 700; color: var(--text); }

/* ── CHART ── */
.chart-wrap { height: 160px; display: flex; align-items: flex-end; gap: 8px; padding: 0 4px; }
.bar-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bar {
  width: 100%; border-radius: 4px 4px 0 0;
  transition: height .5s cubic-bezier(.4,0,.2,1); min-height: 4px;
  background: linear-gradient(180deg, var(--accent), rgba(99,102,241,.25));
}
.bar-label { font-size: 10px; color: var(--muted); font-weight: 600; letter-spacing: .5px; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(15,23,42,.25);
  backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
}
.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 28px;
  width: 560px; max-width: 95vw; max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp .3s cubic-bezier(.16,1,.3,1);
}
.modal-title {
  font-size: 16px; font-weight: 800;
  margin-bottom: 20px; color: var(--text);
  letter-spacing: -.2px;
}
.modal-actions { display: flex; gap: 12px; margin-top: 24px; }

/* ── SELFIE / CAMERA ── */
.selfie-preview { width: 80px; height: 80px; border-radius: var(--r-sm); object-fit: cover; border: 1px solid var(--border); }
.camera-modal {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15,23,42,.4); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
}
.camera-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 24px;
  width: 480px; max-width: 95vw;
  box-shadow: var(--shadow-xl);
}
.camera-box h3 {
  font-size: 15px; font-weight: 800;
  margin-bottom: 16px; text-align: center;
  color: var(--text); letter-spacing: -.1px;
}
#videoEl { width: 100%; border-radius: var(--r-md); background: #0f172a; display: block; transform: scaleX(-1); }
#canvasEl { display: none; }
.camera-btns { display: flex; gap: 12px; margin-top: 16px; }
.camera-btns .btn { flex: 1; }

/* ── NOTIFICATION ── */
.notification {
  position: fixed; top: 20px; right: 20px; z-index: 9999;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: slideIn .3s cubic-bezier(.16,1,.3,1);
  max-width: 340px;
}
@keyframes slideIn { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── MOBILE TOGGLE ── */
.mobile-toggle {
  display: none; position: fixed; top: 16px; left: 16px; z-index: 200;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 8px 12px;
  cursor: pointer; font-size: 16px; box-shadow: var(--shadow);
}

/* ── BOTTOM NAV ── */
.bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 20px rgba(15,23,42,.07), 0 -1px 0 rgba(99,102,241,.06);
  padding: 0; padding-bottom: env(safe-area-inset-bottom);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.bottom-nav-inner { display: flex; align-items: stretch; justify-content: space-around; height: 60px; }
.bottom-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  cursor: pointer; border: none; background: none; padding: 0;
  color: var(--muted); transition: color .15s, transform .1s;
  font-family: 'Plus Jakarta Sans', sans-serif; min-width: 0; position: relative;
}
.bottom-nav-item:active { transform: scale(.92); }
.bottom-nav-item.active { color: var(--accent); }
.bottom-nav-item .bn-icon { font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.bottom-nav-item .bn-icon svg { width: 20px; height: 20px; transition: all .15s; }
.bottom-nav-item.active .bn-icon svg { filter: drop-shadow(0 0 5px rgba(99,102,241,.45)); }
.bottom-nav-item .bn-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; padding: 0 2px; }
.bottom-nav-item.active::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 2.5px; border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-mid));
  box-shadow: 0 0 8px rgba(99,102,241,.5);
}

/* ── MORE MENU ── */
.bottom-more-menu {
  display: none; position: fixed; bottom: 62px; left: 0; right: 0; z-index: 199;
  background: rgba(255,255,255,.98);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(15,23,42,.08);
  padding: 8px 0; max-height: 60vh; overflow-y: auto;
  backdrop-filter: blur(20px);
}
.bottom-more-menu.open { display: block; }
.bottom-more-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 20px; cursor: pointer;
  font-size: 13px; font-weight: 600;
  color: var(--text); transition: background .12s;
}
.bottom-more-item:hover, .bottom-more-item.active { background: var(--accent-light); color: var(--accent); }
.bottom-more-item .bmi-icon { font-size: 16px; width: 24px; text-align: center; flex-shrink: 0; display: flex; align-items: center; }
.bottom-more-item .bmi-icon svg { width: 18px; height: 18px; }
.bottom-more-overlay { display: none; position: fixed; inset: 0; z-index: 198; }
.bottom-more-overlay.open { display: block; }

/* ── WHATSAPP BUTTON ── */
.wa-help-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 400;
  background: #25d366; color: #fff; border: none; border-radius: 50px;
  padding: 12px 18px; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
  transition: all .18s; text-decoration: none;
}
.wa-help-btn:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,211,102,.45); }
.wa-help-btn svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }

/* ── ABSENSI FILTER BAR ── */
.absensi-filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 16px; flex-wrap: wrap;
}
.absensi-filter-selects {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.absensi-filter-selects .form-control {
  width: auto; padding: 7px 12px; font-size: 12px;
}

/* ── REKAP FILTER BAR ── */
.rekap-filter-bar {
  display: flex; align-items: flex-end; gap: 10px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.rekap-filters {
  display: flex; gap: 8px; flex: 1; flex-wrap: wrap;
}
.rekap-filters .form-control { flex: 1; min-width: 120px; font-size: 13px; }
.rekap-filter-btn { flex-shrink: 0; }

/* ── KARYAWAN TOOLBAR ── */
.karyawan-toolbar {
  display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; align-items: center;
}
.karyawan-search { flex: 1; min-width: 160px; }
.karyawan-filter { width: auto; min-width: 140px; }
.karyawan-add-btn { flex-shrink: 0; }

/* ── SETTINGS JAM GRID ── */
.settings-jam-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── RESPONSIVE ── */
@media(max-width:768px) {
  .sidebar { display: none!important; }
  .mobile-toggle { display: none!important; }
  .bottom-nav { display: block; }
  .main-content { margin-left: 0; padding: 12px 12px 80px; }

  /* ── Dashboard ── */
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-value { font-size: 22px; }
  .stat-label { font-size: 9px; }
  .stat-sub   { font-size: 9px; }
  .stat-icon  { font-size: 20px; }
  /* Stack chart & recent activity vertically */
  .dash-grid-main { grid-template-columns: 1fr!important; gap: 12px!important; }

  /* ── Absensi filter ── */
  .absensi-filter-bar { flex-direction: column; align-items: stretch; gap: 8px; }
  .absensi-filter-selects { flex-direction: column; }
  .absensi-filter-selects .form-control { width: 100%; }

  /* ── Rekap ── */
  .rekap-filter-bar { flex-direction: column; align-items: stretch; }
  .rekap-filters { flex-direction: column; }
  .rekap-filters .form-control { width: 100%; min-width: unset; }
  .rekap-filter-btn { width: 100%; }

  /* ── Karyawan toolbar ── */
  .karyawan-toolbar { flex-direction: column; }
  .karyawan-search, .karyawan-filter, .karyawan-add-btn { width: 100%; }

  /* ── Employee cards ── */
  .emp-grid { grid-template-columns: 1fr; gap: 8px; }
  .emp-card { padding: 12px 14px; }

  /* ── Settings ── */
  .settings-jam-grid { grid-template-columns: 1fr!important; }
  .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
  .setting-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; }
  .setting-tab { flex-shrink: 0; font-size: 10px; padding: 9px 12px; }

  /* ── Cards & Layout ── */
  .card { padding: 14px; border-radius: var(--r-md); }
  .office-grid { grid-template-columns: 1fr; }

  /* ── Page header ── */
  .page-header { flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
  .page-header h2 { font-size: 17px; }
  .page-header p  { font-size: 11px; }
  .page-header .btn, .page-header .btn-sm { width: 100%; }

  /* ── Laporan grid ── */
  #page-laporan > div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr!important; }
  #page-laporan .card [style*="grid-template-columns:1fr 1fr 1fr auto"] { grid-template-columns: 1fr 1fr!important; }

  /* ── Table ── */
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
  table { font-size: 11px; min-width: 480px; }
  td, th { padding: 8px 8px; }

  /* ── Content tabs ── */
  .content-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .content-tab { flex-shrink: 0; font-size: 11px; padding: 9px 14px; }

  /* ── Modals ── */
  .modal-box { padding: 16px; border-radius: var(--r-lg); margin: 0 8px; max-height: 92vh; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; }

  /* ── Camera ── */
  .camera-box { padding: 14px; width: calc(100vw - 24px); max-width: 100%; }
  .camera-btns { flex-direction: column; gap: 8px; }
  .camera-btns .btn { width: 100%; padding: 13px; }

  /* ── Employee portal ── */
  .emp-absen-card { padding: 18px 14px; border-radius: var(--r-lg); margin-bottom: 12px; }
  .emp-clock { font-size: 38px; letter-spacing: -1px; }
  .emp-date { font-size: 11px; margin-bottom: 12px; }
  .absen-btn-large { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
  .absen-btn-large .btn { padding: 14px 8px; font-size: 13px; }
  .emp-week-grid-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  #empWeekGrid { min-width: 320px; }
  .emp-portal-hero { padding: 16px 14px; margin-bottom: 12px; }
  .emp-portal-hero h2 { font-size: 17px; }
  .status-badge { font-size: 11px; padding: 5px 12px; }

  /* ── Leave ── */
  .leave-type-grid { gap: 8px; }
  .leave-type-btn { padding: 12px 6px; }
  .leave-card { flex-direction: column; align-items: flex-start; }
  .leave-actions { align-self: stretch; flex-direction: row; flex-wrap: wrap; }
  .leave-actions .btn-sm { flex: 1; min-width: 80px; }

  /* ── Buttons ── */
  .btn-sm { padding: 9px 14px; font-size: 12px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-bar select, .filter-bar input, .filter-bar .btn, .filter-bar .btn-sm { width: 100%; }

  /* ── History summary ── */
  #empHistorySummary { grid-template-columns: 1fr 1fr!important; gap: 8px!important; }
  #page-emp-profil > div { grid-template-columns: 1fr!important; }

  /* ── WA & bottom nav ── */
  .wa-help-btn { bottom: 80px; right: 12px; padding: 11px 13px; font-size: 11px; }
  .bottom-nav-item .bn-label { font-size: 9px; }
}

@media(max-width:400px) {
  .main-content { padding: 10px 10px 80px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .stat-value { font-size: 18px; }
  .stat-icon  { font-size: 18px; }
  .emp-clock { font-size: 32px; }
  .emp-portal-hero { padding: 12px; }
  .emp-portal-hero h2 { font-size: 15px; }
  .login-card { padding: 24px 14px; }
  .absen-btn-large .btn { padding: 12px 6px; font-size: 12px; }
  .emp-absen-card { padding: 14px 12px; }
  .card { padding: 12px; }
  .bottom-nav-item .bn-label { font-size: 8px; letter-spacing: .3px; }
  #empHistorySummary { grid-template-columns: 1fr 1fr!important; }
  .karyawan-toolbar { gap: 8px; }
  .rekap-filter-bar { gap: 8px; }
}

/* ── SETTINGS TABS ── */
.setting-tabs {
  display: flex; gap: 2px; margin-bottom: 24px;
  border-bottom: 1.5px solid var(--border);
}
.setting-tab {
  padding: 10px 18px; cursor: pointer;
  font-size: 12px; font-weight: 700;
  color: var(--muted); border-bottom: 2px solid transparent;
  transition: all .15s; margin-bottom: -1.5px;
  letter-spacing: .5px; text-transform: uppercase;
}
.setting-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.setting-tab:hover:not(.active) { color: var(--text-secondary); }
.setting-page { display: none; }
.setting-page.active { display: block; }

/* ── DIVISI CHIPS ── */
.divisi-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.divisi-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  background: var(--accent-light);
  border: 1px solid rgba(99,102,241,.2);
  border-radius: 6px; font-size: 12px; font-weight: 700;
  color: var(--accent); letter-spacing: .4px;
  transition: background .12s;
}
.divisi-chip:hover { background: rgba(99,102,241,.12); }
.divisi-chip .chip-del { cursor: pointer; color: var(--muted); font-size: 16px; line-height: 1; transition: color .12s; }
.divisi-chip .chip-del:hover { color: var(--red); }
.divisi-chip .chip-edit { cursor: pointer; color: var(--muted); font-size: 13px; transition: color .12s; }
.divisi-chip .chip-edit:hover { color: var(--accent); }

/* ── LEAVE CARDS ── */
.leave-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px;
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 10px; transition: box-shadow .15s, transform .15s;
}
.leave-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.leave-card .leave-icon { width: 44px; height: 44px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.leave-icon.izin { background: var(--orange-light); }
.leave-icon.cuti { background: var(--accent-light); }
.leave-icon.sakit { background: var(--red-light); }
.leave-meta { flex: 1; }
.leave-meta .leave-name { font-weight: 700; font-size: 13px; }
.leave-meta .leave-type { font-size: 11px; color: var(--muted); margin-top: 2px; font-weight: 500; }
.leave-meta .leave-dates { font-size: 11px; font-family: 'JetBrains Mono', monospace; color: var(--text); margin-top: 6px; }
.leave-meta .leave-reason { font-size: 12px; color: var(--text-secondary); margin-top: 6px; font-style: italic; }
.leave-actions { display: flex; gap: 8px; flex-shrink: 0; align-self: center; }

/* ── LEAVE STATUS BADGES ── */
.status-badge-leave { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 5px; font-size: 10px; font-weight: 700; letter-spacing: .4px; }
.leave-pending { background: var(--orange-light); color: #92400e; border: 1px solid rgba(245,158,11,.2); }
.leave-approved { background: var(--green-light); color: #065f46; border: 1px solid rgba(16,185,129,.2); }
.leave-rejected { background: var(--red-light); color: #991b1b; border: 1px solid rgba(239,68,68,.2); }

/* ── EMP LEAVE FORM ── */
.leave-type-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 4px; }
.leave-type-btn {
  padding: 14px 10px; border: 1.5px solid var(--border);
  border-radius: var(--r-md); text-align: center;
  cursor: pointer; transition: all .15s;
  background: var(--surface2);
}
.leave-type-btn:hover { border-color: var(--accent-mid); background: var(--accent-light); }
.leave-type-btn.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: inset 0 0 0 1px rgba(99,102,241,.15);
}
.leave-type-btn .lt-icon { font-size: 24px; display: block; margin-bottom: 6px; }
.leave-type-btn .lt-label { font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--text-secondary); }
.leave-type-btn.selected .lt-label { color: var(--accent); }

/* ── COORD HINTS ── */
.coord-group { position: relative; }
.coord-hint { font-size: 11px; color: var(--muted); margin-top: 6px; font-weight: 500; }
.coord-hint a { color: var(--accent); text-decoration: none; font-weight: 600; }
.coord-hint a:hover { text-decoration: underline; }
.section-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

/* ── EMPLOYEE PORTAL HERO ── */
.emp-portal-hero {
  background: linear-gradient(135deg, rgba(99,102,241,0.09) 0%, rgba(59,130,246,0.05) 100%);
  border: 1px solid rgba(99,102,241,0.16);
  border-radius: var(--r-lg); padding: 20px 20px 18px;
  margin-bottom: 16px;
  position: relative; overflow: hidden;
}
.emp-portal-hero::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.1), transparent 70%);
  pointer-events: none;
}
.emp-portal-hero::after {
  content: ''; position: absolute; bottom: -40px; left: -20px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.07), transparent 70%);
  pointer-events: none;
}
.emp-portal-hero h2 { font-size: 19px; font-weight: 800; margin-bottom: 2px; position: relative; z-index: 1; color: var(--text); }
.emp-portal-hero p { font-size: 12px; color: var(--text-secondary); position: relative; z-index: 1; font-weight: 500; }
.greeting-time { font-size: 11px; font-weight: 700; color: var(--accent); margin-bottom: 6px; position: relative; z-index: 1; letter-spacing: .3px; }

/* ── FAQ ITEMS ── */
.faq-item { padding: 14px; background: var(--surface2); border-radius: var(--r-sm); border: 1px solid var(--border); margin-bottom: 8px; }
.faq-item h4 { font-size: 12px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.faq-item p { font-size: 12px; color: var(--text-secondary); line-height: 1.6; font-weight: 500; }

/* ── MISC REFINEMENTS ── */
code {
  background: var(--accent-light);
  padding: 1px 6px; border-radius: 4px;
  color: var(--accent); font-family: 'JetBrains Mono', monospace;
  font-size: .9em;
}

hr { border: none; border-top: 1px solid var(--border); }

/* Inline styles override for muted text */
[style*="color:var(--muted)"] { font-weight: 500; }

/* Clock override for monospace sections */
.clock-display {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2px;
}

/* Shift hari picker checkboxes */
#shiftHariPicker label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  cursor: pointer; transition: all .12s;
  font-size: 12px; font-weight: 600; color: var(--text-secondary);
  background: var(--surface2);
}
#shiftHariPicker label:hover { border-color: var(--accent-mid); color: var(--accent); background: var(--accent-light); }
#shiftHariPicker input[type=checkbox] { accent-color: var(--accent); }

/* Accent-colored checkboxes */
input[type=checkbox] { accent-color: var(--accent); }

/* Focus visible */
:focus-visible { outline: 2px solid var(--accent-mid); outline-offset: 2px; }


.absen-btn-large{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;}
.absen-btn-large .btn{min-width:unset;padding:16px 12px;font-size:14px;border-radius:var(--r-md);}

/* History card for employee */
.history-item{display:flex;gap:12px;align-items:flex-start;padding:14px;background:var(--surface2);border-radius:var(--r-md);border:1px solid var(--border);margin-bottom:8px;transition:box-shadow .15s;}
.history-item:hover{box-shadow:var(--shadow);}
.history-date-box{width:44px;height:44px;border-radius:var(--r-sm);background:var(--accent-light);display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;border:1px solid rgba(99,102,241,.2);}
.history-date-box .day{font-size:16px;font-weight:700;color:var(--accent);line-height:1;font-family:'JetBrains Mono',monospace;}
.history-date-box .month{font-size:8px;font-weight:700;color:var(--accent);opacity:.8;text-transform:uppercase;letter-spacing:.5px;}
.history-times{flex:1;min-width:0;}
.history-times .name{font-weight:700;font-size:13px;color:var(--text);}
.history-times .times{font-size:11px;color:var(--muted);margin-top:2px;font-family:'JetBrains Mono',monospace;font-weight:500;}

/* STATUS BADGE */
.status-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 14px;border-radius:50px;font-size:11px;font-weight:700;letter-spacing:.3px;}
.status-badge.hadir{background:var(--green-light);color:#065f46;border:1px solid rgba(16,185,129,.2);}
.status-badge.belum{background:var(--orange-light);color:#92400e;border:1px solid rgba(245,158,11,.2);}
.status-badge.terlambat{background:var(--red-light);color:#991b1b;border:1px solid rgba(239,68,68,.2);}
.dot{width:6px;height:6px;border-radius:50%;background:currentColor;display:inline-block;flex-shrink:0;}
.dot.pulse{animation:pulse 2s infinite;}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35;}}

/* BANTUAN SECTION IN PROFILE */
.help-section{margin-top:20px;}
.faq-item{padding:14px;background:var(--surface2);border-radius:var(--r-sm);border:1px solid var(--border);margin-bottom:8px;}
.faq-item h4{font-size:12px;font-weight:700;color:var(--text);margin-bottom:5px;}
.faq-item p{font-size:12px;color:var(--text-secondary);line-height:1.7;font-weight:500;}

