/* ===== CSS VARIABLES ===== */
:root {
  --coral-400: #FF6B81;
  --coral-500: #F43F5E;
  --coral-600: #E11D48;
  --coral-50: #FFF5F6;

  --purple-50: #F4F3FF;
  --purple-100: #EBE9FE;
  --purple-200: #D9D6FE;
  --purple-400: #9E77ED;
  --purple-500: #7F56D9;
  --purple-600: #6941C6;
  --purple-700: #5925DC;

  --neutral-50: #F9FAFB;
  --neutral-100: #F2F4F7;
  --neutral-200: #EAECF0;
  --neutral-300: #D0D5DD;
  --neutral-400: #98A2B3;
  --neutral-500: #667085;
  --neutral-600: #475467;
  --neutral-700: #344054;
  --neutral-800: #1D2939;
  --neutral-900: #101828;

  --success-500: #12B76A;
  --success-50: #ECFDF3;
  --info-500: #0BA5EC;
  --info-50: #F0F9FF;
  --warning-500: #F79009;
  --warning-50: #FFFAEB;
  --error-500: #F04438;
  --error-50: #FEF3F2;

  --sidebar-bg-start: #2D1248;
  --sidebar-bg-end: #1A0A2E;
  --sidebar-active-border: #FF6B81;

  --shadow-xs: 0px 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0px 1px 3px rgba(16, 24, 40, 0.1), 0px 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-md: 0px 4px 8px -2px rgba(16, 24, 40, 0.1), 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* ===== RESET & BASE ===== */
html {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 768px) {
  html { font-size: 15px; }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--neutral-50);
  color: var(--neutral-900);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(127, 86, 217, 0.4);
}

/* ===== SIDEBAR ===== */
.hixel-sidebar {
  width: 260px;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--sidebar-bg-start) 0%, var(--sidebar-bg-end) 100%);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.hixel-sidebar::-webkit-scrollbar { width: 4px; }
.hixel-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

.hixel-sidebar .sidebar-brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hixel-sidebar hr {
  border-color: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.hixel-sidebar .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  transition: all 150ms ease;
  border-left: 3px solid transparent;
  margin-bottom: 2px;
}

.hixel-sidebar .nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.hixel-sidebar .nav-link.active {
  background: rgba(255, 107, 129, 0.12);
  color: #fff;
  border-left-color: var(--sidebar-active-border);
  font-weight: 600;
}

.hixel-sidebar .sidebar-footer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ===== HEADER ===== */
.hixel-header {
  background: #fff;
  border-bottom: 1px solid var(--neutral-200);
  position: sticky;
  top: 0;
  z-index: 50;
}

.hixel-header .breadcrumb {
  margin-bottom: 0;
  font-size: 14px;
}

.hixel-header .breadcrumb-item a {
  color: var(--neutral-500);
  text-decoration: none;
  transition: color 150ms;
}

.hixel-header .breadcrumb-item a:hover {
  color: var(--coral-500);
}

.hixel-header .breadcrumb-item.active {
  color: var(--neutral-700);
  font-weight: 500;
}

/* ===== MAIN CONTENT ===== */
.hixel-main-content {
  background: var(--neutral-50);
  min-height: 100vh;
}

.hixel-page-content {
  padding: 24px;
}

/* ===== CARDS ===== */
.hixel-card {
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: all 0.25s ease;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.hixel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hixel-card .card-img-top {
  height: 140px;
  object-fit: cover;
  background-color: var(--neutral-100);
}

.hixel-card .card-body {
  padding: 16px 20px;
}

.hixel-card .card-title {
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.01em;
}

.hixel-card .card-text {
  color: var(--neutral-500);
}

.hixel-card .card-footer {
  border-top: 1px solid var(--neutral-100);
  padding: 12px 20px;
}

/* ===== STAT CARDS ===== */
.hixel-stat-card {
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  border-left: none;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.hixel-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hixel-stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.hixel-stat-card .card-body {
  padding: 20px;
}

.hixel-stat-card .card-subtitle {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--neutral-500) !important;
}

.hixel-stat-card .card-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.03em;
  line-height: 1;
}

.hixel-stat-card.info::before {
  background: linear-gradient(90deg, #0BA5EC, #0284C7);
}

.hixel-stat-card.success::before {
  background: linear-gradient(90deg, #12B76A, #039855);
}

.hixel-stat-card.warning::before {
  background: linear-gradient(90deg, var(--purple-400), var(--purple-500));
}

/* ===== SECTION CARDS (Analytics, Lead Badge, etc.) ===== */
.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-xs);
}

.card-header {
  background: #fff;
  border-bottom: 1px solid var(--neutral-100);
  padding: 16px 20px;
  font-weight: 700;
}

.card-header h5 {
  font-weight: 700;
  color: var(--neutral-800);
  letter-spacing: -0.01em;
}

.card-body {
  padding: 20px;
}

/* ===== TABLES ===== */
.table {
  color: var(--neutral-700);
  font-size: 14px;
}

.table thead th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--neutral-500);
  border-bottom-width: 1px;
  padding: 12px 16px;
}

.table tbody td {
  padding: 12px 16px;
  vertical-align: middle;
}

.table-hover tbody tr {
  cursor: pointer;
  transition: background-color 150ms;
}

.table-hover tbody tr:hover {
  background-color: var(--neutral-50) !important;
}

.table-light {
  --bs-table-bg: var(--neutral-50);
  --bs-table-border-color: var(--neutral-200);
}

/* ===== BADGES ===== */
.badge.bg-success {
  background: var(--success-50) !important;
  color: var(--success-500) !important;
  font-weight: 600;
  border: 1px solid rgba(18, 183, 106, 0.2);
}

.badge.bg-danger {
  background: var(--error-50) !important;
  color: var(--error-500) !important;
  font-weight: 600;
  border: 1px solid rgba(240, 68, 56, 0.2);
}

/* ===== ONLINE/OFFLINE STATUS ANIMATIONS ===== */
.hixel-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.hixel-status-dot.online {
  background-color: var(--success-500);
  animation: hixelPulseGreen 2s ease-in-out infinite;
}

.hixel-status-dot.offline {
  background-color: var(--error-500);
  animation: hixelPulseRed 2s ease-in-out infinite;
}

@keyframes hixelPulseGreen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(18, 183, 106, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(18, 183, 106, 0); }
}

@keyframes hixelPulseRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 68, 56, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(240, 68, 56, 0); }
}

.badge.bg-success.hixel-status-badge {
  animation: hixelGlow 2s ease-in-out infinite;
}

.badge.bg-danger.hixel-status-badge {
  animation: hixelGlowRed 3s ease-in-out infinite;
}

@keyframes hixelGlow {
  0%, 100% { box-shadow: 0 0 4px rgba(18, 183, 106, 0.2); }
  50% { box-shadow: 0 0 12px rgba(18, 183, 106, 0.45); }
}

@keyframes hixelGlowRed {
  0%, 100% { box-shadow: 0 0 4px rgba(240, 68, 56, 0.2); }
  50% { box-shadow: 0 0 12px rgba(240, 68, 56, 0.4); }
}

.badge.bg-warning {
  background: var(--warning-50) !important;
  color: var(--warning-500) !important;
  font-weight: 600;
  border: 1px solid rgba(247, 144, 9, 0.2);
}

.badge.bg-primary {
  background: var(--purple-50) !important;
  color: var(--purple-600) !important;
  font-weight: 600;
  border: 1px solid var(--purple-200);
}

.badge.bg-info {
  background: var(--info-50) !important;
  color: var(--info-500) !important;
  font-weight: 600;
  border: 1px solid rgba(11, 165, 236, 0.2);
}

.badge.bg-secondary {
  background: var(--neutral-100) !important;
  color: var(--neutral-600) !important;
  font-weight: 600;
  border: 1px solid var(--neutral-200);
}

.badge.bg-dark {
  background: var(--neutral-800) !important;
  color: #fff !important;
  font-weight: 600;
}

.badge.bg-light {
  background: var(--neutral-50) !important;
  color: var(--neutral-700) !important;
  border: 1px solid var(--neutral-200);
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
  border: none;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(127, 86, 217, 0.25);
  transition: all 150ms ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
  box-shadow: 0 4px 12px rgba(127, 86, 217, 0.35);
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: var(--purple-600);
  border-color: var(--purple-200);
  font-weight: 600;
}

.btn-outline-primary:hover {
  background: var(--purple-50);
  color: var(--purple-700);
  border-color: var(--purple-300);
}

.btn-success {
  background: linear-gradient(135deg, var(--coral-400), var(--coral-500));
  border: none;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(244, 63, 94, 0.25);
}

.btn-success:hover {
  background: linear-gradient(135deg, var(--coral-500), var(--coral-600));
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.35);
  transform: translateY(-1px);
}

.btn-outline-success {
  color: var(--coral-500);
  border-color: rgba(244, 63, 94, 0.3);
  font-weight: 600;
}

.btn-outline-success:hover {
  background: var(--coral-50);
  color: var(--coral-600);
  border-color: var(--coral-500);
}

.btn-outline-secondary {
  color: var(--neutral-600);
  border-color: var(--neutral-300);
  font-weight: 600;
}

.btn-outline-secondary:hover {
  background: var(--neutral-50);
  color: var(--neutral-700);
  border-color: var(--neutral-400);
}

/* ===== ACCORDION ===== */
.accordion-item {
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md) !important;
  margin-bottom: 8px;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  color: var(--neutral-700);
  font-size: 14px;
  background: #fff;
}

.accordion-button:not(.collapsed) {
  background: var(--neutral-50);
  color: var(--neutral-900);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--neutral-200);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23667085'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* ===== DAY GROUPS ===== */
.hixel-day-header {
  cursor: pointer;
  user-select: none;
  transition: background-color 150ms;
}

.hixel-day-header:hover {
  background-color: var(--neutral-100) !important;
}

.hixel-chevron {
  transition: transform 0.2s ease;
}

/* ===== PARTICIPANT TABLE ===== */
.hixel-participant-table .hixel-row-toggle {
  cursor: pointer;
  transition: background-color 150ms;
}

.hixel-participant-table .hixel-row-toggle:hover {
  background-color: var(--neutral-50);
}

.hixel-row-chevron {
  transition: transform 0.2s ease;
}

.hixel-detail-row > td {
  padding: 0 !important;
}

.hixel-participant-table .table-borderless td {
  padding: 2px 8px;
}

/* ===== DETAIL EXPAND BG ===== */
.hixel-detail-row .bg-light {
  background: var(--neutral-50) !important;
}

/* ===== PAGE TITLE ===== */
h2 {
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.02em;
}

/* ===== ALERT ===== */
.alert-info {
  background: var(--info-50);
  border: 1px solid rgba(11, 165, 236, 0.2);
  color: var(--neutral-700);
  border-radius: var(--radius-lg);
}

/* ===== CODE ===== */
code {
  color: var(--purple-600);
  background: var(--purple-50);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

/* ===== CHART CARDS ===== */
.card.border {
  border: 1px solid var(--neutral-200) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-xs);
}

.card.border .card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-600);
}

/* ===== SECTION HEADER HELPERS ===== */
.fw-bold.text-muted {
  color: var(--neutral-500) !important;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ===== LAST ACTIVITY CARD SUBTITLE ===== */
.hixel-stat-card small.text-muted {
  color: var(--neutral-400) !important;
  font-size: 12px;
}

/* ===== FORM CONTROLS ===== */
.form-control {
  border-color: var(--neutral-300);
  border-radius: var(--radius-md);
}

.form-control:focus {
  border-color: var(--purple-400);
  box-shadow: 0 0 0 3px rgba(127, 86, 217, 0.12);
}

.form-label {
  font-weight: 600;
  color: var(--neutral-700);
  font-size: 14px;
}

/* ===== TIMEZONE SELECTOR ===== */
.hixel-tz-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
  background: var(--neutral-50);
  color: var(--neutral-600);
  font-size: 13px;
  transition: all 150ms ease;
  flex-shrink: 0;
}

.hixel-tz-selector:hover {
  border-color: var(--neutral-300);
  background: #fff;
}

.hixel-tz-selector svg {
  color: var(--neutral-400);
  flex-shrink: 0;
}

.hixel-tz-label {
  font-weight: 600;
  color: var(--neutral-700);
  font-size: 12px;
  white-space: nowrap;
  min-width: 42px;
}

.hixel-tz-select {
  border: none;
  background: transparent;
  color: var(--neutral-600);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  outline: none;
  font-family: inherit;
  max-width: 150px;
}

.hixel-tz-select:focus {
  outline: none;
}

/* ===== HAMBURGER BUTTON (hidden on desktop) ===== */
.hixel-hamburger {
  background: none;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 6px 8px;
  color: var(--neutral-600);
  cursor: pointer;
  margin-right: 12px;
  flex-shrink: 0;
  display: none;
}

/* ===== SIDEBAR BACKDROP (hidden by default) ===== */
.hixel-sidebar-backdrop {
  display: none;
}

/* ===========================================================
   MOBILE RESPONSIVE — max-width: 767.98px
   Zero desktop impact: everything below is scoped to mobile.
   =========================================================== */
@media (max-width: 767.98px) {

  /* --- Hamburger visible --- */
  .hixel-hamburger {
    display: flex;
    align-items: center;
  }

  /* --- Sidebar as off-screen drawer --- */
  .hixel-sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .hixel-sidebar.open {
    transform: translateX(0);
  }

  /* --- Backdrop overlay --- */
  .hixel-sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
  }

  .hixel-sidebar-backdrop.active {
    display: block;
  }

  /* --- Lock body scroll when sidebar open --- */
  body.sidebar-open {
    overflow: hidden;
  }

  /* --- Content layout --- */
  .hixel-page-content {
    padding: 12px;
  }

  /* --- Force stat cards to full width --- */
  .hixel-page-content .col-md-6,
  .hixel-page-content .col-md-4 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* --- Page title + action buttons stack vertically --- */
  .hixel-page-content .d-flex.justify-content-between.align-items-center {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px;
  }

  /* --- Smaller heading --- */
  h2 {
    font-size: 1.3rem;
  }

  /* --- Header compact --- */
  .hixel-header .breadcrumb {
    font-size: 12px;
  }

  .hixel-header .navbar {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* --- Hide TZ label text, keep icon + select --- */
  .hixel-tz-label {
    display: none;
  }

  .hixel-tz-selector {
    padding: 4px 6px;
    gap: 4px;
  }

  .hixel-tz-select {
    max-width: 120px;
    font-size: 11px;
  }

  /* --- Tables --- */
  .table {
    font-size: 12px;
    white-space: nowrap;
  }

  .table thead th {
    padding: 8px 10px;
    font-size: 11px;
  }

  .table tbody td {
    padding: 8px 10px;
  }

  /* --- Search & filter card --- */
  .hixel-page-content .input-group {
    flex-wrap: wrap;
  }

  .hixel-page-content .input-group .form-control {
    width: 100% !important;
    flex: 0 0 100%;
    border-radius: var(--radius-md) !important;
    margin-bottom: 8px;
  }

  .hixel-page-content .input-group .btn {
    border-radius: var(--radius-md) !important;
  }

  /* --- Status filter buttons: wrap + touch targets --- */
  .hixel-page-content .btn-group {
    flex-wrap: wrap;
    gap: 4px;
  }

  .hixel-page-content .btn-group .btn {
    border-radius: var(--radius-md) !important;
  }

  /* --- Accordion headers: allow badge wrapping --- */
  .accordion-button {
    flex-wrap: wrap;
    gap: 4px;
    font-size: 13px;
    padding: 10px 12px;
  }

  .accordion-body {
    padding: 12px;
  }

  /* --- Smaller code/badge fonts --- */
  code {
    font-size: 11px;
  }

  .badge {
    font-size: 11px;
  }

  /* --- Detail rows & cards --- */
  .card-header {
    padding: 12px 14px;
  }

  .card-body {
    padding: 14px;
  }

  .hixel-stat-card .card-body {
    padding: 14px;
  }

  .hixel-stat-card .card-title {
    font-size: 1.6rem;
  }

  /* --- Description text wrapping --- */
  td, th {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* --- Touch targets --- */
  .btn-sm {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .form-check-input {
    min-width: 20px;
    min-height: 20px;
  }

  /* --- App cards --- */
  .hixel-card .card-img-top {
    height: 100px;
  }

  .hixel-card .card-body {
    padding: 12px 14px;
  }

  .hixel-card .card-footer {
    padding: 10px 14px;
  }
}

/* ===== USER SELECTION BADGES ===== */
.hixel-user-selection-yes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #198754;
  background-color: rgba(25, 135, 84, 0.1);
  border: 1px solid rgba(25, 135, 84, 0.25);
  border-radius: 0.375rem;
  padding: 2px 8px;
}

.hixel-user-selection-yes .hixel-sel-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #198754;
  animation: hixelPulseSelection 2s ease-in-out infinite;
}

@keyframes hixelPulseSelection {
  0%, 100% { box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(25, 135, 84, 0); }
}

.hixel-user-selection-no {
  color: #adb5bd;
  font-size: 0.75rem;
}

/* ===== USER SELECTION STAT CARDS ===== */
.hixel-sel-card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.hixel-sel-card-0::before { background: linear-gradient(90deg, #6f42c1, #5a32a3); }
.hixel-sel-card-1::before { background: linear-gradient(90deg, #0d6efd, #0a58ca); }
.hixel-sel-card-2::before { background: linear-gradient(90deg, #d63384, #b02a6f); }
.hixel-sel-card-3::before { background: linear-gradient(90deg, #fd7e14, #e06b0a); }
.hixel-sel-card-4::before { background: linear-gradient(90deg, #20c997, #1aa97f); }
.hixel-sel-card-5::before { background: linear-gradient(90deg, #0dcaf0, #0aa2c0); }

.hixel-sel-card-0 .hixel-sel-card-icon { background: rgba(111, 66, 193, 0.1); }
.hixel-sel-card-1 .hixel-sel-card-icon { background: rgba(13, 110, 253, 0.1); }
.hixel-sel-card-2 .hixel-sel-card-icon { background: rgba(214, 51, 132, 0.1); }
.hixel-sel-card-3 .hixel-sel-card-icon { background: rgba(253, 126, 20, 0.1); }
.hixel-sel-card-4 .hixel-sel-card-icon { background: rgba(32, 201, 151, 0.1); }
.hixel-sel-card-5 .hixel-sel-card-icon { background: rgba(13, 202, 240, 0.1); }

.hixel-sel-card-0 .hixel-sel-card-icon svg { fill: #6f42c1; }
.hixel-sel-card-1 .hixel-sel-card-icon svg { fill: #0d6efd; }
.hixel-sel-card-2 .hixel-sel-card-icon svg { fill: #d63384; }
.hixel-sel-card-3 .hixel-sel-card-icon svg { fill: #fd7e14; }
.hixel-sel-card-4 .hixel-sel-card-icon svg { fill: #20c997; }
.hixel-sel-card-5 .hixel-sel-card-icon svg { fill: #0dcaf0; }

/* ===== COMMON INLINE STYLE REPLACEMENTS ===== */

/* Icon circle containers for stat cards */
.hixel-icon-circle {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.hixel-icon-circle-info {
  background: rgba(13, 110, 253, 0.1);
}

.hixel-icon-circle-success {
  background: rgba(25, 135, 84, 0.1);
}

/* Detail table label column */
.hixel-detail-label {
  width: 110px;
}

/* Table fixed-width columns */
.hixel-col-narrow {
  width: 30px;
}

.hixel-col-actions {
  width: 40px;
}

/* Email search input */
.hixel-email-search-input {
  max-width: 350px;
  height: 38px;
}

/* Status filter buttons — CSS custom properties */
.status-filter-btn.hixel-status-success {
  --status-color: #198754;
}

.status-filter-btn.hixel-status-failed {
  --status-color: #dc3545;
}

.status-filter-btn.hixel-status-pending {
  --status-color: #6c757d;
}

/* Small badge sizes */
.hixel-badge-xs {
  font-size: 0.65rem;
}

.hixel-badge-sm {
  font-size: 0.7em;
}

.hixel-badge-answer {
  font-size: 0.65em;
  padding: 1px 3px;
}

/* Scrollable timeline container */
.hixel-scrollable-sm {
  max-height: 300px;
  overflow-y: auto;
}

/* Bulk action bar */
.hixel-bulk-action-bar {
  z-index: 1050;
}