/* =============================================================
   ExpressHub Panel CSS — expresshub-panel.css
   ============================================================= */

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --eh-primary:       #0F2E5E;
  --eh-primary-light: #1A3C6E;
  --eh-primary-dark:  #091F42;
  --eh-accent:        #E85D2F;
  --eh-accent-light:  #FF7A50;
  --eh-accent-dark:   #C44820;
  --eh-success:       #1E9E6B;
  --eh-warning:       #D4880A;
  --eh-danger:        #C44B35;
  --eh-info:          #1769AA;
  --eh-bg:            #F2F4F8;
  --eh-card:          #FFFFFF;
  --eh-border:        rgba(15,46,94,0.10);
  --eh-border-strong: rgba(15,46,94,0.18);
  --eh-text:          #0F2040;
  --eh-muted:         #6B7A99;
  --eh-sidebar-w:     230px;
  --eh-topbar-h:      60px;
  --eh-font-head:     'Syne', sans-serif;
  --eh-font-body:     'DM Sans', sans-serif;
  --eh-radius:        10px;
  --eh-radius-lg:     14px;
  --eh-radius-xl:     18px;
  --eh-shadow:        0 4px 16px rgba(15,46,94,0.08);
  --eh-shadow-lg:     0 8px 32px rgba(15,46,94,0.12);
  --transition:       0.18s ease;
}

/* ── PANEL PAGE BODY ── */
body.eh-panel-page {
  font-family: var(--eh-font-body);
  background: var(--eh-bg);
  color: var(--eh-text);
  min-height: 100vh;
}
body.eh-panel-page #page,
body.eh-panel-page .site,
body.eh-panel-page .site-content,
body.eh-panel-page main { display: block !important; padding: 0 !important; margin: 0 !important; }

/* ── LAYOUT ── */
.eh-layout { display: flex; min-height: 100vh; }
.eh-main { margin-left: var(--eh-sidebar-w); flex: 1; display: flex; flex-direction: column; min-height: 100vh; }

/* ══════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════ */
.eh-sidebar {
  width: var(--eh-sidebar-w);
  background: var(--eh-primary);
  position: fixed; top: 0; left: 0; bottom: 0;
  display: flex; flex-direction: column;
  z-index: 200;
  transition: transform var(--transition), width var(--transition);
  overflow: hidden;
}

/* Logo */
.eh-sidebar-logo {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.eh-logo-mark { display: flex; align-items: center; gap: 10px; }
.eh-logo-icon {
  width: 36px; height: 36px;
  background: var(--eh-accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.eh-logo-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eh-logo-text { font-family: var(--eh-font-head); font-size: 17px; font-weight: 700; color: #fff; letter-spacing: 0.3px; }
.eh-logo-sub { font-size: 9px; color: rgba(255,255,255,0.38); letter-spacing: 2px; text-transform: uppercase; margin-top: 1px; }

/* User pill */
.eh-sidebar-user {
  margin: 14px 12px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--eh-radius);
  padding: 11px 13px;
  display: flex; align-items: center; gap: 11px;
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
}
.eh-sidebar-user:hover { background: rgba(255,255,255,0.13); }
.eh-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--eh-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--eh-font-head); font-size: 14px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.eh-user-name { font-size: 13px; font-weight: 500; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eh-user-role { font-size: 10px; color: rgba(255,255,255,0.45); display: flex; align-items: center; gap: 4px; margin-top: 1px; }
.eh-role-dot { width: 5px; height: 5px; border-radius: 50%; background: #1E9E6B; flex-shrink: 0; }

/* Navigation */
.eh-nav { flex: 1; padding: 4px 0; overflow-y: auto; overflow-x: hidden; }
.eh-nav::-webkit-scrollbar { width: 3px; }
.eh-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
.eh-nav-section { margin-top: 2px; }
.eh-nav-label {
  font-size: 9px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  padding: 10px 20px 4px;
  white-space: nowrap;
}
.eh-nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 20px;
  cursor: pointer;
  color: rgba(255,255,255,0.65);
  font-size: 13.5px; font-weight: 400;
  transition: all var(--transition);
  border-left: 3px solid transparent;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}
.eh-nav-item:hover { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.9); }
.eh-nav-item.active {
  background: rgba(255,255,255,0.10);
  border-left-color: var(--eh-accent);
  color: #fff; font-weight: 500;
}
.eh-nav-item svg { width: 17px; height: 17px; flex-shrink: 0; opacity: 0.8; }
.eh-nav-item.active svg { opacity: 1; }
.eh-nav-item.logout { color: rgba(255,255,255,0.38); border-left-color: transparent !important; background: none !important; }
.eh-nav-item.logout:hover { color: rgba(255,255,255,0.65); }
.eh-nav-badge {
  margin-left: auto;
  background: var(--eh-accent);
  color: #fff; font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 20px; flex-shrink: 0;
}

/* Sidebar bottom */
.eh-sidebar-bottom {
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   TOPBAR
══════════════════════════════════════════════ */
.eh-topbar {
  height: var(--eh-topbar-h);
  background: var(--eh-card);
  border-bottom: 1px solid var(--eh-border);
  display: flex; align-items: center;
  padding: 0 28px;
  gap: 14px;
  position: sticky; top: 0; z-index: 100;
  flex-shrink: 0;
}
.eh-topbar-toggle {
  display: none; /* shown on mobile */
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--eh-radius);
  border: 1px solid var(--eh-border);
  cursor: pointer; background: transparent;
  color: var(--eh-muted);
}
.eh-topbar-toggle svg { width: 18px; height: 18px; }
.eh-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--eh-muted);
}
.eh-breadcrumb strong { color: var(--eh-text); font-weight: 500; }
.eh-breadcrumb svg { width: 13px; height: 13px; }
.eh-topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* Search */
.eh-search-wrap { position: relative; }
.eh-search-input {
  display: flex; align-items: center; gap: 8px;
  background: var(--eh-bg);
  border: 1px solid var(--eh-border);
  border-radius: var(--eh-radius);
  padding: 7px 14px;
  font-size: 13px; color: var(--eh-muted);
  cursor: text; transition: border-color var(--transition);
  font-family: var(--eh-font-body);
  width: 200px;
}
.eh-search-input:focus-within { border-color: var(--eh-primary); }
.eh-search-input input { border: none; background: transparent; outline: none; font-family: var(--eh-font-body); font-size: 13px; color: var(--eh-text); width: 100%; }
.eh-search-input svg { width: 14px; height: 14px; flex-shrink: 0; }
.eh-search-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--eh-card); border: 1px solid var(--eh-border);
  border-radius: var(--eh-radius); box-shadow: var(--eh-shadow);
  display: none; z-index: 300; overflow: hidden;
}
.eh-search-results.open { display: block; }
.eh-search-result-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 14px; font-size: 13px;
  border-bottom: 1px solid var(--eh-border);
  text-decoration: none; color: var(--eh-text);
  transition: background var(--transition);
}
.eh-search-result-item:last-child { border-bottom: none; }
.eh-search-result-item:hover { background: var(--eh-bg); }

/* Icon buttons */
.eh-icon-btn {
  width: 36px; height: 36px;
  border-radius: var(--eh-radius);
  border: 1px solid var(--eh-border);
  background: var(--eh-card);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; position: relative;
  transition: border-color var(--transition);
  text-decoration: none; color: var(--eh-muted);
}
.eh-icon-btn:hover { border-color: var(--eh-primary); }
.eh-icon-btn svg { width: 16px; height: 16px; }
.eh-notif-dot {
  width: 7px; height: 7px; background: var(--eh-accent);
  border-radius: 50%; position: absolute; top: 6px; right: 6px;
  border: 1.5px solid var(--eh-card);
}
.eh-btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--eh-accent); color: #fff;
  border: none; border-radius: var(--eh-radius);
  padding: 9px 18px; font-size: 13px; font-weight: 500;
  font-family: var(--eh-font-body); cursor: pointer;
  transition: background var(--transition), transform 0.1s;
  text-decoration: none; white-space: nowrap;
}
.eh-btn-primary:hover { background: var(--eh-accent-light); }
.eh-btn-primary:active { transform: scale(0.98); }
.eh-btn-primary svg { width: 14px; height: 14px; stroke: #fff; }

/* WC notices in panel */
.eh-notices { padding: 0 28px; margin-top: 4px; }
.eh-notices .woocommerce-message,
.eh-notices .woocommerce-error,
.eh-notices .woocommerce-info { border-radius: var(--eh-radius); margin-bottom: 8px; }

/* ══════════════════════════════════════════════
   CONTENT AREA
══════════════════════════════════════════════ */
.eh-content { flex: 1; padding: 24px 28px; }

/* ── WELCOME BANNER ── */
.eh-welcome {
  background: linear-gradient(118deg, #1A3C6E 0%, #091F42 100%);
  border-radius: var(--eh-radius-lg);
  padding: 22px 28px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: space-between;
  overflow: hidden; position: relative;
}
.eh-welcome::before {
  content: '';
  position: absolute; right: -50px; top: -60px;
  width: 220px; height: 220px;
  background: rgba(232,93,47,0.12); border-radius: 50%;
}
.eh-welcome::after {
  content: '';
  position: absolute; right: 80px; bottom: -70px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.04); border-radius: 50%;
}
.eh-welcome-text h2 { font-family: var(--eh-font-head); font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 5px; position: relative; z-index: 1; }
.eh-welcome-text p { font-size: 13px; color: rgba(255,255,255,0.58); position: relative; z-index: 1; }
.eh-welcome-badge {
  background: var(--eh-accent); color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 7px 16px; border-radius: 20px;
  white-space: nowrap; position: relative; z-index: 1;
}

/* ── NOTICE BANNER ── */
.eh-notice {
  background: #FFFBF0; border: 1px solid rgba(212,136,10,0.25);
  border-radius: var(--eh-radius);
  padding: 12px 16px; margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
}
.eh-notice-icon { color: var(--eh-warning); flex-shrink: 0; }
.eh-notice-icon svg { width: 18px; height: 18px; }
.eh-notice-text { flex: 1; color: var(--eh-text); }
.eh-notice-text strong { color: var(--eh-warning); }
.eh-notice-close { color: var(--eh-muted); cursor: pointer; font-size: 18px; padding: 0 4px; line-height: 1; background: none; border: none; }

/* ── QUICK ACTIONS ── */
.eh-quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.eh-qa-btn {
  background: var(--eh-card); border: 1px solid var(--eh-border);
  border-radius: var(--eh-radius-lg);
  padding: 16px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer; transition: all var(--transition);
  text-align: center; text-decoration: none; color: var(--eh-text);
}
.eh-qa-btn:hover { border-color: var(--eh-primary); background: #F6F8FC; transform: translateY(-2px); box-shadow: var(--eh-shadow); }
.eh-qa-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.eh-qa-icon svg { width: 19px; height: 19px; }
.eh-qa-label { font-size: 12px; font-weight: 500; color: var(--eh-text); }

/* ── STATS ── */
.eh-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.eh-stat-card {
  background: var(--eh-card); border: 1px solid var(--eh-border);
  border-radius: var(--eh-radius-lg); padding: 18px 18px 14px;
  position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.eh-stat-card:hover { transform: translateY(-2px); box-shadow: var(--eh-shadow); }
.eh-stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; border-radius: var(--eh-radius-lg) var(--eh-radius-lg) 0 0;
}
.eh-stat-card.blue::before   { background: var(--eh-info); }
.eh-stat-card.orange::before { background: var(--eh-accent); }
.eh-stat-card.green::before  { background: var(--eh-success); }
.eh-stat-card.purple::before { background: #6355CC; }
.eh-stat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.eh-stat-icon svg { width: 19px; height: 19px; }
.eh-stat-icon.blue   { background: #EBF3FC; }
.eh-stat-icon.orange { background: #FFF0EA; }
.eh-stat-icon.green  { background: #E6F7F1; }
.eh-stat-icon.purple { background: #EEEDFE; }
.eh-stat-label { font-size: 11.5px; color: var(--eh-muted); margin-bottom: 5px; }
.eh-stat-value { font-family: var(--eh-font-head); font-size: 28px; font-weight: 700; color: var(--eh-text); line-height: 1; }
.eh-stat-sub { font-size: 11.5px; color: var(--eh-muted); margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.eh-stat-sub .up { color: var(--eh-success); }
.eh-stat-sub .dn { color: var(--eh-danger); }

/* ── GRID LAYOUTS ── */
.eh-grid-2 { display: grid; grid-template-columns: 1fr 320px; gap: 18px; margin-bottom: 18px; }
.eh-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.eh-col { display: flex; flex-direction: column; gap: 14px; }

/* ── CARD ── */
.eh-card {
  background: var(--eh-card); border: 1px solid var(--eh-border);
  border-radius: var(--eh-radius-lg); overflow: hidden;
}
.eh-card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 12px; border-bottom: 1px solid var(--eh-border);
}
.eh-card-title { font-family: var(--eh-font-head); font-size: 14px; font-weight: 600; color: var(--eh-text); }
.eh-card-action { font-size: 12px; color: var(--eh-accent); cursor: pointer; font-weight: 500; text-decoration: none; }
.eh-card-action:hover { color: var(--eh-accent-dark); }
.eh-card-body { padding: 16px 20px; }

/* ── TABLE ── */
.eh-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.eh-table th {
  text-align: left; color: var(--eh-muted);
  font-weight: 500; font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 0 12px 10px 0; border-bottom: 1px solid var(--eh-border);
}
.eh-table td { padding: 11px 12px 11px 0; border-bottom: 1px solid rgba(15,46,94,0.05); vertical-align: middle; }
.eh-table tr:last-child td { border-bottom: none; }
.eh-table tbody tr:hover td { background: rgba(15,46,94,0.02); }
.eh-order-num { font-weight: 600; color: var(--eh-primary); font-family: var(--eh-font-head); }
.eh-amount { font-weight: 600; color: var(--eh-text); }

/* Status pills */
.eh-status-pill { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.eh-status-completed, .eh-status-delivered   { background: #E6F7F1; color: #0F6B45; }
.eh-status-processing, .eh-status-transit    { background: #EBF3FC; color: #1769AA; }
.eh-status-on-hold, .eh-status-pending       { background: #FFF6E0; color: #A06B00; }
.eh-status-cancelled, .eh-status-refunded    { background: #FEF0EE; color: #A32D2D; }
.eh-status-failed                            { background: #FEF0EE; color: #A32D2D; }

/* Pagination */
.eh-pagination { padding: 12px 20px; border-top: 1px solid var(--eh-border); display: flex; justify-content: space-between; align-items: center; }
.eh-pagination-info { font-size: 12px; color: var(--eh-muted); }
.eh-pagination-btns { display: flex; gap: 6px; }
.eh-btn-sm {
  padding: 5px 12px; border-radius: var(--eh-radius);
  border: 1px solid var(--eh-border); background: transparent;
  font-size: 12px; cursor: pointer; font-family: var(--eh-font-body);
  color: var(--eh-muted); transition: all var(--transition);
}
.eh-btn-sm:hover { border-color: var(--eh-primary); color: var(--eh-primary); }
.eh-btn-sm.primary { background: var(--eh-primary); border-color: var(--eh-primary); color: #fff; }
.eh-btn-sm:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── TRACKING ── */
.eh-track-list { padding: 16px 20px; }
.eh-track-item { display: flex; gap: 13px; }
.eh-track-line-col { display: flex; flex-direction: column; align-items: center; }
.eh-track-dot {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
}
.eh-track-dot.done    { background: var(--eh-success); }
.eh-track-dot.active  { background: var(--eh-accent); box-shadow: 0 0 0 4px rgba(232,93,47,0.18); }
.eh-track-dot.future  { background: #D8DCE8; }
.eh-track-connector   { width: 2px; background: var(--eh-border); flex: 1; min-height: 16px; margin: 4px 0; }
.eh-track-info { padding-bottom: 16px; }
.eh-track-title { font-size: 13px; font-weight: 500; color: var(--eh-text); }
.eh-track-title.active { color: var(--eh-accent); }
.eh-track-title.future { color: var(--eh-muted); }
.eh-track-time { font-size: 11px; color: var(--eh-muted); margin-top: 2px; }

/* ── INFO GRID ── */
.eh-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.eh-info-cell { background: var(--eh-bg); border-radius: var(--eh-radius); padding: 11px 13px; }
.eh-info-lbl { font-size: 10px; color: var(--eh-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.eh-info-val { font-size: 14px; font-weight: 600; color: var(--eh-text); font-family: var(--eh-font-head); }

/* ── FILTER BAR ── */
.eh-filter-bar { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-bottom: 1px solid var(--eh-border); flex-wrap: wrap; }
.eh-filter-btn {
  padding: 5px 14px; border-radius: 20px;
  border: 1px solid var(--eh-border); background: transparent;
  font-size: 12px; cursor: pointer; font-family: var(--eh-font-body);
  color: var(--eh-muted); transition: all var(--transition);
}
.eh-filter-btn:hover { border-color: var(--eh-primary); color: var(--eh-primary); }
.eh-filter-btn.active { background: var(--eh-primary); border-color: var(--eh-primary); color: #fff; }

/* ── ADDRESS CARDS ── */
.eh-address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.eh-address-card {
  background: var(--eh-card); border: 1px solid var(--eh-border);
  border-radius: var(--eh-radius-lg); padding: 18px;
  position: relative; transition: all var(--transition);
}
.eh-address-card:hover { border-color: var(--eh-primary); box-shadow: var(--eh-shadow); }
.eh-address-card.default { border-color: var(--eh-accent); }
.eh-address-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--eh-accent); margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.eh-address-name { font-size: 14px; font-weight: 600; color: var(--eh-text); margin-bottom: 6px; }
.eh-address-text { font-size: 13px; color: var(--eh-muted); line-height: 1.6; }
.eh-address-actions { display: flex; gap: 8px; margin-top: 14px; }

/* ── FORM ELEMENTS ── */
.eh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.eh-form-row.single { grid-template-columns: 1fr; }
.eh-form-group { display: flex; flex-direction: column; gap: 6px; }
.eh-form-group label { font-size: 12px; font-weight: 500; color: var(--eh-muted); }
.eh-form-group input,
.eh-form-group select,
.eh-form-group textarea {
  border: 1px solid var(--eh-border); border-radius: var(--eh-radius);
  padding: 9px 12px; font-size: 13px; font-family: var(--eh-font-body);
  color: var(--eh-text); background: var(--eh-card);
  transition: border-color var(--transition); outline: none;
}
.eh-form-group input:focus,
.eh-form-group select:focus,
.eh-form-group textarea:focus { border-color: var(--eh-primary); }
.eh-form-group textarea { resize: vertical; min-height: 80px; }
.eh-form-actions { display: flex; gap: 10px; padding-top: 8px; }
.eh-btn-outline {
  padding: 9px 20px; border-radius: var(--eh-radius);
  border: 1px solid var(--eh-border); background: transparent;
  font-size: 13px; font-weight: 500; font-family: var(--eh-font-body);
  color: var(--eh-muted); cursor: pointer; transition: all var(--transition);
}
.eh-btn-outline:hover { border-color: var(--eh-primary); color: var(--eh-primary); }
.eh-section-divider { border: none; border-top: 1px solid var(--eh-border); margin: 20px 0; }

/* ── INVOICE LIST ── */
.eh-invoice-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid rgba(15,46,94,0.06);
}
.eh-invoice-item:last-child { border-bottom: none; }
.eh-invoice-num { font-weight: 600; color: var(--eh-primary); font-family: var(--eh-font-head); font-size: 13px; }
.eh-invoice-date { font-size: 12px; color: var(--eh-muted); margin-top: 2px; }
.eh-invoice-amount { font-weight: 600; color: var(--eh-text); font-size: 14px; }
.eh-btn-icon {
  width: 32px; height: 32px; border-radius: var(--eh-radius);
  border: 1px solid var(--eh-border); background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--eh-muted); transition: all var(--transition);
  text-decoration: none;
}
.eh-btn-icon:hover { border-color: var(--eh-primary); color: var(--eh-primary); }
.eh-btn-icon svg { width: 14px; height: 14px; }

/* ── EMPTY STATE ── */
.eh-empty {
  display: flex; flex-direction: column; align-items: center;
  padding: 48px 24px; text-align: center;
}
.eh-empty-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--eh-bg); display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px;
}
.eh-empty-icon svg { width: 28px; height: 28px; color: var(--eh-muted); }
.eh-empty h3 { font-family: var(--eh-font-head); font-size: 16px; font-weight: 600; color: var(--eh-text); margin-bottom: 6px; }
.eh-empty p { font-size: 13px; color: var(--eh-muted); max-width: 260px; line-height: 1.6; }
.eh-empty a { margin-top: 16px; }

/* ── SETTINGS TOGGLE ── */
.eh-toggle-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(15,46,94,0.06); }
.eh-toggle-wrap:last-child { border-bottom: none; }
.eh-toggle-info h4 { font-size: 13px; font-weight: 500; color: var(--eh-text); margin-bottom: 3px; }
.eh-toggle-info p { font-size: 12px; color: var(--eh-muted); }
.eh-toggle { position: relative; width: 42px; height: 24px; flex-shrink: 0; }
.eh-toggle input { opacity: 0; width: 0; height: 0; }
.eh-toggle-slider {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: #D8DCE8; border-radius: 12px; cursor: pointer;
  transition: background var(--transition);
}
.eh-toggle-slider::before {
  content: '';
  position: absolute; left: 3px; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; transition: transform var(--transition);
}
.eh-toggle input:checked + .eh-toggle-slider { background: var(--eh-accent); }
.eh-toggle input:checked + .eh-toggle-slider::before { transform: translateX(18px); }

/* ── LOADING SPINNER ── */
.eh-spinner {
  width: 20px; height: 20px; border: 2px solid var(--eh-border);
  border-top-color: var(--eh-accent); border-radius: 50%;
  animation: eh-spin 0.7s linear infinite; margin: 40px auto; display: block;
}
@keyframes eh-spin { to { transform: rotate(360deg); } }

/* ── PAGE HEADER ── */
.eh-page-header { margin-bottom: 20px; }
.eh-page-header h1 { font-family: var(--eh-font-head); font-size: 22px; font-weight: 700; color: var(--eh-text); margin-bottom: 4px; }
.eh-page-header p { font-size: 13px; color: var(--eh-muted); }

/* ── SHIPMENT FORM ── */
.eh-shipment-step {
  display: flex; align-items: flex-start; gap: 16px;
  padding-bottom: 24px; position: relative;
}
.eh-shipment-step::after {
  content: ''; position: absolute;
  left: 19px; top: 40px; bottom: 0;
  width: 1px; background: var(--eh-border);
}
.eh-shipment-step:last-child::after { display: none; }
.eh-step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--eh-primary); color: #fff;
  font-family: var(--eh-font-head); font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  position: relative; z-index: 1;
}
.eh-step-body { flex: 1; }
.eh-step-body h3 { font-family: var(--eh-font-head); font-size: 15px; font-weight: 600; color: var(--eh-text); margin-bottom: 14px; padding-top: 8px; }
.eh-service-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.eh-service-opt {
  border: 1px solid var(--eh-border); border-radius: var(--eh-radius);
  padding: 14px; cursor: pointer; transition: all var(--transition); text-align: center;
}
.eh-service-opt:hover { border-color: var(--eh-primary); }
.eh-service-opt.selected { border-color: var(--eh-accent); background: #FFF0EA; }
.eh-service-opt-name { font-size: 13px; font-weight: 600; color: var(--eh-text); margin-bottom: 4px; }
.eh-service-opt-price { font-size: 12px; color: var(--eh-accent); font-weight: 600; }
.eh-service-opt-time { font-size: 11px; color: var(--eh-muted); }

/* ── FOOTER ── */
.eh-panel-footer {
  padding: 14px 28px; border-top: 1px solid var(--eh-border);
  background: var(--eh-card);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11.5px; color: var(--eh-muted);
  flex-shrink: 0;
}
.eh-footer-links { display: flex; gap: 16px; }
.eh-footer-links a { color: var(--eh-muted); text-decoration: none; transition: color var(--transition); }
.eh-footer-links a:hover { color: var(--eh-primary); }

/* ── MOBILE OVERLAY ── */
.eh-sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.4); z-index: 190;
}
.eh-sidebar-overlay.open { display: block; }
