/* ============================================================
   Vincore HRMS — Premium Admin Theme (Filament v3)
   Sidebar  : deep navy  #0D1B39
   Topbar   : white, company dropdown + centred search + icon dropdowns
   Content  : lavender grey #EEF2FB, white cards, 14px radius
   Accent   : --vnav-accent (indigo / violet for super admin)
   ============================================================ */

:root {
  --vnav-accent: #2563EB;
  --vc-navy: #04102E;
  --vc-navy-soft: #081B4B;
  --vc-content: #EEF2FB;
  --vc-card-border: #ECF0F7;
  --vc-line: #F0F3F9;
  --vc-ink: #101828;
  --vc-ink-2: #344054;
  --vc-ink-3: #667085;
  --vc-ink-4: #98A2B3;
  --vc-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}

/* ---------- shell ---------- */
body,
.fi-main,
.fi-main-ctn,
main { background: var(--vc-content) !important; }

.fi-main { color: var(--vc-ink) !important; }

/* ---------- sidebar ---------- */
.fi-sidebar,
.fi-sidebar-header,
aside.fi-sidebar {
  background: linear-gradient(180deg, #051438 0%, #030D26 100%) !important;
  background-color: #051438 !important;
  box-shadow: none !important;
  border-right: 1px solid rgba(255, 255, 255, .06) !important;
  --tw-ring-shadow: 0 0 #0000 !important;
}

.fi-sidebar-header {
  border-bottom: 1px solid rgba(255, 255, 255, .07) !important;
  background: transparent !important;
}

.fi-sidebar-header button,
.fi-sidebar-header .fi-icon-btn {
  color: #8EA2C6 !important;
}
.fi-sidebar-header button:hover,
.fi-sidebar-header .fi-icon-btn:hover {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.fi-sidebar .fi-sidebar-nav { background: transparent !important; }

.fi-sidebar ::-webkit-scrollbar { width: 4px; }
.fi-sidebar ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .15); border-radius: 99px; }

/* brand block (logo + name + panel subtitle) */
.vc-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.vc-brand-tile {
  width: 36px; height: 36px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(140deg, #2563EB 0%, #1D4ED8 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
}
.vc-brand-tile svg { width: 22px; height: 22px; }
.vc-brand-logo { width: auto; max-width: 36px; object-fit: contain; border-radius: 8px; }
.vc-brand-text { min-width: 0; }
.vc-brand-text b {
  display: block; color: #FFFFFF; font-size: 15px; font-weight: 800;
  line-height: 1.2; letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vc-brand-text small {
  display: block; color: #8EA2C6; font-size: 11px; font-weight: 600;
  letter-spacing: .03em; margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* group labels */
.fi-sidebar-group-label,
.fi-sidebar-group-button,
.fi-sidebar-group-label span,
.fi-sidebar-group-button span {
  color: #6E88B5 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

/* nav items */
.fi-sidebar-item-button {
  color: #B2C4DF !important;
  border-radius: 10px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  transition: all 0.15s ease !important;
  padding: 8px 12px !important;
}
.fi-sidebar-item-icon { color: #7E97C2 !important; transition: color 0.15s ease !important; }
.fi-sidebar-item-button:hover {
  background: rgba(255, 255, 255, .08) !important;
  color: #FFFFFF !important;
}
.fi-sidebar-item-button:hover .fi-sidebar-item-icon { color: #FFFFFF !important; }

/* Filament paints the label span itself */
.fi-sidebar .fi-sidebar-item-label { color: #B2C4DF !important; font-weight: 500 !important; }
.fi-sidebar .fi-sidebar-item-button:hover .fi-sidebar-item-label { color: #FFFFFF !important; }
.fi-sidebar-item-active > .fi-sidebar-item-button .fi-sidebar-item-label,
.fi-sidebar-item-button.fi-active .fi-sidebar-item-label { color: #FFFFFF !important; font-weight: 700 !important; }

.fi-sidebar-item-active > .fi-sidebar-item-button,
.fi-sidebar-item-button.fi-active {
  background: linear-gradient(90deg, #2563EB 0%, #3B82F6 100%) !important;
  background-color: #2563EB !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45) !important;
}

/* Collapsed sidebar must hide completely on desktop (no icon rail) */
@media (min-width: 1024px) {
  .fi-sidebar:not(.fi-sidebar-open) {
    width: 0 !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
}
.fi-sidebar-item-active > .fi-sidebar-item-button .fi-sidebar-item-icon,
.fi-sidebar-item-button.fi-active .fi-sidebar-item-icon { color: #FFFFFF !important; }

/* sidebar help card */
.vc-helpcard {
  margin: 12px;
  padding: 10px 10px 10px 12px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
}
.vc-helpcard-icon {
  width: 34px; height: 34px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(74, 92, 240, .28);
  color: #C9D4FF;
}
.vc-helpcard-icon svg { width: 18px; height: 18px; }
.vc-helpcard-meta { min-width: 0; flex: 1; }
.vc-helpcard-meta b { display: block; color: #EAF0FB; font-size: 12.5px; font-weight: 700; }
.vc-helpcard-meta small { display: block; color: #8CA0C0; font-size: 11px; }
.vc-helpcard-btn {
  width: 26px; height: 26px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  color: #DCE5F5;
  transition: background .15s ease;
}
.vc-helpcard-btn:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.vc-helpcard-btn svg { width: 14px; height: 14px; }

/* ---------- topbar ---------- */
.fi-topbar { background: #fff !important; }

.vc-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 68px;
  padding: 0 22px;
  background: #fff;
  border-bottom: 1px solid #E7EBF3;
}

.vc-burger { color: #475467 !important; }

/* company selector card */
.vc-company {
  display: flex; align-items: center; gap: 10px;
  margin-inline-end: auto;
  padding: 6px 12px 6px 7px;
  background: #fff;
  border: 1px solid #E4E9F2;
  border-radius: 12px;
  box-shadow: var(--vc-shadow);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.vc-company:hover { border-color: #C9D4EE; box-shadow: 0 3px 10px -2px rgba(16, 24, 40, .12); }
.vc-company-tile {
  width: 34px; height: 34px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: #E1EDFE;
  color: #2E90FA;
  overflow: hidden;
}
.vc-company-icon { width: 18px; height: 18px; }
.vc-company-logo { width: 26px; height: 26px; object-fit: contain; }
.vc-company-meta { text-align: start; min-width: 0; }
.vc-company-meta b {
  display: block; font-size: 13px; font-weight: 700; color: var(--vc-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px;
}
.vc-company-meta small { display: block; font-size: 10.5px; color: var(--vc-ink-3); font-weight: 500; }
.vc-company-chev { width: 15px; height: 15px; color: var(--vc-ink-4); }

.vc-topbar-end {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

/* global search pill */
.vc-search { position: relative; width: min(520px, 100%); margin-inline-end: auto; }
.vc-search .fi-global-search { width: 100%; }
.vc-search .fi-input-wrapper {
  background: #F2F5FA !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  border-radius: 10px !important;
  --tw-ring-shadow: 0 0 #0000 !important;
}
.vc-search .fi-input-wrapper:focus-within { background: #fff !important; border-color: var(--vnav-accent) !important; }
.vc-search input { font-size: 13px; }
.vc-search-kbd {
  position: absolute; right: 10px; top: 50%; translate: 0 -50%;
  font-family: inherit; font-size: 10.5px; font-weight: 700; color: var(--vc-ink-4);
  background: #fff; border: 1px solid #E4E9F2; border-radius: 6px;
  padding: 3px 6px; pointer-events: none;
}

/* icon buttons (calendar / bell / help) */
.vc-iconbtn {
  position: relative;
  width: 40px; height: 40px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 10px;
  background: transparent; color: #5A6B8C; cursor: pointer;
  transition: background .15s ease;
}
.vc-iconbtn:hover { background: #F1F4FA; color: var(--vc-ink-2); }
.vc-iconbtn-icon { width: 22px; height: 22px; }

.vc-bell-badge {
  position: absolute !important;
  top: 2px !important;
  right: 2px !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 9999px !important;
  border: 1.5px solid #ffffff !important;
  background-color: #EF4444 !important;
  color: #ffffff !important;
  font-size: 10.5px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.45) !important;
  z-index: 5 !important;
}

/* Sidebar navigation item badges (solid red circle background, bold white text) */
.fi-sidebar .fi-badge,
.fi-sidebar .fi-sidebar-item-badge,
.fi-sidebar span[class*="badge"],
.fi-sidebar-item-button .fi-badge,
.fi-sidebar-item-button span[class*="badge"],
.vc-sidebar-badge {
  background-color: #EF4444 !important;
  background: #EF4444 !important;
  color: #FFFFFF !important;
  font-weight: 850 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  border-radius: 9999px !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 5px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.45) !important;
  margin-inline-start: auto !important;
}

.fi-sidebar .fi-badge *,
.fi-sidebar .fi-sidebar-item-badge *,
.fi-sidebar span[class*="badge"] *,
.fi-sidebar-item-button .fi-badge *,
.fi-sidebar-item-button span[class*="badge"] *,
.vc-sidebar-badge * {
  color: #FFFFFF !important;
  font-weight: 850 !important;
}

/* user chip */
.vc-userchip {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 6px; border: none; background: transparent;
  border-radius: 12px; cursor: pointer;
  transition: background .15s ease;
}
.vc-userchip:hover { background: #F1F4FA; }
.vc-userchip-avatar { position: relative; display: inline-flex; }
.vc-userchip-avatar .fi-user-avatar { width: 36px; height: 36px; }
.vc-userchip-dot {
  position: absolute; bottom: 0; right: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: #12B76A; border: 2px solid #fff;
}
.vc-userchip-meta { text-align: start; }
.vc-userchip-meta b { display: block; font-size: 13px; font-weight: 700; color: var(--vc-ink); line-height: 1.2; }
.vc-userchip-meta small { display: block; font-size: 10.5px; color: var(--vc-ink-3); font-weight: 500; }
.vc-userchip-chev { width: 15px; height: 15px; color: var(--vc-ink-4); }

/* ---------- dropdown panels ---------- */
.fi-dropdown-panel {
  border-radius: 12px !important;
  border: 1px solid var(--vc-card-border) !important;
  box-shadow: 0 16px 40px -16px rgba(16, 24, 40, .22) !important;
}

/* ---------- generic cards on all pages ---------- */
.fi-section,
.fi-widget,
.fi-tables-table-container {
  background: #fff !important;
  border: 1px solid var(--vc-card-border);
  border-radius: 14px;
  box-shadow: var(--vc-shadow);
}

/* ---------- footer ---------- */
.vc-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 28px 24px;
  color: var(--vc-ink-4); font-size: 12px; font-weight: 500;
}

/* ============================================================
   Dashboard page
   ============================================================ */
.vc-dash { display: flex; flex-direction: column; gap: 18px; padding: 22px 24px 4px; }

/* welcome banner */
.vc-banner {
  display: flex; align-items: center; gap: 22px;
  padding: 24px 26px;
  border-radius: 16px;
  border: 1px solid #E3EAF8;
  background: linear-gradient(100deg, #E9EEFB 0%, #F4F7FE 45%, #E8EFFC 100%);
}
.vc-banner-text { min-width: 240px; }
.vc-banner-text h1 { font-size: 21px; font-weight: 800; color: var(--vc-ink); letter-spacing: -.02em; }
.vc-banner-text p { margin-top: 4px; font-size: 12.5px; color: #5A6B8C; }
.vc-wave { display: inline-block; }
.vc-banner-art { flex: 1; display: flex; justify-content: center; min-width: 0; }
.vc-banner-art svg { width: min(360px, 100%); height: auto; max-height: 118px; }
.vc-banner-quote { margin: 0; font-size: 12px; line-height: 1.65; color: #64748B; max-width: 210px; }

.vc-range {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  background: #fff;
  border: 1px solid #E4E9F2;
  border-radius: 10px;
  box-shadow: var(--vc-shadow);
  cursor: pointer;
  white-space: nowrap;
}
.vc-range select { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.vc-range-icon { width: 16px; height: 16px; color: var(--vnav-accent); }
.vc-range-label { font-size: 12.5px; font-weight: 600; color: var(--vc-ink-2); }
.vc-range-chev { width: 14px; height: 14px; color: var(--vc-ink-4); }

/* stat cards */
.vc-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }

.vc-card {
  background: #fff;
  border: 1px solid var(--vc-card-border);
  border-radius: 14px;
  box-shadow: var(--vc-shadow);
}

.vc-stat { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 0; overflow: hidden; }
.vc-stat-top { display: flex; align-items: flex-start; gap: 12px; }
.vc-stat-meta { min-width: 0; }
.vc-stat-label { display: block; font-size: 11.5px; font-weight: 600; color: var(--vc-ink-3); }
.vc-stat-value { display: block; margin-top: 2px; font-size: 21px; font-weight: 800; color: var(--vc-ink); letter-spacing: -.02em; line-height: 1.2; }
.vc-stat-foot { margin: 0; font-size: 11px; font-weight: 600; }
.vc-tone-up { color: #12B76A; }
.vc-tone-down { color: #E5484D; }
.vc-tone-flat { color: var(--vc-ink-3); }
.vc-spark { display: block; width: calc(100% + 32px); height: 38px; margin-inline: -16px; margin-block: 2px 0; }

/* icon tiles */
.vc-tile {
  width: 42px; height: 42px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
}
.vc-tile-icon { width: 20px; height: 20px; }
.vc-tile-sm { width: 34px; height: 34px; border-radius: 10px; }
.vc-tile-sm .vc-tile-icon { width: 16px; height: 16px; }
.vc-tile-violet { background: #EEEBFE; color: #6D5BD0; }
.vc-tile-green  { background: #D9F6E8; color: #12B76A; }
.vc-tile-orange { background: #FEF0E0; color: #F79009; }
.vc-tile-red    { background: #FDE3E3; color: #E5484D; }
.vc-tile-blue   { background: #E1EDFE; color: #2E90FA; }
.vc-tile-indigo { background: #E7EBFE; color: #4A5CF0; }
.vc-tile-pink   { background: #FDE7F1; color: #DB2777; }
.vc-tile-cyan   { background: #DCF3F9; color: #0899B5; }

/* charts row */
.vc-charts { display: grid; grid-template-columns: 1.62fr 1fr; gap: 16px; }

.vc-card-head {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--vc-line);
}
.vc-card-head h3 { margin: 0; font-size: 14px; font-weight: 700; color: var(--vc-ink); }
.vc-card-head p { margin: 2px 0 0; font-size: 11.5px; color: var(--vc-ink-3); }

.vc-select {
  margin-left: auto;
  height: 34px;
  padding: 0 30px 0 12px;
  border: 1px solid #E4E9F2;
  border-radius: 9px;
  background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2398A2B3' stroke-width='1.8'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 8px center / 14px;
  font-size: 12px; font-weight: 600; color: var(--vc-ink-2);
  appearance: none; cursor: pointer;
}
.vc-select:focus { outline: 2px solid rgba(74, 92, 240, .25); border-color: var(--vnav-accent); }

.vc-legend { display: flex; justify-content: flex-end; gap: 18px; padding: 12px 18px 0; font-size: 12px; font-weight: 500; color: #475467; }
.vc-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-inline-end: 6px; }

.vc-chart-body { padding: 6px 18px 18px; }
.vc-canvas { position: relative; height: 272px; width: 100%; }

.vc-donut-wrap { display: flex; align-items: center; gap: 20px; padding: 20px 18px; }
.vc-donut { position: relative; width: 200px; height: 200px; flex: none; }
.vc-canvas-donut { height: 200px; }
.vc-donut-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none;
}
.vc-donut-center strong { font-size: 25px; font-weight: 800; color: var(--vc-ink); letter-spacing: -.02em; }
.vc-donut-center span { font-size: 11.5px; color: var(--vc-ink-3); font-weight: 500; }
.vc-donut-legend { flex: 1; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.vc-donut-legend li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.vc-donut-legend i { width: 10px; height: 10px; border-radius: 4px; flex: none; }
.vc-dl-name { flex: 1; color: var(--vc-ink-2); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-dl-val { color: var(--vc-ink-3); font-weight: 500; white-space: nowrap; }

/* lists row */
.vc-lists { display: grid; grid-template-columns: 5fr 3.4fr 3.6fr; gap: 16px; align-items: stretch; }
.vc-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* equal-height (parallel) list cards */
.vc-lists > .vc-card { display: flex; flex-direction: column; }
.vc-lists > .vc-card > .vc-table,
.vc-lists > .vc-card > .vc-kv { flex: 1 1 auto; }
.vc-side > .vc-card { flex: 1; display: flex; flex-direction: column; }
.vc-side > .vc-card > .vc-bdays,
.vc-side > .vc-card > .vc-news { flex: 1 1 auto; }

.vc-btn-ghost {
  margin-left: auto;
  padding: 5px 11px;
  border: 1px solid #DDE4F6;
  border-radius: 8px;
  background: #fff;
  font-size: 11.5px; font-weight: 600; color: var(--vnav-accent);
  transition: background .15s ease;
}
.vc-btn-ghost:hover { background: #F5F7FE; }

.vc-table { width: 100%; border-collapse: collapse; }
.vc-table th {
  padding: 9px 18px;
  text-align: start;
  font-size: 11px; font-weight: 600; color: var(--vc-ink-3);
  background: #FBFCFE;
  border-bottom: 1px solid var(--vc-line);
}
.vc-table td { padding: 9px 18px; border-bottom: 1px solid #F5F7FA; font-size: 12.5px; vertical-align: middle; }
.vc-table tbody tr:last-child td { border-bottom: none; }
.vc-table tbody tr:hover td { background: #FAFBFE; }

.vc-person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.vc-person b { font-size: 12.5px; font-weight: 600; color: #182230; white-space: nowrap; }
.vc-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.vc-avatar-init {
  display: inline-flex; align-items: center; justify-content: center;
  background: #E1EDFE; color: #2E90FA; font-size: 11px; font-weight: 700;
}
.vc-muted { color: var(--vc-ink-3); }
.vc-kebab { text-align: end; }

.vc-badge { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.vc-badge-green  { background: #E7F8EF; color: #12905D; }
.vc-badge-violet { background: #EFECFE; color: #6D5BD0; }
.vc-badge-orange { background: #FEF2E2; color: #B54708; }
.vc-badge-blue   { background: #E7F1FE; color: #175CD3; }
.vc-badge-cyan   { background: #E0F5FA; color: #0E7090; }
.vc-badge-pink   { background: #FDE7F1; color: #C11574; }

.vc-empty { padding: 18px; text-align: center; color: var(--vc-ink-4); font-size: 12.5px; }

.vc-card-foot {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: auto 18px 18px;
  padding: 9px;
  border: 1px solid #E4E9F2;
  border-radius: 10px;
  background: #fff;
  font-size: 12.5px; font-weight: 600; color: var(--vnav-accent);
  transition: background .15s ease;
}
.vc-card-foot:hover { background: #F5F7FE; }
.vc-foot-icon { width: 15px; height: 15px; }

/* leave summary key-values */
.vc-kv { margin: 0; padding: 4px 0; list-style: none; }
.vc-kv li { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #F5F7FA; }
.vc-kv li:last-child { border-bottom: none; }
.vc-kv-label { flex: 1; font-size: 12.5px; font-weight: 500; color: var(--vc-ink-2); }
.vc-kv b { font-size: 15px; font-weight: 800; color: var(--vc-ink); }
.vc-text-green { color: #12B76A !important; }
.vc-text-orange { color: #F79009 !important; }
.vc-text-red { color: #E5484D !important; }

/* birthdays */
.vc-bdays { margin: 0; padding: 4px 0; list-style: none; }
.vc-bdays li { display: flex; align-items: center; gap: 10px; padding: 9px 18px; border-bottom: 1px solid #F5F7FA; }
.vc-bdays li:last-child { border-bottom: none; }
.vc-bday-meta { min-width: 0; flex: 1; }
.vc-bday-meta b { display: block; font-size: 12.5px; font-weight: 600; color: #182230; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-bday-meta small { display: block; font-size: 11px; color: var(--vc-ink-3); }
.vc-chip {
  flex: none;
  padding: 4px 10px;
  border-radius: 8px;
  background: #E7EBFE; color: var(--vnav-accent);
  font-size: 11px; font-weight: 700;
}

/* announcements */
.vc-news { margin: 0; padding: 4px 0; list-style: none; }
.vc-news li { display: flex; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #F5F7FA; }
.vc-news li:last-child { border-bottom: none; }
.vc-news b { display: block; font-size: 12.5px; font-weight: 700; color: #182230; line-height: 1.35; }
.vc-news p { margin: 3px 0; font-size: 11.5px; color: var(--vc-ink-3); line-height: 1.5; }
.vc-news small { font-size: 10.5px; color: var(--vc-ink-4); font-weight: 500; }

/* ---------- responsive ---------- */
@media (max-width: 1500px) {
  .vc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1280px) {
  .vc-charts { grid-template-columns: 1fr; }
  .vc-lists { grid-template-columns: 1fr 1fr; }
  .vc-side { grid-column: span 2; flex-direction: row; }
  .vc-side > .vc-card { flex: 1; }
  .vc-banner-quote { display: none; }
}
@media (max-width: 900px) {
  .vc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vc-lists { grid-template-columns: 1fr; }
  .vc-side { grid-column: span 1; flex-direction: column; }
  .vc-banner { flex-wrap: wrap; }
  .vc-banner-art { display: none; }
  .vc-search { display: none; }
  .vc-userchip-meta { display: none; }
  .vc-donut-wrap { flex-direction: column; }
}

/* ============================================================
   Login Page Styling (.vc-premium-login & Fallback Layout)
   ============================================================ */
body:has(.vc-premium-login),
body:has(.fi-simple-main) {
  background: #F4F7FC !important;
}

.vc-premium-login {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0D1B39 0%, #16294F 50%, #0F1F42 100%);
  color: #fff;
  padding: 30px 20px;
  font-family: 'Inter', sans-serif;
}

.vc-premium-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  margin-bottom: 24px;
}

.vc-premium-maker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #C7D2E4;
  font-weight: 600;
  font-size: 13px;
}

.vc-premium-maker img { height: 32px; width: auto; }

.vc-premium-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7E93B8;
  font-size: 12px;
}

.vc-premium-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 65px;
  width: 100%;
  max-width: 1100px;
  margin: auto;
}

.vc-premium-intro {
  flex: 1;
  max-width: 520px;
}

.vc-premium-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(74, 92, 240, 0.18);
  color: #94A3FF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.vc-premium-intro h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.vc-premium-intro h1 span { color: #4A5CF0; }

.vc-premium-tagline {
  font-size: 16px;
  font-weight: 600;
  color: #C7D2E4;
  margin-bottom: 8px;
}

.vc-premium-description {
  font-size: 13.5px;
  color: #7E93B8;
  line-height: 1.6;
}

.vc-premium-login-panel {
  width: 100%;
  max-width: 440px;
}

.vc-premium-login-card {
  background: #FFFFFF !important;
  color: #101828 !important;
  border-radius: 20px !important;
  padding: 36px 32px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  text-align: center;
  margin: 0 auto;
}

.vc-premium-vincore-logo {
  max-height: 75px;
  max-width: 180px;
  margin: 0 auto 14px;
  object-fit: contain;
  display: block;
}

.vc-premium-portal {
  font-size: 11.5px;
  font-weight: 700;
  color: #4A5CF0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.vc-premium-login-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: #101828;
  margin-bottom: 4px;
}

.vc-premium-subtitle {
  font-size: 13px;
  color: #667085;
  margin-bottom: 24px;
}

.vc-premium-login-form {
  text-align: start;
}

.vc-premium-powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #F0F3F9;
  color: #667085;
  font-size: 12px;
}

.vc-premium-powered img { height: 22px; width: auto; }

.vc-premium-bottom {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  max-width: 900px;
  margin-top: 30px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vc-premium-bottom > div { text-align: center; }
.vc-premium-bottom b { display: block; font-size: 18px; font-weight: 800; color: #FFFFFF; }
.vc-premium-bottom span { font-size: 11px; color: #7E93B8; }

.vc-premium-footer {
  margin-top: 20px;
  font-size: 12px;
  color: #6E82A8;
  text-align: center;
  display: flex;
  gap: 20px;
}

/* Fallback Filament Default Login Card Alignment */
.fi-simple-main {
  max-width: 440px !important;
  margin: 40px auto !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 32px !important;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.1) !important;
  border: 1px solid #E4E9F2 !important;
}

@media (max-width: 900px) {
  .vc-premium-main { flex-direction: column; }
  .vc-premium-intro { text-align: center; }
  .vc-premium-eyebrow { margin: 0 auto 16px; }
  .vc-premium-bottom { flex-wrap: wrap; gap: 16px; }
}

/* Global Table Search Field & Employee Avatar Spacing Fixes */
.fi-ta-search-field input,
.fi-ta-header-toolbar input[type="search"],
.fi-ta-search-input,
.fi-input-wrapper input[type="search"] {
  padding-left: 44px !important;
}

.fi-ta-search-field,
.fi-ta-search-field .fi-input-wrapper,
.fi-ta-header-toolbar .fi-input-wrapper {
  min-width: 360px !important;
}

.attendance-report-premium td .rounded-full,
.fi-tables-cell-content .rounded-full {
  margin-right: 12px !important;
}

