/* ========================================
   NEON DARK UI THEME
   Sistema de Gestão de Estamparia Digital
   ======================================== */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
  /* Forçar tema escuro em todos os controles nativos do navegador */
  color-scheme: dark;

  /* Background Colors - Deep Dark Theme */
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-tertiary: #1c2128;
  --bg-quaternary: #252c35;

  /* Card Backgrounds with subtle gradient feel */
  --card-bg: linear-gradient(145deg, #1a1f26 0%, #151a21 100%);
  --card-bg-solid: #1a1f26;
  --card-bg-hover: linear-gradient(145deg, #22282f 0%, #1a1f26 100%);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(255, 255, 255, 0.15);

  /* Neon Accent Colors */
  --neon-purple: #a855f7;
  --neon-purple-glow: rgba(168, 85, 247, 0.4);
  --neon-blue: #3b82f6;
  --neon-blue-glow: rgba(59, 130, 246, 0.4);
  --neon-cyan: #22d3ee;
  --neon-cyan-glow: rgba(34, 211, 238, 0.4);
  --neon-green: #22c55e;
  --neon-green-glow: rgba(34, 197, 94, 0.4);
  --neon-yellow: #facc15;
  --neon-yellow-glow: rgba(250, 204, 21, 0.4);
  --neon-orange: #fb923c;
  --neon-orange-glow: rgba(251, 146, 60, 0.4);
  --neon-pink: #f472b6;
  --neon-pink-glow: rgba(244, 114, 182, 0.4);
  --neon-red: #f87171;
  --neon-red-glow: rgba(248, 113, 113, 0.4);

  /* Primary Colors */
  --primary: #a855f7;
  --primary-hover: #9333ea;
  --primary-light: rgba(168, 85, 247, 0.15);
  --primary-glow: 0 0 20px rgba(168, 85, 247, 0.3);
  --primary-dark: #7e22ce;

  /* Text Colors */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-disabled: #475569;

  /* Accent Colors (legacy support) */
  --accent-purple: #a855f7;
  --accent-pink: #f472b6;
  --accent-blue: #3b82f6;
  --accent-cyan: #22d3ee;
  --accent-green: #22c55e;
  --accent-yellow: #facc15;
  --accent-orange: #fb923c;
  --accent-red: #f87171;

  /* Status Colors */
  --status-success: #22c55e;
  --status-warning: #facc15;
  --status-danger: #f87171;
  --status-info: #3b82f6;
  --status-pending: #94a3b8;

  /* Gradient Presets */
  --gradient-purple-blue: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
  --gradient-cyan-blue: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
  --gradient-green-cyan: linear-gradient(135deg, #22c55e 0%, #22d3ee 100%);
  --gradient-yellow-orange: linear-gradient(135deg, #facc15 0%, #fb923c 100%);
  --gradient-pink-purple: linear-gradient(135deg, #f472b6 0%, #a855f7 100%);
  --gradient-orange-red: linear-gradient(135deg, #fb923c 0%, #f87171 100%);

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;

  /* Border Radius - More rounded */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows with glow effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow-purple: 0 0 30px rgba(168, 85, 247, 0.2);
  --shadow-glow-blue: 0 0 30px rgba(59, 130, 246, 0.2);
  --shadow-glow-cyan: 0 0 30px rgba(34, 211, 238, 0.2);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
  --transition-bounce: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* Legacy variables for compatibility */
  --glass-bg: var(--card-bg-solid);
  --glass-bg-hover: #22282f;
  --glass-border: var(--card-border);
  --glass-border-hover: var(--card-border-hover);
  --glass-shadow: rgba(0, 0, 0, 0.4);
  --glass-shadow-lg: rgba(0, 0, 0, 0.5);
  --gradient-primary: var(--gradient-purple-blue);
  --gradient-secondary: var(--gradient-pink-purple);
  --gradient-success: var(--gradient-green-cyan);
  --gradient-warning: var(--gradient-yellow-orange);
  --gradient-danger: var(--gradient-orange-red);
  --gradient-info: var(--gradient-cyan-blue);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle animated gradient background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(34, 211, 238, 0.05) 0%, transparent 50%),
    var(--bg-primary);
  z-index: -1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-quaternary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ========================================
   NEON CARD COMPONENTS
   ======================================== */

/* Glass Card with neon glow */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.glass-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-purple);
}

/* Card Variants */
.glass-card-sm {
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
}

.glass-card-lg {
  padding: var(--spacing-xl);
  border-radius: var(--radius-2xl);
}

.glass-card-no-hover:hover {
  transform: none;
  box-shadow: var(--shadow-md);
}

/* Glass Panel */
.glass-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

/* ========================================
   BUTTONS - Neon Style
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Button Sizes */
.btn-sm {
  padding: 8px 16px;
  font-size: 0.75rem;
  border-radius: var(--radius-md);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: var(--radius-xl);
}

/* Primary Button with Neon Glow */
.btn-primary {
  background: var(--gradient-purple-blue);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(168, 85, 247, 0.5);
}

/* Secondary Button */
.btn-secondary {
  background: var(--gradient-pink-purple);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(244, 114, 182, 0.3);
}

.btn-secondary:hover {
  box-shadow: 0 6px 25px rgba(244, 114, 182, 0.5);
}

/* Success Button */
.btn-success {
  background: var(--gradient-green-cyan);
  border: none;
  color: #0d1117;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-success:hover {
  box-shadow: 0 6px 25px rgba(34, 197, 94, 0.5);
}

/* Danger Button */
.btn-danger {
  background: var(--gradient-orange-red);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(248, 113, 113, 0.3);
}

.btn-danger:hover {
  box-shadow: 0 6px 25px rgba(248, 113, 113, 0.5);
}

/* Warning Button */
.btn-warning {
  background: var(--gradient-yellow-orange);
  border: none;
  color: #0d1117;
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
}

.btn-warning:hover {
  box-shadow: 0 6px 25px rgba(250, 204, 21, 0.5);
}

/* Info Button */
.btn-info {
  background: var(--gradient-cyan-blue);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
}

.btn-info:hover {
  box-shadow: 0 6px 25px rgba(34, 211, 238, 0.5);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
  box-shadow: var(--shadow-glow-purple);
}

/* Icon Button */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border-radius: var(--radius-lg);
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 1rem;
}

.btn-icon:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-purple);
}

.btn-icon.btn-sm {
  width: 36px;
  height: 36px;
  min-width: 36px;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
}

/* ========================================
   INPUTS & FORMS - Modern Style
   ======================================== */

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-tertiary);
  border: 2px solid var(--card-border);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: all var(--transition-normal);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-quaternary);
  box-shadow: 0 0 0 4px var(--primary-light), var(--shadow-glow-purple);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Dropdown options */
.form-select option {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  padding: var(--spacing-sm);
}

/* Date picker icon - cor do tema */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator,
input[type="week"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
}

/* Input with Icon */
.input-group {
  position: relative;
}

.input-group-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.input-group .form-input {
  padding-left: 48px;
}

/* ========================================
   NAVIGATION - Neon Sidebar
   ======================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(22, 27, 34, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  padding: var(--spacing-md) var(--spacing-xl);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient-purple-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  list-style: none;
}

.navbar-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--text-primary);
  background: var(--primary-light);
}

/* Sidebar - Neon Style */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 280px;
  background: rgba(22, 27, 34, 0.95);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--card-border);
  padding: var(--spacing-xl) 0;
  padding-bottom: 90px;
  overflow-y: auto;
  z-index: var(--z-fixed);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.sidebar-brand {
  padding: 0 var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
}

.sidebar-logo img {
  max-width: 150px;
  height: auto;
}

.sidebar-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-purple-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar-menu {
  list-style: none;
  flex: 1;
  overflow-y: auto;
  padding: 0 var(--spacing-md);
}

.sidebar-item {
  margin-bottom: var(--spacing-xs);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 14px var(--spacing-lg);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  border-radius: var(--radius-lg);
}

.sidebar-link:hover {
  color: var(--text-primary);
  background: var(--primary-light);
}

.sidebar-link.active {
  color: var(--text-primary);
  background: var(--primary-light);
  box-shadow: var(--shadow-glow-purple);
}

.sidebar-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 4px;
  background: var(--gradient-purple-blue);
  border-radius: 0 4px 4px 0;
}

.sidebar-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Sidebar Submenu */
.sidebar-item.has-submenu > .sidebar-link {
  cursor: pointer;
}

.sidebar-item.has-submenu > .sidebar-link::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
  margin-left: auto;
  transition: transform var(--transition-normal);
}

.sidebar-item.has-submenu.open > .sidebar-link::after {
  transform: rotate(180deg);
}

.sidebar-submenu {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding-left: var(--spacing-lg);
}

.sidebar-item.has-submenu.open .sidebar-submenu {
  max-height: 500px;
}

.sidebar-submenu .sidebar-item {
  margin-bottom: 2px;
}

.sidebar-submenu .sidebar-link {
  padding: 10px var(--spacing-md);
  font-size: 0.875rem;
  border-radius: var(--radius-md);
}

.sidebar-submenu .sidebar-link::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all var(--transition-normal);
}

.sidebar-submenu .sidebar-link:hover::before,
.sidebar-submenu .sidebar-link.active::before {
  background: var(--neon-purple);
  box-shadow: 0 0 8px var(--neon-purple-glow);
}

.sidebar-submenu .sidebar-link.active {
  background: transparent;
  box-shadow: none;
}

.sidebar-submenu .sidebar-link.active::after {
  display: none;
}

/* Sidebar Separators */
.sidebar-separator {
  padding: var(--spacing-xs) 0;
  margin: var(--spacing-xs) var(--spacing-md);
  border-top: 1px solid var(--glass-border);
  list-style: none;
}

.sidebar-separator .separator-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  opacity: 0.7;
}

/* Setor items - Estilo Trello */
.sidebar-setor-item {
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
  padding: var(--spacing-sm) var(--spacing-md) !important;
}

.sidebar-setor-item span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sidebar-setor-item.active {
  background: var(--accent-purple) !important;
  color: white !important;
  border-radius: var(--radius-sm);
  margin: 2px var(--spacing-xs);
}

.sidebar-setor-item.active i {
  color: white !important;
}

/* Config item style */
.sidebar-config-item {
  font-size: 0.8rem !important;
  opacity: 0.8;
  padding: var(--spacing-sm) var(--spacing-md) !important;
}

.sidebar-config-item:hover {
  opacity: 1;
}

/* Kanban geral item */
.sidebar-kanban-geral {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  padding: var(--spacing-sm) var(--spacing-md) !important;
  margin-bottom: var(--spacing-xs);
}

.sidebar-kanban-geral span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sidebar-kanban-geral.active {
  background: var(--accent-purple) !important;
  color: white !important;
  border-radius: var(--radius-sm);
  margin: 2px var(--spacing-xs);
}

.sidebar-kanban-geral.active i {
  color: white !important;
}

/* ========================================
   STAT CARDS - Neon Glow Style
   ======================================== */

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-purple-blue);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-purple);
  border-color: rgba(168, 85, 247, 0.3);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
}

.stat-card-title {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  font-size: 1.25rem;
}

/* Icon color variants */
.stat-card-icon.purple {
  background: rgba(168, 85, 247, 0.15);
  color: var(--neon-purple);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.stat-card-icon.blue {
  background: rgba(59, 130, 246, 0.15);
  color: var(--neon-blue);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.stat-card-icon.cyan {
  background: rgba(34, 211, 238, 0.15);
  color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
}

.stat-card-icon.green {
  background: rgba(34, 197, 94, 0.15);
  color: var(--neon-green);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.stat-card-icon.yellow {
  background: rgba(250, 204, 21, 0.15);
  color: var(--neon-yellow);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.2);
}

.stat-card-icon.orange {
  background: rgba(251, 146, 60, 0.15);
  color: var(--neon-orange);
  box-shadow: 0 0 20px rgba(251, 146, 60, 0.2);
}

.stat-card-icon.pink {
  background: rgba(244, 114, 182, 0.15);
  color: var(--neon-pink);
  box-shadow: 0 0 20px rgba(244, 114, 182, 0.2);
}

.stat-card-icon.red {
  background: rgba(248, 113, 113, 0.15);
  color: var(--neon-red);
  box-shadow: 0 0 20px rgba(248, 113, 113, 0.2);
}

.stat-card-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  line-height: 1.2;
}

.stat-card-change {
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.stat-card-change.positive {
  color: var(--neon-green);
}

.stat-card-change.negative {
  color: var(--neon-red);
}

.stat-card-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ========================================
   BADGES & TAGS - Neon Style
   ======================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: rgba(168, 85, 247, 0.15);
  color: var(--neon-purple);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.badge-success {
  background: rgba(34, 197, 94, 0.15);
  color: var(--neon-green);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
}

.badge-warning {
  background: rgba(250, 204, 21, 0.15);
  color: var(--neon-yellow);
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.2);
}

.badge-danger {
  background: rgba(248, 113, 113, 0.15);
  color: var(--neon-red);
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.2);
}

.badge-info {
  background: rgba(34, 211, 238, 0.15);
  color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.2);
}

.badge-secondary {
  background: var(--bg-quaternary);
  color: var(--text-secondary);
}

/* ========================================
   PROGRESS BARS - Neon Style
   ======================================== */

.progress {
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-purple-blue);
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.progress-bar.green {
  background: var(--gradient-green-cyan);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.progress-bar.cyan {
  background: var(--gradient-cyan-blue);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.progress-bar.yellow {
  background: var(--gradient-yellow-orange);
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}

.progress-bar.pink {
  background: var(--gradient-pink-purple);
  box-shadow: 0 0 10px rgba(244, 114, 182, 0.5);
}

/* ========================================
   SLIDERS / RANGE INPUTS
   ======================================== */

.slider-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.slider-track {
  position: relative;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
}

.slider-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--gradient-purple-blue);
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.slider-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--primary);
  border: 3px solid var(--bg-primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
  transition: all var(--transition-fast);
}

.slider-thumb:hover {
  transform: translate(-50%, -50%) scale(1.2);
}

/* ========================================
   TOGGLE SWITCHES - Neon Style
   ======================================== */

.toggle {
  position: relative;
  width: 56px;
  height: 28px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid var(--card-border);
}

.toggle.active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle.active::after {
  left: calc(100% - 22px);
}

/* ========================================
   TABLES - Modern Style
   ======================================== */

.table-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table thead {
  background: var(--bg-tertiary);
}

.table th {
  padding: var(--spacing-md) var(--spacing-lg);
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--card-border);
}

.table td {
  padding: var(--spacing-md) var(--spacing-lg);
  color: var(--text-primary);
  border-bottom: 1px solid var(--card-border);
}

.table tbody tr {
  transition: all var(--transition-fast);
}

.table tbody tr:hover {
  background: var(--primary-light);
}

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

/* ========================================
   MODALS - Neon Style
   ======================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: var(--z-modal-backdrop);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow-purple);
  max-width: 520px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: all var(--transition-normal);
}

.modal-backdrop.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: var(--spacing-lg) var(--spacing-xl);
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-tertiary);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  font-size: 1.25rem;
}

.modal-close:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.modal-body {
  padding: var(--spacing-xl);
}

.modal-footer {
  padding: var(--spacing-lg) var(--spacing-xl);
  border-top: 1px solid var(--card-border);
  display: flex;
  gap: var(--spacing-md);
  justify-content: flex-end;
  background: var(--bg-tertiary);
  border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}

/* ========================================
   TOASTS / NOTIFICATIONS - Neon Style
   ======================================== */

.toast-container {
  position: fixed;
  top: var(--spacing-xl);
  right: var(--spacing-xl);
  z-index: var(--z-tooltip);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-md) var(--spacing-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  min-width: 320px;
  animation: slideInRight var(--transition-normal);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.toast-message {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.toast-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: var(--spacing-xs);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.toast-close:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.toast-success {
  border-left: 4px solid var(--neon-green);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(34, 197, 94, 0.2);
}

.toast-success .toast-icon {
  color: var(--neon-green);
}

.toast-error {
  border-left: 4px solid var(--neon-red);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(248, 113, 113, 0.2);
}

.toast-error .toast-icon {
  color: var(--neon-red);
}

.toast-warning {
  border-left: 4px solid var(--neon-yellow);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(250, 204, 21, 0.2);
}

.toast-warning .toast-icon {
  color: var(--neon-yellow);
}

.toast-info {
  border-left: 4px solid var(--neon-cyan);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(34, 211, 238, 0.2);
}

.toast-info .toast-icon {
  color: var(--neon-cyan);
}

/* ========================================
   LOADING SPINNER - Neon Style
   ======================================== */

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--bg-quaternary);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner-sm {
  width: 24px;
  height: 24px;
  border-width: 2px;
}

.spinner-lg {
  width: 60px;
  height: 60px;
  border-width: 4px;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
}

/* Loading State */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl);
  gap: var(--spacing-md);
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl);
  text-align: center;
}

.empty-state i {
  font-size: 3.5rem;
  background: var(--gradient-purple-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-md);
  opacity: 0.7;
}

.empty-state h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: var(--spacing-lg);
}

/* ========================================
   CHARTS & GRAPHS CONTAINER
   ======================================== */

.chart-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.chart-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Text */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--neon-green); }
.text-danger { color: var(--neon-red); }
.text-warning { color: var(--neon-yellow); }
.text-info { color: var(--neon-cyan); }
.text-purple { color: var(--neon-purple); }
.text-pink { color: var(--neon-pink); }

.text-gradient {
  background: var(--gradient-purple-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-sm { font-size: 0.75rem; }
.text-base { font-size: 0.875rem; }
.text-lg { font-size: 1rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 2rem; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }

/* Spacing */
.m-0 { margin: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }
.p-4 { padding: var(--spacing-xl); }

/* Display */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-inline-flex { display: inline-flex; }

/* Flexbox */
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.align-start { align-items: flex-start; }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }
.gap-1 { gap: var(--spacing-sm); }
.gap-2 { gap: var(--spacing-md); }
.gap-3 { gap: var(--spacing-lg); }

/* Grid */
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Width */
.w-full { width: 100%; }
.w-auto { width: auto; }

/* Height */
.h-full { height: 100%; }
.h-screen { height: 100vh; }

/* Glow Effects */
.glow-purple { box-shadow: var(--shadow-glow-purple); }
.glow-blue { box-shadow: var(--shadow-glow-blue); }
.glow-cyan { box-shadow: var(--shadow-glow-cyan); }

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: repeat(1, 1fr);
  }

  .toast-container {
    left: var(--spacing-md);
    right: var(--spacing-md);
  }

  .toast {
    min-width: auto;
  }

  .stat-card-value {
    font-size: 1.5rem;
  }
}

/* ========================================
   LIGHT THEME
   ======================================== */
[data-theme="light"] {
  /* Background Colors - Light Theme */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-quaternary: #e2e8f0;

  /* Card Backgrounds */
  --card-bg: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  --card-bg-solid: #ffffff;
  --card-bg-hover: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
  --card-border: rgba(0, 0, 0, 0.08);
  --card-border-hover: rgba(0, 0, 0, 0.15);

  /* Text Colors */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-disabled: #cbd5e1;

  /* Primary Light adjustments */
  --primary-light: rgba(168, 85, 247, 0.1);

  /* Shadows - Lighter */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-glow-purple: 0 0 30px rgba(168, 85, 247, 0.15);
  --shadow-glow-blue: 0 0 30px rgba(59, 130, 246, 0.15);
  --shadow-glow-cyan: 0 0 30px rgba(34, 211, 238, 0.15);

  /* Legacy variables */
  --glass-bg: var(--card-bg-solid);
  --glass-bg-hover: #f8fafc;
  --glass-border: var(--card-border);
  --glass-border-hover: var(--card-border-hover);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  --glass-shadow-lg: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] body::before {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    var(--bg-primary);
}

[data-theme="light"] .form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

[data-theme="light"] .loading-overlay {
  background: rgba(248, 250, 252, 0.95);
}

[data-theme="light"] .sidebar {
  background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.8);
}

/* ========================================
   THEME TOGGLE BUTTON
   ======================================== */
.sidebar-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 280px;
  padding: var(--spacing-md) var(--spacing-lg);
  border-top: 1px solid var(--card-border);
  border-right: 1px solid var(--card-border);
  background: rgba(22, 27, 34, 0.95);
  backdrop-filter: blur(20px);
  z-index: var(--z-fixed);
}

[data-theme="light"] .sidebar-footer {
  background: rgba(255, 255, 255, 0.95);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--spacing-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.theme-toggle:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow-purple);
}

.theme-toggle-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.theme-toggle-label i {
  font-size: 1rem;
  color: var(--primary);
}

.theme-toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--bg-quaternary);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.theme-toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .theme-toggle-switch {
  background: var(--gradient-purple-blue);
}

[data-theme="light"] .theme-toggle-switch::after {
  left: 25px;
}

/* Logo with purple text in light theme */
[data-theme="light"] .sidebar-logo img {
  filter: brightness(0.3) sepia(1) hue-rotate(230deg) saturate(3);
}

/* Mobile sidebar footer adjustment */
@media (max-width: 768px) {
  .sidebar-footer {
    width: 100%;
  }
}

/* ========================================
   CIRCULAR PROGRESS (Charts)
   ======================================== */

.circular-progress {
  position: relative;
  width: 120px;
  height: 120px;
}

.circular-progress svg {
  transform: rotate(-90deg);
}

.circular-progress circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.circular-progress .bg {
  stroke: var(--bg-tertiary);
}

.circular-progress .progress {
  stroke: url(#gradient);
  filter: drop-shadow(0 0 6px var(--neon-purple-glow));
}

.circular-progress .value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ========================================
   TABS - Neon Style
   ======================================== */

.tabs {
  display: flex;
  gap: var(--spacing-xs);
  background: var(--bg-tertiary);
  padding: var(--spacing-xs);
  border-radius: var(--radius-lg);
}

.tab {
  padding: 10px 20px;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.tab:hover {
  color: var(--text-primary);
}

.tab.active {
  background: var(--gradient-purple-blue);
  color: white;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

/* ========================================
   AVATAR
   ======================================== */

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-purple-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: white;
  font-size: 1rem;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.avatar-sm {
  width: 32px;
  height: 32px;
  font-size: 0.75rem;
}

.avatar-lg {
  width: 56px;
  height: 56px;
  font-size: 1.25rem;
}

.avatar-xl {
  width: 80px;
  height: 80px;
  font-size: 1.75rem;
}

/* ========================================
   PLAYER CONTROLS (Like in image)
   ======================================== */

.player-controls {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.player-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: none;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.player-btn:hover {
  color: var(--text-primary);
  background: var(--primary-light);
}

.player-btn.play {
  width: 56px;
  height: 56px;
  background: var(--gradient-purple-blue);
  color: white;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.player-btn.play:hover {
  transform: scale(1.1);
}

/* ========================================
   MUSIC/ITEM CARD (Like in image)
   ======================================== */

.item-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
}

.item-card:hover {
  border-color: var(--card-border-hover);
  box-shadow: var(--shadow-md);
}

.item-card-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-cyan-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.item-card-info {
  flex: 1;
  min-width: 0;
}

.item-card-title {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-card-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.item-card-action {
  color: var(--text-muted);
}

/* ========================================
   MONEY CARD (Like in image)
   ======================================== */

.money-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  position: relative;
  overflow: hidden;
}

.money-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.money-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
}

.money-card-title {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.money-card-icon {
  font-size: 1.5rem;
  color: var(--neon-green);
}

.money-card-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.money-card-change {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 0.8rem;
  color: var(--neon-green);
  margin-top: var(--spacing-sm);
}

.money-card-change.negative {
  color: var(--neon-red);
}

/* ========================================
   NOTIFICATION DOT
   ======================================== */

.notification-dot {
  position: relative;
}

.notification-dot::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: var(--neon-red);
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.5);
}
