/* ============================================
   RECHARGE PORTAL — Modern UI (Sidebar Layout)
   ============================================ */

:root {
  --bg:          #0b0e13;
  --bg-2:        #11151c;
  --surface:     #161b24;
  --surface-2:   #1c222d;
  --surface-3:   #242b38;
  --border:      #232a36;
  --border-2:    #2e3644;
  --text:        #e8ebf0;
  --text-2:      #a3adbd;
  --text-3:      #6b7688;
  --accent:      #4d8dff;
  --accent-2:    #3570e0;
  --accent-glow: rgba(77, 141, 255, 0.15);
  --ok:          #34d17b;
  --warn:        #f5b400;
  --err:         #ff5c5c;
  --info:        #38bdf8;
  --purple:      #a855f7;
  --pink:        #ec4899;
  --radius:      10px;
  --radius-sm:   6px;
  --shadow:      0 8px 32px rgba(0, 0, 0, 0.4);
  --sidebar-w:   240px;
  --sidebar-w-collapsed: 60px;
  --header-h:    56px;
  --transition:  0.2s ease;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-2); }

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: transform var(--transition), width var(--transition);
}

.sidebar-brand {
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
  gap: 10px;
  flex-shrink: 0;
}
.sidebar-brand .logo {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 10px;
}

.sidebar-section {
  margin-bottom: 14px;
}
.sidebar-section-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  padding: 8px 12px 6px;
  font-weight: 600;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}
.sidebar-item:hover {
  background: var(--surface);
  color: var(--text);
}
.sidebar-item.active {
  background: linear-gradient(90deg, var(--accent-glow), transparent);
  color: var(--text);
}
.sidebar-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 3px;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
}
.sidebar-item .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.sidebar-item .badge {
  margin-left: auto;
  font-size: 10px;
  background: var(--err);
  color: #fff;
  padding: 1px 6px;
  border-radius: 99px;
  font-weight: 700;
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 12px 10px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.sidebar-user .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}
.sidebar-user .meta { overflow: hidden; }
.sidebar-user .name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-user .role {
  font-size: 10.5px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  position: fixed;
  top: 0;
  left: var(--sidebar-w);
  right: 0;
  height: var(--header-h);
  background: rgba(11, 14, 19, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
  z-index: 90;
  transition: left var(--transition);
}
.topbar-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}
.topbar-title small {
  display: block;
  font-size: 11px;
  color: var(--text-3);
  font-weight: 400;
  margin-top: -2px;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  font-size: 15px;
  transition: all var(--transition);
}
.topbar-btn:hover {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-2);
}
.menu-toggle { display: none; }

/* ============================================
   MAIN CONTENT
   ============================================ */
.app-body {
  margin-left: var(--sidebar-w);
  padding-top: var(--header-h);
  min-height: 100vh;
  transition: margin-left var(--transition);
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
}

/* ============================================
   CARDS & SURFACES
   ============================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-subtitle {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ============================================
   STAT CARDS
   ============================================ */
.grid { display: grid; gap: 14px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.stat:hover { border-color: var(--border-2); }
.stat::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at top right, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.stat .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.stat .value {
  font-size: 22px;
  font-weight: 700;
  margin-top: 6px;
  color: var(--text);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.stat .delta {
  font-size: 11px;
  margin-top: 4px;
  color: var(--text-3);
}
.stat.ok .value { color: var(--ok); }
.stat.err .value { color: var(--err); }
.stat.warn .value { color: var(--warn); }
.stat.info .value { color: var(--info); }

/* ============================================
   FORMS
   ============================================ */
label {
  display: block;
  font-size: 11.5px;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  font-weight: 600;
}
input, select, textarea, button {
  font: inherit;
  color: var(--text);
}
input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input::placeholder, textarea::placeholder {
  color: var(--text-3);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
textarea {
  min-height: 120px;
  resize: vertical;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.5;
}
input[type="checkbox"] {
  width: auto;
  margin-right: 6px;
  vertical-align: middle;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.form-group { margin-bottom: 14px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  background: var(--accent-2);
  color: #fff;
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn.ghost {
  background: transparent;
  border-color: var(--border-2);
  color: var(--text-2);
}
.btn.ghost:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-2);
}
.btn.success { background: var(--ok); }
.btn.success:hover { background: #2ab866; }
.btn.danger { background: var(--err); }
.btn.danger:hover { background: #e04444; }
.btn.warn { background: var(--warn); color: #000; }
.btn.sm { padding: 5px 10px; font-size: 12px; border-radius: 5px; }
.btn.lg { padding: 12px 22px; font-size: 14px; }
.btn.block { width: 100%; }

.btn-group { display: inline-flex; gap: 6px; flex-wrap: wrap; }

/* ============================================
   TABLES
   ============================================ */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
th, td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  white-space: nowrap;
}
th {
  background: var(--bg-2);
  color: var(--text-2);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: sticky;
  top: 0;
}
tbody tr { transition: background var(--transition); }
tbody tr:hover td { background: var(--surface-2); }
tbody tr:last-child td { border-bottom: none; }
tr.details-row td {
  background: var(--bg) !important;
  border-bottom: 1px solid var(--border);
  padding: 14px;
}
td code, .mono {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px;
  background: var(--surface-3);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--info);
}

/* ============================================
   PILLS / BADGES
   ============================================ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.pill.ok      { background: rgba(52, 209, 123, 0.15); color: var(--ok); }
.pill.err     { background: rgba(255, 92, 92, 0.15);  color: var(--err); }
.pill.warn    { background: rgba(245, 180, 0, 0.15);  color: var(--warn); }
.pill.info    { background: rgba(56, 189, 248, 0.15); color: var(--info); }
.pill.purple  { background: rgba(168, 85, 247, 0.15); color: var(--purple); }
.pill.mut     { background: var(--surface-3); color: var(--text-3); }
.pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.pill.no-dot::before { display: none; }

/* ============================================
   PLUS BUTTON (row detail toggle)
   ============================================ */
.plus-btn {
  width: 22px;
  height: 22px;
  line-height: 1;
  text-align: center;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  padding: 0;
  transition: all var(--transition);
}
.plus-btn:hover {
  background: var(--surface-3);
  color: var(--text);
}
.plus-btn[aria-expanded="true"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: rotate(45deg);
}
.details {
  font-size: 12px;
  color: var(--text-2);
  max-width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   PAGINATION
   ============================================ */
.pager {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 16px;
  align-items: center;
  justify-content: center;
}
.pager a, .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--transition);
}
.pager a:hover {
  border-color: var(--accent);
  color: var(--text);
}
.pager .active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.pager .disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 13px;
  border: 1px solid;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert.ok    { background: rgba(52, 209, 123, 0.08); border-color: rgba(52, 209, 123, 0.3); color: var(--ok); }
.alert.err   { background: rgba(255, 92, 92, 0.08);  border-color: rgba(255, 92, 92, 0.3);  color: var(--err); }
.alert.warn  { background: rgba(245, 180, 0, 0.08);  border-color: rgba(245, 180, 0, 0.3);  color: var(--warn); }
.alert.info  { background: rgba(56, 189, 248, 0.08); border-color: rgba(56, 189, 248, 0.3); color: var(--info); }

/* ============================================
   LOGIN PAGE
   ============================================ */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at top left, rgba(77, 141, 255, 0.12), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(168, 85, 247, 0.12), transparent 50%),
    var(--bg);
}
.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.auth-logo {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.auth-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 4px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.auth-subtitle {
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
  margin-bottom: 24px;
}
.auth-field {
  position: relative;
  margin-bottom: 14px;
}
.auth-field label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  color: var(--text-2);
}
.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--text-3);
}

/* ============================================
   TOASTS
   ============================================ */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  min-width: 260px;
  max-width: 380px;
  font-size: 13px;
  box-shadow: var(--shadow);
  animation: slideIn 0.3s ease;
}
.toast.ok    { border-left-color: var(--ok); }
.toast.err   { border-left-color: var(--err); }
.toast.warn  { border-left-color: var(--warn); }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.5; }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-3);
}
.empty .icon {
  font-size: 42px;
  margin-bottom: 12px;
  opacity: 0.5;
}
.empty h3 {
  margin: 0 0 6px;
  color: var(--text-2);
  font-size: 15px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .topbar { left: 0; }
  .app-body { margin-left: 0; }
  .menu-toggle { display: inline-flex; }
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4 { grid-template-columns: 1fr; }
  .container { padding: 16px; }
  .card { padding: 16px; }
  .auth-card { padding: 24px; }
  th, td { padding: 9px 11px; font-size: 12.5px; }
}

@media (max-width: 480px) {
  .topbar { padding: 0 14px; }
  .topbar-title { font-size: 14px; }
  .container { padding: 12px; }
  .stat .value { font-size: 18px; }
  .auth-card { padding: 22px; }
  .card-header { flex-direction: column; align-items: stretch; }
}

/* Overlay for mobile sidebar */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}
.sidebar-overlay.show { display: block; }

/* ═══════════════════════════════════════
   FONT AWESOME — Icon Sizing
   ═══════════════════════════════════════ */
.fa-solid, .fa-regular, .fa-brands {
  line-height: 1;
}

.sidebar-item .icon .fa-solid,
.sidebar-item .icon .fa-brands {
  font-size: 15px;
  width: 18px;
  text-align: center;
}

.sidebar-brand .logo .fa-bolt {
  font-size: 18px;
  color: #fff;
}

.stat .label .fa-solid {
  color: var(--accent);
  margin-right: 4px;
}

.btn .fa-solid,
.btn .fa-brands {
  font-size: 13px;
}

.card-title .fa-solid,
.card-title .fa-brands {
  color: var(--accent);
  margin-right: 8px;
}

.pill .fa-solid {
  font-size: 10px;
  margin-right: 3px;
}

/* Spinner in buttons */
.btn .fa-spin {
  animation: fa-spin 1s linear infinite;
}

/* Brand-specific colors */
.fa-amazon { color: #ff9900; }
.fa-google  { color: #4285f4; }
.fa-whatsapp { color: #25d366; }

/* ============================================
   LINE AWESOME ICON ADJUSTMENTS
   ============================================ */

/* Sidebar icons */
.sidebar-item .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: inherit;
  transition: color var(--transition);
}
.sidebar-item:hover .icon { color: var(--accent); }
.sidebar-item.active .icon { color: var(--accent); }

/* Brand logo icon */
.sidebar-brand .logo i {
  font-size: 18px;
  color: #fff;
}

/* Topbar button icons */
.topbar-btn i {
  font-size: 16px;
  line-height: 1;
}

/* Stat label icons */
.stat .label i {
  font-size: 13px;
  color: var(--accent);
  margin-right: 4px;
}

/* Button icons */
.btn i {
  font-size: 14px;
  line-height: 1;
}

/* Pill icons */
.pill i { font-size: 10px; }

/* Table action icons */
.btn-group i { font-size: 13px; }

/* Plus button already rotated; no icon change needed */

/* Breadcrumb */
.breadcrumb i { font-size: 11px; opacity: 0.6; }

/* ============================================
   LINE AWESOME ICON COLOR THEMES
   ============================================ */

/* Active state — icon brighter */
.sidebar-item.active .icon i {
  color: var(--accent);
  filter: drop-shadow(0 0 6px var(--accent-glow));
}

/* Stat icons color by type */
.stat.ok .label i     { color: var(--ok); }
.stat.err .label i    { color: var(--err); }
.stat.warn .label i   { color: var(--warn); }
.stat.info .label i   { color: var(--info); }

/* Pill icons color */
.pill.ok i    { color: var(--ok); }
.pill.err i   { color: var(--err); }
.pill.warn i  { color: var(--warn); }

/* Auth logo icon */
.auth-logo i {
  font-size: 28px;
  color: #fff;
}

/* Brand icon — subtle glow */
.sidebar-brand .logo i {
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════════════════
   LINE AWESOME ICON STYLING
   ═══════════════════════════════════════════════ */
i.la {
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
}

/* ── Sidebar ── */
.sidebar-item .icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar-item .icon i {
    font-size: 17px;
    transition: color var(--transition), transform var(--transition);
}
.sidebar-item:hover .icon i { transform: scale(1.12); }
.sidebar-item.active .icon i {
    color: var(--accent);
    filter: drop-shadow(0 0 5px var(--accent-glow));
}

/* ── Brand logo ── */
.sidebar-brand .logo i {
    font-size: 20px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}

/* ── Topbar ── */
.topbar-btn i { font-size: 17px; }

/* ── Stat cards ── */
.stat .label i {
    font-size: 13px;
    margin-right: 5px;
    color: var(--accent);
}
.stat.ok .label i     { color: var(--ok); }
.stat.err .label i    { color: var(--err); }
.stat.warn .label i   { color: var(--warn); }
.stat.info .label i   { color: var(--info); }

/* ── Buttons ── */
.btn i {
    font-size: 14px;
    margin-right: 5px;
}
.btn.icon-only { padding: 9px 11px; }
.btn.icon-only i { margin-right: 0; font-size: 15px; }

/* ── Pills ── */
.pill i {
    font-size: 11px;
    margin-right: 4px;
}

/* ── Auth pages ── */
.auth-logo i {
    font-size: 30px;
    color: #fff;
}

/* ── Breadcrumb ── */
.breadcrumb i {
    font-size: 11px;
    opacity: 0.6;
    margin: 0 4px;
}
