/* ============================================================
   VAGT Security Services — Shared Stylesheet
   Palette: Deep Navy · Warm White · Amber
   ============================================================ */

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

/* === TOKENS === */
:root {
  --navy:        #0D1F3C;
  --navy-600:    #152E54;
  --navy-400:    #1D3D6B;
  --amber:       #F5C400;
  --amber-dark:  #D9AE00;
  --amber-soft:  rgba(245,196,0,0.10);
  --red:         #C41E1E;
  --warm-white:  #F7F6F2;
  --warm-grey:   #EDEBE5;
  --white:       #FFFFFF;
  --text:        #111827;
  --text-mid:    #374151;
  --text-muted:  #6B7280;
  --text-faint:  #9CA3AF;
  --border:      #E4E2DB;
  --sidebar-w:   260px;
  --font:        'Inter', sans-serif;
  --green-soft:  rgba(0,150,80,0.08);
  --green:       #009650;
}

/* === ANIMATIONS === */
@keyframes fadeInContent {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--warm-white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* === LAYOUT === */
.layout { display: flex; min-height: 100vh; }

/* ── SIDEBAR ── */
.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: var(--navy);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 50;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-brand {
  padding: 26px 22px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
}
.logo-svg { width: 42px; height: 42px; flex-shrink: 0; }
.logo-text-block { display: flex; flex-direction: column; }
.logo-wordmark {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 3px;
  line-height: 1;
  color: var(--white);
}
.logo-sub {
  font-size: 9px;
  color: rgba(255,255,255,0.62);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 3px;
}
.pronunciation {
  font-size: 10px;
  color: rgba(255,255,255,0.42);
  line-height: 1.6;
  letter-spacing: 0.2px;
}
.pronunciation em { font-style: normal; color: rgba(245,196,0,0.75); }

/* Portal logins */
.sidebar-portals {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.portal-btn {
  flex: 1;
  padding: 9px 10px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.52);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: center;
  transition: color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.portal-btn:first-child { border-right: 1px solid rgba(255,255,255,0.06); }
.portal-btn:hover { color: var(--amber); background: rgba(245,196,0,0.05); }
.portal-btn svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2; opacity: 0.7; }

/* Nav */
.sidebar-nav { flex: 1; padding: 14px 0; }
.nav-group-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.62);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px 22px 4px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.nav-link:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.nav-link.active { color: var(--amber); background: rgba(245,196,0,0.07); }
.nav-link.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--amber);
}
.nav-link svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; flex-shrink: 0; opacity: 0.65; }
.nav-link.active svg, .nav-link:hover svg { opacity: 1; }
.nav-badge {
  margin-left: auto;
  font-size: 8px;
  font-weight: 700;
  background: rgba(245,196,0,0.15);
  color: var(--amber);
  padding: 2px 7px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Sidebar footer */
.sidebar-footer {
  padding: 16px 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.sidebar-footer-label {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.sidebar-footer p { font-size: 11px; color: rgba(255,255,255,0.48); line-height: 1.9; }
.sidebar-footer a { color: rgba(255,255,255,0.52); transition: color 0.2s; }
.sidebar-footer a:hover { color: var(--amber); }

/* ── MAIN ── */
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ── HERO (homepage) ── */
.hero {
  min-height: 100vh;
  /* Replace with: background: linear-gradient(rgba(13,31,60,0.82),rgba(13,31,60,0.82)), url('../assets/images/hero-guard.jpg') center/cover; */
  background-image:
    radial-gradient(ellipse at 75% 40%, rgba(29,61,107,0.55) 0%, transparent 60%),
    linear-gradient(155deg, #0D1F3C 0%, #1A3461 55%, #0D1F3C 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 56px;
}
.hero::before {
  content: 'VAGT';
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  font-size: 300px;
  font-weight: 900;
  color: rgba(255,255,255,0.022);
  letter-spacing: -8px;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--amber), transparent);
  opacity: 0.4;
}
.hero-content { max-width: 600px; position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,196,0,0.08);
  border: 1px solid rgba(245,196,0,0.2);
  color: var(--amber);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--amber);
  border-radius: 50%;
}

/* Pronunciation display */
.hero-brand-display {
  font-size: clamp(80px, 11vw, 130px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -4px;
  margin-bottom: 10px;
}
.hb-va { color: var(--white); }
.hb-g  {
  color: rgba(245,196,0,0.3);
  font-size: 0.58em;
  letter-spacing: -3px;
  vertical-align: 0.12em;
}
.hb-t  { color: var(--white); }
.hero-pron-note {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.8px;
  margin-bottom: 36px;
  font-style: italic;
}
.hero-pron-note em { font-style: normal; color: rgba(245,196,0,0.5); }

.hero h1 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}
.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 460px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── STAT STRIP ── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid var(--amber);
}
.stat-cell {
  background: var(--white);
  padding: 26px 28px;
  border-right: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; }
.stat-value {
  font-size: 34px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -1px;
}
.stat-value sup { font-size: 16px; vertical-align: super; letter-spacing: 0; }
.stat-label { font-size: 11.5px; color: var(--text-muted); margin-top: 5px; font-weight: 500; line-height: 1.4; }

/* ── SECTIONS ── */
.section { padding: 68px 56px; }
.section-sm { padding: 48px 56px; }
.section + .section { border-top: 1px solid var(--border); }
.section.section-dark { background: var(--navy); border-top: none; }

.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--amber);
  flex-shrink: 0;
}
.section-title {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-dark .section-title { color: var(--white); }
.section-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.78;
}
.section-dark .section-sub { color: rgba(255,255,255,0.68); }
.section-head { margin-bottom: 44px; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 30px 26px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(13,31,60,0.08);
  transform: translateY(-2px);
  border-color: rgba(13,31,60,0.12);
}
.card-dark {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}
.card-dark:hover { border-color: rgba(245,196,0,0.28); }

.service-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.card-dark .service-icon { background: rgba(245,196,0,0.1); }
.service-icon svg { width: 20px; height: 20px; stroke: var(--amber); fill: none; stroke-width: 1.8; }

.card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.card-dark h3 { color: var(--white); }
.card > p { font-size: 13.5px; color: var(--text-muted); line-height: 1.72; margin-bottom: 18px; }
.card-dark > p { color: rgba(255,255,255,0.68); }

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: gap 0.2s;
}
.card-link:hover { gap: 10px; }
.card-link svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.2; }

.coming-badge {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 9px;
  margin-bottom: 14px;
}

/* ── GRIDS ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }

/* ── DIFFERENTIATORS ── */
.diff-item {
  display: flex;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.diff-item:last-child { border-bottom: none; }
.diff-num {
  font-size: 42px;
  font-weight: 900;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  min-width: 60px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.diff-item h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.diff-item p { font-size: 13.5px; color: rgba(255,255,255,0.68); line-height: 1.72; }

/* Light diff (for non-dark sections) */
.diff-light .diff-item { border-bottom-color: var(--border); }
.diff-light .diff-num { color: rgba(13,31,60,0.06); }
.diff-light .diff-item h4 { color: var(--navy); }
.diff-light .diff-item p { color: var(--text-muted); }

/* ── SERVICE LIST ── */
.svc-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.svc-list li {
  font-size: 13.5px;
  color: var(--text-mid);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.svc-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  background: var(--amber);
}
.svc-list-dark li { color: rgba(255,255,255,0.5); }
.svc-list-dark li::before { background: rgba(245,196,0,0.5); }

/* ── TAGS ── */
.tag {
  display: inline-block;
  background: var(--warm-grey);
  color: var(--text-mid);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── CLIENT GRID ── */
.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  margin-top: 28px;
}
.client-tile {
  background: var(--white);
  border: 1px solid var(--border);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mid);
  text-align: center;
  padding: 10px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.client-tile:hover { background: var(--navy); color: var(--amber); border-color: var(--navy); }
.client-tile-count {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
}
.client-tile-count:hover { background: var(--amber-dark); color: var(--navy); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 26px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: var(--amber-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-600); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.22); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5c; }
.btn-outline-navy { background: transparent; color: var(--navy); border: 1.5px solid rgba(13,31,60,0.25); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  background: var(--navy);
  padding: 60px 56px 48px;
  position: relative;
  overflow: hidden;
  animation: fadeInContent 0.6s ease-out;
}
.page-header::after {
  content: '';
  position: absolute;
  right: 56px; top: 50%;
  transform: translateY(-50%);
  width: 180px; height: 180px;
  border: 36px solid rgba(245,196,0,0.05);
  border-radius: 50%;
  pointer-events: none;
}
.page-header .section-label {
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--amber);
}
.page-header h1 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 14px;
}
.page-header p {
  font-size: 15px;
  color: rgba(255,255,255,0.68);
  max-width: 460px;
  line-height: 1.75;
}

/* ── PERSON CARD ── */
.person-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 30px 26px;
}
.person-avatar {
  width: 52px; height: 52px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  font-weight: 900;
  color: var(--amber);
  margin-bottom: 16px;
}
.person-card h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 3px; }
.person-role {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.person-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.72; }
.person-tags {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 10.5px;
  color: var(--text-faint);
  font-weight: 500;
}

/* ── CONTACT FORM ── */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 10.5px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font);
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-faint); }

/* Contact info blocks (dark bg version) */
.contact-block { margin-bottom: 26px; }
.contact-block h4 {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.contact-block p, .contact-block a { font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.8; }
.contact-block a:hover { color: var(--amber); }

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--amber);
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-strip h2, .cta-strip h3 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.3px;
  line-height: 1.25;
}
.cta-strip p { font-size: 13.5px; color: rgba(13,31,60,0.58); margin-top: 7px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy-600);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 26px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); }
.footer-nav { display: flex; gap: 22px; list-style: none; }
.footer-nav a { font-size: 11px; color: rgba(255,255,255,0.25); transition: color 0.2s; }
.footer-nav a:hover { color: var(--amber); }

/* ── MOBILE TOGGLE ── */
.mobile-nav-toggle {
  display: none;
  position: fixed;
  top: 14px; left: 14px;
  z-index: 60;
  width: 38px; height: 38px;
  background: var(--navy);
  align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
}
.mobile-nav-toggle svg { width: 18px; height: 18px; stroke: var(--white); fill: none; stroke-width: 2; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  :root { --sidebar-w: 0px; }
  .sidebar { transform: translateX(-260px); width: 260px; transition: transform 0.28s ease; }
  .sidebar.open { transform: translateX(0); box-shadow: 4px 0 32px rgba(0,0,0,0.35); }
  .main { margin-left: 0; }
  .mobile-nav-toggle { display: flex; }
  .hero { padding: 72px 24px 52px; min-height: auto; padding-top: 80px; }
  .hero::before { display: none; }
  .section, .section-sm { padding: 48px 24px; }
  .page-header { padding: 48px 24px 36px; }
  .cta-strip { padding: 40px 24px; flex-direction: column; align-items: flex-start; }
  .site-footer { padding: 22px 24px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2-1 { grid-template-columns: 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stat-strip { grid-template-columns: repeat(2,1fr); }
  .client-grid { grid-template-columns: repeat(3,1fr); }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-brand-display { font-size: 72px; letter-spacing: -2px; }
  .client-grid { grid-template-columns: repeat(2,1fr); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .clients-layout { grid-template-columns: 1fr; gap: 28px; }
}

/* ── CLIENTS LAYOUT (responsive 2-col) ── */
.clients-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .clients-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* ── DARK SECTION FORM OVERRIDES ── */
.section-dark .form-group label { color: rgba(255,255,255,0.38); }
.section-dark .form-group input,
.section-dark .form-group select,
.section-dark .form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.1);
  color: var(--white);
}
.section-dark .form-group input:focus,
.section-dark .form-group select:focus,
.section-dark .form-group textarea:focus {
  border-color: var(--amber);
  background: rgba(255,255,255,0.08);
}
.section-dark .form-group input::placeholder,
.section-dark .form-group textarea::placeholder { color: rgba(255,255,255,0.18); }
.section-dark .form-group select option { background: var(--navy-600); color: var(--white); }

/* ── STEP NUMBER CARD (surveillance) ── */
.step-num {
  width: 44px; height: 44px;
  background: rgba(245,196,0,0.1);
  border: 1px solid rgba(245,196,0,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; color: var(--amber);
  margin-bottom: 18px; flex-shrink: 0;
  letter-spacing: -0.5px;
}

/* ── STAT INFO STACK (surveillance sidebar) ── */
.stat-info-stack { display: flex; flex-direction: column; gap: 10px; }
.stat-info-box {
  background: var(--amber);
  padding: 18px 20px;
}
.stat-info-box .stat-value {
  font-size: 26px; font-weight: 900; color: var(--navy);
  line-height: 1; letter-spacing: -1px;
}
.stat-info-box .stat-label {
  font-size: 11px; color: rgba(13,31,60,0.58);
  margin-top: 4px; font-weight: 500; line-height: 1.4;
}

/* ── DIFF ITEM HEADING (fix both h4 and h3 targets) ── */
.diff-item h4, .diff-item h3 {
  font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 5px;
}
.diff-light .diff-item h4, .diff-light .diff-item h3 { color: var(--navy); }

/* ── HERO SOCIAL PROOF ── */
.hero-social-proof {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: rgba(255,255,255,0.55);
  margin-bottom: 28px; letter-spacing: 0.2px;
}
.proof-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #25D366; flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(37,211,102,0.25);
}

/* ── CLIENT LOGO GRID ── */
.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}
.client-logo-tile {
  background: white;
  display: flex; align-items: center; justify-content: center;
  padding: 28px 20px; min-height: 90px;
  transition: box-shadow 0.2s;
}
.client-logo-tile:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.client-logo-tile img {
  max-height: 52px; max-width: 140px;
  width: auto; height: auto; object-fit: contain;
  filter: grayscale(40%); opacity: 0.8;
  transition: filter 0.25s, opacity 0.25s;
}
.client-logo-tile:hover img { filter: grayscale(0%); opacity: 1; }
.ey-logo {
  font-family: Arial Black, sans-serif;
  font-size: 30px; font-weight: 900;
  color: #2E2E38; letter-spacing: -1px;
  opacity: 0.8; transition: opacity 0.25s;
}
.client-logo-tile:hover .ey-logo { opacity: 1; }

/* ── CTA STRIP ACTIONS (dual buttons) ── */
.cta-strip-actions {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start; flex-shrink: 0;
}
@media (max-width: 768px) {
  .cta-strip-actions { flex-direction: row; flex-wrap: wrap; }
  .client-logo-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── FLOATING WHATSAPP BUTTON ── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  background: #25D366; color: white;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none;
  font-size: 14px; font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: wa-pulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.55);
  animation: none;
}
.whatsapp-float-label { white-space: nowrap; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}
@media (max-width: 600px) {
  .whatsapp-float { bottom: 20px; right: 16px; padding: 12px 16px 12px 14px; }
  .whatsapp-float-label { display: none; }
  .whatsapp-float { border-radius: 50%; width: 56px; height: 56px; padding: 0; justify-content: center; }
}

/* ── REAL LOGO IMAGE IN SIDEBAR ── */
.logo-img-wrap {
  width: 48px; height: 48px; border-radius: 8px;
  background: var(--amber); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.logo-img {
  width: 42px; height: auto; object-fit: contain;
}

/* ══════════════════════════════════════════════
   PORTAL — shared login + dashboard styles
   ══════════════════════════════════════════════ */

/* Active portal button in sidebar */
.portal-btn-active {
  color: var(--amber) !important;
  background: rgba(245,196,0,0.09) !important;
  border-left: 2px solid var(--amber);
}
.portal-btn-active svg { opacity: 1 !important; }

/* ── LOGIN CARD ── */
.portal-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: var(--warm-white);
}
.portal-login-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(13,31,60,0.10);
}
.portal-login-header {
  background: var(--navy);
  padding: 36px 36px 30px;
  text-align: center;
}
.portal-login-icon {
  width: 52px; height: 52px;
  background: rgba(245,196,0,0.1);
  border: 1px solid rgba(245,196,0,0.22);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.portal-login-icon svg {
  width: 22px; height: 22px;
  stroke: var(--amber); fill: none; stroke-width: 1.8;
}
.portal-role-badge {
  display: inline-block;
  background: rgba(245,196,0,0.1);
  color: var(--amber);
  font-size: 9px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 12px; margin-bottom: 14px;
  border: 1px solid rgba(245,196,0,0.18);
}
.portal-login-header h2 {
  font-size: 20px; font-weight: 800;
  color: var(--white); margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.portal-login-header p {
  font-size: 13px;
  color: rgba(255,255,255,0.52);
  line-height: 1.65;
}
.portal-login-body { padding: 30px 36px 36px; }

/* Inline feedback */
.portal-error {
  background: rgba(196,30,30,0.07);
  border: 1px solid rgba(196,30,30,0.22);
  color: var(--red);
  font-size: 13px; padding: 12px 14px;
  margin-bottom: 16px; line-height: 1.5;
}
.portal-success-msg {
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.25);
  color: #0e8042;
  font-size: 13px; padding: 12px 14px;
  margin-top: 12px; line-height: 1.5;
}

/* ── EMPLOYEE: ATTENDANCE CARD ── */
.attendance-card {
  max-width: 540px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px 40px 36px;
  box-shadow: 0 4px 24px rgba(13,31,60,0.06);
}
.attendance-clock {
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 900; color: var(--navy);
  letter-spacing: -2px; line-height: 1;
  text-align: center; margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.attendance-date-label {
  font-size: 12px; color: var(--text-muted);
  text-align: center; margin-bottom: 28px;
  font-weight: 500;
}
.attendance-status-wrap {
  text-align: center; margin-bottom: 24px;
}
.attendance-status-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 7px 18px; border-radius: 100px;
}
.status-active  { background: rgba(37,211,102,0.12); color: #0e8042; border: 1px solid rgba(37,211,102,0.3); }
.status-idle    { background: rgba(245,196,0,0.12); color: #9a7d00; border: 1px solid rgba(245,196,0,0.3); }
.status-done    { background: rgba(13,31,60,0.07); color: var(--navy); border: 1px solid rgba(13,31,60,0.15); }
.status-unknown { background: var(--warm-grey); color: var(--text-muted); border: 1px solid var(--border); }

.attendance-actions {
  display: flex; gap: 12px; justify-content: center;
  margin-bottom: 28px;
}

/* Attendance log */
.attendance-log { border-top: 1px solid var(--border); padding-top: 22px; }
.attendance-log-label {
  font-size: 9px; font-weight: 700;
  color: var(--text-faint); text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 12px;
}
.attendance-log-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.attendance-log-item:last-child { border-bottom: none; }
.log-key { color: var(--text-muted); font-weight: 500; }
.log-val { color: var(--navy); font-weight: 700; }

/* ── CLIENT: COMPLAINTS ── */
.complaint-card {
  max-width: 640px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px;
  box-shadow: 0 4px 24px rgba(13,31,60,0.06);
}
.complaints-history { margin-top: 48px; }
.complaints-history-title {
  font-size: 9px; font-weight: 700;
  color: var(--text-faint); text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 16px;
}
.complaint-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.complaint-item:last-child { border-bottom: none; }
.complaint-item-id {
  font-size: 9px; font-weight: 700; color: var(--amber);
  text-transform: uppercase; letter-spacing: 1px;
  background: var(--amber-soft); padding: 3px 8px;
  white-space: nowrap; flex-shrink: 0; margin-top: 2px;
}
.complaint-item-body { flex: 1; min-width: 0; }
.complaint-item-subject {
  font-size: 14px; font-weight: 600; color: var(--navy);
  margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.complaint-item-meta {
  font-size: 11px; color: var(--text-muted);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.complaint-status-pill {
  display: inline-block; font-size: 9px; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase;
  padding: 2px 9px; border-radius: 100px;
}
.pill-open     { background: rgba(245,196,0,0.15); color: #9a7d00; }
.pill-resolved { background: rgba(37,211,102,0.1); color: #0e8042; }
.pill-progress { background: rgba(13,31,60,0.08); color: var(--navy); }
.pill-closed   { background: var(--warm-grey); color: var(--text-muted); }

/* Empty state */
.portal-empty-state {
  text-align: center; padding: 40px 20px;
  color: var(--text-faint); font-size: 13px; line-height: 1.7;
}
.portal-empty-state svg {
  display: block; margin: 0 auto 14px;
  stroke: var(--border); fill: none; stroke-width: 1.5;
}

/* Dashboard sign-out button in page-header */
.portal-signout {
  margin-top: 18px;
  font-size: 11px; padding: 8px 18px;
  display: inline-flex; align-items: center; gap: 7px;
}
.portal-signout svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── REGISTRATION: STEP INDICATOR ── */
.reg-step-indicator {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-top: 22px;
}
.rsi-step {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; flex-shrink: 0;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.3);
  border: 1.5px solid rgba(255,255,255,0.12);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.rsi-step.active { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.rsi-step.done   { background: rgba(37,211,102,0.2); color: #25D366; border-color: rgba(37,211,102,0.35); }
.rsi-line {
  width: 36px; height: 1px;
  background: rgba(255,255,255,0.1);
  transition: background 0.25s;
}
.rsi-line.done { background: rgba(37,211,102,0.3); }
.rsi-label-row {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; margin-top: 8px;
}
.rsi-label {
  width: 28px; text-align: center;
  font-size: 8.5px; font-weight: 600;
  color: rgba(255,255,255,0.2); text-transform: uppercase;
  letter-spacing: 0.5px; line-height: 1.3;
}
.rsi-label.active { color: var(--amber); }
.rsi-label.done   { color: rgba(37,211,102,0.6); }
/* spacer to align labels with lines */
.rsi-label-spacer { width: 36px; flex-shrink: 0; }

/* ── PHONE INPUT WITH +91 PREFIX ── */
.phone-input-wrap {
  display: flex;
}
.phone-prefix {
  padding: 12px 14px;
  background: var(--warm-grey);
  border: 1.5px solid var(--border);
  border-right: none;
  font-size: 14px; color: var(--text-mid);
  font-weight: 600; flex-shrink: 0;
  line-height: normal;
}
.phone-input-wrap input { border-left: none !important; flex: 1; }
.phone-input-wrap input:focus { border-left: 1.5px solid var(--navy) !important; }

/* ── OTP INPUT ── */
.otp-input {
  letter-spacing: 10px !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  text-align: center !important;
  font-variant-numeric: tabular-nums !important;
  padding: 14px 10px !important;
}

/* ── EMPLOYEE ID REVEAL BOX ── */
.employee-id-box {
  background: var(--navy);
  padding: 22px 24px; text-align: center;
  margin-bottom: 4px;
}
.employee-id-box-label {
  font-size: 9px; font-weight: 700;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 2.5px;
  margin-bottom: 12px;
}
.employee-id-box-value {
  font-size: 28px; font-weight: 900;
  color: var(--amber); letter-spacing: 4px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.employee-id-box-note {
  font-size: 11px; color: rgba(255,255,255,0.35);
  margin-top: 12px; line-height: 1.6;
}

/* ── FIELD HINT TEXT ── */
.field-hint {
  font-size: 11px; color: var(--text-faint);
  margin-top: 5px; display: block; line-height: 1.55;
}

/* ── DASHBOARD TAB NAVIGATION ── */
.dash-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  padding: 0 56px;
  background: var(--white);
  position: sticky; top: 0; z-index: 10;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.dash-tab {
  padding: 16px 22px;
  font-size: 13px; font-weight: 600;
  color: var(--text-muted); background: none; border: none;
  cursor: pointer; position: relative;
  transition: color 0.15s;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap; flex-shrink: 0;
}
.dash-tab svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; opacity: 0.7; }
.dash-tab:hover { color: var(--navy); }
.dash-tab.active { color: var(--navy); }
.dash-tab.active svg { opacity: 1; }
.dash-tab.active::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--amber);
}
@media (max-width: 900px) {
  .dash-tabs { padding: 0 16px; }
  .dash-tab  { padding: 14px 14px; font-size: 12px; }
}

/* ── LEAVE ITEM ── */
.leave-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.leave-item:last-child { border-bottom: none; }
.leave-item-type {
  font-size: 14px; font-weight: 700; color: var(--navy);
  flex: 1; min-width: 120px;
}
.leave-item-dates {
  font-size: 12px; color: var(--text-muted); font-weight: 500;
}

/* ── PAY SLIP ITEM ── */
.payslip-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.payslip-item:last-child { border-bottom: none; }
.payslip-period { font-size: 15px; font-weight: 700; color: var(--navy); flex: 1; }
.payslip-amount { font-size: 14px; font-weight: 600; color: var(--text-mid); min-width: 90px; }

/* ── INFO STRIP (leave balance etc) ── */
.info-strip {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; margin-bottom: 32px; max-width: 540px;
}
.info-strip-cell {
  background: var(--white); border: 1px solid var(--border);
  padding: 18px 16px; text-align: center;
}
.info-strip-value {
  font-size: 26px; font-weight: 900; color: var(--navy);
  letter-spacing: -1px; line-height: 1;
}
.info-strip-label {
  font-size: 10px; font-weight: 600; color: var(--text-muted);
  margin-top: 5px; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.3;
}

/* ── TRAINING MODULE GRID ── */
.training-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 680px;
}
@media (max-width: 640px) { .training-grid { grid-template-columns: 1fr; } }

.training-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 22px 20px;
  position: relative;
}
.training-card.coming-soon { opacity: 0.72; }
.training-card-icon {
  width: 38px; height: 38px;
  background: var(--warm-grey);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.training-card-icon svg { width: 17px; height: 17px; stroke: var(--navy); fill: none; stroke-width: 1.8; }
.training-card-title {
  font-size: 13.5px; font-weight: 800; color: var(--navy);
  margin-bottom: 6px; line-height: 1.35;
}
.training-card-desc {
  font-size: 12px; color: var(--text-muted); line-height: 1.65;
}
.training-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.training-card-duration { font-size: 11px; color: var(--text-faint); font-weight: 600; }
.training-badge-soon {
  font-size: 9.5px; font-weight: 700;
  background: var(--warm-grey); color: var(--text-muted);
  padding: 3px 9px; letter-spacing: 0.8px; text-transform: uppercase;
}
.training-coming-banner {
  background: var(--amber-soft);
  border: 1px solid rgba(245,196,0,0.25);
  padding: 14px 18px; max-width: 680px; margin-bottom: 28px;
  font-size: 13px; color: var(--text-mid); line-height: 1.65;
}

/* ── UNIFIED PORTAL: ROLE PICKER ── */
.role-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 4px;
}
@media (max-width: 600px) { .role-picker-grid { grid-template-columns: 1fr; } }

.role-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 16px 22px;
  border: 2px solid var(--border);
  background: var(--white);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
  text-align: center;
}
.role-card:hover { border-color: var(--navy); transform: translateY(-2px); }
.role-card-icon {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.role-card-icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.8; }
.role-card-label { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 5px; }
.role-card-sub   { font-size: 11px; color: var(--text-muted); line-height: 1.5; }
.role-card-arrow {
  margin-top: 16px; font-size: 18px; color: var(--amber);
  font-weight: 900; line-height: 1;
}

/* ── ADMIN DASHBOARD ── */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .admin-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .admin-stats { grid-template-columns: 1fr; } }

.admin-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px 20px;
}
.admin-stat-value {
  font-size: 38px; font-weight: 900; color: var(--navy);
  letter-spacing: -2px; line-height: 1; margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.admin-stat-label {
  font-size: 10px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
}
.admin-stat-sub { font-size: 11.5px; color: var(--text-faint); margin-top: 5px; }
.admin-stat-card.accent-green .admin-stat-value { color: #0e8042; }
.admin-stat-card.accent-amber .admin-stat-value { color: #b8860b; }
.admin-stat-card.accent-red   .admin-stat-value { color: #c0392b; }

/* ── ADMIN SECTION CARD ── */
.admin-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px 22px;
}
.admin-card-title {
  font-size: 10px; font-weight: 700; color: var(--text-faint);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 18px;
}

/* ── ADMIN ACTION ROW (registrations, leaves) ── */
.admin-action-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.admin-action-row:last-child { border-bottom: none; padding-bottom: 0; }
.admin-action-info { flex: 1; min-width: 140px; }
.admin-action-name { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.admin-action-meta { font-size: 11px; color: var(--text-muted); line-height: 1.55; }
.admin-action-btns { display: flex; gap: 8px; flex-shrink: 0; align-items: center; }

/* ── ACTIVITY FEED ── */
.activity-feed { max-width: 720px; }
.activity-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
}
.activity-item:last-child { border-bottom: none; }
.activity-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber); margin-top: 5px; flex-shrink: 0;
}
.activity-dot.dot-green { background: #0e8042; }
.activity-dot.dot-navy  { background: var(--navy); }
.activity-dot.dot-red   { background: #c0392b; }
.activity-dot.dot-grey  { background: var(--text-faint); }
.activity-body { flex: 1; }
.activity-text { font-size: 13px; color: var(--text-mid); line-height: 1.5; }
.activity-time { font-size: 11px; color: var(--text-faint); margin-top: 2px; }

/* ── FORGOT PASSWORD STEPS ── */
.forgot-step { display: none; }
.forgot-step.active { display: block; }

/* ═══════════════════════════════════
   ADMIN TABLE
═══════════════════════════════════ */
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th {
  font-size: 10px; font-weight: 700; color: var(--text-faint);
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 10px 14px; text-align: left;
  border-bottom: 2px solid var(--border); white-space: nowrap;
}
.admin-table td {
  padding: 11px 14px; border-bottom: 1px solid var(--border);
  color: var(--text-mid); vertical-align: middle;
  transition: background-color 0.15s ease;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr {
  transition: background-color 0.15s ease;
}
.admin-table tbody tr:hover td {
  background: var(--warm-grey);
}
.admin-table .col-id   { font-weight: 700; color: var(--navy); font-family: monospace; font-size: 12px; }
.admin-table .col-name { font-weight: 700; color: var(--navy); }
.admin-table .col-actions { white-space: nowrap; }

/* STATUS BADGES */
.status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 700;
  padding: 3px 10px; text-transform: uppercase; letter-spacing: 0.5px;
  white-space: nowrap;
}
.status-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; flex-shrink: 0;
}
.status-badge.badge-active   { color: #0e8042; background: rgba(14,128,66,0.1); }
.status-badge.badge-pending  { color: #b8860b; background: rgba(245,196,0,0.15); }
.status-badge.badge-inactive { color: var(--text-faint); background: var(--warm-grey); }
.status-badge.badge-open     { color: var(--navy); background: rgba(17,17,80,0.08); }
.status-badge.badge-progress { color: #b8860b; background: rgba(245,196,0,0.15); }
.status-badge.badge-resolved { color: #0e8042; background: rgba(14,128,66,0.1); }
.status-badge.badge-urgent   { color: #c0392b; background: rgba(192,57,43,0.08); }

/* ADMIN FILTER BAR */
.admin-filter-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 14px 16px;
  background: var(--warm-grey); border: 1px solid var(--border);
  margin-bottom: 2px;
}
.admin-filter-bar input[type="text"],
.admin-filter-bar select {
  font-size: 13px; padding: 8px 12px; border: 1px solid var(--border);
  background: var(--white); color: var(--navy); font-family: inherit; min-width: 0;
}
.admin-filter-bar input[type="text"] { flex: 1; min-width: 160px; }
.admin-filter-bar .filter-count { font-size: 12px; color: var(--text-muted); margin-left: auto; white-space: nowrap; }

/* PAGINATION */
.admin-pagination {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-top: 1px solid var(--border); margin-top: 4px; flex-wrap: wrap; gap: 10px;
}
.admin-pagination-info { font-size: 12px; color: var(--text-muted); }
.admin-pagination-btns { display: flex; gap: 6px; }

/* EMPLOYEE DETAIL MODAL */
.emp-detail-overlay {
  position: fixed; inset: 0; background: rgba(17,17,35,0.72);
  z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px 16px;
}
.emp-detail-modal {
  background: var(--white); max-width: 500px; width: 100%;
  max-height: 90vh; overflow-y: auto;
}
.emp-detail-header {
  padding: 20px 24px 16px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.emp-detail-close {
  background: none; border: none; cursor: pointer; color: var(--text-muted); padding: 4px;
}
.emp-detail-close:hover { color: var(--navy); }
.emp-detail-body { padding: 20px 24px; }
.emp-detail-row {
  display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.emp-detail-row:last-child { border-bottom: none; }
.emp-detail-key {
  width: 130px; flex-shrink: 0; font-weight: 700; color: var(--text-muted);
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.5px; padding-top: 2px;
}
.emp-detail-val { color: var(--navy); font-weight: 600; flex: 1; word-break: break-word; }

/* ═══════════════════════════════════
   TRAINING MODAL (employee portal)
═══════════════════════════════════ */
.training-modal-overlay {
  position: fixed; inset: 0; background: rgba(17,17,35,0.9);
  z-index: 400; display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto; padding: 36px 16px 60px;
}
.training-modal { background: var(--white); max-width: 760px; width: 100%; position: relative; }
.training-modal-header {
  padding: 22px 28px 18px; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.training-modal-meta { font-size: 10px; font-weight: 700; color: var(--text-faint); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px; }
.training-modal-title { font-size: 17px; font-weight: 800; color: var(--navy); margin: 0; line-height: 1.3; }
.training-modal-close {
  background: none; border: none; cursor: pointer; color: var(--text-muted);
  padding: 4px; flex-shrink: 0; line-height: 1;
}
.training-modal-close:hover { color: var(--navy); }
.training-modal-body { padding: 24px 28px; }
.training-video-wrap {
  position: relative; width: 100%; padding-bottom: 56.25%; background: #0a0a14;
  margin-bottom: 22px; overflow: hidden;
}
.training-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.training-text-content {
  font-size: 13.5px; color: var(--text-mid); line-height: 1.9;
  margin-bottom: 24px; border-left: 3px solid var(--amber); padding-left: 16px;
}
.training-text-content ul { padding-left: 18px; margin: 8px 0; }
.training-text-content li { margin-bottom: 5px; }

/* MCQ */
.mcq-section-title {
  font-size: 10px; font-weight: 700; color: var(--text-faint);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.mcq-question-block { margin-bottom: 22px; }
.mcq-q { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.5; }
.mcq-q-num { font-size: 10px; color: var(--text-faint); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.mcq-options { display: flex; flex-direction: column; gap: 7px; }
.mcq-option {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border: 1.5px solid var(--border); cursor: pointer;
  font-size: 13.5px; color: var(--text-mid);
  transition: border-color 0.1s, background 0.1s; user-select: none;
}
.mcq-option:hover:not(.locked) { border-color: var(--navy); background: var(--warm-grey); }
.mcq-option.selected { border-color: var(--navy); background: rgba(17,17,80,0.05); color: var(--navy); font-weight: 600; }
.mcq-option.correct  { border-color: #0e8042; background: rgba(14,128,66,0.09); color: #0e8042; font-weight: 700; }
.mcq-option.wrong    { border-color: #c0392b; background: rgba(192,57,43,0.07); color: #c0392b; }
.mcq-option.reveal   { border-color: #0e8042; background: rgba(14,128,66,0.05); color: #0e8042; }
.mcq-option.locked   { cursor: default; }
.mcq-dot {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 900; transition: border-color 0.1s, background 0.1s;
}
.mcq-option.selected .mcq-dot { border-color: var(--navy); background: var(--navy); }
.mcq-option.correct .mcq-dot  { border-color: #0e8042; background: #0e8042; color: #fff; }
.mcq-option.wrong .mcq-dot    { border-color: #c0392b; background: #c0392b; color: #fff; }
.mcq-option.reveal .mcq-dot   { border-color: #0e8042; }
/* Result panel */
.mcq-result { padding: 24px 20px; text-align: center; border-top: 1px solid var(--border); margin-top: 8px; display: none; }
.mcq-result.visible { display: block; }
.mcq-result-score { font-size: 44px; font-weight: 900; letter-spacing: -2px; line-height: 1; margin-bottom: 6px; color: var(--navy); }
.mcq-result-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; margin-bottom: 14px; }
.mcq-result-msg   { font-size: 14px; color: var(--text-mid); line-height: 1.72; margin-bottom: 20px; }
.mcq-result.pass .mcq-result-score { color: #0e8042; }
.mcq-result.fail .mcq-result-score { color: #c0392b; }
/* Active training card */
.training-card.active-module { cursor: pointer; }
.training-card.active-module:hover { border-color: var(--navy); transform: translateY(-2px); }
.training-card.active-module:hover .training-card-icon { background: var(--navy); color: var(--white); }
.training-badge-done  { font-size: 9.5px; font-weight: 700; background: rgba(14,128,66,0.12); color: #0e8042; padding: 3px 9px; letter-spacing: 0.8px; text-transform: uppercase; }
.training-badge-start { font-size: 9.5px; font-weight: 700; background: var(--amber-soft); color: #7a5800; padding: 3px 9px; letter-spacing: 0.8px; text-transform: uppercase; }

/* ═══════════════════════════════════
   CLIENT REGISTRATION
═══════════════════════════════════ */
.client-reg-view { display: none; }
.client-reg-view.visible { display: flex; }

/* ═══════════════════════════════════
   SHOP — SECURITY EQUIPMENT STORE
═══════════════════════════════════ */

/* Origin banner strip below page header */
.shop-origin-strip {
  background: var(--navy);
  padding: 20px 56px;
  display: flex; gap: 32px; align-items: center; flex-wrap: wrap;
}
.shop-origin-pill {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.shop-origin-pill .origin-flag {
  font-size: 20px; line-height: 1;
}
.shop-origin-pill strong { color: #fff; }
.shop-origin-divider {
  width: 1px; height: 28px; background: rgba(255,255,255,0.12); flex-shrink: 0;
}
.shop-origin-note {
  font-size: 12px; color: rgba(255,255,255,0.4); font-style: italic;
}
@media (max-width: 768px) {
  .shop-origin-strip { padding: 16px 24px; gap: 16px; }
  .shop-origin-divider { display: none; }
  .shop-origin-note { display: none; }
}

/* Filter bar */
.shop-filter-bar {
  position: sticky; top: 0; z-index: 50;
  background: var(--warm-white); border-bottom: 1px solid var(--border);
  padding: 0 56px;
  display: flex; gap: 0; align-items: stretch; flex-wrap: wrap;
}
.shop-filter-tabs {
  display: flex; gap: 0; align-items: stretch;
}
.shop-filter-tab {
  padding: 14px 18px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--text-muted); cursor: pointer; border: none; background: none;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.shop-filter-tab:hover { color: var(--navy); }
.shop-filter-tab.active { color: var(--navy); border-bottom-color: var(--amber); }
.shop-filter-tab .tab-flag { margin-right: 6px; }

.shop-filter-sep {
  width: 1px; background: var(--border); margin: 8px 0; flex-shrink: 0;
}
.shop-cat-wrap {
  padding: 0 0 0 20px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.shop-cat-btn {
  padding: 5px 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
  border: 1px solid var(--border); background: none; color: var(--text-muted);
  cursor: pointer; border-radius: 2px; transition: all 0.15s;
}
.shop-cat-btn:hover { border-color: var(--navy); color: var(--navy); }
.shop-cat-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

@media (max-width: 900px) {
  .shop-filter-bar { padding: 0 24px; }
  .shop-cat-wrap { padding: 8px 0; width: 100%; }
}
@media (max-width: 600px) {
  .shop-filter-tab { padding: 12px 12px; font-size: 11px; }
  .shop-cat-wrap { gap: 6px; }
  .shop-cat-btn { font-size: 10px; padding: 4px 10px; }
}

/* Shop results header */
.shop-results-bar {
  padding: 16px 56px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.shop-results-count {
  font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
@media (max-width: 900px) { .shop-results-bar { padding: 12px 24px 0; } }

/* Product grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 20px 56px 56px;
}
@media (max-width: 1100px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .shop-grid { grid-template-columns: repeat(2, 1fr); padding: 16px 24px 40px; } }
@media (max-width: 480px)  { .shop-grid { grid-template-columns: 1fr; } }

/* Product card */
.product-card {
  background: #fff; border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  position: relative;
}
.product-card:hover {
  border-color: var(--navy-400); transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(13,31,60,0.09);
}
.product-card.hidden { display: none; }

.product-card-img {
  background: var(--warm-grey); height: 140px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-card-img svg {
  width: 52px; height: 52px; color: var(--navy-400); opacity: 0.5;
}
.product-origin-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase;
  padding: 3px 8px 3px 6px; display: flex; align-items: center; gap: 5px;
}
.product-origin-badge.india {
  background: #fff7e6; color: #7a4400;
  border: 1px solid #f5a623;
}
.product-origin-badge.uk {
  background: #eef0f8; color: #1a237e;
  border: 1px solid #3949ab;
}
.product-origin-badge .badge-flag { font-size: 13px; }

.product-card-body {
  padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px;
}
.product-category-tag {
  font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted);
}
.product-name {
  font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.35;
}
.product-desc {
  font-size: 12.5px; color: var(--text-mid); line-height: 1.6; flex: 1;
}
.product-spec {
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  font-family: 'Courier New', monospace; letter-spacing: 0.3px;
  padding: 5px 0; border-top: 1px solid var(--border);
}

.product-card-foot {
  padding: 12px 16px; border-top: 1px solid var(--border);
  display: flex; gap: 8px; align-items: center;
}
.btn-enquire {
  flex: 1; padding: 9px 12px;
  background: #25D366; color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  border: none; cursor: pointer; text-align: center; text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background 0.15s;
}
.btn-enquire:hover { background: #1da851; }
.btn-enquire svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn-details {
  padding: 9px 10px;
  border: 1px solid var(--border); background: none; color: var(--text-mid);
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  cursor: pointer; text-decoration: none; display: flex; align-items: center;
  transition: border-color 0.15s, color 0.15s;
}
.btn-details:hover { border-color: var(--navy); color: var(--navy); }

/* Empty state when filters match nothing */
.shop-empty {
  display: none; padding: 60px 56px; text-align: center; grid-column: 1/-1;
}
.shop-empty.visible { display: block; }
.shop-empty-icon { font-size: 36px; margin-bottom: 12px; }
.shop-empty-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.shop-empty-sub { font-size: 13px; color: var(--text-muted); }

/* Shop intro value prop section */
.shop-value-bar {
  padding: 32px 56px; background: #fff; border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.shop-value-item {
  display: flex; gap: 14px; align-items: flex-start;
}
.shop-value-icon {
  width: 36px; height: 36px; background: var(--amber-soft);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.shop-value-icon svg { width: 18px; height: 18px; color: var(--navy); }
.shop-value-text strong {
  display: block; font-size: 12.5px; font-weight: 700; color: var(--navy); margin-bottom: 3px;
}
.shop-value-text span { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
@media (max-width: 900px) {
  .shop-value-bar { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
}
@media (max-width: 768px) {
  .shop-value-bar { display: none; }
}

/* page-header sub-element aliases (used in shop.html) */
.page-header-label { margin-bottom: 12px; }
.page-header-label { color: var(--amber); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.page-header-title {
  font-size: clamp(26px, 3.5vw, 42px); font-weight: 800;
  color: var(--white); letter-spacing: -0.5px; line-height: 1.1; margin-bottom: 14px;
}
.page-header-subtitle {
  font-size: 15px; color: rgba(255,255,255,0.68); max-width: 460px; line-height: 1.75;
}

/* Shop CTA strip */
.page-cta-strip {
  background: var(--amber); padding: 40px 56px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.page-cta-text {
  font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: -0.3px;
}
.page-cta-sub { font-size: 14px; color: rgba(13,31,60,0.72); max-width: 440px; line-height: 1.6; }
.btn-cta-primary {
  margin-top: 8px; padding: 12px 24px;
  background: var(--navy); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  text-decoration: none; display: inline-flex; align-items: center;
  transition: opacity 0.15s;
}
.btn-cta-primary:hover { opacity: 0.88; }
@media (max-width: 900px) { .page-cta-strip { padding: 32px 24px; } }

/* ─── ADMIN DASHBOARD ENHANCEMENTS ─── */

/* Enhanced stat cells with better visual weight */
.stat-cell {
  transition: all 0.2s ease;
  position: relative;
}

.stat-cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.2s ease;
}

.stat-cell:hover::before {
  background: var(--amber);
}

.stat-cell:hover {
  background: rgba(13,31,60,0.02);
}

.stat-cell-link:hover {
  background: rgba(13,31,60,0.04) !important;
}

/* Stat value with trend indicator support */
.stat-value-with-trend {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.stat-trend {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.stat-trend.up {
  color: #005c30;
  background: rgba(0,150,80,0.12);
}

.stat-trend.down {
  color: #7a0000;
  background: rgba(196,30,30,0.10);
}

/* Progress bar for checked in status */
.checkin-progress {
  width: 100%;
  height: 6px;
  background: rgba(0,0,0,0.06);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 6px;
}

.checkin-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-400) 100%);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* Empty state improvements */
.portal-empty-state {
  text-align: center;
  padding: 32px 20px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
}

.portal-empty-state svg {
  opacity: 0.3;
  margin-bottom: 12px;
}

.portal-empty-state-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.portal-empty-state-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* Enhanced pending item cards */
.pending-item {
  padding: 14px 0;
  transition: all 0.15s ease;
  border-bottom: 1px solid var(--border);
}

.pending-item:hover {
  background: var(--warm-white);
  padding-left: 8px;
  padding-right: -8px;
}

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

.pending-avatar {
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.pending-item:hover .pending-avatar {
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  background: rgba(13,31,60,0.12);
}

/* Activity feed improvements */
.activity-item {
  padding: 12px 0;
  transition: background 0.15s ease;
}

.activity-item:hover {
  background: var(--warm-white);
  padding-left: 8px;
  padding-right: -8px;
}

.activity-dot {
  transition: all 0.2s ease;
}

.activity-item:hover .activity-dot {
  width: 10px;
  height: 10px;
  box-shadow: 0 0 8px rgba(245,196,0,0.4);
}

/* Page content fade-in animation */
.page-content {
  animation: fadeInContent 0.5s ease-out 0.1s both;
}

/* Dash row with stagger animation */
.dash-row > div {
  animation: slideInUp 0.5s ease-out;
}

.dash-row > div:nth-child(1) { animation-delay: 0.15s; }
.dash-row > div:nth-child(2) { animation-delay: 0.25s; }
