@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Rajdhani:wght@500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Brand colors — extracted from official print banner (CMYK 80x160cm) */
  --fire-red:    #ED3237;
  --fire-orange: #F6903D;
  --fire-amber:  #FFBB66;
  --brand-gradient: linear-gradient(135deg, #ED3237, #F6903D);

  --bg:       #07070E;
  --bg-1:     #0D0D1A;
  --bg-2:     #121220;
  --bg-3:     #181828;
  --bg-4:     #1E1E30;
  --bg-5:     #252538;
  --bg-6:     #2E2E45;

  --border-dim:    rgba(255,255,255,0.04);
  --border-soft:   rgba(255,255,255,0.07);
  --border-mid:    rgba(255,255,255,0.11);
  --border-bright: rgba(255,255,255,0.18);
  --border-fire:   rgba(246,144,61,0.28);

  --text-1: #EEEEF8;
  --text-2: #8888AA;
  --text-3: #55556A;

  --success: #00C87A;
  --warning: #F5A623;
  --danger:  #F03E5E;
  --info:    #3B8BFF;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow:    0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.55);
  --shadow-fire: 0 4px 24px rgba(237,50,55,0.3);

  --t: 0.18s ease;

  /* legacy compat */
  --dark-900: var(--bg);
  --dark-800: var(--bg-1);
  --dark-700: var(--bg-2);
  --dark-600: var(--bg-3);
  --dark-500: var(--bg-5);
  --dark-400: var(--bg-6);
  --text-primary:   var(--text-1);
  --text-secondary: var(--text-2);
  --text-muted:     var(--text-3);
  --border: var(--border-fire);
  --glow: 0 0 28px rgba(237,50,55,0.35);
  --transition: var(--t);
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text-1);
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
  color: var(--text-1);
}

a { color: var(--fire-orange); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--fire-amber); }

/* ─── TOAST ─────────────────────────────────────────────────── */
#toast-container {
  position: fixed; top: 76px; right: 1.5rem;
  z-index: 9999; display: flex; flex-direction: column; gap: .5rem;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-3);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: .8rem 1.1rem;
  min-width: 280px; max-width: 360px;
  font-size: .82rem; font-weight: 500;
  box-shadow: var(--shadow-lg);
  pointer-events: all;
  animation: toastIn .28s cubic-bezier(.34,1.56,.64,1) forwards;
  border-left: 3px solid var(--bg-5);
  backdrop-filter: blur(12px);
}
.toast.success { border-left-color: var(--success); }
.toast.danger  { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
.toast.info    { border-left-color: var(--info); }
.toast.hiding  { animation: toastOut .22s ease forwards; }
.toast-icon { font-size: 1rem; flex-shrink: 0; }
.toast-msg  { flex: 1; color: var(--text-1); }
.toast-close { background: none; border: none; color: var(--text-3); cursor: pointer; font-size: 1.1rem; padding: 0 2px; transition: color var(--t); }
.toast-close:hover { color: var(--text-1); }
@keyframes toastIn  { from { transform: translateX(110%) scale(.95); opacity: 0; } to { transform: translateX(0) scale(1); opacity: 1; } }
@keyframes toastOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(110%); opacity: 0; } }

/* ─── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  background: rgba(7,7,14,0.9);
  border-bottom: 1px solid var(--border-dim);
  padding: 0 1.75rem;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(20px) saturate(1.4);
}
.navbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.navbar-brand .logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--fire-orange), var(--fire-red));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  box-shadow: 0 0 16px rgba(237,50,55,0.45);
}
.navbar-brand .logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--text-1); line-height: 1; letter-spacing: -0.03em;
}
.navbar-brand .logo-text span { color: var(--fire-orange); }
.navbar-brand .logo-sub { font-size: .58rem; color: var(--text-3); letter-spacing: 2.5px; text-transform: uppercase; }

.navbar-nav { display: flex; align-items: center; gap: .2rem; list-style: none; }
.nav-link {
  color: var(--text-2); padding: .45rem .85rem;
  border-radius: var(--radius-sm); font-size: .83rem; font-weight: 500;
  transition: all var(--t);
}
.nav-link:hover { color: var(--text-1); background: var(--bg-4); }
.nav-link.active { color: var(--text-1); }
.nav-divider { width: 1px; height: 18px; background: var(--border-soft); margin: 0 .4rem; }

.hamburger { display: none; flex-direction: column; gap: 4px; cursor: pointer; padding: 6px; border: none; background: none; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text-2); border-radius: 2px; transition: all .28s; }
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-bell {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  background: var(--bg-4); border: 1px solid var(--border-soft);
  color: var(--text-2); font-size: .95rem; cursor: pointer;
  transition: all var(--t); text-decoration: none;
}
.nav-bell:hover { background: var(--bg-5); color: var(--text-1); border-color: var(--border-mid); }
.nav-bell .bell-dot {
  position: absolute; top: 5px; right: 5px;
  width: 7px; height: 7px;
  background: var(--danger); border-radius: 50%;
  border: 2px solid var(--bg);
  animation: pulse 2.5s infinite;
}
@keyframes pulse { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.6; transform:scale(1.4); } }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: .5rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: .82rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: all var(--t);
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none; white-space: nowrap; letter-spacing: 0.01em;
  position: relative; overflow: hidden;
}
.btn:active { transform: scale(0.975); }

.btn-primary {
  background: var(--fire-orange);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, var(--shadow-fire);
}
.btn-primary::after { content:''; position:absolute; inset:0; background:linear-gradient(to bottom,rgba(255,255,255,.12),rgba(0,0,0,.05)); border-radius:inherit; pointer-events:none; }
.btn-primary:hover { background: #F6903D; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 6px 28px rgba(237,50,55,.4); color:#fff; }

.btn-outline {
  background: transparent; color: var(--fire-orange);
  border: 1px solid rgba(237,50,55,.4);
}
.btn-outline:hover { background: rgba(237,50,55,.08); border-color: var(--fire-orange); color: var(--fire-orange); }

.btn-dark {
  background: var(--bg-4); color: var(--text-2);
  border: 1px solid var(--border-soft);
}
.btn-dark:hover { background: var(--bg-5); color: var(--text-1); border-color: var(--border-mid); }

.btn-success { background: var(--success); color: var(--bg); box-shadow: 0 2px 12px rgba(0,200,122,.25); }
.btn-success:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-danger  { background: var(--danger);  color: #fff; box-shadow: 0 2px 12px rgba(240,62,94,.25); }
.btn-danger:hover  { filter: brightness(1.1); transform: translateY(-1px); }
.btn-warning { background: var(--warning); color: var(--bg); }
.btn-warning:hover { filter: brightness(1.08); }
.btn-info    { background: var(--info); color: #fff; }
.btn-fire    { background: rgba(237,50,55,.15); color: var(--fire-orange); border: 1px solid rgba(237,50,55,.3); }
.btn-fire:hover { background: rgba(237,50,55,.25); }

.btn-sm  { padding: .3rem .75rem; font-size: .75rem; border-radius: var(--radius-sm); }
.btn-lg  { padding: .7rem 1.75rem; font-size: .95rem; border-radius: var(--radius); }
.btn-icon { padding: .4rem; width: 32px; height: 32px; justify-content: center; border-radius: var(--radius-sm); }

/* ─── CARDS ─────────────────────────────────────────────────── */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t), box-shadow var(--t);
}
.card:hover { border-color: var(--border-mid); }

.card-header {
  padding: .9rem 1.4rem;
  border-bottom: 1px solid var(--border-dim);
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  background: rgba(255,255,255,.015);
}
.card-header h3, .card-header h4 { font-size: .9rem; font-weight: 600; color: var(--text-1); letter-spacing: -0.01em; }
.card-body { padding: 1.4rem; }

/* ─── STAT CARDS ─────────────────────────────────────────────── */
.stat-card {
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.35rem;
  position: relative; overflow: hidden;
  transition: all var(--t);
}
.stat-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.025) 0%, transparent 60%);
  pointer-events: none;
}
.stat-card:hover {
  border-color: var(--border-fire);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}
.stat-card .stat-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: .7rem;
}
.stat-card .stat-value {
  font-family: 'Rajdhani', sans-serif; font-size: 1.85rem; font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, var(--text-1) 30%, var(--text-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-card .stat-label { font-size: .75rem; color: var(--text-3); margin-top: 4px; font-weight: 500; text-transform: uppercase; letter-spacing: .6px; }
.stat-card .stat-change {
  font-size: .7rem; margin-top: 8px;
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 7px; border-radius: 20px; font-weight: 600;
}
.stat-change.up      { background: rgba(0,200,122,.1);  color: var(--success); }
.stat-change.down    { background: rgba(240,62,94,.1);   color: var(--danger); }
.stat-change.neutral { background: var(--bg-5);          color: var(--text-2); }

/* ─── TABLES ─────────────────────────────────────────────────── */
.table-container { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .83rem; }
thead tr { border-bottom: 1px solid var(--border-soft); }
thead th {
  padding: .65rem 1rem;
  color: var(--text-3); font-weight: 600;
  font-size: .68rem; text-transform: uppercase; letter-spacing: .8px;
  text-align: left; white-space: nowrap;
  background: rgba(255,255,255,.018);
}
tbody tr { border-bottom: 1px solid var(--border-dim); transition: background var(--t); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,.028); }
td { padding: .8rem 1rem; color: var(--text-2); vertical-align: middle; }
td strong { color: var(--text-1); font-weight: 600; }

/* ─── BADGES ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 3px;
  padding: .18rem .6rem;
  border-radius: 20px;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .4px; white-space: nowrap;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.badge-success   { background: rgba(0,200,122,.12);   color: var(--success);      border: 1px solid rgba(0,200,122,.2); }
.badge-danger    { background: rgba(240,62,94,.12);    color: var(--danger);       border: 1px solid rgba(240,62,94,.2); }
.badge-warning   { background: rgba(245,166,35,.12);   color: var(--warning);      border: 1px solid rgba(245,166,35,.2); }
.badge-info      { background: rgba(59,139,255,.12);   color: var(--info);         border: 1px solid rgba(59,139,255,.2); }
.badge-secondary { background: var(--bg-4);            color: var(--text-2);       border: 1px solid var(--border-soft); }
.badge-fire      { background: rgba(237,50,55,.12);     color: var(--fire-orange);  border: 1px solid rgba(237,50,55,.2); }

.sidebar-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--danger); color: #fff;
  border-radius: 20px; font-size: .62rem; font-weight: 700;
  margin-left: auto; flex-shrink: 0;
}
.sidebar-badge.warning { background: var(--warning); color: var(--bg); }

/* ─── FORMS ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 1rem; }
label {
  display: block; font-size: .72rem; font-weight: 600;
  color: var(--text-3); margin-bottom: .35rem;
  text-transform: uppercase; letter-spacing: .5px;
}
input, select, textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: .55rem .85rem;
  color: var(--text-1);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .85rem; font-weight: 400;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
input:hover, select:hover, textarea:hover { border-color: var(--border-mid); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--fire-orange);
  background: var(--bg-4);
  box-shadow: 0 0 0 3px rgba(237,50,55,.12);
}
input::placeholder, textarea::placeholder { color: var(--text-3); }
select option { background: var(--bg-3); }
textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.input-group { display: flex; gap: 0; }
.input-group input { border-radius: var(--radius-sm) 0 0 var(--radius-sm); flex: 1; }
.input-group .btn  { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.form-hint { font-size: .72rem; color: var(--text-3); margin-top: .3rem; line-height: 1.5; }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.search-box { position: relative; display: inline-flex; align-items: center; }
.search-box input { padding-left: 2.1rem; }
.search-box .search-icon { position: absolute; left: .7rem; color: var(--text-3); font-size: .85rem; pointer-events: none; }

/* ─── ALERTS ─────────────────────────────────────────────────── */
.alert {
  padding: .8rem 1.1rem; border-radius: var(--radius);
  font-size: .83rem; margin-bottom: 1rem;
  display: flex; align-items: flex-start; gap: 9px;
  border: 1px solid transparent;
}
.alert-danger  { background: rgba(240,62,94,.07);   border-color: rgba(240,62,94,.2);   color: var(--danger); }
.alert-success { background: rgba(0,200,122,.07);   border-color: rgba(0,200,122,.2);   color: var(--success); }
.alert-warning { background: rgba(245,166,35,.07);  border-color: rgba(245,166,35,.2);  color: var(--warning); }
.alert-info    { background: rgba(59,139,255,.07);  border-color: rgba(59,139,255,.2);  color: var(--info); }

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.app-layout { display: flex; min-height: calc(100vh - 60px); }

.sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.65); z-index: 149;
  backdrop-filter: blur(3px);
}
.sidebar-overlay.open { display: block; }

.sidebar {
  width: 232px; min-width: 232px;
  background: var(--bg-1);
  border-right: 1px solid var(--border-dim);
  padding: 1.25rem 0;
  position: sticky; top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
  z-index: 150;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}

.sidebar-section { margin-bottom: 1.25rem; }
.sidebar-label {
  font-size: .58rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.8px;
  color: var(--text-3);
  padding: 0 1.1rem; margin-bottom: .3rem;
}
.sidebar-link {
  display: flex; align-items: center; gap: 9px;
  padding: .5rem 1.1rem;
  color: var(--text-2);
  font-size: .83rem; font-weight: 500;
  transition: all var(--t); position: relative;
  margin: 0 .5rem; border-radius: var(--radius-sm);
}
.sidebar-link:hover { color: var(--text-1); background: rgba(255,255,255,.05); }
.sidebar-link.active {
  color: var(--fire-orange);
  background: rgba(237,50,55,.1);
  font-weight: 600;
}
.sidebar-link.active::before {
  content: '';
  position: absolute; left: -2px; top: 25%; bottom: 25%;
  width: 3px; background: var(--fire-orange);
  border-radius: 0 3px 3px 0;
}
.sidebar-link .icon { width: 17px; text-align: center; font-size: .88rem; flex-shrink: 0; }

.main-content { flex: 1; padding: 1.75rem 2rem; overflow: auto; min-width: 0; }

.page-header { margin-bottom: 1.75rem; }
.page-header h1 { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.03em; }
.page-header p  { color: var(--text-3); font-size: .82rem; margin-top: 3px; }

/* ─── GRID ───────────────────────────────────────────────────── */
.grid   { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

/* ─── FILTER TABS (pills) ────────────────────────────────────── */
.filter-tabs { display: flex; gap: .4rem; margin-bottom: 1.35rem; flex-wrap: wrap; }
.filter-tab {
  padding: .35rem .9rem; border-radius: 20px;
  font-size: .75rem; font-weight: 600;
  cursor: pointer; border: 1px solid var(--border-soft);
  background: transparent; color: var(--text-3);
  text-decoration: none; transition: all .18s; white-space: nowrap;
}
.filter-tab:hover  { border-color: var(--border-mid); color: var(--text-2); background: var(--bg-4); }
.filter-tab.active { background: rgba(237,50,55,.12); border-color: rgba(237,50,55,.3); color: var(--fire-orange); }
.filter-tab.tab-pending.active  { background: rgba(245,166,35,.1);  border-color: rgba(245,166,35,.3); color: var(--warning); }
.filter-tab.tab-approved.active { background: rgba(0,200,122,.1);   border-color: rgba(0,200,122,.3);  color: var(--success); }
.filter-tab.tab-rejected.active { background: rgba(240,62,94,.1);   border-color: rgba(240,62,94,.3);  color: var(--danger); }

/* ─── SETTINGS ───────────────────────────────────────────────── */
.settings-section {
  background: var(--bg-2); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.25rem;
}
.settings-section-header {
  padding: .85rem 1.35rem; border-bottom: 1px solid var(--border-dim);
  display: flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.018);
}
.settings-section-header h4 { font-size: .88rem; font-weight: 600; letter-spacing: -.01em; }
.settings-section-body { padding: 1.35rem; }

/* ─── ACTIVITY ───────────────────────────────────────────────── */
.activity-list { display: flex; flex-direction: column; }
.activity-item {
  display: flex; gap: .875rem; padding: .8rem 0;
  border-bottom: 1px solid var(--border-dim);
}
.activity-item:last-child { border-bottom: none; }
.activity-dot {
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .78rem;
}
.activity-dot.order   { background: rgba(245,166,35,.12); }
.activity-dot.invoice { background: rgba(0,200,122,.12); }
.activity-dot.ticket  { background: rgba(59,139,255,.12); }
.activity-dot.user    { background: rgba(237,50,55,.12); }
.activity-dot.system  { background: rgba(255,255,255,.05); }
.activity-body { flex: 1; min-width: 0; }
.activity-desc { font-size: .82rem; color: var(--text-1); }
.activity-meta { font-size: .7rem; color: var(--text-3); margin-top: 2px; }

/* ─── PROGRESS ───────────────────────────────────────────────── */
.progress-bar  { height: 5px; background: var(--bg-5); border-radius: 3px; overflow: hidden; margin-top: 6px; }
.progress-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg,var(--fire-orange),var(--fire-amber)); transition: width .6s ease; }
.progress-fill.success { background: var(--success); }
.progress-fill.info    { background: var(--info); }

/* ─── CHART ──────────────────────────────────────────────────── */
.chart-container { position: relative; height: 200px; width: 100%; }

/* ─── MODAL ──────────────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.72); z-index: 999;
  align-items: center; justify-content: center; padding: 1rem;
  backdrop-filter: blur(6px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-2); border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl); padding: 1.75rem;
  width: 90%; max-width: 520px; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn .22s cubic-bezier(.34,1.2,.64,1);
}
@keyframes modalIn { from { transform: scale(.94) translateY(8px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.35rem; }
.modal-header h3 { font-size: 1.1rem; font-weight: 700; }
.modal-close { background: none; border: none; color: var(--text-3); font-size: 1.4rem; cursor: pointer; padding: .2rem; line-height: 1; transition: color var(--t); }
.modal-close:hover { color: var(--text-1); }

/* ─── ORDER ROWS ─────────────────────────────────────────────── */
.order-row { position: relative; }
.order-row::before {
  content: ''; position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 2px; border-radius: 2px;
}
.order-row.pending::before  { background: var(--warning); }
.order-row.approved::before { background: var(--success); }
.order-row.rejected::before { background: var(--danger); }
.order-row.cancelled::before{ background: var(--text-3); }

/* ─── COPY BUTTON ────────────────────────────────────────────── */
.copy-btn {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .7rem; font-weight: 600; padding: 2px 8px;
  background: var(--bg-5); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); color: var(--text-2);
  cursor: pointer; transition: all var(--t);
}
.copy-btn:hover { background: var(--bg-6); color: var(--text-1); border-color: var(--border-mid); }
.copy-btn.copied { background: rgba(0,200,122,.1); border-color: rgba(0,200,122,.3); color: var(--success); }

/* ─── TABS ───────────────────────────────────────────────────── */
.tab-list { display: flex; gap: .2rem; border-bottom: 1px solid var(--border-soft); margin-bottom: 1.35rem; }
.tab-item {
  padding: .55rem 1.1rem; font-size: .82rem; font-weight: 500;
  color: var(--text-3); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all var(--t); white-space: nowrap;
}
.tab-item:hover { color: var(--text-1); }
.tab-item.active { color: var(--fire-orange); border-bottom-color: var(--fire-orange); }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(237,50,55,.14) 0%, transparent 60%), var(--bg);
  padding: 6rem 4rem 5rem; text-align: center; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.018'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(237,50,55,.08); border: 1px solid rgba(237,50,55,.25);
  color: var(--fire-orange); padding: .3rem .9rem; border-radius: 20px;
  font-size: .75rem; font-weight: 700; margin-bottom: 1.5rem; letter-spacing: .02em;
}
.hero h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.08; margin-bottom: 1.25rem; letter-spacing: -.04em; }
.hero h1 span { background: linear-gradient(90deg,var(--fire-orange),var(--fire-amber)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.hero p { font-size: 1.05rem; color: var(--text-2); max-width: 540px; margin: 0 auto 2.5rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── SECTIONS ───────────────────────────────────────────────── */
.section { padding: 5rem 4rem; }
.section-alt { background: var(--bg-1); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.1rem; font-weight: 700; margin-bottom: .65rem; letter-spacing: -.035em; }
.section-header p  { color: var(--text-2); font-size: .95rem; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.25rem; }
.service-card {
  background: var(--bg-2); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: all .25s; cursor: pointer; position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(237,50,55,.04) 0%,transparent 60%);
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.service-card:hover { border-color: var(--border-fire); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.service-card:hover::after { opacity: 1; }
.service-card .icon {
  width: 48px; height: 48px; background: rgba(237,50,55,.08);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 1.1rem; border: 1px solid rgba(237,50,55,.15);
}
.service-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.service-card p  { font-size: .82rem; color: var(--text-2); line-height: 1.65; margin-bottom: 1.1rem; }
.service-card .features { list-style: none; }
.service-card .features li { font-size: .78rem; color: var(--text-2); padding: .22rem 0; display: flex; align-items: center; gap: 7px; }
.service-card .features li::before { content: '✓'; color: var(--fire-orange); font-weight: 700; font-size: .7rem; }

/* ─── PRICING ────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 1.25rem; }
.pricing-card {
  background: var(--bg-2); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 1.75rem; position: relative; transition: all .25s;
}
.pricing-card.featured { border-color: rgba(237,50,55,.35); box-shadow: 0 0 40px rgba(237,50,55,.12); }
.pricing-card.featured::before {
  content: '🔥 POPULAR';
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--fire-orange);
  color: #fff; font-size: .65rem; font-weight: 800;
  padding: .25rem .9rem; border-radius: 20px; letter-spacing: 1px; white-space: nowrap;
}
.pricing-card h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.pricing-card .plan-desc { font-size: .78rem; color: var(--text-3); margin-bottom: 1.1rem; }
.pricing-card .price { font-family: 'Rajdhani', sans-serif; font-size: 2.4rem; font-weight: 700; color: var(--fire-orange); line-height: 1; }
.pricing-card .price sup { font-size: .95rem; vertical-align: super; }
.pricing-card .price-period { font-size: .75rem; color: var(--text-3); margin-bottom: 1.35rem; }
.pricing-card .specs { list-style: none; margin-bottom: 1.35rem; }
.pricing-card .specs li { font-size: .82rem; color: var(--text-2); padding: .38rem 0; border-bottom: 1px solid var(--border-dim); display: flex; align-items: center; gap: 7px; }
.pricing-card .specs li:last-child { border-bottom: none; }
.pricing-card .specs li .dot { width: 5px; height: 5px; background: var(--fire-orange); border-radius: 50%; flex-shrink: 0; }

/* ─── STATS BAR ──────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-1); border-top: 1px solid var(--border-dim); border-bottom: 1px solid var(--border-dim);
  padding: 2rem 4rem; display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center;
}
.stats-bar .stat-item .num { font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; color: var(--fire-orange); }
.stats-bar .stat-item .lbl { font-size: .75rem; color: var(--text-3); margin-top: 2px; text-transform: uppercase; letter-spacing: .5px; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer { background: var(--bg-1); border-top: 1px solid var(--border-dim); padding: 3rem 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand p { color: var(--text-3); font-size: .82rem; margin-top: .65rem; line-height: 1.75; }
.footer-col h5 { font-size: .68rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-3); margin-bottom: .85rem; font-weight: 700; }
.footer-col a  { display: block; color: var(--text-2); font-size: .82rem; margin-bottom: .45rem; transition: color var(--t); }
.footer-col a:hover { color: var(--fire-orange); }
.footer-bottom { border-top: 1px solid var(--border-dim); margin-top: 2.5rem; padding-top: 1.35rem; text-align: center; color: var(--text-3); font-size: .75rem; }
.footer-bottom span { color: var(--fire-orange); }

/* ─── MISC UTILS ─────────────────────────────────────────────── */
.flex         { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center  { display: flex; justify-content: center; align-items: center; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.mb-0{margin-bottom:0}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}
.text-muted     {color:var(--text-3)}
.text-secondary {color:var(--text-2)}
.text-fire      {color:var(--fire-orange)}
.text-success   {color:var(--success)}
.text-danger    {color:var(--danger)}
.text-warning   {color:var(--warning)}
.text-info      {color:var(--info)}
.text-sm  {font-size:.78rem}
.text-xs  {font-size:.7rem}
.text-center{text-align:center}
.text-right {text-align:right}
.font-mono  {font-family:monospace}
.w-100      {width:100%}
.divider    {border:none;border-top:1px solid var(--border-dim);margin:1.1rem 0}

.empty-state { text-align: center; padding: 3.5rem 2rem; }
.empty-state .icon { font-size: 2.5rem; margin-bottom: .85rem; opacity: .2; }
.empty-state p { color: var(--text-3); font-size: .85rem; }
.empty-state h3 { font-size: 1rem; margin-bottom: .4rem; font-weight: 600; }

/* ─── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-5); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--bg-6); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width:1024px) { .grid-4{grid-template-columns:repeat(2,1fr)} }

@media (max-width:768px) {
  .hero { padding: 3rem 1.5rem; }
  .hero h1 { font-size: 2.1rem; }
  .section { padding: 3rem 1.5rem; }
  .footer { padding: 2rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-bar { grid-template-columns: repeat(2,1fr); padding: 1.5rem; }
  .grid-4,.grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .main-content { padding: 1.1rem 1.25rem; }
  .navbar { padding: 0 1rem; }
  .hamburger { display: flex; }
  .navbar-nav .nav-link:not(.mobile-visible) { display: none; }
  .navbar-nav .nav-divider { display: none; }
  .sidebar {
    position: fixed; top: 60px; left: 0;
    transform: translateX(-100%);
    height: calc(100vh - 60px);
    box-shadow: 4px 0 32px rgba(0,0,0,.5);
  }
  .sidebar.open { transform: translateX(0); }
}
