@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --primary: #1a7a4a;
  --primary-dark: #145f39;
  --primary-light: #22a361;
  --primary-xlight: #e8f5ee;
  --accent: #ff6b35;
  --accent-dark: #e55a27;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --info: #17a2b8;
  --dark: #1a1a2e;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --white: #ffffff;
  --sidebar-width: 220px;
  --navbar-height: 60px;
  --font-main: 'Poppins', sans-serif;
  --font-display: 'Nunito', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;

  /* Table status colors */
  --table-blank: #ffffff;
  --table-running: #3b82f6;
  --table-printed: #22a361;
  --table-paid: #f59e0b;
  --table-kot: #f97316;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-main);
  background: var(--gray-100);
  color: var(--dark);
  font-size: 14px;
  overflow-x: hidden;
}

/* ========== NAVBAR ========== */
.navbar-app {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-height);
  background: var(--white);
  border-bottom: 2px solid var(--primary-xlight);
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 1000;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  font-weight: 800;
  font-family: var(--font-display);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.brand-sub {
  font-size: 9px;
  color: var(--gray-600);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.navbar-btn-new {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.navbar-btn-new:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,122,74,0.3);
}

.navbar-search {
  flex: 0 0 180px;
}
.navbar-search input {
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}
.navbar-search input:focus { border-color: var(--primary); }

.navbar-center { flex: 1; display: flex; justify-content: center; }

.navbar-support {
  background: var(--primary-xlight);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-icon-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-600);
  font-size: 16px;
  transition: all 0.2s;
  text-decoration: none;
}
.nav-icon-btn:hover { background: var(--primary-xlight); color: var(--primary); }
.nav-icon-btn.active { background: var(--primary); color: white; }

/* ========== SIDEBAR ========== */
.sidebar {
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--dark);
  padding: 12px 0;
  overflow-y: auto;
  z-index: 900;
  transition: transform 0.3s;
}

.sidebar-section {
  padding: 8px 12px 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  border-left: 3px solid transparent;
  cursor: pointer;
}
.sidebar-item:hover {
  background: rgba(255,255,255,0.06);
  color: white;
  border-left-color: var(--primary-light);
}
.sidebar-item.active {
  background: rgba(26,122,74,0.2);
  color: var(--primary-light);
  border-left-color: var(--primary-light);
}
.sidebar-item i { font-size: 16px; width: 20px; text-align: center; }

/* ========== MAIN CONTENT ========== */
.main-content {
  margin-left: var(--sidebar-width);
  margin-top: var(--navbar-height);
  padding: 20px;
  min-height: calc(100vh - var(--navbar-height));
}

/* ========== PAGE HEADER ========== */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.page-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
}

.btn-primary-app {
  background: var(--primary);
  color: white;
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.btn-primary-app:hover {
  background: var(--primary-dark);
  color: white;
  box-shadow: 0 4px 12px rgba(26,122,74,0.3);
}

.btn-outline-app {
  background: white;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.btn-outline-app:hover {
  background: var(--primary-xlight);
  color: var(--primary);
}

.btn-danger-app {
  background: var(--danger);
  color: white;
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-danger-app:hover { background: #c82333; box-shadow: 0 4px 12px rgba(220,53,69,0.3); }

/* ========== TABLE GRID (Dashboard) ========== */
.section-label {
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 10px;
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-300);
}

.tables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}

.table-card {
  aspect-ratio: 1;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  position: relative;
  font-weight: 700;
  font-size: 18px;
  font-family: var(--font-display);
  color: var(--gray-600);
  gap: 4px;
  user-select: none;
}
.table-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  color: var(--primary);
}

.table-card.running { border: 2px solid var(--table-running); color: var(--table-running); background: #eff6ff; }
.table-card.printed { border: 2px solid var(--table-printed); color: var(--table-printed); background: #f0fdf4; }
.table-card.paid    { border: 2px solid var(--table-paid);    color: var(--table-paid);    background: #fffbeb; }
.table-card.kot     { border: 2px solid var(--table-kot);     color: var(--table-kot);     background: #fff7ed; }

.table-pax {
  font-size: 10px;
  font-weight: 500;
  color: inherit;
  opacity: 0.7;
}

.table-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  background: white;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  font-size: 12px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--gray-600);
}
.legend-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}

/* ========== ORDER PAGE ========== */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 16px;
  height: calc(100vh - var(--navbar-height) - 40px);
}

.menu-panel {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.order-panel {
  background: white;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

/* Order Tabs */
.order-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--gray-200);
}
.order-tab {
  padding: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--gray-600);
  border: none;
  background: transparent;
}
.order-tab.active {
  background: var(--primary);
  color: white;
}

/* Menu Search */
.menu-search {
  padding: 12px;
  border-bottom: 1px solid var(--gray-200);
}
.menu-search input {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 9px 14px 9px 36px;
  font-size: 13px;
  outline: none;
  background: var(--gray-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") 10px center no-repeat;
}
.menu-search input:focus { border-color: var(--primary); background-color: white; }

/* Category Sidebar */
.menu-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.category-list {
  width: 130px;
  background: #1a1a2e;
  overflow-y: auto;
  flex-shrink: 0;
}
.cat-item {
  padding: 12px 10px;
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border-left: 3px solid transparent;
  line-height: 1.3;
  text-align: center;
}
.cat-item:hover { background: rgba(255,255,255,0.05); color: white; }
.cat-item.active {
  background: rgba(26,122,74,0.25);
  color: var(--primary-light);
  border-left-color: var(--primary-light);
}

/* Items Grid */
.items-grid {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  align-content: start;
}

.menu-item-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 10px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  background: white;
  position: relative;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.menu-item-card:hover {
  border-color: var(--primary);
  background: var(--primary-xlight);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.menu-item-card.veg::before {
  content: '';
  position: absolute;
  top: 5px; left: 5px;
  width: 10px; height: 10px;
  border: 1.5px solid #22a361;
  border-radius: 2px;
}
.menu-item-card.veg::after {
  content: '';
  position: absolute;
  top: 8px; left: 8px;
  width: 4px; height: 4px;
  background: #22a361;
  border-radius: 50%;
}
.menu-item-card.nonveg::before {
  content: '';
  position: absolute;
  top: 5px; left: 5px;
  width: 10px; height: 10px;
  border: 1.5px solid #dc3545;
  border-radius: 2px;
}
.menu-item-card.nonveg::after {
  content: '';
  position: absolute;
  top: 8px; left: 8px;
  width: 4px; height: 4px;
  background: #dc3545;
  border-radius: 50%;
}

.item-price {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
}

/* Order Panel */
.order-header {
  padding: 12px 14px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.order-table-badge {
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
}

.order-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}
.order-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--gray-500);
  gap: 10px;
  font-size: 13px;
}
.order-empty i { font-size: 48px; opacity: 0.3; }

.order-item-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 8px;
  padding: 8px 6px;
  border-bottom: 1px solid var(--gray-100);
}
.order-item-name { font-size: 13px; font-weight: 500; }
.qty-control {
  display: flex;
  align-items: center;
  gap: 4px;
}
.qty-btn {
  width: 24px; height: 24px;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  background: white;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.15s;
}
.qty-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.qty-val { min-width: 24px; text-align: center; font-weight: 600; font-size: 13px; }
.item-total { font-weight: 600; font-size: 13px; color: var(--primary); min-width: 55px; text-align: right; }
.remove-item { color: var(--danger); cursor: pointer; font-size: 14px; }

/* Order Footer */
.order-footer {
  border-top: 1px solid var(--gray-200);
  padding: 10px 14px;
}
.order-summary {
  margin-bottom: 10px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  font-size: 13px;
  color: var(--gray-600);
}
.summary-row.total {
  font-weight: 700;
  font-size: 16px;
  color: var(--dark);
  border-top: 1px solid var(--gray-300);
  padding-top: 8px;
  margin-top: 4px;
}

/* Payment options */
.payment-options {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.pay-option {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  cursor: pointer;
  font-weight: 500;
}
.pay-option input { accent-color: var(--primary); }

.checkboxes-row {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  cursor: pointer;
  font-weight: 500;
}
.check-label input { accent-color: var(--primary); }

.action-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 6px;
}
.action-btn {
  padding: 9px 4px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.action-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-save     { background: var(--primary); color: white; }
.btn-print    { background: var(--info); color: white; }
.btn-ebill    { background: #6f42c1; color: white; }
.btn-kot      { background: var(--warning); color: #333; }
.btn-kot-print{ background: var(--accent); color: white; }
.btn-hold     { background: var(--gray-200); color: var(--gray-800); }

/* ========== MENU MANAGEMENT ========== */
.menu-mgmt-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
}

.card-app {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.form-group-app {
  margin-bottom: 14px;
}
.form-label-app {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-control-app {
  width: 100%;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font-main);
}
.form-control-app:focus { border-color: var(--primary); }

.menu-items-table {
  width: 100%;
  border-collapse: collapse;
}
.menu-items-table th {
  padding: 10px 14px;
  background: var(--primary-xlight);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.menu-items-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 13px;
}
.menu-items-table tr:hover td { background: var(--gray-100); }

.badge-veg {
  background: #d4edda;
  color: #155724;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
}
.badge-nonveg {
  background: #f8d7da;
  color: #721c24;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
}
.badge-available { background: #d4edda; color: #155724; }
.badge-unavail   { background: #f8d7da; color: #721c24; }

/* ========== BILL PAGE ========== */
.bill-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
}

.bill-preview {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  max-width: 700px;
}

.bill-print-area {
  font-family: 'Courier New', monospace;
  font-size: 13px;
}
.bill-header { text-align: center; margin-bottom: 16px; }
.bill-hotel-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.bill-subtitle { font-size: 11px; color: var(--gray-600); }
.bill-address { font-size: 12px; margin: 4px 0; }
.bill-gstin { font-size: 11px; font-weight: 600; }
.bill-divider { border-top: 1px dashed var(--gray-400); margin: 12px 0; }
.bill-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; font-size: 12px; margin-bottom: 8px; }
.bill-table-header {
  display: grid;
  grid-template-columns: 2fr 0.5fr 1fr 1fr;
  font-weight: 700;
  padding: 6px 0;
  border-bottom: 1px solid var(--dark);
  border-top: 1px solid var(--dark);
  font-size: 12px;
}
.bill-item-row {
  display: grid;
  grid-template-columns: 2fr 0.5fr 1fr 1fr;
  padding: 5px 0;
  border-bottom: 1px dashed var(--gray-200);
  font-size: 12px;
}
.bill-totals { padding: 8px 0; font-size: 13px; }
.bill-total-row {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
}
.bill-total-row.grand {
  font-weight: 800;
  font-size: 16px;
  border-top: 2px solid var(--dark);
  margin-top: 6px;
  padding-top: 8px;
  font-family: var(--font-display);
}
.bill-footer-msg { text-align: center; margin-top: 14px; font-size: 11px; color: var(--gray-600); }
.bill-thank { font-weight: 700; font-size: 13px; color: var(--primary); }

/* Bill actions panel */
.bill-actions-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ========== TOAST ========== */
.toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: white;
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  border-left: 4px solid var(--primary);
  min-width: 250px;
  animation: slideIn 0.3s ease;
}
.toast.success { border-color: var(--success); }
.toast.error   { border-color: var(--danger); }
.toast.warning { border-color: var(--warning); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ========== MODAL ========== */
.modal-app .modal-content { border: none; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.modal-app .modal-header {
  background: var(--primary);
  color: white;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 14px 20px;
}
.modal-app .modal-header .btn-close { filter: brightness(0) invert(1); }
.modal-app .modal-title { font-weight: 700; font-family: var(--font-display); }

/* ========== STATS CARDS ========== */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-val { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 12px; color: var(--gray-600); font-weight: 500; }
.stat-icon { font-size: 28px; margin-bottom: 4px; }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ========== LOGIN ========== */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f3d22 0%, #1a7a4a 50%, #22a361 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.login-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}
.login-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  position: relative;
}
.login-logo {
  text-align: center;
  margin-bottom: 28px;
}
.login-logo-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(26,122,74,0.35);
}
.login-app-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
}
.login-tagline { font-size: 12px; color: var(--gray-600); }
.login-form-label { font-size: 12px; font-weight: 600; color: var(--gray-600); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
.login-input {
  width: 100%;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 14px;
}
.login-input:focus { border-color: var(--primary); }
.login-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  padding: 13px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}
.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,122,74,0.4);
}

/* Utilities */
.text-primary-app { color: var(--primary) !important; }
.text-muted-app { color: var(--gray-600) !important; }
.fw-700 { font-weight: 700 !important; }
.gap-8 { gap: 8px !important; }
.d-flex { display: flex; }
.align-center { align-items: center; }
#employeeSidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#employeeSidebar .sidebar-item {
  position: relative;
  margin: 4px 12px;
  border-radius: 12px;
  transition: all 0.25s ease;
}

#employeeSidebar .sidebar-item.active,
#employeeSidebar .sidebar-item:hover {
  background: rgba(20, 155, 92, 0.18);
  color: #22c06b;
  box-shadow: inset 3px 0 0 #22c06b;
}

#employeeSidebar .sidebar-item.active i,
#employeeSidebar .sidebar-item:hover i {
  color: #22c06b;
}

.employee-logout-wrap {
  margin-top: auto;
  padding: 18px 16px;
}

.employee-logout-btn {
  width: 100%;
  border: none;
  background: #f4e6e8;
  color: #f04d5d;
  border-radius: 14px;
  padding: 14px;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: 0.2s ease;
}

.employee-logout-btn:hover {
  background: #ffe2e6;
  transform: translateY(-1px);
}