/* ==============================================================================
   DEEPA'S PODIS — OFFICIAL ARTISANAL BRAND DESIGN SYSTEM
   Salem, Tamil Nadu • Est. 2026
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Lora:ital,wght@0,500;0,600;1,400&family=Playfair+Display:wght@600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Rye&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Brand Heritage Palette */
  --brand-primary: #8a2405;        /* Deep Roasted Chili Terracotta */
  --brand-primary-dark: #6b1b02;
  --brand-primary-light: #fff5ee;
  --brand-accent: #c27803;         /* Turmeric Ochre / Saffron */
  --brand-accent-light: #fef3c7;
  --brand-kraft: #d8c2a7;          /* Authentic Kraft Paper Tone */
  --brand-kraft-light: #f6efe6;
  --brand-ink: #181512;            /* Deep Woodblock Ink Black */
  
  /* Modern Neutral Canvas */
  --bg-page: #f7f3eb;              /* Warm Artisanal Canvas */
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;
  --bg-subtle: #f2ece1;
  --text-main: #1c1917;
  --text-muted: #57534e;
  --text-subtle: #8c827a;
  --border-light: #e7dfd5;
  --border-medium: #d6cbbe;
  --border-dark: #292524;
  
  /* Status Color System */
  --status-completed-bg: #dcfce7;
  --status-completed-text: #15803d;
  --status-completed-border: #86efac;
  
  --status-shipped-bg: #e0e7ff;
  --status-shipped-text: #4338ca;
  --status-shipped-border: #a5b4fc;
  
  --status-cooking-bg: #ffedd5;
  --status-cooking-text: #c2410c;
  --status-cooking-border: #fdba74;
  
  --status-ready-bg: #fef9c3;
  --status-ready-text: #854d0e;
  --status-ready-border: #fde047;
  
  --status-pending-bg: #f3f4f6;
  --status-pending-text: #4b5563;
  --status-pending-border: #d1d5db;

  /* Shadows & Depth */
  --shadow-xs: 0 1px 2px rgba(24, 21, 18, 0.04);
  --shadow-sm: 0 2px 4px rgba(24, 21, 18, 0.06);
  --shadow-md: 0 6px 16px -2px rgba(24, 21, 18, 0.08), 0 2px 6px -1px rgba(24, 21, 18, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(24, 21, 18, 0.1), 0 4px 10px -2px rgba(24, 21, 18, 0.05);
  --shadow-xl: 0 20px 32px -6px rgba(24, 21, 18, 0.12), 0 8px 16px -4px rgba(24, 21, 18, 0.06);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* Reset & Box Model */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography Helpers */
.font-brand { font-family: 'Rye', serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }
.font-heading { font-family: 'Space Grotesk', sans-serif; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-muted { color: var(--text-muted); }
.text-right { text-align: right; }
.text-center { text-align: center; }

/* Top Navigation Bar */
.navbar {
  background: #181512;
  background: linear-gradient(135deg, #1f1b17 0%, #15120f 100%);
  color: #ffffff;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 2px solid #8a2405;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.nav-brand-logo {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease;
}

.nav-brand-logo:hover {
  transform: scale(1.04);
}

.brand-title {
  font-family: 'Rye', serif;
  font-size: 21px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
}

.brand-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  background: #c27803;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.nav-tagline {
  font-size: 11px;
  color: #a8a29e;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 1px;
}

.nav-center-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.07);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-tab-btn {
  background: transparent;
  border: none;
  color: #d6d3d1;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.nav-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-tab-btn.active {
  background: #8a2405;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(138, 36, 5, 0.4);
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Quick Sync Live Button */
.btn-live-sync {
  background: #166534;
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  color: white;
  border: 1px solid #22c55e;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(22, 101, 52, 0.3);
  transition: all 0.2s ease;
}

.btn-live-sync:hover {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(22, 101, 52, 0.4);
}

/* Main Container Layout */
.app-container {
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 28px 48px;
}

/* Tab Panes */
.tab-pane {
  display: none;
  animation: fadeIn 0.25s ease forwards;
}

.tab-pane.active {
  display: block;
}

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

/* Hero KPI Metrics Grid */
.kpi-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--kpi-accent, var(--brand-primary));
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.kpi-info-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.kpi-info-val {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
}

.kpi-info-sub {
  font-size: 11px;
  color: var(--text-subtle);
  margin-top: 2px;
}

.kpi-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--kpi-bubble-bg, #fff5ee);
  color: var(--kpi-accent, var(--brand-primary));
}

/* Section Header & Toolbar */
.section-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.toolbar-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.toolbar-main-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-primary);
}

.toolbar-sub-text {
  font-size: 13px;
  color: var(--text-muted);
}

.filter-chips-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.chip-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.chip-btn:hover {
  background: var(--brand-kraft-light);
  color: var(--text-main);
  border-color: var(--border-medium);
}

.chip-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 2px 6px rgba(138, 36, 5, 0.3);
}

.chip-count {
  background: rgba(0, 0, 0, 0.08);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
}

.chip-btn.active .chip-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Card Boxes */
.card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 24px;
}

.card-box-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #faf7f2;
}

.card-box-body {
  padding: 20px;
}

/* Search and Action Bar */
.search-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.search-input-wrap {
  position: relative;
  max-width: 380px;
  width: 100%;
}

.search-input-wrap input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  font-size: 13px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.search-input-wrap input:focus {
  border-color: var(--brand-primary);
}

.search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  font-size: 14px;
}

/* Data Table */
.data-table-responsive {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.data-table th {
  background: #f7f3ec;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-medium);
  white-space: nowrap;
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background-color 0.15s ease;
}

.data-table tbody tr:hover {
  background-color: #fcfaf7;
}

/* Customer Cell */
.customer-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.customer-avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f1ece1;
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-medium);
}

.customer-name {
  font-weight: 700;
  color: var(--text-main);
  font-size: 14px;
}

.customer-loc {
  font-size: 11px;
  color: var(--text-muted);
}

/* Items Tag Matrix */
.items-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 320px;
}

.item-tag {
  background: #fbf7ee;
  border: 1px solid #ebd9c2;
  color: #78350f;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: capitalize;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-badge.completed, .status-badge.fullfilled {
  background: var(--status-completed-bg);
  color: var(--status-completed-text);
  border: 1px solid var(--status-completed-border);
}

.status-badge.shipped, .status-badge.dispatched {
  background: var(--status-shipped-bg);
  color: var(--status-shipped-text);
  border: 1px solid var(--status-shipped-border);
}

.status-badge.cooking, .status-badge.processing {
  background: var(--status-cooking-bg);
  color: var(--status-cooking-text);
  border: 1px solid var(--status-cooking-border);
}

.status-badge.ready {
  background: var(--status-ready-bg);
  color: var(--status-ready-text);
  border: 1px solid var(--status-ready-border);
}

/* Action Buttons */
.row-actions-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-whatsapp-action {
  background: #25d366;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(37, 211, 102, 0.3);
  transition: all 0.15s ease;
}

.btn-whatsapp-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(37, 211, 102, 0.4);
}

.btn-generate-action {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  border: 1px solid rgba(138, 36, 5, 0.3);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-generate-action:hover {
  background: var(--brand-primary);
  color: #ffffff;
}

.btn-view-invoice {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-view-invoice:hover {
  background: #334155;
  color: white;
}

/* Product Showcase Grid */
.product-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  background: #f8fafc;
  overflow: hidden;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.06);
}

.product-net-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(24, 21, 18, 0.85);
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
}

.product-card-content {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-primary);
}

.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.product-price {
  font-size: 22px;
  font-weight: 800;
  color: #181512;
  font-family: 'JetBrains Mono', monospace;
}

.product-tax-chip {
  font-size: 11px;
  font-weight: 700;
  background: #fef3c7;
  color: #78350f;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Forms & Settings Grid */
.form-grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.col-span-2 {
  grid-column: span 2;
}

.form-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  background: #ffffff;
  color: var(--text-main);
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(138, 36, 5, 0.1);
}

.btn-primary {
  background: #8a2405;
  background: linear-gradient(135deg, #9a3412 0%, #7c2d12 100%);
  color: #ffffff;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(138, 36, 5, 0.3);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #7c2d12;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(138, 36, 5, 0.4);
}

/* Modal Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(24, 21, 18, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #faf7f2;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  background: #faf7f2;
}

/* ==============================================================================
   SLIDE-OVER SETTINGS DRAWER (CONTROL CENTER)
   ============================================================================== */

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(24, 21, 18, 0.55);
  backdrop-filter: blur(5px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-container {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  box-shadow: -8px 0 32px rgba(24, 21, 18, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 201;
}

.drawer-overlay.active .drawer-container {
  transform: translateX(0);
}

.drawer-header {
  padding: 18px 24px;
  background: #181512;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #8a2405;
}

.drawer-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.2s;
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.drawer-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #faf7f2;
}

.drawer-section-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
}

.drawer-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.drawer-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-primary);
  text-decoration: none;
  background: var(--brand-primary-light);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(138, 36, 5, 0.2);
  transition: all 0.15s ease;
}

.drawer-link-btn:hover {
  background: var(--brand-primary);
  color: #ffffff;
}

/* Automation Toggle Switch */
.toggle-switch-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #fdfbf7;
  border: 1px solid var(--border-medium);
  border-radius: 8px;
}

.toggle-switch-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.toggle-switch-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .25s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .25s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #15803d;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.drawer-footer {
  padding: 16px 24px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Header Settings Trigger Button */
.btn-header-settings {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-header-settings:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
