/* ===================================================================
   SMART SIDEBAR & INVENTORY NAVIGATOR STYLES
   Warhouse Update Pack V1
   =================================================================== */

/* ---------------- Workspace in Sidebar ---------------- */
.sidebar-workspace-section {
  padding: 12px 10px 8px 10px;
  border-top: 1px solid var(--sidebar-border, rgba(255, 255, 255, 0.06));
  margin-top: 8px;
}

.sidebar-workspace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 8px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #71717a);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.sidebar-workspace-header:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn-workspace-header-add {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--muted, #a1a1aa);
  font-size: 14px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all 0.15s ease;
}

.btn-workspace-header-add:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--accent, #3b82f6);
  color: #fff;
}

.sidebar-workspace-empty {
  padding: 12px;
  font-size: 12px;
  color: var(--muted, #a1a1aa);
  text-align: center;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.15s ease;
}

.sidebar-workspace-empty:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

.sidebar-workspace-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-workspace-list::-webkit-scrollbar {
  width: 4px;
}
.sidebar-workspace-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.sidebar-workspace-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary, #a1a1aa);
  transition: background 0.15s ease, color 0.15s ease;
  user-select: none;
  border-left: 2px solid transparent;
}

.sidebar-workspace-item:hover {
  background: var(--sidebar-item-hover, rgba(255, 255, 255, 0.05));
  color: var(--text-primary, #f4f4f5);
}

.sidebar-workspace-item.active {
  background: var(--sidebar-item-active, rgba(59, 130, 246, 0.12));
  color: #fff;
  border-left-color: var(--accent, #3b82f6);
}

.sidebar-workspace-item-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
  margin-right: 6px;
}

.sidebar-workspace-item-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
}

.sidebar-workspace-item-parent {
  font-size: 10px;
  color: var(--muted, #71717a);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.sidebar-workspace-item:hover .sidebar-workspace-item-parent {
  color: var(--text-secondary, #a1a1aa);
}

.sidebar-workspace-item.active .sidebar-workspace-item-parent {
  color: rgba(147, 197, 253, 0.85);
}

.sidebar-workspace-item-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted, #71717a);
  padding: 1px 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  flex-shrink: 0;
}

.sidebar-workspace-item.active .sidebar-workspace-item-count {
  color: var(--accent, #60a5fa);
  background: rgba(59, 130, 246, 0.2);
}

.sidebar-workspace-item-actions {
  display: none;
  align-items: center;
  gap: 2px;
  margin-left: 4px;
}

.sidebar-workspace-item:hover .sidebar-workspace-item-actions {
  display: flex;
}

.btn-workspace-remove {
  background: transparent;
  border: none;
  color: var(--muted, #71717a);
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 11px;
  transition: all 0.15s ease;
}

.btn-workspace-remove:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.btn-workspace-more {
  background: transparent;
  border: none;
  color: var(--muted, #a1a1aa);
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 12px;
}

.btn-workspace-more:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Nested Workspace Groups & Sub-items */
.sidebar-workspace-group-block {
  display: flex;
  flex-direction: column;
  margin-bottom: 3px;
}

.sidebar-workspace-sublist {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 18px;
  margin: 3px 0 6px 6px;
  border-left: 1px dashed rgba(255, 255, 255, 0.1);
}

.sidebar-workspace-subitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-secondary, #a1a1aa);
  transition: all 0.12s ease;
  user-select: none;
}

.sidebar-workspace-subitem:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.sidebar-workspace-subitem.active {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
  font-weight: 600;
}

.sidebar-group-toggle:hover {
  color: #fff !important;
}

/* Open Inventory Button in Sidebar */
.btn-open-inventory-navigator {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--muted, #a1a1aa);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-open-inventory-navigator:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.35);
  color: var(--accent, #60a5fa);
}

/* Collapsed Sidebar Indicator */
body.sidebar-collapsed .sidebar-workspace-section {
  display: none;
}

/* ---------------- Inventory Navigator Floating Panel ---------------- */
.inventory-navigator-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  z-index: 999999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 60px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.inventory-navigator-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.inventory-navigator-panel {
  width: 1320px;
  max-width: 96vw;
  height: 750px;
  max-height: 90vh;
  background: #11141b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(-10px) scale(0.98);
  transition: transform 0.2s ease;
}

.inventory-navigator-backdrop.active .inventory-navigator-panel {
  transform: translateY(0) scale(1);
}

/* Header & Search */
.inventory-navigator-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #161820;
}

.inventory-navigator-search-icon {
  color: var(--muted, #71717a);
  flex-shrink: 0;
  display: flex;
}

.inventory-navigator-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 15px;
  color: #fff;
  font-family: inherit;
}

.inventory-navigator-search-input::placeholder {
  color: var(--muted, #71717a);
}

.inventory-navigator-close-btn {
  background: transparent;
  border: none;
  color: var(--muted, #71717a);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inventory-navigator-close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* 3 Columns Layout */
.inventory-navigator-columns {
  display: flex;
  flex: 1;
  min-height: 0;
  background: #101217;
}

.inventory-navigator-column {
  flex: 1;
  min-width: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
}

.inventory-navigator-column:nth-child(1) { flex: 0.9; min-width: 280px; }
.inventory-navigator-column:nth-child(2) { flex: 1.1; min-width: 320px; }
.inventory-navigator-column:nth-child(3) { flex: 1.8; min-width: 460px; }

.inventory-navigator-column:last-child {
  border-right: none;
}

.inventory-navigator-col-title {
  padding: 10px 14px 8px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted, #71717a);
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.inventory-navigator-col-list {
  flex: 1;
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.inventory-navigator-col-list::-webkit-scrollbar {
  width: 4px;
}
.inventory-navigator-col-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

/* Navigator Item */
.navigator-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #d4d4d8;
  transition: all 0.12s ease;
  user-select: none;
}

.navigator-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.navigator-item.selected {
  background: rgba(59, 130, 246, 0.15);
  color: #fff;
}

.navigator-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.navigator-item-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted, #a1a1aa);
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  flex-shrink: 0;
  margin-left: 6px;
  transition: all 0.15s ease;
}

.navigator-item-badge.stock-empty {
  color: #ff7a7a !important;
  background: rgba(239, 68, 68, 0.16) !important;
  border-color: rgba(239, 68, 68, 0.45) !important;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.25) !important;
}

.navigator-item-badge.stock-warning {
  color: #fbbf24 !important;
  background: rgba(245, 158, 11, 0.16) !important;
  border-color: rgba(245, 158, 11, 0.45) !important;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.25) !important;
}

.navigator-item-badge.stock-success {
  color: #34d399 !important;
  background: rgba(34, 197, 94, 0.16) !important;
  border-color: rgba(34, 197, 94, 0.45) !important;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.25) !important;
}

.navigator-item.selected .navigator-item-badge:not(.stock-empty):not(.stock-warning):not(.stock-success) {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.2);
}

.navigator-item-arrow {
  color: var(--muted, #71717a);
  margin-left: 6px;
  display: flex;
  align-items: center;
}

/* Navigator Pin Button */
.navigator-pin-btn {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #a1a1aa;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.navigator-pin-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
  color: #93c5fd;
}

.navigator-pin-btn.pinned {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.navigator-pin-btn.pinned:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* Explicit Open Button */
.navigator-open-btn {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.14);
  color: #60a5fa;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.navigator-open-btn:hover {
  background: #3b82f6;
  border-color: #60a5fa;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.45);
}

/* Pin All Button in Column Title */
.btn-navigator-inline-pin-all {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 600;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-navigator-inline-pin-all:hover {
  background: rgba(16, 185, 129, 0.3);
  color: #fff;
  border-color: #10b981;
}

.btn-navigator-inline-pin-all.unpin {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.btn-navigator-inline-pin-all.unpin:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #fff;
  border-color: #ef4444;
}

/* Large Category / Group Banner */
.navigator-large-category-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  margin: 8px 10px 4px 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(139, 92, 246, 0.18));
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-banner-open {
  padding: 4px 11px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 6px;
  background: #3b82f6;
  border: 1px solid #60a5fa;
  color: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-banner-open:hover {
  background: #2563eb;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.btn-banner-pin {
  padding: 4px 11px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e4e4e7;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-banner-pin:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn-banner-pin.pinned {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
  color: #34d399;
}

.btn-banner-pin.pinned:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #f87171;
}

/* Action Create Buttons inside Navigator */
.btn-navigator-action-create {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e4e4e7;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-navigator-action-create:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn-navigator-action-create.primary {
  background: #3b82f6;
  border-color: #60a5fa;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.35);
}

.btn-navigator-action-create.primary:hover {
  background: #2563eb;
  border-color: #93c5fd;
}

.btn-navigator-inline-add {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 7px;
  font-size: 10.5px;
  font-weight: 600;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #d4d4d8;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-navigator-inline-add:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.btn-navigator-inline-add.primary {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

.btn-navigator-inline-add.primary:hover {
  background: rgba(59, 130, 246, 0.35);
  color: #93c5fd;
}

.navigator-add-new-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #60a5fa;
  cursor: pointer;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px dashed rgba(59, 130, 246, 0.3);
  transition: all 0.15s ease;
}

.navigator-add-new-btn-row:hover {
  background: rgba(59, 130, 246, 0.18);
  border-color: #3b82f6;
  color: #93c5fd;
}

/* Color Swatches in Create Modal */
.cat-color-swatch:hover,
.group-color-swatch:hover {
  transform: scale(1.15);
}

.navigator-zero-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #d4d4d8;
}

/* Search Flat Results View */
.navigator-search-results {
  flex: 1;
  overflow-y: auto;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #101217;
}

.navigator-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.navigator-search-item:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.navigator-search-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.navigator-search-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.navigator-search-item-path {
  font-size: 12px;
  color: var(--muted, #71717a);
}

/* ---------------- Account & Cookie State Badges ---------------- */
.badge-account-state,
.badge-cookie-state {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.acc-state-cell {
  display: inline-flex;
  align-items: center;
}

.cookie-state-cell {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 3px 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cookie-state-subtext {
  font-size: 11px;
  color: var(--muted, #a1a1aa);
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* Account State Badges */
.badge-acc-live {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-acc-die {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-acc-face {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-acc-unknown {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted, #a1a1aa);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie State Badges */
.badge-ck-live {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.badge-ck-die {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge-ck-unchecked {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-ck-missing {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted, #71717a);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-ck-sold {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.badge-ck-acc-die,
.badge-ck-acc_die {
  background: rgba(220, 38, 38, 0.16);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.badge-ck-banned {
  background: rgba(234, 179, 8, 0.15);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.35);
}

/* ---------------- Mobile Responsive ---------------- */
@media (max-width: 768px) {
  .inventory-navigator-backdrop {
    padding-top: 0;
    align-items: stretch;
  }
  .inventory-navigator-panel {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    border: none;
  }
  .inventory-navigator-columns {
    flex-direction: column;
  }
  .inventory-navigator-column {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* ---------------- Pagination Bar Top & Bottom ---------------- */
.pagination-bar {
  margin: 10px 0;
}
.pagination-bar-top {
  margin-top: 0;
  margin-bottom: 12px;
}

/* ---------------- Compact Status Dropdown (KHO) ---------------- */
.status-dropdown-wrap {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.status-select-pill {
  appearance: none;
  -webkit-appearance: none;
  padding: 4px 22px 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  border: 1px solid transparent;
  background-position: right 7px center;
  background-repeat: no-repeat;
  background-size: 9px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  transition: all 0.15s ease;
  min-width: 68px;
}

.status-select-pill.status-available {
  background-color: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.4);
}

.status-select-pill.status-sold {
  background-color: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.4);
}

.status-select-pill.status-die {
  background-color: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}

.status-select-pill.status-banned {
  background-color: rgba(249, 115, 22, 0.15);
  color: #fb923c;
  border-color: rgba(249, 115, 22, 0.4);
}

.status-select-pill.status-ban_normal,
.status-select-pill.status-ban-normal {
  background-color: rgba(234, 179, 8, 0.15);
  color: #facc15;
  border-color: rgba(234, 179, 8, 0.45);
}

.status-select-pill.status-faceid {
  background-color: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.4);
}

.status-select-pill option {
  background: #181920;
  color: #fff;
  padding: 6px 12px;
}

/* Khi acc Die thì cả ô hiển thị màu đỏ */
.td-status-quick.is-acc-die {
  background: rgba(239, 68, 68, 0.22) !important;
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.45) !important;
  border-radius: 4px;
}

.td-status-quick.is-acc-die .status-select-pill.status-die {
  background-color: #ef4444 !important;
  color: #ffffff !important;
  border-color: #fca5a5 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.6) !important;
}

/* Khi acc Die thì hiện đỏ cả thanh (cả hàng) chứ không phải mỗi ô trạng thái */
.acc-row.die td,
.acc-row.is-die td,
.acc-row.is-acc-die td {
  background: rgba(239, 68, 68, 0.08) !important;
  border-top: 1px solid rgba(239, 68, 68, 0.28) !important;
  border-bottom: 1px solid rgba(239, 68, 68, 0.28) !important;
}

.acc-row.die:hover td,
.acc-row.is-die:hover td,
.acc-row.is-acc-die:hover td {
  background: rgba(239, 68, 68, 0.15) !important;
}

.acc-row.die td:first-child,
.acc-row.is-die td:first-child,
.acc-row.is-acc-die td:first-child {
  border-left: 4px solid #ef4444 !important;
  box-shadow: inset 4px 0 10px -2px rgba(239, 68, 68, 0.7);
}

.acc-row.die td:last-child,
.acc-row.is-die td:last-child,
.acc-row.is-acc-die td:last-child {
  border-right: 1px solid rgba(239, 68, 68, 0.28) !important;
}

.acc-row.die .account-name,
.acc-row.is-die .account-name,
.acc-row.is-acc-die .account-name {
  color: #fca5a5 !important;
}

/* Tài khoản Ban 6 tháng: Viền vàng hổ phách, không bị đỏ cả thanh như Die */
.acc-row.banned td:first-child {
  border-left: 4px solid #f97316 !important;
  box-shadow: inset 4px 0 8px -2px rgba(249, 115, 22, 0.5);
}

/* Tài khoản Ban thường (warning nhẹ) */
.acc-row.ban_normal td:first-child,
.acc-row.ban-normal td:first-child {
  border-left: 4px solid #eab308 !important;
  box-shadow: inset 4px 0 8px -2px rgba(234, 179, 8, 0.4);
}

/* Tài khoản TỪNG BỊ BAN 6 THÁNG: Cảnh báo viền vàng cam cẩn trọng */
.acc-row.has-was-banned6m td:first-child {
  border-left: 4px solid #f59e0b !important;
  box-shadow: inset 4px 0 8px -2px rgba(245, 158, 11, 0.45);
}

/* Badge Từng Ban 6T (cẩn trọng) */
.badge-was-banned6m {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.25);
  animation: pulse-cautious 2.5s infinite ease-in-out;
  user-select: none;
  white-space: nowrap;
  vertical-align: middle;
}

@keyframes pulse-cautious {
  0%, 100% {
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.35);
  }
  50% {
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
    border-color: rgba(245, 158, 11, 0.7);
  }
}

.badge-was-banned6m--sm {
  font-size: 10px;
  padding: 1px 5px;
}

/* Mobile Card Die */
.acc-card.die,
.acc-card.is-die,
.acc-card.is-acc-die {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%) !important;
  border: 1px solid rgba(239, 68, 68, 0.45) !important;
  border-left: 4px solid #ef4444 !important;
}

/* Acc đã bán thì cho tất cả thành trắng đen trừ cột trạng thái */
.acc-row.sold,
.acc-row.is-sold {
  opacity: 0.65;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.acc-row.sold:hover,
.acc-row.is-sold:hover {
  opacity: 0.92;
}

.acc-row.sold td:not(.td-status-quick):not(.td-check):not(.td-actions),
.acc-row.is-sold td:not(.td-status-quick):not(.td-check):not(.td-actions) {
  filter: grayscale(100%) brightness(0.92);
}

.acc-row.sold .account-name,
.acc-row.is-sold .account-name {
  color: #a1a1aa !important;
}

.acc-row.sold .td-profit,
.acc-row.is-sold .td-profit {
  color: #a1a1aa !important;
}

.acc-row.sold .td-status-quick,
.acc-row.is-sold .td-status-quick {
  opacity: 1 !important;
  filter: none !important;
}

.acc-row.sold .status-select-pill.status-sold,
.acc-row.is-sold .status-select-pill.status-sold {
  background-color: rgba(245, 158, 11, 0.25) !important;
  color: #fbbf24 !important;
  border-color: #f59e0b !important;
  font-weight: 700 !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4) !important;
}

/* Nút chọn trạng thái (CHỈ HIỆN MÀU KHI ĐƯỢC CHỌN) */
.state-choice-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #a1a1aa;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.state-choice-btn .state-choice-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #71717a;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.state-choice-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #e4e4e7;
  border-color: rgba(255, 255, 255, 0.2);
}

.state-choice-btn.is-live.is-active {
  background: rgba(16, 185, 129, 0.18) !important;
  border-color: #10b981 !important;
  color: #34d399 !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.35) !important;
}
.state-choice-btn.is-live.is-active .state-choice-dot {
  background: #10b981 !important;
  box-shadow: 0 0 6px #10b981;
}

.state-choice-btn.is-die.is-active {
  background: rgba(239, 68, 68, 0.18) !important;
  border-color: #ef4444 !important;
  color: #f87171 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.35) !important;
}
.state-choice-btn.is-die.is-active .state-choice-dot {
  background: #ef4444 !important;
  box-shadow: 0 0 6px #ef4444;
}

.state-choice-btn.is-unchecked.is-active {
  background: rgba(245, 158, 11, 0.18) !important;
  border-color: #f59e0b !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.35) !important;
}
.state-choice-btn.is-unchecked.is-active .state-choice-dot {
  background: #f59e0b !important;
  box-shadow: 0 0 6px #f59e0b;
}

.state-choice-btn.is-sold.is-active {
  background: rgba(148, 163, 184, 0.18) !important;
  border-color: #94a3b8 !important;
  color: #cbd5e1 !important;
  box-shadow: 0 0 10px rgba(148, 163, 184, 0.35) !important;
}
.state-choice-btn.is-sold.is-active .state-choice-dot {
  background: #94a3b8 !important;
  box-shadow: 0 0 6px #94a3b8;
}

.state-choice-btn.is-acc-die.is-active {
  background: rgba(220, 38, 38, 0.22) !important;
  border-color: #ef4444 !important;
  color: #fca5a5 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4) !important;
}
.state-choice-btn.is-acc-die.is-active .state-choice-dot {
  background: #ef4444 !important;
  box-shadow: 0 0 6px #ef4444;
}

.state-choice-btn.is-banned.is-active {
  background: rgba(234, 179, 8, 0.2) !important;
  border-color: #eab308 !important;
  color: #fef08a !important;
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.4) !important;
}
.state-choice-btn.is-banned.is-active .state-choice-dot {
  background: #eab308 !important;
  box-shadow: 0 0 6px #eab308;
}

.state-choice-btn.is-keep.is-active {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #e4e4e7 !important;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.25) !important;
}
.state-choice-btn.is-keep.is-active .state-choice-dot {
  background: #e4e4e7 !important;
  box-shadow: 0 0 6px #ffffff;
}

/* ---------------- Top Cookie Stats Card ---------------- */
.accounts-cookie-stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--card-bg, #14161f);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  min-width: 240px;
  gap: 8px;
}

.accounts-cookie-stat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accounts-cookie-stat-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted, #71717a);
  text-transform: uppercase;
}

.accounts-cookie-stat-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ck-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary, #d4d4d8);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.ck-stat-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.ck-stat-pill.ck-stat-live:hover {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.1);
}

.ck-stat-pill.ck-stat-die:hover {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.1);
}

.ck-stat-pill.ck-stat-unchecked:hover {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.1);
}

.ck-stat-pill.ck-stat-sold:hover {
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(148, 163, 184, 0.1);
}

.ck-stat-pill.ck-stat-acc-die:hover {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.15);
}

.ck-stat-pill.ck-stat-banned:hover {
  border-color: rgba(234, 179, 8, 0.5);
  background: rgba(234, 179, 8, 0.15);
}

.ck-stat-pill strong {
  font-weight: 700;
  color: #fff;
}

.ck-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.ck-dot.live {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.ck-dot.die {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}

.ck-dot.unchecked {
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
}

.ck-dot.missing {
  background: #52525b;
}

.ck-dot.sold {
  background: #3b82f6;
  box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
}

.ck-dot.available {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.ck-dot.faceid {
  background: #a855f7;
  box-shadow: 0 0 6px rgba(168, 85, 247, 0.6);
}

.ck-dot.acc-die,
.ck-dot.acc_die {
  background: #dc2626;
  box-shadow: 0 0 6px rgba(220, 38, 38, 0.7);
}

.ck-dot.banned {
  background: #f97316;
  box-shadow: 0 0 6px rgba(249, 115, 22, 0.6);
}

.ck-dot.ban-normal,
.ck-dot.ban_normal {
  background: #eab308;
  box-shadow: 0 0 6px rgba(234, 179, 8, 0.6);
}

.ck-dot.was-banned6m {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.85);
}

/* ---------------- Sidebar Consistency & Polish ---------------- */
.sidebar .side-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 38px !important;
  padding: 0 10px !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: var(--text-secondary, #a1a1aa) !important;
}

.sidebar .side-item .nav-icon {
  width: 18px !important;
  height: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.sidebar .side-item .nav-icon svg {
  width: 18px !important;
  height: 18px !important;
}

.sidebar-workspace-item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
  display: inline-block;
}

.sidebar-workspace-header {
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted, #71717a);
  text-transform: uppercase;
}

.sidebar-workspace-add-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted, #71717a);
  cursor: pointer;
  border-radius: 6px;
  margin-top: 4px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.015);
  transition: all 0.15s ease;
}

.sidebar-workspace-add-bottom:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

/* Cookie Update System */
.btn-cookie-head-action {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-cookie-head-action:hover {
  background: rgba(59, 130, 246, 0.22);
  border-color: #3b82f6;
  color: #93c5fd;
}

.cookie-stat-alert-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 6px 10px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  font-size: 11.5px;
  color: #f87171;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cookie-stat-alert-bar:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
}

.cookie-alert-action-btn {
  font-weight: 600;
  color: #fca5a5;
  text-decoration: underline;
}

.cookie-state-cell {
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 4px;
  transition: all 0.15s ease;
}

.cookie-state-cell:hover {
  background: rgba(255, 255, 255, 0.06);
}

.cookie-state-cell:hover .badge-cookie-state {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
}

/* Horizontal Cookie Mini Bar */
.cookie-mini-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 7px 14px;
  background: rgba(18, 22, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 8px;
}

.cookie-mini-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-mini-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted, #71717a);
  text-transform: uppercase;
}

.cookie-mini-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cookie-mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text, #f3f4f6);
  cursor: pointer;
  transition: all 0.15s ease;
}

.cookie-mini-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.cookie-mini-pill.is-sold:hover {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.12);
}

.cookie-mini-pill.is-available:hover {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.12);
}

.cookie-mini-pill.is-die:hover,
.cookie-mini-pill.is-acc-die:hover {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.14);
}

.cookie-mini-pill.is-banned:hover {
  border-color: rgba(249, 115, 22, 0.45);
  background: rgba(249, 115, 22, 0.12);
}

.cookie-mini-pill.is-ban-normal:hover {
  border-color: rgba(234, 179, 8, 0.45);
  background: rgba(234, 179, 8, 0.12);
}

.cookie-mini-pill.is-was-banned6m:hover {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.16);
}

.cookie-mini-pill.is-faceid:hover {
  border-color: rgba(168, 85, 247, 0.45);
  background: rgba(168, 85, 247, 0.12);
}

.cookie-mini-bar.account-status-mini-bar {
  margin-bottom: 6px;
}

.cookie-mini-pill.active {
  background: #10b981 !important;
  border-color: #34d399 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.45) !important;
}

.cookie-mini-pill.active span,
.cookie-mini-pill.active strong {
  color: #ffffff !important;
}

.cookie-mini-pill.active .ck-dot {
  background-color: #ffffff !important;
  box-shadow: 0 0 6px #ffffff !important;
}

.cookie-mini-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-mini-alert-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11.5px;
  color: #f87171;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cookie-mini-alert-btn:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: #ef4444;
}

.cookie-mini-alert-action {
  font-weight: 600;
  text-decoration: underline;
  color: #fca5a5;
}

.cookie-mini-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cookie-mini-action-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
}

/* === Premium UI/UX for Dropdown Menus (Tools & Avatar) === */
.tools-menu,
.avatar-menu {
  background: rgba(15, 18, 26, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
  border-radius: 14px !important;
}

.tools-menu .menu-item,
.avatar-menu .menu-item {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #e4e4e7 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border-radius: 8px !important;
  cursor: pointer !important;
}

.tools-menu .menu-item:hover,
.avatar-menu .menu-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  transform: translateX(3px) !important;
}

.tools-menu .menu-item.danger:hover,
.avatar-menu .menu-item.danger:hover {
  background: rgba(239, 68, 68, 0.16) !important;
  color: #f87171 !important;
  transform: translateX(3px) !important;
}

.menu-svg-icon {
  flex-shrink: 0;
  transition: transform 0.16s ease, stroke 0.16s ease;
}

.menu-item:hover .menu-svg-icon {
  transform: scale(1.12);
}

.quick-settings-section details summary {
  user-select: none;
  transition: color 0.15s ease;
}

.quick-settings-section details[open] summary svg:last-child {
  transform: rotate(180deg);
}

.quick-settings-section details summary svg:last-child {
  transition: transform 0.2s ease;
}

