/* 
██████╗ ██╗   ██╗██╗      █████╗ ███╗   ██╗   ██████╗ ███████╗██╗   ██╗
██╔══██╗╚██╗ ██╔╝██║     ██╔══██╗████╗  ██║   ██╔══██╗██╔════╝██║   ██║
██║  ██║ ╚████╔╝ ██║     ███████║██╔██╗ ██║   ██║  ██║█████╗  ██║   ██║
██║  ██║  ╚██╔╝  ██║     ██╔══██║██║╚██╗██║   ██║  ██║██╔══╝  ╚██╗ ██╔╝
██████╔╝   ██║   ███████╗██║  ██║██║ ╚████║██╗██████╔╝███████╗ ╚████╔╝ 
╚═════╝    ╚═╝   ╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝╚═╝╚═════╝ ╚══════╝  ╚═══╝
                                                                                                                                                                                      
Système développer par dylanpointdev.fr | © DylanPointDev tout droit réservé. 
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
  /* ── Palette personnalisée ── */
  --bg:               #090909;
  --bg-card:          #111111;
  --bg-card-hover:    #161616;
  --bg-input:         #0e0e0e;
  --border:           #0c0c0c;
  --border-hover:     #2a2a2a;
  --text:             #ffffff;
  --text-muted:       #6b6b6b;
  --primary:          #0d6efd;
  --primary-hover:    #0b5ed7;
  --primary-light:    rgba(13, 110, 253, 0.12);
  --danger:           #dc3545;
  --danger-light:     rgba(220, 53, 69, 0.12);
  --warning:          #fd7e14;
  --warning-light:    rgba(253, 126, 20, 0.12);
  --success:          #198754;
  --success-light:    rgba(25, 135, 84, 0.12);
  --discord:          #5865F2;
  --radius:           8px;
  --radius-lg:        12px;
  --font:             'DM Sans', sans-serif;
  --shadow:           0 2px 12px rgba(0, 0, 0, 0.4);

  /* ── Bootstrap overrides ── */
  --bs-body-bg:           var(--bg);
  --bs-body-color:        var(--text);
  --bs-secondary-color:   var(--text-muted);
  --bs-border-color:      var(--border);
  --bs-secondary-bg:      var(--bg-card);
  --bs-tertiary-bg:       var(--bg-card-hover);
  --bs-card-bg:           var(--bg-card);
  --bs-card-border-color: var(--border);
  --bs-body-font-family:  var(--font);
  --bs-box-shadow:        var(--shadow);

  /* Compatibilité variables internes hostrix */
  --hostrix-body-bg-default: var(--bg);
  --avatar-verify-border: 2px solid var(--bg);

  /* Admin layout */
  --sidebar-w: 240px;
  --topbar-h: 56px;
}

/* ──────────────────────────────────────────
   BASE
────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ──────────────────────────────────────────
   SIDEBAR
────────────────────────────────────────── */
.hx-sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: #111111;
  border-right: 1px solid #1a1a1a;
  display: flex;
  flex-direction: column;
  z-index: 200;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}
.hx-sidebar::-webkit-scrollbar { display: none; }

/* Logo */
.hx-sidebar-logo {
  display: flex;
  align-items: center;
  min-height: var(--topbar-h);
  padding: 8px 16px;
  border-bottom: 1px solid #1a1a1a;
  flex-shrink: 0;
}
.hx-sidebar-brand {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.hx-logo-img {
  display: block;
  width: 132px;
  height: 36px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}
.hx-logo-badge {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.6;
}

/* Section labels */
.hx-sidebar-section-label {
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #484848;
  padding: 14px 16px 4px;
}

/* Nav */
.hx-sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 4px 8px;
  flex: 1;
  gap: 1px;
}
.hx-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: #888;
  font-size: .84rem;
  font-weight: 500;
  transition: background .15s, color .15s;
  cursor: pointer;
}
.hx-nav-item i { font-size: 1.1rem; flex-shrink: 0; }
.hx-nav-item:hover {
  background: #1a1a1a;
  color: #e0e0e0;
}
.hx-nav-item.active {
  background: rgba(13,110,253,.1);
  color: #4d9aff;
  border-left: 2px solid #0d6efd;
  padding-left: 8px;
}
.hx-nav-item.active i { color: #4d9aff; }

/* Badge sidebar */
.hx-badge {
  font-size: .68rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 20px;
  background: #222;
  color: #666;
}
.hx-badge-warning { background: rgba(253,126,20,.15); color: #fd7e14; }

/* Sidebar toggle (mobile) */
.hx-sidebar-toggle {
  background: none; border: none;
  color: #666; font-size: 1.1rem;
  padding: 4px; cursor: pointer;
}

/* Utilisateur bas de sidebar */
.hx-sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid #1a1a1a;
  flex-shrink: 0;
  background: #111;
}
.hx-user-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6efd, #6f42c1);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.hx-avatar-sm { width: 28px; height: 28px; font-size: .7rem; }
.hx-user-info { flex: 1; min-width: 0; }
.hx-user-name { font-size: .82rem; font-weight: 600; color: #ddd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-user-role { font-size: .72rem; color: #555; }
.hx-user-logout {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  color: #555;
  transition: color .15s, background .15s;
}
.hx-user-logout:hover { background: rgba(220,53,69,.12); color: #dc3545; }

/* Overlay mobile */
.hx-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 199;
}
.hx-sidebar-overlay.show { display: block; }

/* ──────────────────────────────────────────
   MAIN WRAP
────────────────────────────────────────── */
.hx-main-wrap {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--topbar-h);
}

/* ──────────────────────────────────────────
   TOPBAR
────────────────────────────────────────── */
.hx-topbar {
  height: var(--topbar-h);
  background: #111;
  border-bottom: 1px solid #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: var(--sidebar-w);
  right: 0;
  z-index: 150;
}
.hx-topbar-left { display: flex; align-items: center; gap: 12px; }
.hx-topbar-right { display: flex; align-items: center; gap: 8px; }

.hx-topbar-toggle {
  background: none; border: none;
  color: #666; font-size: 1.15rem;
  padding: 4px; cursor: pointer;
  display: none;
}

/* Breadcrumb */
.hx-topbar-breadcrumb { display: flex; align-items: center; gap: 4px; }
.hx-breadcrumb-link { color: #555; font-size: .82rem; transition: color .15s; }
.hx-breadcrumb-link:hover { color: #0d6efd; }
.hx-breadcrumb-sep { color: #333; font-size: .75rem; display: flex; align-items: center; }
.hx-breadcrumb-current { color: #bbb; font-size: .82rem; font-weight: 500; }

.hx-topbar-btn {
  background: none; border: none;
  color: #555; font-size: 1.1rem;
  padding: 6px 7px; border-radius: 6px;
  cursor: pointer; display: flex; align-items: center;
  transition: color .15s, background .15s;
  position: relative;
}
.hx-topbar-btn:hover { background: #1a1a1a; color: #bbb; }

.hx-notif-dot {
  position: absolute;
  top: 5px; right: 5px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #0d6efd;
  border: 1.5px solid #111;
}

.hx-topbar-sep {
  width: 1px;
  height: 20px;
  background: #222;
  margin: 0 4px;
}

.hx-topbar-user {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px;
  border-radius: 7px;
  cursor: pointer;
  transition: background .15s;
}
.hx-topbar-user:hover { background: #1a1a1a; }
.hx-topbar-username {
  font-size: .82rem;
  font-weight: 600;
  color: #bbb;
}

/* ──────────────────────────────────────────
   CONTENT
────────────────────────────────────────── */
.hx-content {
  flex: 1;
  padding: 24px;
  width: 100%;
}

/* ──────────────────────────────────────────
   PAGE HEADER
────────────────────────────────────────── */
.hx-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.hx-page-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #e8e8e8;
  margin: 0;
  line-height: 1.2;
}
.hx-page-subtitle {
  font-size: .8rem;
  color: #555;
  margin: 4px 0 0;
}

/* ──────────────────────────────────────────
   STATS CARDS
────────────────────────────────────────── */
.hx-stat-card {
  background: #141414;
  border: 1px solid #1e1e1e;
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, background .2s;
}
.hx-stat-card:hover { background: #181818; border-color: #282828; }
.hx-stat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.hx-stat-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.hx-stat-lbl {
  font-size: .78rem;
  color: #555;
  font-weight: 500;
  margin-top: 2px;
}
.hx-stat-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: #eaeaea;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}
.hx-stat-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #1c1c1c;
}
.hx-stat-sub {
  font-size: .73rem;
  display: flex;
  gap: 6px;
  align-items: center;
}
.hx-stat-trend {
  font-size: .72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 2px;
}
.hx-stat-trend.up { color: #198754; }
.hx-stat-trend.down { color: #dc3545; }

/* ──────────────────────────────────────────
   CARDS
────────────────────────────────────────── */
.hx-card {
  background: #141414;
  border: 1px solid #1e1e1e;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hx-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #1e1e1e;
}
.hx-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: #ccc;
}
.hx-card-title i { font-size: 1rem; }

.hx-link-sm {
  font-size: .78rem;
  color: #0d6efd;
  display: flex; align-items: center;
  transition: color .15s;
}
.hx-link-sm:hover { color: #4d9aff; }

/* ──────────────────────────────────────────
   TABLE
────────────────────────────────────────── */
.hx-table-wrap { overflow-x: auto; }
.hx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .83rem;
}
.hx-table th {
  padding: 10px 16px;
  text-align: left;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #444;
  border-bottom: 1px solid #1e1e1e;
  background: #111;
}
.hx-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #191919;
  vertical-align: middle;
}
.hx-table tbody tr:last-child td { border-bottom: none; }
.hx-table tbody tr:hover td { background: #181818; }

/* ──────────────────────────────────────────
   TAGS & STATUS
────────────────────────────────────────── */
.hx-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 600;
  background: #1e1e1e;
  color: #666;
}
.hx-tag-blue { background: rgba(13,110,253,.12); color: #4d9aff; }

.hx-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
}
.hx-status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; display: inline-block; }
.hx-status-success { background: rgba(25,135,84,.12); color: #28a745; }
.hx-status-success::before { background: #28a745; }
.hx-status-muted { background: #1e1e1e; color: #555; }
.hx-status-muted::before { background: #333; }
.hx-status-warning { background: rgba(253,126,20,.12); color: #fd7e14; }
.hx-status-warning::before { background: #fd7e14; }

/* ──────────────────────────────────────────
   QUICK LINKS
────────────────────────────────────────── */
.hx-quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius);
  background: #1a1a1a;
  font-size: .83rem;
  color: #bbb;
  transition: background .15s, color .15s;
}
.hx-quick-link:hover { background: #202020; color: #fff; }
.hx-quick-link i:first-child { font-size: 1rem; }

/* ──────────────────────────────────────────
   PROGRESS
────────────────────────────────────────── */
.hx-progress {
  height: 5px;
  background: #1e1e1e;
  border-radius: 10px;
  overflow: hidden;
}
.hx-progress-bar {
  height: 100%;
  border-radius: 10px;
  transition: width .5s ease;
}

/* ──────────────────────────────────────────
   ACTION BUTTON
────────────────────────────────────────── */
.hx-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  background: #1e1e1e;
  color: #555;
  font-size: .9rem;
  transition: background .15s, color .15s;
}
.hx-action-btn:hover { background: rgba(13,110,253,.14); color: #0d6efd; }

/* ──────────────────────────────────────────
   BUTTONS
────────────────────────────────────────── */
.hx-btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 7px 14px;
  font-size: .83rem;
  font-weight: 600;
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background .15s;
  cursor: pointer;
}
.hx-btn-primary:hover { background: var(--primary-hover); color: #fff; }

/* ──────────────────────────────────────────
   FOOTER
────────────────────────────────────────── */
.hx-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-top: 1px solid #1e1e1e;
  font-size: .75rem;
  color: #888;
  flex-shrink: 0;
}
.hx-footer-version { color: #555; }

/* ──────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 991px) {
  .hx-sidebar {
    transform: translateX(-100%);
    transition: transform .25s ease;
  }
  .hx-sidebar.open { transform: translateX(0); }
  .hx-main-wrap { margin-left: 0; }
  .hx-topbar { left: 0; }
  .hx-topbar-toggle { display: flex; }
  .hx-content { padding: 16px; }
}

@media (max-width: 575px) {
  .hx-stat-val { font-size: 1.3rem; }
  .hx-page-header { flex-direction: column; }
}
@media (max-width: 575px) {
  .hx-stat-val { font-size: 1.3rem; }
  .hx-page-header { flex-direction: column; }
}

/* ──────────────────────────────────────────
   FORMS (pages produits)
────────────────────────────────────────── */
.form-label {
  font-size: .8125rem;
  font-weight: 600;
  color: #888;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.form-control, .form-select {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #e1e1e1;
  border-radius: 7px;
  font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  background: #1e1e1e;
  border-color: #0d6efd;
  color: #e1e1e1;
  box-shadow: 0 0 0 3px rgba(13,110,253,.15);
}
.form-control::placeholder { color: #444; }
.form-select option { background: #1a1a1a; }
.input-group-text { background: #1a1a1a; border: 1px solid #2a2a2a; color: #555; }

/* ──────────────────────────────────────────
   CARDS (pages produits)
────────────────────────────────────────── */
.card { background: #141414; border: 1px solid #1e1e1e; border-radius: 10px; }
.card-section-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px 20px;
  border-bottom: 1px solid #1e1e1e;
  font-size: .875rem;
  font-weight: 600;
  color: #c0c0c0;
}
.card-section-header i { font-size: 1.1rem; }
.card-body { padding: 20px; }

/* ──────────────────────────────────────────
   PRICE TYPE SELECTOR
────────────────────────────────────────── */
.price-type-group { display: flex; gap: 10px; }
.price-type-group .pt-option { flex: 1; }
.price-type-group .pt-option input[type="radio"] { display: none; }
.price-type-group .pt-option label {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 14px 10px; background: #1a1a1a; border: 2px solid #2a2a2a;
  border-radius: 8px; cursor: pointer; font-size: .85rem; font-weight: 600;
  color: #777; transition: all .2s; text-align: center;
}
.price-type-group .pt-option label i { font-size: 1.3rem; }
.price-type-group .pt-option input[type="radio"]:checked + label {
  border-color: #0d6efd; background: rgba(13,110,253,.1); color: #6ea8fe;
}

/* ──────────────────────────────────────────
   FEATURES
────────────────────────────────────────── */
.feature-row { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; }
.feature-row input { flex: 1; }

/* ──────────────────────────────────────────
   MISC FORM
────────────────────────────────────────── */
.required-star { color: #f04e4e; }
small.hint { font-size: .78rem; color: #555; margin-top: 4px; display: block; }
.product-id-chip {
  background: #1e1e1e; border: 1px solid #2a2a2a; color: #666;
  border-radius: 50px; padding: 2px 10px; font-size: .78rem; font-weight: 700;
}

/* ──────────────────────────────────────────
   PRODUCT INFO BANNER
────────────────────────────────────────── */
.product-info-banner {
  background: linear-gradient(135deg, rgba(13,110,253,.08), rgba(13,110,253,.03));
  border: 1px solid rgba(13,110,253,.15); border-radius: 10px;
  padding: 16px 20px; margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.product-info-banner i { font-size: 1.6rem; color: #6ea8fe; }
.product-info-banner .prod-name { font-size: 1rem; font-weight: 700; color: #fff; }
.product-info-banner .prod-meta { font-size: .8rem; color: #666; margin-top: 2px; }

/* ──────────────────────────────────────────
   PRODUCT LIST BADGES
────────────────────────────────────────── */
.badge-active   { background: rgba(25,135,84,.15); color: #75b798; border: 1px solid rgba(25,135,84,.2); padding: 3px 10px; border-radius: 50px; font-size: .78rem; font-weight: 600; }
.badge-inactive { background: rgba(108,117,125,.1); color: #6c757d; border: 1px solid rgba(108,117,125,.2); padding: 3px 10px; border-radius: 50px; font-size: .78rem; font-weight: 600; }
.badge-popular  { background: rgba(255,193,7,.12); color: #ffc107; border: 1px solid rgba(255,193,7,.2); padding: 3px 10px; border-radius: 50px; font-size: .78rem; font-weight: 600; }
.badge-ptype    { background: rgba(13,110,253,.1); color: #6ea8fe; border: 1px solid rgba(13,110,253,.2); padding: 3px 10px; border-radius: 50px; font-size: .78rem; font-weight: 600; }
.badge-free     { background: rgba(25,135,84,.1); color: #75b798; border: 1px solid rgba(25,135,84,.2); padding: 3px 10px; border-radius: 50px; font-size: .78rem; font-weight: 600; }

/* ──────────────────────────────────────────
   ACTION BUTTONS (liste produits)
────────────────────────────────────────── */
.btn-action { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 7px; font-size: .95rem; transition: all .15s; border: 1px solid transparent; text-decoration: none; }
.btn-action-edit { background: rgba(13,110,253,.1); color: #6ea8fe; border-color: rgba(13,110,253,.2); }
.btn-action-edit:hover { background: rgba(13,110,253,.25); color: #6ea8fe; }
.btn-action-del  { background: rgba(220,53,69,.1); color: #ea868f; border-color: rgba(220,53,69,.2); }
.btn-action-del:hover  { background: rgba(220,53,69,.25); color: #ea868f; }
.btn-action-dup  { background: rgba(13,110,253,.08); color: #63e6be; border-color: rgba(32,201,151,.2); }
.btn-action-dup:hover  { background: rgba(13,110,253,.2); color: #63e6be; }

/* ──────────────────────────────────────────
   SEARCH INPUT
────────────────────────────────────────── */
.search-input {
  background: #1a1a1a; border: 1px solid #2a2a2a; color: #e1e1e1;
  border-radius: 7px; padding: 7px 14px; font-size: .875rem; width: 220px;
  outline: none; transition: border-color .2s;
}
.search-input:focus { border-color: #0d6efd; }
.search-input::placeholder { color: #444; }

/* ──────────────────────────────────────────
   EMPTY STATE
────────────────────────────────────────── */
.empty-state { text-align: center; padding: 60px 20px; color: #555; }
.empty-state i { font-size: 3rem; margin-bottom: 12px; display: block; }
.empty-state p { font-size: .9rem; }

/* ──────────────────────────────────────────
   STAT CARD (variante liste)
────────────────────────────────────────── */
.stat-card { background: #141414; border: 1px solid #1e1e1e; border-radius: 10px; padding: 18px 20px; }
.stat-card .stat-val { font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-card .stat-lbl { font-size: .8rem; color: #666; margin-top: 4px; font-weight: 500; }
.stat-card i.ti { font-size: 1.6rem; opacity: .5; }

/* ──────────────────────────────────────────
   TABLE CARD (liste produits)
────────────────────────────────────────── */
.table-card { background: #141414; border: 1px solid #1e1e1e; border-radius: 10px; overflow: hidden; }
.table-card-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #1e1e1e; gap: 12px; flex-wrap: wrap; }
.table-card-header-title { font-size: .875rem; font-weight: 600; color: #c0c0c0; display: flex; align-items: center; gap: 8px; }
.table-card-header-title i { color: #0d6efd; }
.table { margin: 0; color: #e1e1e1; }
.table thead th { background: #111; border-bottom: 1px solid #1e1e1e; border-top: none; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: #555; padding: 12px 16px; white-space: nowrap; }
.table tbody tr { border-bottom: 1px solid #1a1a1a; transition: background .15s; }
.table tbody tr:last-child { border-bottom: none; }
.table tbody tr:hover { background: #191919; }
.table tbody td { padding: 14px 16px; vertical-align: middle; font-size: .9rem; border: none; }
.product-id-col { color: #555; font-size: .8rem; font-weight: 600; }
.product-name { font-weight: 600; color: #e1e1e1; }
.price-text { font-weight: 700; color: #6ea8fe; }

/* ──────────────────────────────────────────
   MODALS
────────────────────────────────────────── */
.modal-content { background: #141414; border: 1px solid #2a2a2a; border-radius: 12px; }
.modal-header { border-bottom: 1px solid #1e1e1e; }
.modal-footer { border-top: 1px solid #1e1e1e; }

/* ──────────────────────────────────────────
   TOPBAR DROPDOWN
────────────────────────────────────────── */
.hx-dropdown-menu {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 6px;
  min-width: 210px;
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
}
.hx-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 7px;
  font-size: .83rem; color: #aaa;
  transition: background .15s, color .15s;
  text-decoration: none; white-space: nowrap;
}
.hx-dropdown-item:hover { background: #222; color: #e0e0e0; }
.hx-dropdown-item i { font-size: 1rem; flex-shrink: 0; }
.hx-dropdown-item.danger { color: #ea868f; }
.hx-dropdown-item.danger:hover { background: rgba(220,53,69,.1); color: #ea868f; }
.hx-dropdown-divider { border-top: 1px solid #252525; margin: 4px 0; }

/* ── Sidebar submenu ── */
.hx-nav-group { position: relative; }
.hx-nav-toggle { background: none; border: none; cursor: pointer; }
.hx-nav-toggle .hx-nav-arrow { transition: transform .2s ease; font-size: .7rem; color: #555; flex-shrink: 0; }
.hx-nav-toggle[aria-expanded='true'] .hx-nav-arrow { transform: rotate(90deg); }
.hx-nav-sub { padding: 4px 0 4px 12px; margin-left: 12px; border-left: 1px solid #2a2a2a; }
.hx-nav-sub-item { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px;
    font-size: .83rem; color: #888; text-decoration: none; transition: background .15s, color .15s; }
.hx-nav-sub-item i { font-size: 1rem; }
.hx-nav-sub-item:hover { background: rgba(255,255,255,.05); color: #e0e0e0; }
.hx-nav-sub-item.active { background: rgba(13,110,253,.12); color: #4d8fff; }
