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

:root {
  /* Mandatory Universal Design System Tokens */
  --brand-navy:      #0B1E36;
  --canvas-bg:       #CBD8E6;
  --card-white:      #FFFFFF;
  --card-muted:      #F1F5F9;
  
  /* Buttons & Interactions */
  --btn-start-bg:    #70B4FF;
  --btn-start-text:  #0B1E36;
  --pill-bg:         #EDF2F7;
  
  /* Typography */
  --text-primary:    #0F172A;
  --text-muted:      #64748B;
  --text-inactive:   #94A3B8;
  
  /* Tags & Alerts */
  --tag-blue-bg:     #E0EFFF;
  --tag-blue-text:   #1D4ED8;
  --geofence-bg:     rgba(45, 20, 30, 0.6);
  --geofence-border: #8B2C3E;
  --geofence-text:   #FDA4AF;

  /* Brand Tokens */
  --navy:        #091E36;   /* sidebar, dark split-cards, kiosk background */
  --navy-2:      #0F2B4A;   /* secondary dark surface / gradient partner */
  --teal:        #1BB4A6;   /* primary accent — buttons, active states, links */
  --teal-dark:   #00B2B6;   /* hover/pressed, gradient partner */
  --teal-light:  #4FE0D3;   /* lighter gradient partner for hero cards on light bg */
  --gold:        #F2B441;   /* secondary accent — bounded use */
  --gold-light:  #FFD98A;   /* gradient partner for gold cards */
  --white:       #FFFFFF;
  --bg:          #F7F9FB;   /* page background — brighter */
  --ink:         #0B2038;
  --muted:       #6B7C93;
  --line:        #E3E9EF;

  /* Explicit Brand Variable Names */
  --brand-navy-main: #091E36;
  --brand-navy-dark: #0F2B4A;
  --brand-teal-main: #1BB4A6;
  --brand-gold-warm: #F2B441;
  --brand-emerald:   #10B981;
  --app-bg-canvas:   #F7F9FB;

  /* Untouched Semantic */
  --red:      #E5484D;   /* late alerts, negative variance, destructive actions */
  --red-bg:   #FDEDEE;
  --green-1:  #17B685;   /* approvals, "Perfect" warnings status, positive variance */
  --green-2:  #0C9A6E;

  /* Compatibility aliases */
  --brand-blue-primary: var(--brand-teal-main);
  --brand-blue-light: rgba(27, 180, 166, 0.12);
  --brand-gradient-primary: linear-gradient(135deg, var(--brand-teal-main) 0%, var(--teal-dark) 100%);
  --brand-gradient-header: linear-gradient(160deg, var(--brand-navy-main) 0%, var(--navy-2) 100%);
  --brand-gradient-text: linear-gradient(90deg, var(--brand-navy-main) 0%, var(--brand-teal-main) 100%);
  
  --app-glass-bg: rgba(255, 255, 255, 0.85);
  --app-glass-border: 1px solid var(--line);
  --app-glass-shadow: 0 8px 24px rgba(9, 30, 54, 0.06);
}

body, .app-root, .main-content-area, .mobile-app-wrapper {
  background-color: var(--app-bg-canvas) !important;
  background-image: none !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--ink);
}

/* Universal Section Header Component (Apple 3D Sharp) */
.app-page-header {
  background: linear-gradient(135deg, #102A45 0%, #1E3A5F 100%) !important;
  border-radius: 16px !important;
  padding: 22px 28px !important;
  margin-bottom: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 8px 24px -4px rgba(9, 30, 54, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

@media (min-width: 768px) {
  .app-page-header {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
  }
}

.app-page-header h1,
.app-page-header .page-title {
  color: #FFFFFF !important;
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.2 !important;
  font-family: 'Manrope', sans-serif !important;
  letter-spacing: -0.02em;
}

.app-page-header p,
.app-page-header .page-subtitle {
  color: var(--brand-teal-main) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

.app-page-header .btn-brand-secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}
.app-page-header .btn-brand-secondary:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #FFFFFF !important;
  transform: none !important;
}

/* Legacy Section Page Title & Subtitle Component */
.page-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 4px;
}
.page-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 20px;
  font-weight: 500;
}

/* Section Heading Component (.sec-head) */
.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  padding: 16px 22px;
  margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 4px 16px -2px rgba(9, 30, 54, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.sec-head-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sec-head .ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(9, 30, 54, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.sec-head .sec-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.2;
}
.sec-head .sec-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
}

/* Universal Content Cards (Apple 3D Sharp) */
.app-content-card {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.85) !important;
  border-radius: 18px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 6px 20px -2px rgba(9, 30, 54, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
  padding: 24px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.app-content-card:hover {
  border-color: rgba(203, 213, 225, 1) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 10px 24px -3px rgba(9, 30, 54, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  transform: none !important;
}

/* Action Buttons & Global Primary CTA (3D Tactile, Zero Jump) */
.btn-brand-primary,
.btn-primary,
button.btn-primary,
button.btn-brand-primary {
  background: var(--brand-teal-main) !important;
  color: white !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  padding: 10px 20px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(27, 180, 166, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  transition: background-color 0.18s ease, box-shadow 0.18s ease !important;
  transform: none !important;
}
.btn-brand-primary:hover,
.btn-primary:hover,
button.btn-primary:hover,
button.btn-brand-primary:hover {
  background: var(--teal-dark) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 6px 16px rgba(0, 178, 182, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  transform: none !important;
}

.btn-brand-secondary {
  background: #ffffff !important;
  color: var(--navy) !important;
  border: 1px solid rgba(203, 213, 225, 0.9) !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  padding: 8px 18px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  transition: background-color 0.18s ease, border-color 0.18s ease !important;
  transform: none !important;
}
.btn-brand-secondary:hover {
  background: #F8FAFC !important;
  border-color: var(--teal) !important;
  color: var(--teal-dark) !important;
  transform: none !important;
}

/* Settings Toggle State Helpers */
.btn-toggle-on {
  background: var(--brand-teal-main) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(27, 180, 166, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}
.btn-toggle-off {
  background: #CBD5E1 !important;
  color: #475569 !important;
  border: none !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.08) !important;
}

/* Roster Builder Stat Card Grid (Stationary 3D Depth) */
.roster-stat-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr 1fr 0.9fr;
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 1280px) {
  .roster-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .roster-stat-grid {
    grid-template-columns: 1fr;
  }
}

.roster-stat-card {
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 6px 18px rgba(9, 30, 54, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  transform: none !important;
}
.roster-stat-card:hover {
  transform: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 22px rgba(9, 30, 54, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

.roster-stat-card-1 {
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal-dark) 100%);
  color: var(--white);
}

.roster-stat-card-2 {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  color: var(--ink);
}

.roster-stat-card-3 {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: #5C3B0A;
}

.roster-stat-card-4 {
  background: var(--navy);
  color: var(--white);
}

.roster-stat-card-5 {
  background: linear-gradient(135deg, #17B685 0%, #0C9A6E 100%);
  color: var(--white);
}

/* Shift Chip Tints */
.shift-chip-morning {
  background-color: #EAF7F6 !important;
  border-left: 4px solid var(--teal) !important;
}
.shift-chip-midday {
  background-color: #EAF0F7 !important;
  border-left: 4px solid var(--navy-2) !important;
}
.shift-chip-evening {
  background-color: #FFF6E4 !important;
  border-left: 4px solid var(--gold) !important;
}

/* Sidebar Items */
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #94A3B8;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}
.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}
.sidebar-item.sidebar-active {
  background: rgba(56, 194, 183, 0.15);
  color: var(--teal);
  border-left: 3px solid var(--teal);
  font-weight: 800;
}

/* Executive Metric Cards Design System (Apple 3D Sharp) */
.metric-card-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (min-width: 640px) {
  .metric-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .metric-card-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.metric-card-item {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px -2px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  transform: none !important;
}

.metric-card-item:hover {
  transform: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px -2px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  border-color: rgba(203, 213, 225, 1) !important;
}

.metric-card-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.metric-card-indigo .metric-card-accent-bar { background: linear-gradient(90deg, #6366F1, #4F46E5); }
.metric-card-sky .metric-card-accent-bar { background: linear-gradient(90deg, #38BDF8, #0284C7); }
.metric-card-emerald .metric-card-accent-bar { background: linear-gradient(90deg, #34D399, #059669); }
.metric-card-rose .metric-card-accent-bar { background: linear-gradient(90deg, #F87171, #DC2626); }
.metric-card-violet .metric-card-accent-bar { background: linear-gradient(90deg, #A78BFA, #7C3AED); }
.metric-card-amber .metric-card-accent-bar { background: linear-gradient(90deg, #FBBF24, #D97706); }
.metric-card-teal .metric-card-accent-bar { background: linear-gradient(90deg, #2DD4BF, #0D9488); }

/* Roster Grid Day Columns & Sticky Day Headers */
.roster-day-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 3px solid var(--brand-blue-primary);
  border-left: 1px solid rgba(226, 232, 240, 0.8);
  border-right: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px 12px 0 0;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Employee Mobile Layout & Sticky Headers */
.mobile-curved-header {
  background: var(--brand-gradient-header);
  border-radius: 0 0 28px 28px;
  color: #ffffff;
  padding: 24px 20px 44px 20px;
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(9, 30, 54, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.mobile-overlap-card {
  margin-top: -24px !important;
  position: relative !important;
  z-index: 20 !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 22px !important;
  padding-top: 24px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 28px -4px rgba(9, 30, 54, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}
.mobile-bottom-nav {
  position: sticky !important;
  bottom: 0 !important;
  z-index: 40 !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-top: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}
.mobile-tab-active-dot {
  width: 5px;
  height: 5px;
  background-color: var(--brand-blue-primary);
  border-radius: 50%;
  margin-top: 3px;
  box-shadow: 0 0 6px var(--brand-blue-primary);
}

/* Kiosk Time Interface (Sharp Apple 3D) */
.kiosk-canvas {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #07192F;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(27, 180, 166, 0.15) 0px, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(15, 43, 74, 0.4) 0px, transparent 60%) !important;
}
.kiosk-card {
  width: 100%;
  max-width: 480px;
  background: rgba(15, 43, 74, 0.85) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 24px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.4), 0 16px 40px -4px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  padding: 36px 32px !important;
}
.kiosk-numpad-btn {
  width: 100%; 
  aspect-ratio: 1; 
  font-size: 26px; 
  font-weight: 800; 
  border-radius: 20px; 
  background: rgba(255, 255, 255, 0.08); 
  color: #ffffff; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  cursor: pointer; 
  transition: background-color 0.15s ease, border-color 0.15s ease; 
  border: 1px solid rgba(255, 255, 255, 0.12); 
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: none !important;
}
.kiosk-numpad-btn:hover {
  border-color: var(--brand-teal-main);
  background: rgba(27, 180, 166, 0.18);
  transform: none !important;
}
.kiosk-numpad-btn:active {
  background: rgba(27, 180, 166, 0.28); 
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.3);
  transform: none !important;
}

html { 
    font-size: 16px; 
    scroll-behavior: smooth;
} 
@media (min-width: 768px) { html { font-size: 17px; } } 
@media (min-width: 1280px) { html { font-size: 18px; } }

/* Premium Subtle Fade (Stationary, No Scale) */
.animate-fade-in { 
    animation: fadeIn 0.25s ease-out forwards; 
}

@keyframes fadeIn { 
    from { 
        opacity: 0; 
    } 
    to { 
        opacity: 1; 
    } 
}

/* Micro-Interaction Transitions (Zero Scale/Shake) */
.hover-lift {
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    transform: none !important;
}
.hover-lift:hover {
    transform: none !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 8px 24px -2px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255,255,255,0.95);
}
.hover-lift:active {
    transform: none !important;
}

/* Master Glassmorphism & SaaS Elements */
.glass-panel { 
    background: rgba(255, 255, 255, 0.88); 
    backdrop-filter: blur(20px) saturate(180%); 
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.8); 
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px 0 rgba(9, 30, 54, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border-radius: 18px;
}

/* Glowing & 3D Tactile Shadows */
.shadow-primary-glow {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 6px 18px -2px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.shadow-emerald-glow {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 6px 18px -2px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.shadow-red-glow {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 6px 18px -2px rgba(239, 68, 68, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Sidebar Item & Navigation Overhaul (Apple 3D Sharp) */
.sidebar-item { 
    position: relative; 
    padding: 11px 16px; 
    border-radius: 12px; 
    color: #94a3b8; 
    font-weight: 700; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; 
    cursor: pointer; 
    margin-bottom: 4px; 
    overflow: hidden; 
    white-space: nowrap; 
    transform: none !important;
}

.sidebar-item i {
    transition: color 0.15s ease;
    transform: none !important;
}
.sidebar-item:hover i {
    transform: none !important;
}

/* Sidebar Active & Hover States */
.sidebar-item-home:hover { background-color: rgba(56, 189, 248, 0.1) !important; color: #38bdf8 !important; }
.sidebar-item-home.sidebar-active { 
    background: rgba(56, 189, 248, 0.14) !important; 
    color: #38bdf8 !important; 
    font-weight: 800; 
    border-left: 3px solid #38bdf8 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sidebar-item-roster:hover { background-color: rgba(52, 211, 153, 0.1) !important; color: #34d399 !important; }
.sidebar-item-roster.sidebar-active { 
    background: rgba(52, 211, 153, 0.14) !important; 
    color: #34d399 !important; 
    font-weight: 800; 
    border-left: 3px solid #34d399 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sidebar-item-staff:hover { background-color: rgba(167, 139, 250, 0.1) !important; color: #a78bfa !important; }
.sidebar-item-staff.sidebar-active { 
    background: rgba(167, 139, 250, 0.14) !important; 
    color: #a78bfa !important; 
    font-weight: 800; 
    border-left: 3px solid #a78bfa !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sidebar-item-compliance:hover { background-color: rgba(251, 191, 36, 0.1) !important; color: #fbbf24 !important; }
.sidebar-item-compliance.sidebar-active { 
    background: rgba(251, 191, 36, 0.14) !important; 
    color: #fbbf24 !important; 
    font-weight: 800; 
    border-left: 3px solid #fbbf24 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sidebar-item-swaps:hover { background-color: rgba(244, 114, 182, 0.1) !important; color: #f472b6 !important; }
.sidebar-item-swaps.sidebar-active { 
    background: rgba(244, 114, 182, 0.14) !important; 
    color: #f472b6 !important; 
    font-weight: 800; 
    border-left: 3px solid #f472b6 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sidebar-item-leave:hover { background-color: rgba(251, 146, 60, 0.1) !important; color: #fb923c !important; }
.sidebar-item-leave.sidebar-active { 
    background: rgba(251, 146, 60, 0.14) !important; 
    color: #fb923c !important; 
    font-weight: 800; 
    border-left: 3px solid #fb923c !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sidebar-item-time:hover { background-color: rgba(251, 113, 133, 0.1) !important; color: #fb7185 !important; }
.sidebar-item-time.sidebar-active { 
    background: rgba(251, 113, 133, 0.14) !important; 
    color: #fb7185 !important; 
    font-weight: 800; 
    border-left: 3px solid #fb7185 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sidebar-item-reports:hover { background-color: rgba(129, 140, 248, 0.1) !important; color: #818cf8 !important; }
.sidebar-item-reports.sidebar-active { 
    background: rgba(129, 140, 248, 0.14) !important; 
    color: #818cf8 !important; 
    font-weight: 800; 
    border-left: 3px solid #818cf8 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sidebar-item-payroll:hover { background-color: rgba(45, 212, 191, 0.1) !important; color: #2dd4bf !important; }
.sidebar-item-payroll.sidebar-active { 
    background: rgba(45, 212, 191, 0.14) !important; 
    color: #2dd4bf !important; 
    font-weight: 800; 
    border-left: 3px solid #2dd4bf !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sidebar-item-system:hover { background-color: rgba(148, 163, 184, 0.1) !important; color: #94a3b8 !important; }
.sidebar-item-system.sidebar-active { 
    background: rgba(148, 163, 184, 0.14) !important; 
    color: #e2e8f0 !important; 
    font-weight: 800; 
    border-left: 3px solid #94a3b8 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sidebar-item-tasks:hover { background-color: rgba(27, 180, 166, 0.1) !important; color: var(--brand-teal-main) !important; }
.sidebar-item-tasks.sidebar-active { 
    background: rgba(27, 180, 166, 0.14) !important; 
    color: var(--brand-teal-main) !important; 
    font-weight: 800; 
    border-left: 3px solid var(--brand-teal-main) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Numpad Button Enhancements (Stationary 3D Sharp) */
.numpad-btn { 
    width: 100%; 
    aspect-ratio: 1; 
    font-size: 26px; 
    font-weight: 800; 
    border-radius: 20px; 
    background: #ffffff; 
    color: #1e293b; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    transition: background-color 0.15s ease, border-color 0.15s ease; 
    border: 1px solid rgba(226, 232, 240, 0.9); 
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 10px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.95); 
    transform: none !important;
}
.numpad-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: none !important;
}
.numpad-btn:active { 
    background: #f1f5f9; 
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
    transform: none !important;
}

/* Sticky Utilities for Whole Application */
.sticky-apple-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 35 !important;
    background: rgba(247, 249, 251, 0.9) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
}

.sticky-apple-toolbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 25 !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

/* ==========================================================================
   GLOBAL OVERRIDE: ELIMINATE ALL SHAKE, SCALE, GROW, AND JUMP ANIMATIONS
   Force zero physical scaling across all platforms (Desktop / Mobile / iPad / Kiosk)
   ========================================================================== */
*, *::before, *::after {
    /* Prevent accidental transform shake or growth */
}

/* Neutralize all scale classes */
.scale-105, .scale-110, .scale-102, .scale-95,
.hover\:scale-105:hover, .hover\:scale-110:hover, .hover\:scale-102:hover,
.active\:scale-95:active, .active\:scale-\[0\.99\]:active,
.group-hover\:scale-105, .group-hover\:scale-110 {
    transform: none !important;
}

/* Neutralize jump/translate hovers */
.hover\:-translate-y-1:hover, .hover\:-translate-y-0\.5:hover, .hover\:-translate-y-2:hover,
.hover\:translate-y-1:hover, .hover\:translate-x-1:hover {
    transform: none !important;
}

/* Disable annoying shake, bounce, and growth keyframe animations */
.animate-bounce, .animate-pulse:not(.clock-pulse-clean) {
    animation: none !important;
}

/* Clean stationary hover for cards and buttons */
button, a, [role="button"], .card, .app-content-card, .metric-card-item, .roster-stat-card {
    transform: none !important;
}
button:hover, a:hover, [role="button"]:hover, .card:hover {
    transform: none !important;
}
button:active, a:active, [role="button"]:active {
    transform: none !important;
}

/* Hide scrollbars cleanly */
.no-scrollbar::-webkit-scrollbar,
.mobile-scroll-container::-webkit-scrollbar,
.custom-scrollbar::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.no-scrollbar,
.mobile-scroll-container,
.custom-scrollbar {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}



