/* Clean Modern Construction Theme & Kantumruy Pro Typography */
@import url('https://fonts.googleapis.com/css2?family=Kantumruy+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Kantumruy:wght@300;400;700&display=swap');

:root {
  --font-main: 'Kantumruy Pro', 'Kantumruy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bg-body: #0b0f19;
  --bg-card: #111827;
  --bg-card-hover: #172033;
  --bg-input: #0b1120;
  
  --primary: #f59e0b;
  --primary-hover: #fbbf24;
  --primary-light: rgba(245, 158, 11, 0.08);
  
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-color: rgba(255, 255, 255, 0.1);
  --border-card: #1e293b;
  --border-active: #f59e0b;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

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

body, button, input, select, textarea, optgroup {
  font-family: var(--font-main);
}

/* Ensure Font Awesome icons always use their correct font family */
.fa, .fas, .far, .fal, .fab, .fad, .fa-solid, .fa-regular, .fa-brands, [class*=" fa-"], [class^="fa-"] {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
  font-style: normal;
  display: inline-block;
  vertical-align: -0.125em;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Crisp Clean Panel */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease;
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

/* Clean Navbar */
.navbar-custom {
  background: #0f172a;
  border-bottom: 1px solid var(--border-card);
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.brand-badge {
  color: #fff;
  padding: 4px 10px 4px 6px;
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 44px;
  max-height: 44px;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 15px rgba(245, 158, 11, 0.15);
  animation: floatBrandBadge 4s ease-in-out infinite;
}

@keyframes floatBrandBadge {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 12px rgba(245, 158, 11, 0.15);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.55), 0 0 22px rgba(245, 158, 11, 0.35);
  }
}

.brand-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.12), transparent);
  transition: 0.6s;
  pointer-events: none;
}

.brand-badge:hover {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.7);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
}

.brand-badge:hover::before {
  left: 100%;
}

.brand-logo-wrap {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.08);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
  padding: 2px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-badge:hover .brand-logo-wrap {
  border-color: rgba(245, 158, 11, 0.85);
  background: rgba(245, 158, 11, 0.18);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.5);
  transform: scale(1.08) rotate(3deg);
}

.brand-logo-img {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s ease;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name-text {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-name-text .brand-accent {
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.brand-name-text .brand-main {
  color: #f8fafc;
  letter-spacing: 0.5px;
}

.brand-tagline {
  font-size: 0.65rem;
  color: #38bdf8;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

/* Floating 20x Logo Zoom Modal Animations */
@keyframes floatLogoPulse {
  0% {
    transform: translateY(0px) scale(1);
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 15px rgba(245, 158, 11, 0.2));
  }
  100% {
    transform: translateY(-8px) scale(1.03);
    filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 25px rgba(245, 158, 11, 0.45));
  }
}

.logo-zoom-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.logo-zoom-overlay.active {
  display: flex;
  opacity: 1;
}

.logo-zoom-card {
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.95), rgba(11, 15, 25, 0.98));
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(245, 158, 11, 0.2);
  position: relative;
  transform: scale(0.7) translateY(20px);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.logo-zoom-overlay.active .logo-zoom-card {
  transform: scale(1) translateY(0);
}

.nav-link-custom {
  color: var(--text-muted);
  font-weight: 400;
  padding: 6px 12px;
  border: 1px solid rgba(245, 158, 11, 0.32);
  background: rgba(245, 158, 11, 0.04);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(245, 158, 11, 0.05);
}

.nav-link-custom:hover {
  color: #ffffff;
  border-color: rgba(245, 158, 11, 0.7);
  background: rgba(245, 158, 11, 0.12);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.25);
  transform: translateY(-1px);
}

.nav-link-custom.active {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.16);
  border-color: #f59e0b;
  font-weight: 600;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
  transform: translateY(0);
}

/* 4 Distinct Matching Palette Themes for Top Navbar Portal Tools */
.nav-link-custom.nav-palette-emerald {
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.45);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.14), rgba(15, 23, 42, 0.75));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(16, 185, 129, 0.1);
}
.nav-link-custom.nav-palette-emerald:hover {
  color: #ffffff;
  border-color: #10b981;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.28), rgba(15, 23, 42, 0.85));
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.45);
  transform: translateY(-1.5px);
}
.nav-link-custom.nav-palette-emerald.active {
  color: #ffffff;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.32), rgba(15, 23, 42, 0.9));
  border-color: #34d399;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.6);
}

.nav-link-custom.nav-palette-cyan {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.45);
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.14), rgba(15, 23, 42, 0.75));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(56, 189, 248, 0.1);
}
.nav-link-custom.nav-palette-cyan:hover {
  color: #ffffff;
  border-color: #38bdf8;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.28), rgba(15, 23, 42, 0.85));
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
  transform: translateY(-1.5px);
}
.nav-link-custom.nav-palette-cyan.active {
  color: #ffffff;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.32), rgba(15, 23, 42, 0.9));
  border-color: #38bdf8;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.6);
}

.nav-link-custom.nav-palette-amber {
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.45);
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.14), rgba(15, 23, 42, 0.75));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(245, 158, 11, 0.1);
}
.nav-link-custom.nav-palette-amber:hover {
  color: #ffffff;
  border-color: #f59e0b;
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.28), rgba(15, 23, 42, 0.85));
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.45);
  transform: translateY(-1.5px);
}
.nav-link-custom.nav-palette-amber.active {
  color: #ffffff;
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.32), rgba(15, 23, 42, 0.9));
  border-color: #fbbf24;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.6);
}

.nav-link-custom.nav-palette-purple {
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.45);
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.14), rgba(15, 23, 42, 0.75));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(168, 85, 247, 0.1);
}
.nav-link-custom.nav-palette-purple:hover {
  color: #ffffff;
  border-color: #a855f7;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.28), rgba(15, 23, 42, 0.85));
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.45);
  transform: translateY(-1.5px);
}
.nav-link-custom.nav-palette-purple.active {
  color: #ffffff;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.32), rgba(15, 23, 42, 0.9));
  border-color: #c084fc;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.6);
}

/* Light Theme Overrides for Palettes */
body.light-theme .nav-link-custom.nav-palette-emerald {
  color: #059669;
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.12);
}
body.light-theme .nav-link-custom.nav-palette-cyan {
  color: #0284c7;
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(56, 189, 248, 0.12);
}
body.light-theme .nav-link-custom.nav-palette-amber {
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.12);
}
body.light-theme .nav-link-custom.nav-palette-purple {
  color: #9333ea;
  border-color: rgba(168, 85, 247, 0.5);
  background: rgba(168, 85, 247, 0.12);
}

/* Modern Outline-Focused Buttons (No heavy solid fills) */
.btn-gold {
  background: transparent;
  color: #fbbf24;
  font-weight: 600;
  border: 1px solid #f59e0b;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  text-decoration: none;
}

.btn-gold:hover:not(:disabled) {
  background: rgba(245, 158, 11, 0.12);
  border-color: #fbbf24;
  color: #fef08a;
}

.btn-gold:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: var(--border-color);
  color: var(--text-dim);
}

.btn-cyan {
  background: transparent;
  color: #38bdf8;
  font-weight: 600;
  border: 1px solid #0284c7;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  text-decoration: none;
}

.btn-cyan:hover:not(:disabled) {
  background: rgba(6, 182, 212, 0.12);
  border-color: #38bdf8;
  color: #e0f2fe;
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-size: 0.88rem;
  text-decoration: none;
}

.btn-outline-dark:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.btn-danger-custom {
  background: transparent;
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.btn-danger-custom:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #fca5a5;
}

/* Modern Clean Form Controls */
.form-label-custom {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 5px;
  display: block;
}

.form-control-custom {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control-custom:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

/* Modern High-Visibility Date Pickers */
input[type="date"] {
  color-scheme: dark;
  position: relative;
  cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(0.85) sepia(100%) saturate(700%) hue-rotate(5deg) brightness(1.25);
  opacity: 0.95;
  transition: transform 0.2s ease, filter 0.2s ease;
  font-size: 1.25rem;
  padding: 3px;
  border-radius: 4px;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  transform: scale(1.25);
  filter: invert(0.9) sepia(100%) saturate(1200%) hue-rotate(5deg) brightness(1.4) drop-shadow(0 0 8px rgba(245, 158, 11, 0.8));
  opacity: 1;
}

.modern-date-input {
  border: 1.5px solid rgba(245, 158, 11, 0.45) !important;
  background: rgba(15, 23, 42, 0.85) !important;
  font-weight: 600 !important;
  color: #f8fafc !important;
  transition: all 0.25s ease !important;
}

.modern-date-input:focus, .modern-date-input:hover {
  border-color: #f59e0b !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25) !important;
}

/* Modern Khmer Date Input styling (e.g. ០១-សីហា-២០២៦) */
.khmer-date-input {
  min-width: 155px !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  color: #38bdf8 !important;
  letter-spacing: 0.3px !important;
  text-align: center !important;
  background: rgba(15, 23, 42, 0.85) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23fbbf24" viewBox="0 0 16 16"><path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/></svg>') no-repeat calc(100% - 10px) center !important;
  background-size: 14px 14px !important;
  padding-right: 30px !important;
  border: 1.5px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 8px !important;
  transition: all 0.25s ease !important;
}

[data-theme="light"] .khmer-date-input {
  background-color: #ffffff !important;
  color: #0369a1 !important;
  border-color: rgba(3, 105, 161, 0.4) !important;
}

.khmer-date-input:focus, .khmer-date-input:hover {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3) !important;
}

/* Site Attendance Notification Pill Badges */
.site-notif-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.84rem;
  color: #f8fafc;
  cursor: pointer;
  transition: all 0.22s ease-in-out;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  user-select: none;
  position: relative;
}

.site-notif-pill:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.18);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.35);
}

.site-notif-pill.active-filter {
  background: rgba(245, 158, 11, 0.22) !important;
  border-color: #f59e0b !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.4) !important;
}

.site-notif-pill .site-notif-name {
  font-weight: 700;
  white-space: nowrap;
}

.site-notif-pill .site-notif-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.6);
  letter-spacing: 0.2px;
}

[data-theme="light"] .site-notif-pill {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(3, 105, 161, 0.3);
}

[data-theme="light"] .site-notif-pill:hover {
  background: #f0f9ff;
  border-color: #0284c7;
}

/* Modern PIN Bullet Input Styling */
.modern-pin-input, input.modern-pin-input, .swal2-input.modern-pin-input {
  text-align: center !important;
  font-size: 2.6rem !important;
  line-height: 1.1 !important;
  letter-spacing: 14px !important;
  font-weight: 900 !important;
  color: #fbbf24 !important;
  background: rgba(15, 23, 42, 0.92) !important;
  border: 2px solid rgba(245, 158, 11, 0.6) !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  height: 64px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(245, 158, 11, 0.2) !important;
  -webkit-text-security: disc !important;
  caret-color: #38bdf8 !important;
  transition: all 0.25s ease !important;
}

.modern-pin-input:focus, input.modern-pin-input:focus, .swal2-input.modern-pin-input:focus {
  border-color: #fbbf24 !important;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.4), inset 0 0 10px rgba(251, 191, 36, 0.15) !important;
  outline: none !important;
}

.modern-pin-input::placeholder, input.modern-pin-input::placeholder, .swal2-input.modern-pin-input::placeholder {
  font-size: 0.95rem !important;
  letter-spacing: normal !important;
  font-weight: normal !important;
  color: #64748b !important;
  -webkit-text-security: none !important;
}

/* Site Pill Cards */
.site-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px;
}

.site-pill-card {
  background: var(--bg-input);
  border: 1px solid var(--border-card);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.site-pill-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.03);
}

.site-pill-card.selected {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
}

.site-pill-card input[type="checkbox"] {
  accent-color: #f59e0b;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Work Day Weight Pills */
.work-day-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.work-day-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 400;
  border: 1px solid var(--border-card);
  background: var(--bg-input);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.work-day-btn:hover {
  border-color: var(--border-color);
  color: var(--text-main);
}

.work-day-btn.active-full {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
  color: #34d399;
  font-weight: 600;
}

.work-day-btn.active-half {
  background: rgba(245, 158, 11, 0.1);
  border-color: #f59e0b;
  color: #fbbf24;
  font-weight: 600;
}

.work-day-btn.active-ot {
  background: rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
  color: #60a5fa;
  font-weight: 600;
}

.work-day-btn.active-leave {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #f87171;
  font-weight: 600;
}

/* Camera & Scanner Viewport */
.camera-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  max-height: 420px;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-container.unlocked {
  border-color: #10b981;
}

.camera-container.locked {
  border-color: rgba(239, 68, 68, 0.35);
}

.camera-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 20;
  text-align: center;
  padding: 20px;
}

.camera-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.scanner-laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #06b6d4, #f59e0b, transparent);
  box-shadow: 0 0 10px #06b6d4;
  animation: laserScan 2.5s ease-in-out infinite alternate;
  z-index: 10;
  pointer-events: none;
}

@keyframes laserScan {
  0% { top: 5%; opacity: 0.2; }
  50% { opacity: 0.9; }
  100% { top: 92%; opacity: 0.2; }
}

/* Badges for Roles */
.badge-role {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid;
}

.badge-role-boss {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.35);
}

.badge-role-mgr {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}

.badge-role-eng {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.35);
}

.badge-role-arch {
  background: rgba(14, 165, 233, 0.15);
  color: #0284c7;
  border-color: rgba(14, 165, 233, 0.35);
}

.badge-role-finance {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
}

.badge-role-admin {
  background: rgba(99, 102, 241, 0.14);
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.35);
}

.badge-role-marketing {
  background: rgba(236, 72, 153, 0.14);
  color: #f472b6;
  border-color: rgba(236, 72, 153, 0.35);
}

.badge-role-security {
  background: rgba(20, 184, 166, 0.14);
  color: #2dd4bf;
  border-color: rgba(20, 184, 166, 0.35);
}

.badge-role-tech {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.35);
}

.badge-role-wrk {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

/* Clean Tables */
.table-custom {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--text-main);
}

.table-custom th {
  background: #0f172a;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border-card);
}

.table-custom td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border-card);
  font-size: 0.88rem;
  vertical-align: middle;
}

.table-custom tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Worker Avatar & Modern Interactive Hover */
.avatar-worker {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(245, 158, 11, 0.35);
  background: #1e293b;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.avatar-worker:hover {
  transform: scale(1.22);
  border-color: #f59e0b;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.65), 0 4px 12px rgba(0, 0, 0, 0.6);
  z-index: 10;
  position: relative;
}

@keyframes photoRingPulse {
  0% {
    box-shadow: 0 10px 30px rgba(0,0,0,0.7), 0 0 20px rgba(245, 158, 11, 0.4);
  }
  100% {
    box-shadow: 0 10px 35px rgba(0,0,0,0.9), 0 0 35px rgba(56, 189, 248, 0.6);
  }
}

/* Recognition Alert Toast */
.recognition-alert-banner {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideDown 0.3s ease;
}

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

/* Responsive Utilities */
@media (max-width: 768px) {
  .site-pill-grid {
    grid-template-columns: 1fr;
  }
  .navbar-custom {
    padding: 0.5rem 0.75rem;
  }
  .camera-container {
    max-height: 280px;
  }
}

/* Modern Icon Aesthetics */
.fa-solid, .fa-regular, .fa-brands {
  transition: transform 0.15s ease, color 0.15s ease;
}

.btn-gold:hover .fa-solid, 
.btn-gold:hover .fa-regular,
.btn-cyan:hover .fa-solid,
.btn-cyan:hover .fa-regular,
.btn-outline-dark:hover .fa-solid,
.btn-outline-dark:hover .fa-regular {
  transform: scale(1.1);
}

.brand-badge i {
  color: #f59e0b;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.4));
}

.nav-link-custom.active i {
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.5));
}

/* Highlight Animation for Attendance Table */
.glass-panel-highlight {
  animation: tableGlow 2s ease-in-out;
}

@keyframes tableGlow {
  0% {
    box-shadow: 0 0 0 rgba(245, 158, 11, 0);
    border-color: var(--border-card);
  }
  30% {
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
    border-color: #f59e0b;
  }
  70% {
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
    border-color: #10b981;
  }
  100% {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    border-color: var(--border-card);
  }
}

/* ==========================================================================
   THEME SYSTEM: DARK VIEW & LIGHT VIEW
   ========================================================================== */

/* Theme Toggle Button */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: #fbbf24;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.theme-toggle-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.5);
}

.theme-icon-light {
  display: none;
}

.theme-icon-dark {
  display: inline-block;
}

/* --------------------------------------------------------------------------
   LIGHT VIEW (DAY MODE) STYLES
   -------------------------------------------------------------------------- */
[data-theme="light"] {
  --bg-body: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-input: #ffffff;
  
  --primary: #d97706;
  --primary-hover: #b45309;
  --primary-light: rgba(217, 119, 6, 0.08);
  
  --accent-cyan: #0284c7;
  --accent-blue: #2563eb;
  --accent-green: #059669;
  --accent-red: #dc2626;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  
  --border-color: rgba(15, 23, 42, 0.12);
  --border-card: #e2e8f0;
  --border-active: #d97706;
}

/* Light Mode: Navbar & Brand */
[data-theme="light"] .navbar-custom {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .brand-badge {
  background: #ffffff;
  border-color: rgba(217, 119, 6, 0.35);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06), 0 0 12px rgba(217, 119, 6, 0.15);
}

[data-theme="light"] .brand-name-text .brand-main {
  color: #0f172a;
}

[data-theme="light"] .brand-name-text .brand-accent {
  color: #d97706;
  text-shadow: none;
}

[data-theme="light"] .brand-tagline {
  color: #64748b;
}

[data-theme="light"] .nav-link-custom {
  color: #475569;
  border: 1px solid rgba(217, 119, 6, 0.35);
  background: rgba(245, 158, 11, 0.04);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nav-link-custom:hover {
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(217, 119, 6, 0.75);
  box-shadow: 0 0 8px rgba(217, 119, 6, 0.15);
}

[data-theme="light"] .nav-link-custom.active {
  color: #b45309;
  background: rgba(245, 158, 11, 0.18);
  border-color: #d97706;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(217, 119, 6, 0.25);
}

/* Light Mode: Theme Toggle Button */
[data-theme="light"] .theme-toggle-btn {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  color: #b45309;
}

[data-theme="light"] .theme-icon-dark {
  display: none;
}

[data-theme="light"] .theme-icon-light {
  display: inline-block;
  color: #d97706;
}

/* Light Mode: Panels & Cards */
[data-theme="light"] .glass-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .glass-panel:hover {
  border-color: #cbd5e1;
}

/* Light Mode: Tables */
[data-theme="light"] .table-custom th {
  background: #f8fafc;
  color: #334155;
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .table-custom td {
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
}

[data-theme="light"] .table-custom tr:hover td {
  background: #f8fafc;
}

/* Light Mode: Form Controls & Inputs */
[data-theme="light"] .form-control-custom {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .form-control-custom:focus {
  border-color: #d97706;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2);
}

[data-theme="light"] input[type="date"] {
  color-scheme: light;
}

[data-theme="light"] .modern-date-input {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
}

[data-theme="light"] input[type="date"]::-webkit-calendar-picker-indicator {
  filter: none;
}

/* Light Mode: Buttons */
[data-theme="light"] .btn-outline-dark {
  color: #334155;
  border-color: #cbd5e1;
}

[data-theme="light"] .btn-outline-dark:hover {
  color: #0f172a;
  border-color: #94a3b8;
  background: #f1f5f9;
}

[data-theme="light"] .btn-gold {
  color: #b45309;
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
}

[data-theme="light"] .btn-gold:hover:not(:disabled) {
  background: rgba(245, 158, 11, 0.18);
  color: #78350f;
  border-color: #d97706;
}

[data-theme="light"] .btn-cyan {
  color: #0369a1;
  border-color: #0284c7;
  background: rgba(6, 182, 212, 0.08);
}

[data-theme="light"] .btn-cyan:hover:not(:disabled) {
  background: rgba(6, 182, 212, 0.16);
  color: #075985;
}

/* Light Mode: Pills & Selectors */
[data-theme="light"] .site-pill-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .site-pill-card:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

[data-theme="light"] .site-pill-card.selected {
  border-color: #d97706;
  background: rgba(245, 158, 11, 0.1);
}

[data-theme="light"] .work-day-btn {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #475569;
}

[data-theme="light"] .work-day-btn:hover {
  border-color: #cbd5e1;
  color: #0f172a;
}

/* Light Mode: Header & Clock */
[data-theme="light"] #liveClock {
  background: #f8fafc !important;
  color: #b45309 !important;
  border-color: #e2e8f0 !important;
}

[data-theme="light"] #btnNotifBell {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #b45309 !important;
}

[data-theme="light"] #notifDropdown {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] #notifDropdown div:first-child {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

/* Light Mode: Table Row Site Dropdown & Expense Inputs */
[data-theme="light"] .site-row-select {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] .inline-expense-input {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #b45309 !important;
}

/* Light Mode: SweetAlert2 */
[data-theme="light"] .swal2-popup {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] .swal2-title {
  color: #0f172a !important;
}

[data-theme="light"] .swal2-html-container {
  color: #475569 !important;
}

/* Light Mode: Logo Zoom Modal */
[data-theme="light"] .logo-zoom-card {
  background: #ffffff;
  border-color: rgba(217, 119, 6, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 0 35px rgba(217, 119, 6, 0.15);
}

[data-theme="light"] .logo-zoom-card h2 {
  color: #0f172a !important;
}

[data-theme="light"] #btnCloseLogoZoom {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

/* Custom Multi-Select Dropdown Component */
.multi-select-wrap {
  position: relative;
  width: 100%;
}

.multi-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text-color);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 40px;
  text-align: left;
}

.multi-select-trigger:hover,
.multi-select-trigger:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.multi-select-trigger .trigger-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 6px;
}

.multi-select-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  min-width: 260px;
  max-width: 380px;
  background: #111827;
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  z-index: 1050;
  padding: 8px;
  backdrop-filter: blur(12px);
}

.multi-select-dropdown.open {
  display: block;
  animation: dropdownFade 0.15s ease-out;
}

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

.multi-select-search-box {
  position: relative;
  margin-bottom: 6px;
}

.multi-select-search-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 6px 10px 6px 28px;
  font-size: 0.82rem;
  color: #fff;
  outline: none;
}

.multi-select-search-input:focus {
  border-color: #38bdf8;
}

.multi-select-search-icon {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.78rem;
}

.multi-select-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 2px 6px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 4px;
}

.multi-select-action-btn {
  background: transparent;
  border: none;
  color: #38bdf8;
  font-size: 0.76rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.15s;
}

.multi-select-action-btn:hover {
  background: rgba(56, 189, 248, 0.12);
}

.multi-select-items-list {
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.multi-select-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
  user-select: none;
}

.multi-select-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.multi-select-item.selected {
  background: rgba(56, 189, 248, 0.1);
}

.multi-select-item input[type="checkbox"] {
  accent-color: #38bdf8;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

/* Light theme overrides for Multi-Select */
[data-theme="light"] .multi-select-trigger {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] .multi-select-dropdown {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .multi-select-search-input {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] .multi-select-actions {
  border-color: #e2e8f0 !important;
}

[data-theme="light"] .multi-select-item:hover {
  background: #f1f5f9 !important;
}

[data-theme="light"] .multi-select-item.selected {
  background: #e0f2fe !important;
}

/* =========================================================
   Modern Custom Flatpickr Calendar Styling
   ========================================================= */
.flatpickr-calendar {
  background: #0f172a !important;
  background-color: #0f172a !important;
  border: 1.5px solid rgba(245, 158, 11, 0.45) !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.2) !important;
  font-family: 'Kantumruy Pro', sans-serif !important;
  padding: 12px !important;
  width: 350px !important;
  max-width: 95vw !important;
  box-sizing: border-box !important;
  z-index: 99999 !important;
  opacity: 1 !important;
}

.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
  border-bottom-color: #0f172a !important;
}

.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
  border-top-color: #0f172a !important;
}

.flatpickr-months {
  background: transparent !important;
  padding: 4px 0 10px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
}

.flatpickr-current-month {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #fbbf24 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  left: 0 !important;
  position: static !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  background: #1e293b !important;
  color: #fbbf24 !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 4px 8px !important;
  font-size: 0.95rem !important;
}

.flatpickr-current-month input.cur-year {
  color: #fbbf24 !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  color: #38bdf8 !important;
  fill: #38bdf8 !important;
  padding: 8px !important;
  border-radius: 8px !important;
  top: 6px !important;
  transition: all 0.15s ease !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #fff !important;
  fill: #fff !important;
}

.flatpickr-innerContainer,
.flatpickr-rContainer,
.flatpickr-days {
  width: 100% !important;
  max-width: 100% !important;
}

.flatpickr-weekdays {
  width: 100% !important;
  max-width: 100% !important;
  padding: 6px 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
}

.flatpickr-weekdaycontainer {
  width: 100% !important;
  display: flex !important;
  justify-content: space-around !important;
}

span.flatpickr-weekday {
  color: #38bdf8 !important;
  font-family: 'Kantumruy Pro', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  flex: 1 0 14.28% !important;
  max-width: 14.28% !important;
  text-align: center !important;
}

.dayContainer {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  padding: 4px 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-around !important;
}

.khmer-day-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Kantumruy Pro', sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.flatpickr-day {
  color: #f1f5f9 !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  flex: 0 0 13.5% !important;
  max-width: 13.5% !important;
  height: 38px !important;
  line-height: 38px !important;
  margin: 2px 0 !important;
  transition: all 0.15s ease !important;
  border: 1px solid transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.flatpickr-day:hover {
  background: rgba(245, 158, 11, 0.2) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  color: #fbbf24 !important;
}

.flatpickr-day.today {
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
  font-weight: 700 !important;
  background: rgba(56, 189, 248, 0.1) !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  border-color: #fbbf24 !important;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.6) !important;
}

.flatpickr-day.selected .khmer-day-num {
  color: #000000 !important;
  font-weight: 900 !important;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: #475569 !important;
  opacity: 0.5 !important;
}

/* Light Theme Flatpickr */
[data-theme="light"] .flatpickr-calendar {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15), 0 0 25px rgba(217, 119, 6, 0.15) !important;
}

[data-theme="light"] .flatpickr-calendar.arrowTop:before,
[data-theme="light"] .flatpickr-calendar.arrowTop:after {
  border-bottom-color: #ffffff !important;
}

[data-theme="light"] .flatpickr-months {
  border-bottom-color: #e2e8f0 !important;
}

[data-theme="light"] .flatpickr-current-month {
  color: #b45309 !important;
}

[data-theme="light"] .flatpickr-current-month .flatpickr-monthDropdown-months {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

[data-theme="light"] .flatpickr-current-month input.cur-year {
  color: #0f172a !important;
}

[data-theme="light"] .flatpickr-day {
  color: #0f172a !important;
}

[data-theme="light"] .flatpickr-day:hover {
  background: #fef3c7 !important;
  color: #b45309 !important;
}

[data-theme="light"] .flatpickr-day.selected {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}

[data-theme="light"] .flatpickr-day.selected .khmer-day-num {
  color: #ffffff !important;
  font-weight: 900 !important;
}

[data-theme="light"] .flatpickr-day.prevMonthDay,
[data-theme="light"] .flatpickr-day.nextMonthDay {
  color: #94a3b8 !important;
  opacity: 0.5 !important;
}

/* ==========================================================================
   SWEETALERT2 MODAL THEME INTEGRATION (DARK & LIGHT VIEW)
   ========================================================================== */

/* Dark Mode SweetAlert2 (Default) */
.swal2-popup {
  background: #161d29 !important;
  border: 1.5px solid rgba(245, 158, 11, 0.4) !important;
  border-radius: 16px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 158, 11, 0.15) !important;
  color: #f8fafc !important;
  font-family: var(--font-main) !important;
  padding: 1.75rem !important;
}

.swal2-title {
  color: #f8fafc !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem !important;
}

.swal2-html-container {
  color: #cbd5e1 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin: 0.75rem 0 1.25rem 0 !important;
}

.swal2-icon.swal2-question {
  border-color: #f59e0b !important;
  color: #fbbf24 !important;
}

.swal2-icon.swal2-warning {
  border-color: #f59e0b !important;
  color: #fbbf24 !important;
}

.swal2-icon.swal2-success {
  border-color: #10b981 !important;
  color: #34d399 !important;
}

.swal2-icon.swal2-error {
  border-color: #ef4444 !important;
  color: #f87171 !important;
}

.swal2-styled.swal2-confirm {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  padding: 8px 22px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35) !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.swal2-styled.swal2-confirm:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5) !important;
}

.swal2-styled.swal2-cancel {
  background: #334155 !important;
  color: #f1f5f9 !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  padding: 8px 20px !important;
  border-radius: 8px !important;
  border: 1px solid #475569 !important;
}

.swal2-styled.swal2-cancel:hover {
  background: #475569 !important;
  color: #ffffff !important;
}

/* Loan & Action Confirmation Box inside SweetAlert */
.loan-confirm-modal-box {
  text-align: left;
  background: rgba(15, 23, 42, 0.95);
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  font-size: 0.92rem;
  line-height: 1.7;
}

.loan-confirm-modal-box .confirm-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.loan-confirm-modal-box .confirm-label {
  color: #94a3b8;
  font-weight: 600;
  min-width: 100px;
}

.loan-confirm-modal-box .confirm-site-val {
  color: #38bdf8;
  font-weight: 700;
}

.loan-confirm-modal-box .confirm-worker-val {
  color: #f8fafc;
  font-weight: 700;
}

.loan-confirm-modal-box .confirm-amount-val {
  color: #fbbf24;
  font-size: 1.25rem;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.loan-confirm-modal-box .confirm-note {
  margin-top: 10px;
  font-size: 0.78rem;
  color: #94a3b8;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  padding-top: 8px;
  line-height: 1.45;
}

/* Light Mode SweetAlert2 */
[data-theme="light"] .swal2-popup {
  background: #ffffff !important;
  border: 1.5px solid rgba(217, 119, 6, 0.45) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15), 0 0 25px rgba(217, 119, 6, 0.12) !important;
  color: #0f172a !important;
}

[data-theme="light"] .swal2-title {
  color: #0f172a !important;
}

[data-theme="light"] .swal2-html-container {
  color: #334155 !important;
}

[data-theme="light"] .swal2-styled.swal2-cancel {
  background: #64748b !important;
  color: #ffffff !important;
  border: 1px solid #64748b !important;
}

[data-theme="light"] .swal2-styled.swal2-cancel:hover {
  background: #475569 !important;
}

[data-theme="light"] .loan-confirm-modal-box {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .loan-confirm-modal-box .confirm-label {
  color: #475569;
}

[data-theme="light"] .loan-confirm-modal-box .confirm-site-val {
  color: #0284c7;
}

[data-theme="light"] .loan-confirm-modal-box .confirm-worker-val {
  color: #0f172a;
}

[data-theme="light"] .loan-confirm-modal-box .confirm-amount-val {
  color: #d97706;
  text-shadow: none;
}

[data-theme="light"] .loan-confirm-modal-box .confirm-note {
  color: #64748b;
  border-top-color: #e2e8f0;
}

/* ==========================================================================
   UNIVERSAL WORKER AVATAR & LIGHTBOX HOVER EFFECT
   ========================================================================== */
.avatar-worker,
.worker-avatar,
img[data-worker-photo] {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  vertical-align: middle;
}

.avatar-worker:hover,
.worker-avatar:hover,
img[data-worker-photo]:hover {
  transform: scale(1.22);
  border-color: #fbbf24;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.65), 0 4px 10px rgba(0, 0, 0, 0.5);
  z-index: 10;
  position: relative;
}

[data-theme="light"] .avatar-worker,
[data-theme="light"] .worker-avatar,
[data-theme="light"] img[data-worker-photo] {
  border-color: rgba(217, 119, 6, 0.4);
}

[data-theme="light"] .avatar-worker:hover,
[data-theme="light"] .worker-avatar:hover,
[data-theme="light"] img[data-worker-photo]:hover {
  border-color: #d97706;
  box-shadow: 0 0 14px rgba(217, 119, 6, 0.5), 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Worker Avatar inside Loan Confirmation Modal */
.loan-confirm-worker-avatar,
.swal2-image.loan-confirm-worker-avatar {
  width: 92px !important;
  height: 92px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 3.5px solid #f59e0b !important;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.55), 0 10px 30px rgba(0, 0, 0, 0.6) !important;
  margin: 0.25rem auto 1rem auto !important;
  background: #0f172a !important;
  padding: 2px !important;
  cursor: pointer !important;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.loan-confirm-worker-avatar:hover,
.swal2-image.loan-confirm-worker-avatar:hover {
  transform: scale(1.08) rotate(2deg) !important;
}

[data-theme="light"] .loan-confirm-worker-avatar,
[data-theme="light"] .swal2-image.loan-confirm-worker-avatar {
  border-color: #d97706 !important;
  box-shadow: 0 0 20px rgba(217, 119, 6, 0.35), 0 8px 22px rgba(0, 0, 0, 0.12) !important;
  background: #f8fafc !important;
}

/* ==========================================================================
   ORGANIZATION STRUCTURE (ORG CHART) ADVANCED STYLES & MODERN CONNECTORS
   ========================================================================== */
.org-chart-wrapper {
  overflow-x: auto;
  padding: 1.5rem 1rem 2rem 1rem;
}

.org-chart-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-width: 1040px;
}

/* Tree Level Row */
.org-level {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Branch Tree Connectors */
.org-branch-fork {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin: 0;
  z-index: 1;
}

.org-stem-top {
  width: 2.5px;
  height: 22px;
  background: linear-gradient(180deg, #f59e0b, #38bdf8);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
  position: relative;
}

.org-stem-top.gold-stem {
  background: linear-gradient(180deg, #f59e0b, #fbbf24);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.7);
}

.org-stem-top.cyan-stem {
  background: linear-gradient(180deg, #38bdf8, #0ea5e9);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}

.org-stem-top.emerald-stem {
  background: linear-gradient(180deg, #10b981, #34d399);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
}

.org-junction-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8, 0 0 16px rgba(56, 189, 248, 0.9);
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

.gold-dot {
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b, 0 0 16px rgba(245, 158, 11, 0.9);
}

/* The Horizontal Branch Crossbar */
.org-crossbar-row {
  display: flex;
  justify-content: space-around;
  width: 100%;
  position: relative;
  height: 22px;
}

.org-crossbar-line {
  position: absolute;
  top: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #38bdf8, #60a5fa, #38bdf8);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.75);
  border-radius: 2px;
}

.org-crossbar-line.gold-bar {
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.75);
}

.org-crossbar-line.emerald-bar {
  background: linear-gradient(90deg, #10b981, #34d399, #10b981);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.75);
}

/* Individual node wrapper and drop stem */
.org-node-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  max-width: 300px;
}

.org-stem-down-child {
  width: 2.5px;
  height: 22px;
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
  margin: 0 auto;
}

.org-stem-down-child.gold-stem {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.org-stem-down-child.emerald-stem {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

/* Cards */
.org-node-card {
  background: rgba(15, 23, 42, 0.92);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  width: 100%;
  max-width: 290px;
}

.org-node-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.28);
  border-color: #38bdf8;
}

.org-node-card.gold-node {
  border-color: rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
}

.org-node-card.gold-node:hover {
  border-color: #fbbf24;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.38);
}

.org-node-card.emerald-node {
  border-color: rgba(52, 211, 153, 0.5);
}

.org-node-card.emerald-node:hover {
  border-color: #34d399;
  box-shadow: 0 12px 30px rgba(52, 211, 153, 0.35);
}

.org-node-card.indigo-node {
  border-color: rgba(129, 140, 248, 0.5);
}

.org-node-card.indigo-node:hover {
  border-color: #818cf8;
  box-shadow: 0 12px 30px rgba(129, 140, 248, 0.35);
}

.org-node-card.pink-node {
  border-color: rgba(244, 114, 182, 0.5);
}

.org-node-card.pink-node:hover {
  border-color: #f472b6;
  box-shadow: 0 12px 30px rgba(244, 114, 182, 0.35);
}

.org-node-card.vacant-node {
  background: rgba(15, 23, 42, 0.45);
  border: 1.5px dashed rgba(255, 255, 255, 0.22);
  opacity: 0.85;
}

.org-node-card.vacant-node:hover {
  border-color: #94a3b8;
  opacity: 1;
}

.org-node-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #38bdf8;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.gold-node .org-node-avatar {
  border-color: #f59e0b;
}

.emerald-node .org-node-avatar {
  border-color: #10b981;
}

.indigo-node .org-node-avatar {
  border-color: #6366f1;
}

.pink-node .org-node-avatar {
  border-color: #ec4899;
}

.org-node-avatar:hover {
  transform: scale(1.15);
}

.org-node-info {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.org-node-name {
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.org-node-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.gold-node .org-node-role {
  color: #fbbf24;
}

.emerald-node .org-node-role {
  color: #34d399;
}

.indigo-node .org-node-role {
  color: #818cf8;
}

.pink-node .org-node-role {
  color: #f472b6;
}

.org-node-code {
  font-size: 0.7rem;
  font-family: monospace;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: bold;
}

.gold-node .org-node-code {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

/* Light Theme for Org Chart */
[data-theme="light"] .org-node-card {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .org-node-card:hover {
  border-color: #0284c7;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .org-node-card.gold-node {
  background: linear-gradient(135deg, #ffffff, #fffbeb);
  border-color: rgba(217, 119, 6, 0.4);
}

[data-theme="light"] .org-node-card.gold-node:hover {
  border-color: #d97706;
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.2);
}

[data-theme="light"] .org-node-card.vacant-node {
  background: #f8fafc;
  border-color: #cbd5e1;
}

[data-theme="light"] .org-node-name {
  color: #0f172a;
}

[data-theme="light"] .org-node-role {
  color: #0284c7;
}

[data-theme="light"] .gold-node .org-node-role {
  color: #d97706;
}

[data-theme="light"] .emerald-node .org-node-role {
  color: #059669;
}

[data-theme="light"] .indigo-node .org-node-role {
  color: #4f46e5;
}

[data-theme="light"] .pink-node .org-node-role {
  color: #db2777;
}

[data-theme="light"] .org-stem-top,
[data-theme="light"] .org-stem-down-child,
[data-theme="light"] .org-crossbar-line {
  box-shadow: 0 0 6px rgba(2, 132, 199, 0.4);
}

/* Sub-Tabs System in company_projects.php */
.subtab-nav-wrapper {
  display: flex;
  gap: 8px;
  background: rgba(15, 23, 42, 0.75);
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.subtab-nav-wrapper::-webkit-scrollbar {
  display: none;
}
.subtab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}
.subtab-btn:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}
.subtab-btn.active {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
}
.subtab-btn.active-gold {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
}
.subtab-btn.active-emerald {
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.3);
}
.subtab-btn.active-cyan {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
}
.subtab-btn.active-amber {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
}
.subtab-btn.active-purple {
  color: #c084fc;
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
}

.year-filter-pill {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.year-filter-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.year-filter-pill.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

/* Document & Contract Item Cards */
.doc-card-item {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}
.doc-card-item:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.15);
  transform: translateY(-2px);
}

[data-theme="light"] .subtab-nav-wrapper {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
[data-theme="light"] .subtab-btn {
  color: #64748b;
}
[data-theme="light"] .subtab-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
[data-theme="light"] .subtab-btn.active {
  background: #e0f2fe;
  color: #0284c7;
  border-color: #38bdf8;
}
[data-theme="light"] .year-filter-pill {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}
[data-theme="light"] .year-filter-pill.active {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0284c7;
}
[data-theme="light"] .doc-card-item {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}





