/**
 * CardMan - Theme Styles v2.1
 * Themes: default, soft, glam, dark, business, nature
 */

/* ============================================
   VIEW TOGGLE
   ============================================ */
.view-toggle {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
}

.view-toggle .btn {
    padding: 8px 12px;
    border: none;
    background: transparent;
}

.view-toggle .btn.active {
    background: var(--accent);
    color: white;
}

.view-toggle .btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   THEME SWITCHER
   ============================================ */
.theme-switcher {
    position: relative;
}

.theme-switcher .btn {
    padding: 8px 12px;
}

.theme-icon {
    font-size: 16px;
}

.theme-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 100;
    max-height: 350px;
    overflow-y: auto;
}

.theme-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.85rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.theme-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.theme-option.active {
    background: var(--accent);
    color: white;
}

.theme-preview {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.theme-preview.default { background: linear-gradient(135deg, #0c1830, #38b6ff); }
.theme-preview.soft { background: linear-gradient(135deg, #fdf2f8, #ec4899); }
.theme-preview.glam { background: linear-gradient(135deg, #831843, #fbbf24); }
.theme-preview.dark { background: linear-gradient(135deg, #0a0a0a, #dc2626); }
.theme-preview.business { background: linear-gradient(135deg, #f8fafc, #1e293b); }
.theme-preview.nature { background: linear-gradient(135deg, #065f46, #86efac); }
.theme-preview.matrix { background: linear-gradient(135deg, #000000, #00ff41); }

/* ============================================
   ORBITAL VIEW - ENHANCED
   ============================================ */
.orbital-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 380px;
    max-height: 80vh;
    background: radial-gradient(ellipse at center, rgba(15, 30, 60, 0.4) 0%, transparent 70%);
    border-radius: 20px;
    overflow: hidden;
    transition: aspect-ratio 0.3s ease;
}

/* Cinematic vignette overlay */
.orbital-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(3, 7, 16, 0.55) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Aurora shimmer band */
.orbital-container::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -20%;
    width: 140%;
    height: 80%;
    background:
        radial-gradient(ellipse at 30% 60%, rgba(56, 182, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 40%, rgba(6, 214, 160, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(167, 139, 250, 0.03) 0%, transparent 40%);
    animation: auroraShift 20s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 1;
}

@keyframes auroraShift {
    0%   { transform: translateX(-5%) translateY(0) rotate(-2deg); opacity: 0.6; }
    50%  { transform: translateX(5%) translateY(5%) rotate(1deg); opacity: 1; }
    100% { transform: translateX(-3%) translateY(-3%) rotate(-1deg); opacity: 0.7; }
}

#orbitalCanvas {
    width: 100%;
    height: 100%;
    cursor: grab;
}

#orbitalCanvas:active {
    cursor: grabbing;
}

.orbital-tooltip {
    position: absolute;
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 10;
    max-width: 220px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.orbital-tooltip strong {
    color: var(--accent);
    font-size: 1rem;
}

.orbital-tooltip small {
    color: var(--text-muted);
}

.orbital-legend {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
}

.legend-dot.card { background: var(--accent); color: var(--accent); }
.legend-dot.wallet { background: var(--wallet-color); color: var(--wallet-color); }
.legend-dot.invoice { background: var(--invoice-color); color: var(--invoice-color); }
.legend-dot.direct_debit { background: var(--debit-color); color: var(--debit-color); }

.legend-hint {
    font-style: italic;
    opacity: 0.7;
}

/* Orbital controls */
.orbital-controls {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
}

.orbital-controls button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
}

.orbital-controls button:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* Orbital mobile responsive */
@media (max-width: 768px) {
    .orbital-container {
        aspect-ratio: 4 / 3;
        min-height: 260px;
        max-height: 480px;
        border-radius: 12px;
    }
    .orbital-legend {
        bottom: 8px;
        left: 8px;
        right: 8px;
        gap: 10px;
        font-size: 0.65rem;
        padding: 6px 10px;
        border-radius: 8px;
        justify-content: center;
    }
    .legend-hint { display: none; }
    .orbital-controls {
        top: 8px;
        right: 8px;
        gap: 4px;
    }
    .orbital-controls button {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    .orbital-tooltip {
        font-size: 0.75rem;
        max-width: 180px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .orbital-container {
        aspect-ratio: 1 / 1;
        min-height: 260px;
        max-height: 380px;
    }
    .orbital-container::before { opacity: 0.5; }
}

/* Landscape mobile — wide, short viewport */
@media (max-height: 500px) and (orientation: landscape) {
    .orbital-container {
        aspect-ratio: 21 / 9;
        min-height: 200px;
        max-height: 60vh;
    }
    .orbital-legend {
        bottom: 6px;
        left: 6px;
        right: 6px;
        gap: 8px;
        font-size: 0.6rem;
        padding: 4px 8px;
    }
    .legend-hint { display: none; }
    .orbital-controls {
        top: 6px;
        right: 6px;
    }
    .orbital-controls button {
        width: 26px;
        height: 26px;
        font-size: 0.65rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .orbital-container::before { animation: none; }
}

/* ============================================
   SMALL BUTTON VARIANT
   ============================================ */
.btn-sm {
    padding: 8px 12px;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .header-actions .btn { padding: 8px; border-radius: 10px; }
    .header-actions .btn svg { width: 16px; height: 16px; }
    .view-toggle { gap: 2px; padding: 3px; border-radius: 8px; }
    .view-toggle .btn { padding: 6px 10px; }
    .view-toggle .btn svg { width: 15px; height: 15px; }
}

/* ============================================
   SETTINGS PANEL
   ============================================ */
.settings-section {
    margin-bottom: 24px;
}

.settings-profile {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.settings-profile-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.edit-name-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 3px 10px 3px 7px;
    font-size: 0.7rem;
    font-family: inherit;
    letter-spacing: 0.3px;
    line-height: 1;
    transition: all 0.2s ease;
}
.edit-name-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(var(--accent-rgb, 56, 182, 255), 0.08);
}

.settings-profile-name-edit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
}
.settings-profile-name-edit input {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--card-bg);
    border: 1px solid var(--accent);
    border-radius: 6px;
    padding: 4px 10px;
    width: 200px;
    text-align: center;
}
.settings-profile-name-edit input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.settings-profile-email {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.settings-danger-zone {
    border-top: 1px solid var(--danger);
    margin-top: 8px;
    padding-top: 16px;
}

.settings-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.settings-row:last-child {
    border-bottom: none;
}

.settings-info {
    flex: 1;
}

.settings-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.settings-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Info button in section headers */
.info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-style: normal;
    cursor: pointer;
    margin-left: 8px;
    vertical-align: middle;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.info-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(56, 182, 255, 0.1);
}

/* Indented sub-toggle rows */
.settings-row-indent {
    padding-left: 24px;
    border-left: 2px solid var(--border-color);
    margin-left: 8px;
}

/* Muted row for mandatory items */
.settings-row-muted {
    opacity: 0.6;
}

/* Smaller toggle variant for sub-settings */
.toggle-switch-sm {
    width: 40px;
    min-width: 40px;
    height: 22px;
}

.toggle-switch-sm .toggle-track {
    border-radius: 11px;
}

.toggle-switch-sm .toggle-thumb {
    width: 16px;
    height: 16px;
    top: 2px;
    left: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch-sm input:checked + .toggle-track .toggle-thumb {
    left: 20px;
}

/* ============================================
   THEME: DEFAULT (Space Dark)
   ============================================ */
.theme-default {
    --bg-dark: #0a1628;
    --bg-darker: #060d18;
    --bg-card: rgba(15, 35, 60, 0.8);
    --bg-glass: rgba(20, 50, 90, 0.5);
    --accent: #38b6ff;
    --accent-secondary: #0ea5e9;
    --accent-glow: rgba(56, 182, 255, 0.15);
    --invoice-color: #06d6a0;
    --invoice-glow: rgba(6, 214, 160, 0.4);
    --wallet-color: #a78bfa;
    --wallet-glow: rgba(167, 139, 250, 0.4);
    --debit-color: #f59e0b;
    --debit-glow: rgba(245, 158, 11, 0.4);
    --text-primary: #e8f4ff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(56, 182, 255, 0.15);
    --border-glow: rgba(56, 182, 255, 0.25);
    --success: #06d6a0;
    --warning: #fbbf24;
    --danger: #ef4444;
    --success-accent: #38b6ff;
    --success-accent-glow: rgba(56, 182, 255, 0.3);
    --activity-item-bg: rgba(56, 182, 255, 0.06);
    --activity-item-border: rgba(56, 182, 255, 0.1);
}

/* ============================================
   THEME: SOFT (Rose/Feminine)
   ============================================ */
.theme-soft {
    --bg-dark: #fdf2f8;
    --bg-darker: #fce7f3;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --accent: #ec4899;
    --accent-secondary: #db2777;
    --accent-glow: rgba(236, 72, 153, 0.3);
    --invoice-color: #8b5cf6;
    --invoice-glow: rgba(139, 92, 246, 0.4);
    --wallet-color: #f472b6;
    --wallet-glow: rgba(244, 114, 182, 0.4);
    --debit-color: #f97316;
    --debit-glow: rgba(249, 115, 22, 0.4);
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --border-color: rgba(236, 72, 153, 0.2);
    --border-glow: rgba(236, 72, 153, 0.4);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --success-accent: #ec4899;
    --success-accent-glow: rgba(236, 72, 153, 0.3);
    --activity-item-bg: rgba(236, 72, 153, 0.06);
    --activity-item-border: rgba(236, 72, 153, 0.12);
}

.theme-soft .app-header {
    background: rgba(255, 255, 255, 0.8);
    border-bottom-color: rgba(236, 72, 153, 0.15);
}

.theme-soft .header-brand h1 {
    background: linear-gradient(135deg, #ec4899, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-soft .stat-card,
.theme-soft .sub-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(236, 72, 153, 0.15);
}

.theme-soft .sub-card:hover {
    border-color: rgba(236, 72, 153, 0.4);
    box-shadow: 0 10px 40px rgba(236, 72, 153, 0.15);
}

.theme-soft .service-icon {
    background: linear-gradient(135deg, #f9a8d4, #ec4899);
}

.theme-soft .btn {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(236, 72, 153, 0.2);
    color: #4b5563;
}

.theme-soft .btn:hover {
    background: rgba(236, 72, 153, 0.1);
    border-color: #ec4899;
    color: #ec4899;
}

.theme-soft .btn-primary {
    background: linear-gradient(135deg, #ec4899, #db2777);
    border-color: #ec4899;
    color: white;
}

.theme-soft .activity-panel {
    background: rgba(255, 255, 255, 0.85);
}

.theme-soft .modal {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(253, 242, 248, 0.99));
    border: 1px solid rgba(236, 72, 153, 0.2);
    box-shadow:
        0 25px 60px rgba(236, 72, 153, 0.05),
        0 0 25px rgba(236, 72, 153, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 40px 30px 60px -40px rgba(236, 72, 153, 0.02),
        inset -40px -30px 60px -40px rgba(139, 92, 246, 0.015);
}

.theme-soft .modal::before {
    background: linear-gradient(90deg, transparent 0%, #f9a8d4 15%, #ec4899 30%, transparent 45%);
    background-size: 250% 100%;
}

.theme-soft .modal h2 { text-shadow: none; color: #1f2937; }
.theme-soft .modal h2::after { background: linear-gradient(90deg, #ec4899, transparent); }

.theme-soft .modal .form-group input,
.theme-soft .modal .form-group select,
.theme-soft .modal .form-group textarea {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(236, 72, 153, 0.15);
}

.theme-soft .modal .form-group input:focus,
.theme-soft .modal .form-group select:focus,
.theme-soft .modal .form-group textarea:focus {
    border-color: #ec4899;
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.12);
}

.theme-soft .modal::-webkit-scrollbar-thumb { background: rgba(236, 72, 153, 0.15); }
.theme-soft .modal::-webkit-scrollbar-thumb:hover { background: rgba(236, 72, 153, 0.35); }
.theme-soft .modal { scrollbar-color: rgba(236, 72, 153, 0.15) transparent; }

.theme-soft .view-toggle {
    background: rgba(253, 242, 248, 0.8);
}

.theme-soft .orbital-container {
    background: radial-gradient(ellipse at center, rgba(253, 242, 248, 0.6) 0%, transparent 70%);
}

.theme-soft .orbital-container::after,
.theme-soft .orbital-container::before { display: none; }

.theme-soft .form-group input,
.theme-soft .form-group select,
.theme-soft .form-group textarea {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(236, 72, 153, 0.25);
}

.theme-soft .form-group input:focus,
.theme-soft .form-group select:focus,
.theme-soft .form-group textarea:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: #ec4899;
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.2);
}

.theme-soft .form-group input::placeholder { color: #9ca3af; }

.theme-soft .search-box input {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(236, 72, 153, 0.25);
}

.theme-soft .search-box input:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: #ec4899;
}

.theme-soft .filter-group select {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(236, 72, 153, 0.25);
}

.theme-soft .filter-group select:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: #ec4899;
}

.theme-soft .checkbox-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(236, 72, 153, 0.2);
}

.theme-soft .checkbox-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: #ec4899;
}

.theme-soft .checkbox-card.checked {
    background: rgba(236, 72, 153, 0.08);
    border-color: #ec4899;
}

.theme-soft .toggle-track {
    background: #d1d5db;
}

/* Auth page overrides for light theme */
.theme-soft .form-group input[type="text"],
.theme-soft .form-group input[type="email"],
.theme-soft .form-group input[type="password"] {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(236, 72, 153, 0.25);
}

.theme-soft .form-group input[type="text"]:hover,
.theme-soft .form-group input[type="email"]:hover,
.theme-soft .form-group input[type="password"]:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(236, 72, 153, 0.4);
}

.theme-soft .form-group input[type="text"]:focus,
.theme-soft .form-group input[type="email"]:focus,
.theme-soft .form-group input[type="password"]:focus {
    background: #ffffff;
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1), 0 0 20px rgba(236, 72, 153, 0.08);
}

.theme-soft .checkbox-label span::before {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(236, 72, 153, 0.3);
}

.theme-soft .checkbox-label:hover span::before {
    border-color: rgba(236, 72, 153, 0.5);
    background: rgba(255, 255, 255, 0.9);
}

.theme-soft .alert-error { color: #dc2626; }
.theme-soft .alert-success { color: #059669; }

.theme-soft .auth-card {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* ============================================
   THEME: GLAM (Hardcore Feminine)
   ============================================ */
.theme-glam {
    --bg-dark: #1a0a14;
    --bg-darker: #0d0509;
    --bg-card: rgba(40, 15, 30, 0.9);
    --bg-glass: rgba(60, 20, 40, 0.6);
    --accent: #ff1493;
    --accent-secondary: #ff69b4;
    --accent-glow: rgba(255, 20, 147, 0.5);
    --invoice-color: #ffd700;
    --invoice-glow: rgba(255, 215, 0, 0.5);
    --wallet-color: #ff1493;
    --wallet-glow: rgba(255, 20, 147, 0.4);
    --debit-color: #fbbf24;
    --debit-glow: rgba(251, 191, 36, 0.5);
    --text-primary: #fff0f5;
    --text-secondary: #ffb6c1;
    --text-muted: #d8a0b0;
    --border-color: rgba(255, 20, 147, 0.3);
    --border-glow: rgba(255, 20, 147, 0.5);
    --success: #00ff7f;
    --warning: #ffd700;
    --danger: #ff4500;
    --success-accent: #ff69b4;
    --success-accent-glow: rgba(255, 105, 180, 0.4);
    --activity-item-bg: rgba(255, 20, 147, 0.08);
    --activity-item-border: rgba(255, 20, 147, 0.15);
}

.theme-glam .app-header {
    background: linear-gradient(135deg, rgba(40, 15, 30, 0.95), rgba(80, 20, 50, 0.9));
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #ff1493, #ffd700, #ff1493) 1;
}

.theme-glam .header-brand h1 {
    background: linear-gradient(135deg, #ff1493, #ffd700, #ff69b4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 20, 147, 0.5);
}

.theme-glam .stat-card {
    background: linear-gradient(145deg, rgba(40, 15, 30, 0.9), rgba(60, 20, 40, 0.8));
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.2), inset 0 0 30px rgba(255, 215, 0, 0.05);
}

.theme-glam .stat-value {
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.theme-glam .sub-card {
    background: linear-gradient(145deg, rgba(40, 15, 30, 0.9), rgba(30, 10, 20, 0.95));
    border: 1px solid rgba(255, 20, 147, 0.25);
}

.theme-glam .sub-card:hover {
    border-color: #ff1493;
    box-shadow: 0 0 40px rgba(255, 20, 147, 0.4), 0 0 80px rgba(255, 215, 0, 0.2);
}

.theme-glam .service-icon {
    background: linear-gradient(135deg, #ff1493, #ffd700);
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}

.theme-glam .btn-primary {
    background: linear-gradient(135deg, #ff1493, #ff69b4);
    border: none;
    box-shadow: 0 4px 20px rgba(255, 20, 147, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.theme-glam .btn-primary:hover {
    box-shadow: 0 6px 30px rgba(255, 20, 147, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.theme-glam .modal {
    background: linear-gradient(145deg, rgba(20, 8, 18, 0.98), rgba(10, 4, 12, 0.99));
    border: 1px solid rgba(255, 20, 147, 0.25);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 35px rgba(255, 20, 147, 0.05),
        0 0 60px rgba(255, 215, 0, 0.02),
        inset 0 1px 0 rgba(255, 215, 0, 0.04),
        inset 40px 30px 60px -40px rgba(255, 20, 147, 0.04),
        inset -40px -30px 60px -40px rgba(255, 215, 0, 0.025);
}

.theme-glam .modal::before {
    background: linear-gradient(90deg, transparent 0%, #ff1493 15%, #ffd700 30%, transparent 45%);
    background-size: 250% 100%;
}

.theme-glam .modal h2::after { background: linear-gradient(90deg, #ff1493, #ffd700, transparent); }

.theme-glam .modal .form-group input:focus,
.theme-glam .modal .form-group select:focus,
.theme-glam .modal .form-group textarea:focus {
    border-color: #ff1493;
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.25);
}

.theme-glam .modal::-webkit-scrollbar-thumb { background: rgba(255, 20, 147, 0.2); }
.theme-glam .modal::-webkit-scrollbar-thumb:hover { background: rgba(255, 20, 147, 0.4); }
.theme-glam .modal { scrollbar-color: rgba(255, 20, 147, 0.2) transparent; }

.theme-glam .orbital-container {
    background: radial-gradient(ellipse at center, rgba(255, 20, 147, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 30% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 40%);
}

.theme-glam .orbital-container::before {
    background:
        radial-gradient(ellipse at 30% 60%, rgba(255, 20, 147, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 40%, rgba(255, 215, 0, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(148, 0, 211, 0.04) 0%, transparent 40%);
}

/* Glam sparkle effects */
.theme-glam .sub-card::after {
    content: '✨';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.theme-glam .sub-card:hover::after {
    opacity: 1;
}

/* ============================================
   THEME: DARK (Hardcore Masculine)
   ============================================ */
.theme-dark {
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --bg-card: rgba(20, 20, 20, 0.95);
    --bg-glass: rgba(30, 30, 30, 0.7);
    --accent: #dc2626;
    --accent-secondary: #b91c1c;
    --accent-glow: rgba(220, 38, 38, 0.5);
    --invoice-color: #f97316;
    --invoice-glow: rgba(249, 115, 22, 0.4);
    --wallet-color: #a855f7;
    --wallet-glow: rgba(168, 85, 247, 0.4);
    --debit-color: #f59e0b;
    --debit-glow: rgba(245, 158, 11, 0.4);
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border-color: rgba(220, 38, 38, 0.25);
    --border-glow: rgba(220, 38, 38, 0.5);
    --success: #22c55e;
    --warning: #eab308;
    --danger: #dc2626;
    --success-accent: #dc2626;
    --success-accent-glow: rgba(220, 38, 38, 0.4);
    --activity-item-bg: rgba(220, 38, 38, 0.06);
    --activity-item-border: rgba(220, 38, 38, 0.12);
}

.theme-dark .app-header {
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.98), rgba(10, 10, 10, 0.95));
    border-bottom: 1px solid rgba(220, 38, 38, 0.3);
}

.theme-dark .header-brand h1 {
    color: #fafafa;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

.theme-dark .stat-card {
    background: linear-gradient(145deg, #141414, #0d0d0d);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.theme-dark .stat-value {
    color: #dc2626;
    font-weight: 700;
}

.theme-dark .sub-card {
    background: linear-gradient(145deg, #161616, #0e0e0e);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.theme-dark .sub-card:hover {
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.2);
}

.theme-dark .service-icon {
    background: linear-gradient(135deg, #dc2626, #7f1d1d);
}

.theme-dark .btn {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.1);
    color: #fafafa;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.theme-dark .btn:hover {
    background: #dc2626;
    border-color: #dc2626;
}

.theme-dark .btn-primary {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border: none;
}

.theme-dark .modal {
    background: linear-gradient(145deg, #141414, #0a0a0a);
    border: 1px solid rgba(220, 38, 38, 0.25);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 35px rgba(220, 38, 38, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.02),
        inset 40px 30px 60px -40px rgba(220, 38, 38, 0.03),
        inset -40px -30px 60px -40px rgba(220, 38, 38, 0.02);
}

.theme-dark .modal::before {
    background: linear-gradient(90deg, transparent 0%, #dc2626 15%, #ef4444 30%, transparent 45%);
    background-size: 250% 100%;
}

.theme-dark .modal h2::after { background: linear-gradient(90deg, #dc2626, transparent); }

.theme-dark .modal .form-group input:focus,
.theme-dark .modal .form-group select:focus,
.theme-dark .modal .form-group textarea:focus {
    border-color: #dc2626;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.2);
}

.theme-dark .modal::-webkit-scrollbar-thumb { background: rgba(220, 38, 38, 0.2); }
.theme-dark .modal::-webkit-scrollbar-thumb:hover { background: rgba(220, 38, 38, 0.4); }
.theme-dark .modal { scrollbar-color: rgba(220, 38, 38, 0.2) transparent; }

.theme-dark .orbital-container {
    background: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.1) 0%, transparent 60%);
}

.theme-dark .orbital-container::before {
    background:
        radial-gradient(ellipse at 30% 60%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 40%, rgba(168, 85, 247, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(239, 68, 68, 0.03) 0%, transparent 40%);
}

/* Industrial texture overlay */
.theme-dark .app-container::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   THEME: BUSINESS (Professional)
   ============================================ */
.theme-business {
    --bg-dark: #f8fafc;
    --bg-darker: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.8);
    --accent: #1e40af;
    --accent-secondary: #1d4ed8;
    --accent-glow: rgba(30, 64, 175, 0.2);
    --invoice-color: #059669;
    --invoice-glow: rgba(5, 150, 105, 0.3);
    --wallet-color: #7c3aed;
    --wallet-glow: rgba(124, 58, 237, 0.3);
    --debit-color: #d97706;
    --debit-glow: rgba(217, 119, 6, 0.3);
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --border-glow: rgba(30, 64, 175, 0.3);
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --success-accent: #1e40af;
    --success-accent-glow: rgba(30, 64, 175, 0.25);
    --activity-item-bg: rgba(30, 64, 175, 0.04);
    --activity-item-border: rgba(30, 64, 175, 0.1);
}

.theme-business .app-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.theme-business .header-brand h1 {
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 0;
}

.theme-business .stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.theme-business .stat-value {
    color: #1e40af;
    font-family: 'Outfit', sans-serif;
}

.theme-business .sub-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.theme-business .sub-card:hover {
    border-color: #1e40af;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
}

.theme-business .service-icon {
    background: #1e40af;
    border-radius: 6px;
}

.theme-business .btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    border-radius: 6px;
    font-weight: 500;
}

.theme-business .btn:hover {
    background: #f8fafc;
    border-color: #1e40af;
    color: #1e40af;
}

.theme-business .btn-primary {
    background: #1e40af;
    border-color: #1e40af;
    color: white;
}

.theme-business .btn-primary:hover {
    background: #1d4ed8;
}

.theme-business .modal {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(30, 64, 175, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.theme-business .modal::before {
    background: linear-gradient(90deg, transparent 0%, #1e40af 15%, #3b82f6 30%, transparent 45%);
    background-size: 250% 100%;
    height: 3px;
}

.theme-business .modal h2 { text-shadow: none; color: #1e293b; }
.theme-business .modal h2::after { background: linear-gradient(90deg, #1e40af, transparent); }

.theme-business .modal .form-group input,
.theme-business .modal .form-group select,
.theme-business .modal .form-group textarea {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.theme-business .modal .form-group input:focus,
.theme-business .modal .form-group select:focus,
.theme-business .modal .form-group textarea:focus {
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.08);
}

.theme-business .modal::-webkit-scrollbar-thumb { background: rgba(30, 64, 175, 0.12); }
.theme-business .modal::-webkit-scrollbar-thumb:hover { background: rgba(30, 64, 175, 0.25); }
.theme-business .modal { scrollbar-color: rgba(30, 64, 175, 0.12) transparent; }

.theme-business .activity-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.theme-business .orbital-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
}

.theme-business .orbital-container::after,
.theme-business .orbital-container::before { display: none; }

.theme-business .view-toggle {
    background: #f1f5f9;
}

.theme-business .theme-dropdown {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.theme-business .form-group input,
.theme-business .form-group select,
.theme-business .form-group textarea {
    background: #ffffff;
    border-color: #cbd5e1;
}

.theme-business .form-group input:focus,
.theme-business .form-group select:focus,
.theme-business .form-group textarea:focus {
    background: #ffffff;
    border-color: #1e40af;
    box-shadow: 0 0 12px rgba(30, 64, 175, 0.15);
}

.theme-business .form-group input::placeholder { color: #94a3b8; }

.theme-business .search-box input {
    background: #ffffff;
    border-color: #cbd5e1;
}

.theme-business .search-box input:focus {
    background: #ffffff;
    border-color: #1e40af;
}

.theme-business .filter-group select {
    background: #ffffff;
    border-color: #cbd5e1;
}

.theme-business .filter-group select:focus {
    background: #ffffff;
    border-color: #1e40af;
}

.theme-business .checkbox-card {
    background: #ffffff;
    border-color: #e2e8f0;
}

.theme-business .checkbox-card:hover {
    background: #f8fafc;
    border-color: #1e40af;
}

.theme-business .checkbox-card.checked {
    background: rgba(30, 64, 175, 0.05);
    border-color: #1e40af;
}

.theme-business .toggle-track {
    background: #cbd5e1;
}

/* Auth page overrides for light theme */
.theme-business .form-group input[type="text"],
.theme-business .form-group input[type="email"],
.theme-business .form-group input[type="password"] {
    background: #ffffff;
    border-color: #cbd5e1;
}

.theme-business .form-group input[type="text"]:hover,
.theme-business .form-group input[type="email"]:hover,
.theme-business .form-group input[type="password"]:hover {
    background: #ffffff;
    border-color: #94a3b8;
}

.theme-business .form-group input[type="text"]:focus,
.theme-business .form-group input[type="email"]:focus,
.theme-business .form-group input[type="password"]:focus {
    background: #ffffff;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1), 0 0 20px rgba(30, 64, 175, 0.08);
}

.theme-business .checkbox-label span::before {
    background: #ffffff;
    border-color: #cbd5e1;
}

.theme-business .checkbox-label:hover span::before {
    border-color: #94a3b8;
    background: #ffffff;
}

.theme-business .alert-error { color: #dc2626; }
.theme-business .alert-success { color: #059669; }

.theme-business .auth-card {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* ============================================
   THEME: NATURE (Green with Sheep)
   ============================================ */
.theme-nature {
    --bg-dark: #ecfdf5;
    --bg-darker: #d1fae5;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --accent: #059669;
    --accent-secondary: #047857;
    --accent-glow: rgba(5, 150, 105, 0.3);
    --invoice-color: #84cc16;
    --invoice-glow: rgba(132, 204, 22, 0.4);
    --wallet-color: #14b8a6;
    --wallet-glow: rgba(20, 184, 166, 0.4);
    --debit-color: #eab308;
    --debit-glow: rgba(234, 179, 8, 0.4);
    --text-primary: #064e3b;
    --text-secondary: #065f46;
    --text-muted: #6b7280;
    --border-color: rgba(5, 150, 105, 0.2);
    --border-glow: rgba(5, 150, 105, 0.4);
    --success: #22c55e;
    --warning: #eab308;
    --danger: #ef4444;
    --success-accent: #059669;
    --success-accent-glow: rgba(5, 150, 105, 0.3);
    --activity-item-bg: rgba(5, 150, 105, 0.06);
    --activity-item-border: rgba(5, 150, 105, 0.12);
}

.theme-nature .app-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(236, 253, 245, 0.9));
    border-bottom: 2px solid #86efac;
}

.theme-nature .header-brand h1 {
    background: linear-gradient(135deg, #059669, #84cc16);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-nature .stat-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(134, 239, 172, 0.5);
    border-radius: 16px;
}

.theme-nature .stat-value {
    color: #059669;
}

.theme-nature .sub-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(134, 239, 172, 0.4);
    border-radius: 16px;
}

.theme-nature .sub-card:hover {
    border-color: #059669;
    box-shadow: 0 10px 40px rgba(5, 150, 105, 0.15);
}

.theme-nature .service-icon {
    background: linear-gradient(135deg, #059669, #84cc16);
    border-radius: 12px;
}

.theme-nature .btn {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(5, 150, 105, 0.3);
    color: #065f46;
    border-radius: 12px;
}

.theme-nature .btn:hover {
    background: rgba(5, 150, 105, 0.1);
    border-color: #059669;
    color: #059669;
}

.theme-nature .btn-primary {
    background: linear-gradient(135deg, #059669, #047857);
    border-color: #059669;
    color: white;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.theme-nature .modal {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(236, 253, 245, 0.98));
    border: 1px solid rgba(134, 239, 172, 0.5);
    border-radius: 20px;
    box-shadow:
        0 25px 60px rgba(5, 150, 105, 0.04),
        0 0 25px rgba(5, 150, 105, 0.015),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 40px 30px 60px -40px rgba(5, 150, 105, 0.02),
        inset -40px -30px 60px -40px rgba(132, 204, 22, 0.015);
}

.theme-nature .modal::before {
    background: linear-gradient(90deg, transparent 0%, #059669 15%, #84cc16 30%, transparent 45%);
    background-size: 250% 100%;
}

.theme-nature .modal h2 { text-shadow: none; color: #064e3b; }

.theme-nature .modal .form-group input,
.theme-nature .modal .form-group select,
.theme-nature .modal .form-group textarea {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(134, 239, 172, 0.4);
}

.theme-nature .modal .form-group input:focus,
.theme-nature .modal .form-group select:focus,
.theme-nature .modal .form-group textarea:focus {
    border-color: #059669;
    box-shadow: 0 0 12px rgba(5, 150, 105, 0.12);
}

.theme-nature .modal::-webkit-scrollbar-thumb { background: rgba(5, 150, 105, 0.15); }
.theme-nature .modal::-webkit-scrollbar-thumb:hover { background: rgba(5, 150, 105, 0.35); }
.theme-nature .modal { scrollbar-color: rgba(5, 150, 105, 0.15) transparent; }

.theme-nature .modal h2::after {
    content: '';
    position: static;
    display: inline-block;
    width: 22px;
    height: 18px;
    margin-left: 6px;
    background: url('../icons/sheep.svg') no-repeat center/contain;
    vertical-align: middle;
    border-radius: 0;
}

.theme-nature .activity-panel {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(134, 239, 172, 0.4);
}

.theme-nature .orbital-container {
    background: radial-gradient(ellipse at bottom, rgba(134, 239, 172, 0.3) 0%, transparent 60%),
                linear-gradient(180deg, rgba(236, 253, 245, 0.8) 0%, rgba(209, 250, 229, 0.6) 100%);
}

.theme-nature .orbital-container::after,
.theme-nature .orbital-container::before { display: none; }

.theme-nature .view-toggle {
    background: rgba(209, 250, 229, 0.8);
}

.theme-nature .theme-dropdown {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(134, 239, 172, 0.5);
}

.theme-nature .form-group input,
.theme-nature .form-group select,
.theme-nature .form-group textarea {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(134, 239, 172, 0.5);
}

.theme-nature .form-group input:focus,
.theme-nature .form-group select:focus,
.theme-nature .form-group textarea:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: #059669;
    box-shadow: 0 0 12px rgba(5, 150, 105, 0.2);
}

.theme-nature .form-group input::placeholder {
    color: #6b7280;
}

.theme-nature .search-box input {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(134, 239, 172, 0.5);
}

.theme-nature .search-box input:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: #059669;
}

.theme-nature .filter-group select {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(134, 239, 172, 0.5);
}

.theme-nature .filter-group select:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: #059669;
}

/* Auth page overrides for light theme */
.theme-nature .form-group input[type="text"],
.theme-nature .form-group input[type="email"],
.theme-nature .form-group input[type="password"] {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(134, 239, 172, 0.5);
}

.theme-nature .form-group input[type="text"]:hover,
.theme-nature .form-group input[type="email"]:hover,
.theme-nature .form-group input[type="password"]:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(5, 150, 105, 0.5);
}

.theme-nature .form-group input[type="text"]:focus,
.theme-nature .form-group input[type="email"]:focus,
.theme-nature .form-group input[type="password"]:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1), 0 0 20px rgba(5, 150, 105, 0.08);
}

.theme-nature .checkbox-label span::before {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(134, 239, 172, 0.5);
}

.theme-nature .checkbox-label:hover span::before {
    border-color: rgba(5, 150, 105, 0.5);
    background: rgba(255, 255, 255, 0.9);
}

.theme-nature .alert-error { color: #dc2626; }
.theme-nature .alert-success { color: #047857; }

.theme-nature .auth-card {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.theme-nature .pm-empty-hint {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(134, 239, 172, 0.5);
}

.theme-nature .pm-add-btn {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(134, 239, 172, 0.5);
}

/* ============================================
   THEME: MATRIX (Green on Black with Rabbit)
   ============================================ */
.theme-matrix {
    --bg-dark: #000000;
    --bg-darker: #000000;
    --bg-card: #0a0a0a;
    --bg-card-alt: #0d1a0d;
    --bg-glass: rgba(0, 255, 65, 0.04);
    --accent: #00ff41;
    --accent-secondary: #00cc33;
    --accent-glow: rgba(0, 255, 65, 0.2);
    --invoice-color: #00ff41;
    --invoice-glow: rgba(0, 255, 65, 0.4);
    --wallet-color: #00cc33;
    --wallet-glow: rgba(0, 204, 51, 0.4);
    --debit-color: #33ff66;
    --debit-glow: rgba(51, 255, 102, 0.4);
    --text-primary: #00ff41;
    --text-secondary: #00cc33;
    --text-muted: #006622;
    --border-color: rgba(0, 255, 65, 0.15);
    --border-glow: rgba(0, 255, 65, 0.3);
    --success: #00ff41;
    --warning: #ffcc00;
    --danger: #ff3333;
    --success-accent: #00ff41;
    --success-accent-glow: rgba(0, 255, 65, 0.3);
    --activity-item-bg: rgba(0, 255, 65, 0.04);
    --activity-item-border: rgba(0, 255, 65, 0.1);
}

.theme-matrix .app-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(0, 20, 0, 0.95));
    border-bottom: 2px solid rgba(0, 255, 65, 0.3);
}

.theme-matrix .header-brand h1 {
    background: linear-gradient(135deg, #00ff41, #00cc33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.theme-matrix .stat-card {
    background: rgba(0, 255, 65, 0.03);
    border: 1px solid rgba(0, 255, 65, 0.12);
    border-radius: 16px;
}

.theme-matrix .stat-value {
    color: #00ff41;
}

.theme-matrix .sub-card {
    position: relative;
    background: rgba(0, 255, 65, 0.03);
    border: 1px solid rgba(0, 255, 65, 0.1);
    border-radius: 16px;
}

.theme-matrix .sub-card:hover {
    border-color: #00ff41;
    box-shadow: 0 10px 40px rgba(0, 255, 65, 0.1);
}

.theme-matrix .service-icon {
    background: linear-gradient(135deg, #00ff41, #00cc33);
    border-radius: 12px;
}

.theme-matrix .btn {
    background: rgba(0, 255, 65, 0.06);
    border-color: rgba(0, 255, 65, 0.2);
    color: #00ff41;
    border-radius: 12px;
}

.theme-matrix .btn:hover {
    background: rgba(0, 255, 65, 0.12);
    border-color: #00ff41;
    color: #00ff41;
}

.theme-matrix .btn-primary {
    background: linear-gradient(135deg, #00cc33, #009922);
    border-color: #00ff41;
    color: #000000;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 255, 65, 0.3);
}

.theme-matrix .modal {
    background:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 65, 0.008) 2px, rgba(0, 255, 65, 0.008) 4px),
        linear-gradient(145deg, rgba(5, 10, 5, 0.98), rgba(0, 0, 0, 0.99));
    border: 1px solid rgba(0, 255, 65, 0.25);
    border-radius: 20px;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 255, 65, 0.03),
        0 0 80px rgba(0, 255, 65, 0.01),
        inset 0 1px 0 rgba(0, 255, 65, 0.04),
        inset 40px 30px 60px -40px rgba(0, 255, 65, 0.03),
        inset -40px -30px 60px -40px rgba(0, 255, 65, 0.02);
}

.theme-matrix .modal::before {
    background: linear-gradient(90deg, transparent 0%, #00ff41 15%, #33ff66 30%, transparent 45%);
    background-size: 250% 100%;
}

.theme-matrix .modal h2::after { background: linear-gradient(90deg, #00ff41, transparent); }
.theme-matrix .modal h2 { text-shadow: 0 0 20px rgba(0, 255, 65, 0.3); }

.theme-matrix .modal .form-group input,
.theme-matrix .modal .form-group select,
.theme-matrix .modal .form-group textarea {
    background: rgba(0, 255, 65, 0.03);
    border-color: rgba(0, 255, 65, 0.15);
}

.theme-matrix .modal .form-group input:focus,
.theme-matrix .modal .form-group select:focus,
.theme-matrix .modal .form-group textarea:focus {
    border-color: #00ff41;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.theme-matrix .modal::-webkit-scrollbar-thumb { background: rgba(0, 255, 65, 0.2); }
.theme-matrix .modal::-webkit-scrollbar-thumb:hover { background: rgba(0, 255, 65, 0.4); }
.theme-matrix .modal { scrollbar-color: rgba(0, 255, 65, 0.2) transparent; }

.theme-matrix .activity-panel {
    background: rgba(0, 255, 65, 0.02);
    border: 1px solid rgba(0, 255, 65, 0.1);
}

.theme-matrix .orbital-container {
    background: radial-gradient(ellipse at bottom, rgba(0, 255, 65, 0.05) 0%, transparent 60%),
                linear-gradient(180deg, #000000 0%, #000000 100%);
}

.theme-matrix .orbital-container::after,
.theme-matrix .orbital-container::before { display: none; }

.theme-matrix .view-toggle {
    background: rgba(0, 255, 65, 0.06);
}

.theme-matrix .theme-dropdown {
    background: rgba(5, 10, 5, 0.98);
    border: 1px solid rgba(0, 255, 65, 0.2);
}

.theme-matrix .form-group input,
.theme-matrix .form-group select,
.theme-matrix .form-group textarea {
    background: rgba(0, 255, 65, 0.04);
    border-color: rgba(0, 255, 65, 0.12);
    color: #00ff41;
}

.theme-matrix .form-group input:focus,
.theme-matrix .form-group select:focus,
.theme-matrix .form-group textarea:focus {
    background: rgba(0, 255, 65, 0.08);
    border-color: #00ff41;
    box-shadow: 0 0 12px rgba(0, 255, 65, 0.15);
}

.theme-matrix .form-group input::placeholder {
    color: #006622;
}

.theme-matrix .search-box input {
    background: rgba(0, 255, 65, 0.04);
    border-color: rgba(0, 255, 65, 0.12);
}

.theme-matrix .search-box input:focus {
    background: rgba(0, 255, 65, 0.08);
    border-color: #00ff41;
}

.theme-matrix .filter-group select {
    background: rgba(0, 255, 65, 0.04);
    border-color: rgba(0, 255, 65, 0.12);
}

.theme-matrix .filter-group select:focus {
    background: rgba(0, 255, 65, 0.08);
    border-color: #00ff41;
}

/* Auth page overrides for dark theme */
.theme-matrix .form-group input[type="text"],
.theme-matrix .form-group input[type="email"],
.theme-matrix .form-group input[type="password"] {
    background: rgba(0, 255, 65, 0.04);
    border-color: rgba(0, 255, 65, 0.12);
}

.theme-matrix .form-group input[type="text"]:hover,
.theme-matrix .form-group input[type="email"]:hover,
.theme-matrix .form-group input[type="password"]:hover {
    background: rgba(0, 255, 65, 0.06);
    border-color: rgba(0, 255, 65, 0.25);
}

.theme-matrix .form-group input[type="text"]:focus,
.theme-matrix .form-group input[type="email"]:focus,
.theme-matrix .form-group input[type="password"]:focus {
    background: rgba(0, 255, 65, 0.08);
    border-color: #00ff41;
    box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.08), 0 0 20px rgba(0, 255, 65, 0.06);
}

.theme-matrix .checkbox-label span::before {
    background: rgba(0, 255, 65, 0.04);
    border-color: rgba(0, 255, 65, 0.2);
}

.theme-matrix .checkbox-label:hover span::before {
    border-color: rgba(0, 255, 65, 0.4);
    background: rgba(0, 255, 65, 0.06);
}

.theme-matrix .alert-error { color: #ff3333; }
.theme-matrix .alert-success { color: #00ff41; }

.theme-matrix .auth-card {
    background: rgba(5, 10, 5, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 65, 0.1);
}

.theme-matrix .pm-empty-hint {
    background: rgba(0, 255, 65, 0.03);
    border-color: rgba(0, 255, 65, 0.1);
}

.theme-matrix .pm-add-btn {
    background: rgba(0, 255, 65, 0.06);
    border-color: rgba(0, 255, 65, 0.15);
}

/* CRT scanline overlay */
body.theme-matrix::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 65, 0.03) 2px,
        rgba(0, 255, 65, 0.03) 4px
    );
}

/* Walking sheep on subscription cards */
.theme-nature .cards-grid {
    position: relative;
}

.walking-sheep {
    position: absolute;
    width: 64px;
    height: 41px;
    z-index: 20;
    pointer-events: none;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
}

/* Teleport sparkle effect */
.sheep-teleport {
    position: absolute;
    pointer-events: none;
    z-index: 19;
    animation: sheepTeleport 0.6s ease-out forwards;
}
.sheep-teleport-in {
    position: absolute;
    pointer-events: none;
    z-index: 19;
    animation: sheepTeleportIn 0.5s ease-in forwards;
}
@keyframes sheepTeleport {
    0%   { opacity: 1; transform: scale(1); filter: brightness(1); }
    40%  { opacity: 0.8; transform: scale(1.3); filter: brightness(2) hue-rotate(60deg); }
    100% { opacity: 0; transform: scale(0.2) translateY(-20px); filter: brightness(3) hue-rotate(120deg); }
}
@keyframes sheepTeleportIn {
    0%   { opacity: 0; transform: scale(0.2) translateY(-20px); filter: brightness(3) hue-rotate(120deg); }
    50%  { opacity: 0.8; transform: scale(1.2); filter: brightness(1.5) hue-rotate(30deg); }
    100% { opacity: 1; transform: scale(1); filter: brightness(1); }
}

.walking-sheep.mobile {
    position: fixed;
    bottom: 12px;
    top: auto;
    z-index: 9999;
    pointer-events: auto;
    cursor: pointer;
    transition: none;
}

.walking-sheep svg {
    display: block;
    overflow: visible;
}

/* Grass tufts growing up from top edge of subscription cards */
.sheep-grass {
    position: absolute;
    pointer-events: none;
    z-index: 10;
    opacity: .65;
    transform-origin: bottom center;
    animation: grassSway 3.5s ease-in-out infinite;
}

@keyframes grassSway {
    0%, 100% { transform: rotate(0deg); }
    30% { transform: rotate(4deg); }
    70% { transform: rotate(-3deg); }
}

/* Floating heart sparkles */
.sheep-heart {
    position: absolute;
    pointer-events: none;
    z-index: 9;
    font-size: 14px;
    animation: heartFloat 1.2s ease-out forwards;
}

@keyframes heartFloat {
    0% { opacity: 0.9; transform: translateY(0) scale(1); }
    50% { opacity: 0.7; transform: translateY(-12px) scale(1.1); }
    100% { opacity: 0; transform: translateY(-28px) scale(0.6); }
}

/* Mobile hearts need fixed positioning */
.sheep-heart.mobile {
    position: fixed;
}

/* Thought bubbles */
.sheep-thought {
    position: absolute;
    pointer-events: none;
    z-index: 21;
    animation: thoughtAppear 7s ease-in-out forwards;
}
.sheep-thought.mobile {
    position: fixed;
    z-index: 9998;
}
.sheep-thought-bubble {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    padding: 6px 11px;
    font-size: 0.65rem;
    line-height: 1.3;
    color: #4a3a2a;
    max-width: 180px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    font-style: italic;
    white-space: normal;
    word-break: break-word;
}
.sheep-thought-dots {
    position: absolute;
    bottom: -10px;
    left: 14px;
}
.sheep-thought-dots::before,
.sheep-thought-dots::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
}
.sheep-thought-dots::before {
    width: 7px; height: 7px;
    bottom: 0; left: 0;
}
.sheep-thought-dots::after {
    width: 4px; height: 4px;
    bottom: -5px; left: 4px;
}
@keyframes thoughtAppear {
    0%   { opacity: 0; transform: translateY(4px) scale(0.7); }
    5%   { opacity: 1; transform: translateY(0) scale(1); }
    85%  { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-6px) scale(0.9); }
}

@media (prefers-reduced-motion: reduce) {
    .walking-sheep { display: none; }
    .sheep-heart { animation: none; display: none; }
    .sheep-grass { animation: none; }
    .sheep-thought { animation: none; display: none; }
    .walking-rabbit { display: none; }
    .rabbit-binary { animation: none; display: none; }
    .rabbit-thought { animation: none; display: none; }
}

/* Walking rabbit on subscription cards (Matrix theme) */
.theme-matrix .cards-grid {
    position: relative;
}

.walking-rabbit {
    position: absolute;
    width: 48px;
    height: 32px;
    z-index: 25;
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(0, 255, 65, 0.25));
}

/* Teleport glitch effect */
.rabbit-teleport {
    position: absolute;
    pointer-events: none;
    z-index: 19;
    animation: rabbitTeleport 0.6s ease-out forwards;
}
.rabbit-teleport-in {
    position: absolute;
    pointer-events: none;
    z-index: 19;
    animation: rabbitTeleportIn 0.5s ease-in forwards;
}
@keyframes rabbitTeleport {
    0%   { opacity: 1; transform: scale(1); filter: brightness(1); }
    30%  { opacity: 0.9; transform: scale(1.1); filter: brightness(2) hue-rotate(0deg) saturate(3); }
    60%  { opacity: 0.5; transform: scale(0.8) translateY(-10px); filter: brightness(3) hue-rotate(0deg); }
    100% { opacity: 0; transform: scale(0.1) translateY(-30px); filter: brightness(5); }
}
@keyframes rabbitTeleportIn {
    0%   { opacity: 0; transform: scale(0.1) translateY(-30px); filter: brightness(5); }
    40%  { opacity: 0.5; transform: scale(0.8); filter: brightness(3); }
    70%  { opacity: 0.9; transform: scale(1.1); filter: brightness(2) saturate(3); }
    100% { opacity: 1; transform: scale(1); filter: brightness(1); }
}

.walking-rabbit.mobile {
    position: fixed;
    bottom: 12px;
    top: auto;
    z-index: 10001;
    pointer-events: auto;
    cursor: pointer;
    transition: none;
}

.walking-rabbit svg {
    display: block;
    overflow: visible;
}

/* Floating binary sparkles ("0" and "1") */
.rabbit-binary {
    position: absolute;
    pointer-events: none;
    z-index: 9;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: bold;
    color: #00ff41;
    text-shadow: 0 0 6px rgba(0, 255, 65, 0.6);
    animation: binaryFloat 1.2s ease-out forwards;
}

@keyframes binaryFloat {
    0% { opacity: 0.9; transform: translateY(0) scale(1); }
    50% { opacity: 0.7; transform: translateY(-14px) scale(1.1); }
    100% { opacity: 0; transform: translateY(-30px) scale(0.5); }
}

/* Mobile binary needs fixed positioning */
.rabbit-binary.mobile {
    position: fixed;
}

/* Thought bubbles */
.rabbit-thought {
    position: absolute;
    pointer-events: none;
    z-index: 26;
    animation: thoughtAppear 7s ease-in-out forwards;
}
.rabbit-thought.mobile {
    position: fixed;
    z-index: 10002;
}
.rabbit-thought-bubble {
    background: rgba(0, 8, 0, 0.94);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 12px;
    padding: 7px 12px;
    font-size: 0.7rem;
    line-height: 1.35;
    color: #33ff66;
    max-width: 195px;
    box-shadow: 0 0 14px rgba(0, 255, 65, 0.12), inset 0 0 20px rgba(0, 255, 65, 0.03);
    font-family: 'Courier New', Courier, monospace;
    font-style: normal;
    white-space: normal;
    word-break: break-word;
    text-shadow: 0 0 3px rgba(0, 255, 65, 0.25);
    letter-spacing: 0.02em;
}
.rabbit-thought-dots {
    position: absolute;
    bottom: -10px;
    left: 14px;
}
.rabbit-thought-dots::before,
.rabbit-thought-dots::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 255, 65, 0.6);
    box-shadow: 0 0 4px rgba(0, 255, 65, 0.3);
}
.rabbit-thought-dots::before {
    width: 7px; height: 7px;
    bottom: 0; left: 0;
}
.rabbit-thought-dots::after {
    width: 4px; height: 4px;
    bottom: -5px; left: 4px;
}

/* ============================================
   THEME GRID IN SETTINGS
   ============================================ */
.theme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.theme-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    background: var(--bg-glass);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-size: 0.8rem;
    color: var(--text-primary);
}

.theme-btn:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.theme-btn.active {
    border-color: var(--accent);
    background: var(--accent-glow);
    box-shadow: 0 0 20px var(--accent-glow);
}

.theme-btn .theme-preview {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Linked cards list styling */
.linked-cards-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 180px;
    overflow-y: auto;
    padding: 4px;
}

/* Stats styling */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stats-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stats-card.highlight {
    border-color: var(--accent);
    background: var(--accent-glow);
}

.stats-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Orbitron', sans-serif;
}

.stats-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stats-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stats-section {
    margin-bottom: 24px;
}

.stats-section h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.breakdown-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breakdown-label {
    width: 120px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breakdown-bar-wrap {
    flex: 1;
    height: 8px;
    background: var(--bg-darker);
    border-radius: 4px;
    overflow: hidden;
}

.breakdown-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    border-radius: 4px;
    transition: width 0.5s ease;
}

.breakdown-bar.wallet {
    background: linear-gradient(90deg, var(--wallet-color), #7c3aed);
}

.breakdown-bar.invoice {
    background: linear-gradient(90deg, var(--invoice-color), #059669);
}

.breakdown-value {
    width: 80px;
    text-align: right;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Amount row styling */
.amount-row {
    margin: 8px 0;
}

.amount-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.billing-cycle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   ANIMATION TRANSITIONS
   ============================================ */
body {
    transition: background-color 0.4s ease, color 0.3s ease;
}

.app-header,
.stat-card,
.sub-card,
.activity-panel,
.modal,
.btn,
.orbital-container {
    transition: background 0.4s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* ============================================
   SCROLLBAR STYLING — theme-aware
   ============================================ */

/* Webkit / Blink (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker, #030710);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent, #38b6ff);
    border-radius: 4px;
    opacity: 0.6;
    background-clip: padding-box;
    border: 2px solid transparent;
    background-color: color-mix(in srgb, var(--accent, #38b6ff) 40%, transparent);
}

::-webkit-scrollbar-thumb:hover {
    background-color: color-mix(in srgb, var(--accent, #38b6ff) 65%, transparent);
}

::-webkit-scrollbar-corner {
    background: var(--bg-darker, #030710);
}

/* Modal / overflow containers — thinner inline scrollbar */
.modal-body::-webkit-scrollbar,
.pm-list::-webkit-scrollbar,
.activity-list::-webkit-scrollbar {
    width: 6px;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--accent, #38b6ff) 40%, transparent) var(--bg-darker, #030710);
}

/* --- Soft theme --- */
.theme-soft ::-webkit-scrollbar-track,
.theme-soft::-webkit-scrollbar-track {
    background: #fce7f3;
}
.theme-soft ::-webkit-scrollbar-thumb,
.theme-soft::-webkit-scrollbar-thumb {
    background-color: rgba(236, 72, 153, 0.3);
}
.theme-soft ::-webkit-scrollbar-thumb:hover,
.theme-soft::-webkit-scrollbar-thumb:hover {
    background-color: rgba(236, 72, 153, 0.5);
}
.theme-soft {
    scrollbar-color: rgba(236, 72, 153, 0.3) #fce7f3;
}

/* --- Glam theme --- */
.theme-glam ::-webkit-scrollbar-track,
.theme-glam::-webkit-scrollbar-track {
    background: #0d0509;
}
.theme-glam ::-webkit-scrollbar-thumb,
.theme-glam::-webkit-scrollbar-thumb {
    background-color: rgba(255, 20, 147, 0.35);
}
.theme-glam ::-webkit-scrollbar-thumb:hover,
.theme-glam::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 20, 147, 0.6);
}
.theme-glam {
    scrollbar-color: rgba(255, 20, 147, 0.35) #0d0509;
}

/* --- Dark theme --- */
.theme-dark ::-webkit-scrollbar-track,
.theme-dark::-webkit-scrollbar-track {
    background: #050505;
}
.theme-dark ::-webkit-scrollbar-thumb,
.theme-dark::-webkit-scrollbar-thumb {
    background-color: rgba(220, 38, 38, 0.3);
}
.theme-dark ::-webkit-scrollbar-thumb:hover,
.theme-dark::-webkit-scrollbar-thumb:hover {
    background-color: rgba(220, 38, 38, 0.55);
}
.theme-dark {
    scrollbar-color: rgba(220, 38, 38, 0.3) #050505;
}

/* --- Business theme --- */
.theme-business ::-webkit-scrollbar-track,
.theme-business::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.theme-business ::-webkit-scrollbar-thumb,
.theme-business::-webkit-scrollbar-thumb {
    background-color: rgba(30, 64, 175, 0.25);
}
.theme-business ::-webkit-scrollbar-thumb:hover,
.theme-business::-webkit-scrollbar-thumb:hover {
    background-color: rgba(30, 64, 175, 0.45);
}
.theme-business {
    scrollbar-color: rgba(30, 64, 175, 0.25) #f1f5f9;
}

/* --- Nature theme --- */
.theme-nature ::-webkit-scrollbar-track,
.theme-nature::-webkit-scrollbar-track {
    background: #ecfdf5;
}
.theme-nature ::-webkit-scrollbar-thumb,
.theme-nature::-webkit-scrollbar-thumb {
    background-color: rgba(34, 197, 94, 0.3);
}
.theme-nature ::-webkit-scrollbar-thumb:hover,
.theme-nature::-webkit-scrollbar-thumb:hover {
    background-color: rgba(34, 197, 94, 0.5);
}
.theme-nature {
    scrollbar-color: rgba(34, 197, 94, 0.3) #ecfdf5;
}

/* --- Matrix theme --- */
.theme-matrix ::-webkit-scrollbar-track,
.theme-matrix::-webkit-scrollbar-track {
    background: #000000;
}
.theme-matrix ::-webkit-scrollbar-thumb,
.theme-matrix::-webkit-scrollbar-thumb {
    background-color: rgba(0, 255, 65, 0.3);
}
.theme-matrix ::-webkit-scrollbar-thumb:hover,
.theme-matrix::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 255, 65, 0.55);
}
.theme-matrix {
    scrollbar-color: rgba(0, 255, 65, 0.3) #000000;
}
