:root {
  --splice-green: #00A859;
  --splice-green-hover: #008A48;
  --splice-green-light: #E6F7EF;
  --splice-blue: #1F65AF;
  --splice-blue-light: #EBF3FA;
  --sidebar-bg: #0D3C26;
  --sidebar-hover: #144E33;
  --sidebar-active: #00A859;
  --sidebar-text: #CBD5E1;
  --canvas-bg: #F8FAFC;
  --card-bg: #FFFFFF;
  --card-border: #E2E8F0;
  --text-primary: #0F172A;
  --text-muted: #64748B;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--canvas-bg);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

/* Sidebar Styles - Splice Emerald & Dark Forest Green Theme */
.sidebar {
  width: 275px;
  background-color: var(--sidebar-bg);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.sidebar-header {
  padding: 24px 20px 16px 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.logo-icon-wrap {
  width: 40px;
  height: 40px;
  background: var(--splice-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(0, 168, 89, 0.4);
}

.logo-s {
  color: #ffffff;
  font-weight: 800;
  font-size: 22px;
  font-style: italic;
}

.logo-text-wrap {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.brand-splice {
  color: #ffffff;
}

.brand-star {
  color: var(--splice-green);
  font-weight: 900;
  margin-left: 2px;
}

/* Collapsible Major Sidebar Sections */
.sidebar-section {
  margin-bottom: 8px;
}

.sidebar-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  margin-bottom: 6px;
  border-left: 3px solid var(--splice-green);
}

.sidebar-section-header:hover {
  background: rgba(255, 255, 255, 0.12);
}

#section-splice-star .sidebar-section-header {
  border-left-color: #00A859;
}

#section-splice-vd .sidebar-section-header {
  border-left-color: #8B5CF6;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
}

#section-splice-promise .sidebar-section-header {
  border-left-color: #38BDF8;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.brand-section-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.brand-vd {
  color: #C4B5FD;
  font-weight: 900;
  margin-left: 6px;
  background: rgba(139, 92, 246, 0.3);
  border: 1px solid rgba(139, 92, 246, 0.5);
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 1px;
}

.brand-promise-logo {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.brand-promise {
  color: #38BDF8;
  font-weight: 900;
  margin-left: 6px;
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 1px;
}

.section-chevron {
  font-size: 12px;
  color: #94A3B8;
  transition: transform 0.25s ease;
}

.sidebar-section.open .section-chevron {
  transform: rotate(180deg);
}

.sidebar-section-body {
  display: none;
}

.sidebar-section.open .sidebar-section-body {
  display: block;
}

.user-badge-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.07);
  padding: 12px;
  border-radius: var(--radius-md);
}

.user-avatar {
  width: 38px;
  height: 38px;
  background: var(--splice-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.user-role {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
}

.user-email {
  color: #94A3B8;
  font-size: 11.5px;
}

.sidebar-menu {
  padding: 0 12px 24px 12px;
  overflow-y: auto;
  flex-grow: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: #CBD5E1;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-bottom: 2px;
  position: relative;
}

.nav-icon {
  width: 20px;
  display: inline-block;
  text-align: center;
}

.nav-item:hover {
  background-color: var(--sidebar-hover);
  color: #ffffff;
}

.nav-item.active {
  background-color: var(--sidebar-active) !important;
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 168, 89, 0.3);
}

/* Accordion Dropdown Submenu Styles */
.nav-dropdown {
  margin-bottom: 2px;
}

.nav-dropdown-toggle {
  justify-content: space-between;
  cursor: pointer;
}

.dropdown-arrow {
  margin-left: auto;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.nav-dropdown.open .dropdown-arrow {
  transform: rotate(90deg);
}

.sub-menu {
  display: none;
  padding-left: 28px;
  flex-direction: column;
  gap: 2px;
  margin-top: 2px;
}

.nav-dropdown.open .sub-menu {
  display: flex;
}

.sub-nav-item {
  padding: 8px 12px;
  color: #94A3B8;
  text-decoration: none;
  font-size: 12.5px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.sub-nav-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.sub-nav-item.active {
  color: #ffffff !important;
  font-weight: 700 !important;
  background-color: var(--splice-green) !important;
  box-shadow: 0 2px 8px rgba(0, 168, 89, 0.4);
}

.nav-dropdown-toggle.active,
.nav-dropdown-toggle.active-parent {
  background-color: rgba(0, 168, 89, 0.25) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-left: 4px solid var(--splice-green) !important;
}

.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #ffffff;
  border-top: 1px solid var(--card-border);
  font-size: 13px;
  color: var(--text-muted);
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-btn {
  padding: 6px 14px;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #0F172A;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--splice-green);
  color: #ffffff;
  border-color: var(--splice-green);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Interactive Metric Quick Cards */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.metric-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--splice-green);
}

.metric-info .metric-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.metric-info .metric-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 4px;
}

.metric-info .metric-change {
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.metric-change.up { color: var(--splice-green); }
.metric-change.neutral { color: var(--splice-blue); }

.metric-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* Interactive Filter Toolbar */
.filter-toolbar {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.filter-left, .filter-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.filter-select {
  padding: 8px 12px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  font-size: 13px;
  outline: none;
  background: #ffffff;
  cursor: pointer;
}

.filter-select:focus {
  border-color: var(--splice-green);
}

/* Legacy Header Banners for Chart Cards */
.card-header-banner {
  padding: 12px 18px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
}

.card-header-banner h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.banner-action {
  font-size: 12px;
  cursor: pointer;
  opacity: 0.9;
  font-weight: 600;
}

.banner-action:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Header Colors Matching Legacy Screenshot */
.bg-green { background-color: #28A745; color: #ffffff; }
.bg-blue { background-color: #007BFF; color: #ffffff; }
.bg-slate { background-color: #6C757D; color: #ffffff; }
.bg-red { background-color: #DC3545; color: #ffffff; }
.bg-teal { background-color: #17A2B8; color: #ffffff; }
.bg-yellow { background-color: #FFC107; color: #212529; }
.bg-orange { background-color: #FD7E14; color: #ffffff; }

/* Chart Canvas Wrapper */
.chart-body-canvas {
  padding: 16px;
  position: relative;
  height: 240px;
  width: 100%;
}

.chart-body-canvas.wide {
  height: 280px;
}

/* Form Controls */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  max-width: 480px;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  padding: 10px 14px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
  width: 100%;
}

.form-control:focus {
  border-color: var(--splice-green);
  box-shadow: 0 0 0 3px rgba(0, 168, 89, 0.15);
}

/* Main Content Area */
.main-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Top Header */
.top-header {
  height: 64px;
  background-color: #ffffff;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.header-tabs {
  display: flex;
  gap: 24px;
}

.header-tab {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 20px 0;
  position: relative;
  transition: color 0.2s ease;
}

.header-tab:hover {
  color: var(--splice-green);
}

.header-tab.active {
  color: var(--splice-green);
  font-weight: 600;
}

.header-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--splice-green);
  border-radius: 3px 3px 0 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.icon-btn:hover {
  background-color: #F1F5F9;
  color: var(--text-primary);
}

.header-avatar {
  width: 36px;
  height: 36px;
  background-color: var(--splice-green);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

/* Content Body */
.content-body {
  padding: 32px;
  flex-grow: 1;
}

/* Tab Views Container */
.tab-view {
  display: none;
}

.tab-view.active {
  display: block;
}

.page-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.page-heading {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.page-subheading {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 2px;
}

.btn-primary {
  background-color: var(--splice-green);
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--splice-green-hover);
}

.search-box {
  display: flex;
  gap: 8px;
}

.search-box input {
  padding: 8px 14px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
  width: 240px;
}

.search-box input:focus {
  border-color: var(--splice-green);
}

/* Data Tables */
.table-card, .card-box {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--card-border);
}

.data-table td {
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--text-primary);
  border-bottom: 1px solid #F1F5F9;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background-color: #F8FAFC;
}

.badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.badge.active, .badge.paid {
  background-color: #E6F7EF;
  color: #00A859;
}

.badge.inactive, .badge.pending {
  background-color: #FEF3C7;
  color: #D97706;
}

/* Premium Row Action Buttons */
.btn-action-view {
  background-color: #E0F2FE;
  color: #0284C7;
  border: 1px solid #BAE6FD;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.btn-action-view:hover {
  background-color: #0284C7;
  color: #ffffff;
}

.btn-action-edit {
  background-color: #FEF3C7;
  color: #D97706;
  border: 1px solid #FDE68A;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.btn-action-edit:hover {
  background-color: #D97706;
  color: #ffffff;
}

.btn-action-stop {
  background-color: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FECACA;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.btn-action-stop:hover {
  background-color: #DC2626;
  color: #ffffff;
}

.btn-action-start {
  background-color: #DCFCE7;
  color: #16A34A;
  border: 1px solid #BBF7D0;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.btn-action-start:hover {
  background-color: #16A34A;
  color: #ffffff;
}

.btn-action-delete {
  background-color: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FECACA;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.btn-action-delete:hover {
  background-color: #DC2626;
  color: #ffffff;
}

/* Premium Business Type Cards */
.btype-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding: 12px 0;
}

.btype-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.btype-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(0, 168, 89, 0.15);
  border-color: var(--splice-green);
}

.btype-card-icon {
  width: 48px;
  height: 48px;
  background: var(--splice-green-light);
  color: var(--splice-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.btype-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.btype-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.4;
}

.btype-card-btn {
  background: var(--splice-green);
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 168, 89, 0.25);
}

.btype-card-btn:hover {
  background: var(--splice-green-hover);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn-approve {
  background-color: var(--splice-green);
  color: #ffffff;
}

.btn-toggle {
  background-color: var(--splice-blue);
  color: #ffffff;
}

/* Grid System */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.span-2 {
  grid-column: span 2;
}

.chart-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.chart-card:hover {
  box-shadow: var(--shadow-md);
}

.text-center {
  text-align: center;
  color: var(--text-muted);
}

/* Modal Popup Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex !important;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 480px;
  max-width: 90%;
  box-shadow: var(--shadow-lg);
  animation: modalFade 0.2s ease-out;
}

@keyframes modalFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
}

/* Footer */
.app-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--card-border);
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--splice-green);
}

/* Responsive Table Child Rows & Toggle Buttons */
.prod-child-row {
  transition: all 0.2s ease-in-out;
}
.prod-child-row td {
  background: #F8FAFC !important;
  border-top: 1px dashed #CBD5E1 !important;
}
.btn-toggle-row {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0284C7;
  color: #FFFFFF;
  border: none;
  font-weight: bold;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s ease;
}
.btn-toggle-row:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

/* Custom Global Modal Overlay Styles */
.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 999999 !important;
}

.modal-overlay.active {
  display: flex !important;
}

/* ==========================================================================
   CATEGORY SWITCH BUTTONS & SUBTAB PILLS ACTIVE HIGHLIGHT DESIGN SYSTEM
   ========================================================================== */

/* 1. Star Users Category Switchers (.btn-cat-switch) */
.btn-cat-switch {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  border: 1px solid #CBD5E1 !important;
  background: #F1F5F9 !important;
  color: #334155 !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  user-select: none !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.btn-cat-switch:hover:not(.active) {
  background: #E2E8F0 !important;
  color: #0F172A !important;
  border-color: #94A3B8 !important;
  transform: translateY(-1px) !important;
}

.btn-cat-switch.active {
  background: #00A859 !important;
  color: #FFFFFF !important;
  border-color: #008A48 !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 10px rgba(0, 168, 89, 0.35) !important;
  transform: translateY(-1px) !important;
}

/* 2. Subtab Pill Buttons (.btn-pill & category pills) */
.btn-pill, .category-pill, .subtab-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 20px !important;
  cursor: pointer !important;
  border: 1px solid #CBD5E1 !important;
  background: #F8FAFC !important;
  color: #475569 !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  user-select: none !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.btn-pill:hover:not(.active), .category-pill:hover:not(.active), .subtab-pill:hover:not(.active) {
  background: #E2E8F0 !important;
  color: #0F172A !important;
  border-color: #94A3B8 !important;
  transform: translateY(-1px) !important;
}

.btn-pill.active, .category-pill.active, .subtab-pill.active {
  background: #00A859 !important;
  color: #FFFFFF !important;
  border-color: #008A48 !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 10px rgba(0, 168, 89, 0.35) !important;
  transform: translateY(-1px) !important;
}

/* 3. Star QR Subtab Buttons (.star-qr-subtab-btn) */
.star-qr-subtab-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 14px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  border: 1px solid #CBD5E1 !important;
  background: #F1F5F9 !important;
  color: #334155 !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  user-select: none !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.star-qr-subtab-btn:hover:not(.active) {
  background: #E2E8F0 !important;
  color: #0F172A !important;
  border-color: #94A3B8 !important;
  transform: translateY(-1px) !important;
}

.star-qr-subtab-btn.active {
  background: #00A859 !important;
  color: #FFFFFF !important;
  border-color: #008A48 !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 10px rgba(0, 168, 89, 0.35) !important;
  transform: translateY(-1px) !important;
}

/* 4. Reward Category Buttons (.reward-cat-btn) */
.reward-cat-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  border: 1px solid #CBD5E1 !important;
  background: #F1F5F9 !important;
  color: #334155 !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  user-select: none !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.reward-cat-btn:hover:not(.active) {
  background: #E2E8F0 !important;
  color: #0F172A !important;
  border-color: #94A3B8 !important;
  transform: translateY(-1px) !important;
}

.reward-cat-btn.active {
  background: #00A859 !important;
  color: #FFFFFF !important;
  border-color: #008A48 !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 10px rgba(0, 168, 89, 0.35) !important;
  transform: translateY(-1px) !important;
}

/* 5. Virtual Dealer & General Status Buttons (.vd-status-btn, .status-tab-btn) */
.vd-status-btn, .status-tab-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  border: 1px solid #CBD5E1 !important;
  background: #F1F5F9 !important;
  color: #334155 !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.vd-status-btn:hover:not(.active), .status-tab-btn:hover:not(.active) {
  background: #E2E8F0 !important;
  color: #0F172A !important;
}

.vd-status-btn.active, .status-tab-btn.active {
  background: #8B5CF6 !important;
  color: #FFFFFF !important;
  border-color: #7C3AED !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 10px rgba(139, 92, 246, 0.35) !important;
}


