/* Gold Theme - Złoty / Luksusowy */

[data-theme="gold"] {
    --ds-custom-sidebar: #D4AF37;
    --ds-custom-header: #D4AF37;
    --ds-custom-accent: #D4AF37;
    --ds-primary: #D4AF37;
    --ds-primary-hover: #b8962e;
    background-color: #0B0B0B !important;
    color: #FFFFFF !important;
}

[data-theme="gold"] body {
    background-color: #0B0B0B !important;
    color: #FFFFFF !important;
}

[data-theme="gold"] html {
    background-color: #0B0B0B !important;
}

/* ── Navbar / Sidebar ──────────────────────────────────────────────────────── */
[data-theme="gold"] .sidebar,
[data-theme="gold"] .mobile-side-menu,
[data-theme="gold"] .mobile-user-menu {
    background: linear-gradient(180deg, #1A1A1A 0%, #111111 100%) !important;
    border-right: 1px solid #D4AF37 !important;
}

[data-theme="gold"] .mobile-side-menu-overlay,
[data-theme="gold"] .mobile-user-menu-overlay {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

[data-theme="gold"] nav.navbar,
[data-theme="gold"] .mobile-top-bar {
    background: linear-gradient(135deg, #1A1A1A 0%, #111111 100%) !important;
    border-bottom: 1px solid #D4AF37 !important;
}

[data-theme="gold"] .navbar-brand,
[data-theme="gold"] .ds-navbar-brand {
    color: #D4AF37 !important;
}

[data-theme="gold"] .navbar-nav .nav-link {
    color: #e0e0e0 !important;
}

[data-theme="gold"] .navbar-nav .nav-link:hover,
[data-theme="gold"] .navbar-nav .nav-link.active {
    color: #D4AF37 !important;
}

/* Quick add button */
[data-theme="gold"] .quick-add-btn {
    background: linear-gradient(135deg, #D4AF37 0%, #b8962e 100%) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
}

/* Quick add modal — amount input */
[data-theme="gold"] #qa-amount-wrap {
    background: #1A1A1A !important;
    border-color: rgba(212,175,55,.35) !important;
}
[data-theme="gold"] #quick_amount {
    color: #fff !important;
    background: transparent !important;
}
[data-theme="gold"] #quick_amount::placeholder {
    color: rgba(212,175,55,.35) !important;
}
[data-theme="gold"] #quick_currency {
    color: #D4AF37 !important;
    background: transparent !important;
    border-color: rgba(212,175,55,.2) !important;
}

/* Quick add modal — split payment (cash + card) amounts */
[data-theme="gold"] .qa-split-wrap {
    background: #1A1A1A !important;
    border-color: rgba(212,175,55,.25) !important;
}
[data-theme="gold"] .qa-split-wrap:focus-within {
    border-color: #D4AF37 !important;
}
[data-theme="gold"] .qa-split-prefix {
    background: #0B0B0B !important;
    border-color: rgba(212,175,55,.2) !important;
    color: #D4AF37 !important;
}
[data-theme="gold"] .qa-split-input {
    color: #fff !important;
    background: transparent !important;
}

/* ── Container / Page ──────────────────────────────────────────────────────── */
[data-theme="gold"] .container,
[data-theme="gold"] .container-fluid,
[data-theme="gold"] main {
    background-color: #0B0B0B !important;
    color: #FFFFFF !important;
}

/* ── Cards ─────────────────────────────────────────────────────────────────── */
[data-theme="gold"] .card,
[data-theme="gold"] .ds-card,
[data-theme="gold"] .card.dashboard-card {
    background-color: transparent !important;
    border: 1px solid rgba(212,175,55,.2) !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

[data-theme="gold"] .card-header,
[data-theme="gold"] .ds-card-header,
[data-theme="gold"] .card.dashboard-card .card-header {
    background: linear-gradient(135deg, #1A1A1A 0%, #111111 100%) !important;
    border-bottom: 1px solid #D4AF37 !important;
    color: #FFFFFF !important;
}

[data-theme="gold"] .card-header h5,
[data-theme="gold"] .card-header h4,
[data-theme="gold"] .card-header h3,
[data-theme="gold"] .card-header .mb-0 {
    color: #FFFFFF !important;
}

[data-theme="gold"] .card-body,
[data-theme="gold"] .ds-card-body {
    background-color: transparent !important;
    color: #FFFFFF !important;
}

[data-theme="gold"] .card-footer,
[data-theme="gold"] .ds-card-footer {
    background-color: #222222 !important;
    border-top: 1px solid #2a2a2a !important;
    color: #FFFFFF !important;
}

/* ── Stat cards ────────────────────────────────────────────────────────────── */
[data-theme="gold"] .stat-card {
    background: linear-gradient(135deg, #1A1A1A 0%, #111111 100%) !important;
    border: 1px solid #D4AF37 !important;
    color: #FFFFFF !important;
}

[data-theme="gold"] .stat-card:hover {
    background: linear-gradient(135deg, #222222 0%, #1A1A1A 100%) !important;
}

[data-theme="gold"] .stat-icon {
    background-color: #222222 !important;
    color: #D4AF37 !important;
}

[data-theme="gold"] .stat-value { color: #FFFFFF !important; }
[data-theme="gold"] .stat-value.text-success { color: #4ade80 !important; }
[data-theme="gold"] .stat-value.text-danger  { color: #f87171 !important; }
[data-theme="gold"] .stat-label { color: #a0a0a0 !important; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
[data-theme="gold"] .btn-primary,
[data-theme="gold"] .ds-btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #b8962e 100%) !important;
    border-color: #D4AF37 !important;
    color: #0B0B0B !important;
}

[data-theme="gold"] .btn-primary i,
[data-theme="gold"] .btn-primary .fas,
[data-theme="gold"] .btn-primary .far,
[data-theme="gold"] .btn-primary .fab {
    color: #0B0B0B !important;
}

[data-theme="gold"] .btn-secondary,
[data-theme="gold"] .ds-btn-secondary {
    background-color: #222222 !important;
    border-color: #D4AF37 !important;
    color: #D4AF37 !important;
}

[data-theme="gold"] .btn-outline-primary,
[data-theme="gold"] .ds-btn-outline-primary {
    border-color: #D4AF37 !important;
    color: #D4AF37 !important;
    background: transparent !important;
}

[data-theme="gold"] .btn-outline-primary:hover {
    background: linear-gradient(135deg, #D4AF37 0%, #b8962e 100%) !important;
    color: #0B0B0B !important;
}

[data-theme="gold"] .btn-outline-secondary {
    border-color: #D4AF37 !important;
    color: #D4AF37 !important;
    background-color: transparent !important;
}

[data-theme="gold"] .btn-outline-secondary:hover {
    background: #D4AF37 !important;
    color: #0B0B0B !important;
}

[data-theme="gold"] .btn-outline-secondary i,
[data-theme="gold"] .btn-outline-secondary .fas {
    color: #D4AF37 !important;
}

[data-theme="gold"] .btn-outline-secondary:hover i,
[data-theme="gold"] .btn-outline-secondary:hover .fas {
    color: #0B0B0B !important;
}

[data-theme="gold"] .btn-outline-danger {
    border-color: #f87171 !important;
    color: #f87171 !important;
}

[data-theme="gold"] .btn-outline-danger i { color: #f87171 !important; }

[data-theme="gold"] .btn-outline-danger:hover {
    background-color: #f87171 !important;
    color: #ffffff !important;
}

[data-theme="gold"] .btn-outline-danger:hover i { color: #ffffff !important; }

[data-theme="gold"] .btn,
[data-theme="gold"] .ds-btn {
    border-color: #2a2a2a !important;
}

/* ── Forms ─────────────────────────────────────────────────────────────────── */
[data-theme="gold"] .form-control,
[data-theme="gold"] .ds-form-control,
[data-theme="gold"] .form-select {
    background-color: #222222 !important;
    border: 1px solid #333333 !important;
    color: #FFFFFF !important;
}

[data-theme="gold"] .form-control:focus,
[data-theme="gold"] .ds-form-control:focus,
[data-theme="gold"] .form-select:focus {
    background-color: #222222 !important;
    border-color: #D4AF37 !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25) !important;
}

[data-theme="gold"] .form-control::placeholder { color: #999999 !important; }

[data-theme="gold"] .form-label,
[data-theme="gold"] .ds-form-label {
    color: #e0e0e0 !important;
}

[data-theme="gold"] .input-group-text {
    background-color: #222222 !important;
    border: 1px solid #333333 !important;
    color: #D4AF37 !important;
}

/* ── Tables ────────────────────────────────────────────────────────────────── */
[data-theme="gold"] .table,
[data-theme="gold"] .ds-table {
    background-color: #1A1A1A !important;
    color: #FFFFFF !important;
}

[data-theme="gold"] .table thead th,
[data-theme="gold"] .ds-table thead th {
    background-color: #222222 !important;
    border-color: #D4AF37 !important;
    color: #FFFFFF !important;
}

[data-theme="gold"] .table tbody td,
[data-theme="gold"] .ds-table tbody td {
    background-color: #1A1A1A !important;
    border-color: #2a2a2a !important;
    color: #FFFFFF !important;
}

[data-theme="gold"] .table-striped tbody tr:nth-of-type(odd) {
    background-color: #222222 !important;
}

/* ── Modals ────────────────────────────────────────────────────────────────── */
[data-theme="gold"] .modal-content,
[data-theme="gold"] .ds-modal-content {
    background-color: #1A1A1A !important;
    border: 1px solid #D4AF37 !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 40px rgba(212, 175, 55, 0.2) !important;
    border-radius: 15px !important;
    padding: 0 !important;
}

[data-theme="gold"] .modal-header,
[data-theme="gold"] .ds-modal-header {
    background: linear-gradient(135deg, #1A1A1A 0%, #111111 100%) !important;
    border-bottom: 1px solid #D4AF37 !important;
    color: #FFFFFF !important;
    border-radius: 15px 15px 0 0 !important;
    padding: 1rem 1.5rem !important;
}

[data-theme="gold"] .modal-title { color: #FFFFFF !important; }

[data-theme="gold"] .modal-header[style*="linear-gradient"],
[data-theme="gold"] div[style*="background: linear-gradient"] {
    background: linear-gradient(135deg, #1A1A1A 0%, #111111 100%) !important;
}

[data-theme="gold"] .modal-body,
[data-theme="gold"] .ds-modal-body {
    background-color: #1A1A1A !important;
    color: #FFFFFF !important;
    padding: 1.5rem !important;
}

[data-theme="gold"] .modal-footer,
[data-theme="gold"] .ds-modal-footer {
    background-color: #222222 !important;
    border-top: 1px solid #2a2a2a !important;
    color: #FFFFFF !important;
    border-radius: 0 0 15px 15px !important;
    padding: 1rem 1.5rem !important;
}

/* ── Dropdowns ─────────────────────────────────────────────────────────────── */
[data-theme="gold"] .dropdown-menu {
    background: linear-gradient(135deg, #1A1A1A 0%, #111111 100%) !important;
    border: 1px solid #D4AF37 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="gold"] .dropdown-item { color: #FFFFFF !important; }

[data-theme="gold"] .dropdown-item:hover {
    background-color: #222222 !important;
    color: #D4AF37 !important;
}

[data-theme="gold"] .dropdown-menu i,
[data-theme="gold"] .dropdown-menu .fas,
[data-theme="gold"] .dropdown-menu .far,
[data-theme="gold"] .dropdown-menu .fab,
[data-theme="gold"] .dropdown-item i,
[data-theme="gold"] .dropdown-item .fas,
[data-theme="gold"] .dropdown-item .far,
[data-theme="gold"] .dropdown-item .fab {
    color: #D4AF37 !important;
}

[data-theme="gold"] .nav-link.dropdown-toggle i,
[data-theme="gold"] .navbar .nav-link i,
[data-theme="gold"] .navbar .nav-link .fas {
    color: #D4AF37 !important;
}

/* ── Alerts ────────────────────────────────────────────────────────────────── */
[data-theme="gold"] .alert { border: 1px solid #2a2a2a !important; }

[data-theme="gold"] .alert-success {
    background-color: #1a2e1a !important;
    border-color: #4ade80 !important;
    color: #d4edda !important;
}

[data-theme="gold"] .alert-danger {
    background-color: #2e1a1a !important;
    border-color: #f87171 !important;
    color: #f8d7da !important;
}

[data-theme="gold"] .alert-warning {
    background-color: #2e2a1a !important;
    border-color: #D4AF37 !important;
    color: #fff3cd !important;
}

[data-theme="gold"] .alert-info {
    background-color: #1a2a2e !important;
    border-color: #67e8f9 !important;
    color: #d1ecf1 !important;
}

/* ── Progress ──────────────────────────────────────────────────────────────── */
[data-theme="gold"] .progress,
[data-theme="gold"] .ds-progress {
    background-color: #222222 !important;
}

[data-theme="gold"] .progress-bar,
[data-theme="gold"] .ds-progress-bar {
    background: linear-gradient(90deg, #D4AF37 0%, #f0c94a 100%) !important;
}

/* ── Badges ────────────────────────────────────────────────────────────────── */
[data-theme="gold"] .badge,
[data-theme="gold"] .ds-badge {
    background-color: #222222 !important;
    color: #D4AF37 !important;
}

/* ── Links ─────────────────────────────────────────────────────────────────── */
[data-theme="gold"] a { color: #D4AF37 !important; }
[data-theme="gold"] a:hover { color: #f0c94a !important; }

/* Mobile nav */
[data-theme="gold"] .mobile-logo,
[data-theme="gold"] .mobile-logo i,
[data-theme="gold"] .mobile-menu-btn,
[data-theme="gold"] .mobile-menu-btn i,
[data-theme="gold"] .mobile-icon,
[data-theme="gold"] .mobile-icon i,
[data-theme="gold"] .mobile-icon-btn,
[data-theme="gold"] .mobile-icon-btn i,
[data-theme="gold"] .mobile-menu-item,
[data-theme="gold"] .mobile-menu-item i,
[data-theme="gold"] .mobile-submenu-item,
[data-theme="gold"] .mobile-submenu-item i,
[data-theme="gold"] .mobile-menu-header,
[data-theme="gold"] .mobile-menu-header i,
[data-theme="gold"] .mobile-dropdown-toggle,
[data-theme="gold"] .mobile-dropdown-arrow {
    color: #D4AF37 !important;
}

/* ── Scrollbar ─────────────────────────────────────────────────────────────── */
[data-theme="gold"] ::-webkit-scrollbar { width: 8px; }
[data-theme="gold"] ::-webkit-scrollbar-track { background: #1A1A1A; }
[data-theme="gold"] ::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 4px;
}

/* ── List groups / Pagination ──────────────────────────────────────────────── */
[data-theme="gold"] .list-group-item {
    background-color: #1A1A1A !important;
    border: 1px solid #2a2a2a !important;
    color: #FFFFFF !important;
}
[data-theme="gold"] .list-group-item:hover { background-color: #222222 !important; }

[data-theme="gold"] .page-link {
    background-color: #1A1A1A !important;
    border: 1px solid #2a2a2a !important;
    color: #D4AF37 !important;
}
[data-theme="gold"] .page-link:hover {
    background: #D4AF37 !important;
    border-color: #D4AF37 !important;
    color: #0B0B0B !important;
}
[data-theme="gold"] .page-item.active .page-link {
    background: #D4AF37 !important;
    border-color: #D4AF37 !important;
    color: #0B0B0B !important;
}

/* ── Bottom nav ────────────────────────────────────────────────────────────── */
[data-theme="gold"] .navbar.fixed-bottom {
    background: linear-gradient(135deg, #1A1A1A, #111111) !important;
    border-top: 1px solid #D4AF37 !important;
}
[data-theme="gold"] .navbar.fixed-bottom a { color: #D4AF37 !important; }
[data-theme="gold"] .navbar.fixed-bottom a:hover { color: #f0c94a !important; }

/* ── Misc Bootstrap helpers ────────────────────────────────────────────────── */
[data-theme="gold"] .bg-light   { background-color: #1A1A1A !important; }
[data-theme="gold"] .bg-white   { background-color: #1A1A1A !important; }
[data-theme="gold"] .text-dark  { color: #FFFFFF !important; }
[data-theme="gold"] .text-muted { color: #888888 !important; }

/* ── Item lists ────────────────────────────────────────────────────────────── */
[data-theme="gold"] .expense-item,
[data-theme="gold"] .income-item {
    background-color: #1A1A1A !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 8px !important;
}
[data-theme="gold"] .expense-item h6,
[data-theme="gold"] .income-item h6 { color: #FFFFFF !important; }
[data-theme="gold"] .expense-item .text-muted,
[data-theme="gold"] .income-item .text-muted,
[data-theme="gold"] .expense-item span[style*="color: #5a5a5a"],
[data-theme="gold"] .income-item span[style*="color: #5a5a5a"] { color: #888888 !important; }
[data-theme="gold"] .expense-item .text-danger,
[data-theme="gold"] .expense-item .fw-bold[style*="color: #c62828"] { color: #f87171 !important; }
[data-theme="gold"] .income-item .text-success { color: #4ade80 !important; }

[data-theme="gold"] .category-item,
[data-theme="gold"] .priority-item {
    background-color: #1A1A1A !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 8px !important;
}
[data-theme="gold"] .category-item h6,
[data-theme="gold"] .priority-item h6 { color: #FFFFFF !important; }
[data-theme="gold"] .category-item .text-muted,
[data-theme="gold"] .priority-item .small { color: #888888 !important; }

[data-theme="gold"] .subcategory-item {
    background-color: #1A1A1A !important;
    border: 1px solid #2a2a2a !important;
    color: #FFFFFF !important;
}
[data-theme="gold"] .subcategory-item:hover { background-color: #222222 !important; }
[data-theme="gold"] .subcategory-item span[style*="color: #2d2d2d"] { color: #FFFFFF !important; }
[data-theme="gold"] .subcategory-item span[style*="color: #5a5a5a"] { color: #888888 !important; }
[data-theme="gold"] .subcategory-item span.fw-bold { color: #4ade80 !important; }

[data-theme="gold"] .category-item span[style*="color: #5a5a5a"],
[data-theme="gold"] .category-item small[style*="color: #5a5a5a"] { color: #888888 !important; }
[data-theme="gold"] .category-item .fw-bold[style*="color: #2e7d32"],
[data-theme="gold"] .category-item div.fw-bold[style*="color"] { color: #4ade80 !important; }

/* ── Note & Trash items ────────────────────────────────────────────────────── */
[data-theme="gold"] .note-item {
    background-color: #1A1A1A !important;
    border-color: #2a2a2a !important;
    color: #FFFFFF !important;
}
[data-theme="gold"] .note-item:hover { background-color: #222222 !important; }
[data-theme="gold"] .note-item .note-content { color: #FFFFFF !important; }

[data-theme="gold"] .note-card {
    background-color: #1A1A1A !important;
    color: #FFFFFF !important;
}

[data-theme="gold"] .trash-item {
    background-color: #1A1A1A !important;
    border-color: #2a2a2a !important;
    color: #FFFFFF !important;
}
[data-theme="gold"] .trash-item:hover { background-color: #222222 !important; }

/* ── Empty state ───────────────────────────────────────────────────────────── */
[data-theme="gold"] .empty-state {
    background: linear-gradient(135deg, #1A1A1A 0%, #222222 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid #2a2a2a !important;
}

/* ── Rate items ────────────────────────────────────────────────────────────── */
[data-theme="gold"] .rate-item {
    background-color: #1A1A1A !important;
    border-color: #2a2a2a !important;
    color: #FFFFFF !important;
}
[data-theme="gold"] .rate-item:hover { background-color: #222222 !important; }
[data-theme="gold"] .rate-item.pln {
    background: linear-gradient(135deg, #1A1A1A 0%, #222222 100%) !important;
    border-left-color: #D4AF37 !important;
}

/* ── Expense plans ─────────────────────────────────────────────────────────── */
[data-theme="gold"] .plan-group-card {
    background-color: #111111 !important;
    border: 1px solid #2a2a2a !important;
}
[data-theme="gold"] .plan-group-header {
    background-color: #1A1A1A !important;
    border-bottom-color: #2a2a2a !important;
    color: #FFFFFF !important;
}
[data-theme="gold"] .plan-group-header h6 { color: #FFFFFF !important; }
[data-theme="gold"] .plan-group-body { background-color: #111111 !important; }
[data-theme="gold"] .plan-child-item {
    border-bottom-color: #2a2a2a !important;
    color: #FFFFFF !important;
}
[data-theme="gold"] .plan-child-name { color: #FFFFFF !important; }
[data-theme="gold"] .plan-child-amounts { color: #FFFFFF !important; }
[data-theme="gold"] .parent-stat-value[style*="color: #2d2d2d"] { color: #FFFFFF !important; }
[data-theme="gold"] .parent-stat-label { color: #888888 !important; }
[data-theme="gold"] .plan-empty { color: #888888 !important; }
[data-theme="gold"] h4[style*="color: #2d2d2d"] { color: #FFFFFF !important; }

[data-theme="gold"] .plan-child-card {
    background-color: #1A1A1A !important;
    border-color: #2a2a2a !important;
}
[data-theme="gold"] .plan-child-card:hover { background-color: #222222 !important; }
[data-theme="gold"] .plan-child-card .category-name { color: #FFFFFF !important; }

/* ── Savings ───────────────────────────────────────────────────────────────── */
[data-theme="gold"] .savings-stat-card {
    background: linear-gradient(135deg, #1A1A1A 0%, #111111 100%) !important;
    border: 1px solid #D4AF37 !important;
    color: #FFFFFF !important;
}
[data-theme="gold"] .savings-stat-card:hover { background: #222222 !important; }

[data-theme="gold"] .goal-card {
    background-color: #1A1A1A !important;
    color: #FFFFFF !important;
}

/* ── Analytics ─────────────────────────────────────────────────────────────── */
[data-theme="gold"] .trend-item {
    background-color: #1A1A1A !important;
    border-color: #2a2a2a !important;
}
[data-theme="gold"] .trend-item:hover { background-color: #222222 !important; }

[data-theme="gold"] .stat-card[style*="linear-gradient(135deg, #9d86b8"],
[data-theme="gold"] div[style*="background: linear-gradient(135deg, #9d86b8"] {
    background: linear-gradient(135deg, #1A1A1A 0%, #111111 100%) !important;
    border: 1px solid #D4AF37 !important;
}

/* ── Summary cards ─────────────────────────────────────────────────────────── */
[data-theme="gold"] .summary-card {
    background-color: #1A1A1A !important;
    border-color: #2a2a2a !important;
    color: #FFFFFF !important;
}
[data-theme="gold"] .summary-card h6 { color: #FFFFFF !important; }
[data-theme="gold"] .summary-card .progress { background-color: #222222 !important; }
[data-theme="gold"] .summary-card small { color: #888888 !important; }

/* ── Calendar ──────────────────────────────────────────────────────────────── */
[data-theme="gold"] .calendar-grid { background-color: #1A1A1A !important; }
[data-theme="gold"] .calendar-day-header {
    background-color: #222222 !important;
    color: #FFFFFF !important;
}
[data-theme="gold"] .calendar-day,
[data-theme="gold"] div.calendar-day,
[data-theme="gold"] .calendar-day.weekend,
[data-theme="gold"] .calendar-day.today,
[data-theme="gold"] body .calendar-day,
[data-theme="gold"] #calendarGrid .calendar-day {
    background-color: #1A1A1A !important;
    background: #1A1A1A !important;
    border: 1px solid #2a2a2a !important;
    color: #FFFFFF !important;
}
[data-theme="gold"] .calendar-day.weekend {
    background-color: #241f10 !important;
    background: #241f10 !important;
    border: 1px solid #3a3020 !important;
}
[data-theme="gold"] .calendar-day.today {
    border: 2px solid #D4AF37 !important;
}
[data-theme="gold"] .calendar-day:hover {
    background-color: #222222 !important;
    background: #222222 !important;
}
[data-theme="gold"] .calendar-day.other-month {
    background-color: #111111 !important;
    background: #111111 !important;
    border: 1px solid #1f1f1f !important;
    opacity: 0.5;
}
[data-theme="gold"] .calendar-day .day-number { color: #FFFFFF !important; }
[data-theme="gold"] .calendar-day .expense-count,
[data-theme="gold"] .calendar-day .expense-amount { color: #888888 !important; }

/* ── Dashboard button ──────────────────────────────────────────────────────── */
[data-theme="gold"] .btn-dashboard.btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #b8962e 100%) !important;
    border-color: #D4AF37 !important;
    color: #0B0B0B !important;
}

/* ── P-3 forms with light bg ───────────────────────────────────────────────── */
[data-theme="gold"] .p-3[style*="background: #f6f0e6"] {
    background-color: #1A1A1A !important;
    border-color: #2a2a2a !important;
    color: #FFFFFF !important;
}
[data-theme="gold"] .p-3[style*="background: #f6f0e6"] h6,
[data-theme="gold"] .p-3[style*="background: #f6f0e6"] .form-label { color: #FFFFFF !important; }

/* ── Notes — type-option & period-option ───────────────────────────────────── */
[data-theme="gold"] .type-option,
[data-theme="gold"] .period-option {
    background: #1A1A1A !important;
    border-color: #2a2a2a !important;
    color: #FFFFFF !important;
}
[data-theme="gold"] .type-option:hover,
[data-theme="gold"] .period-option:hover {
    background: #222222 !important;
    border-color: #D4AF37 !important;
}
[data-theme="gold"] .period-option.selected {
    background: linear-gradient(135deg, #D4AF37 0%, #b8962e 100%) !important;
    border-color: #D4AF37 !important;
    color: #0B0B0B !important;
}
[data-theme="gold"] .type-option.selected.type-ogolna {
    background: rgba(23, 162, 184, 0.2) !important;
    border-color: #17a2b8 !important;
}
[data-theme="gold"] .type-option.selected.type-wazna {
    background: rgba(220, 53, 69, 0.2) !important;
    border-color: #dc3545 !important;
}
[data-theme="gold"] .type-option.selected.type-przypomnienie {
    background: rgba(212, 175, 55, 0.2) !important;
    border-color: #D4AF37 !important;
    color: #f0c94a !important;
}
[data-theme="gold"] .type-option.selected.type-pomysl {
    background: rgba(40, 167, 69, 0.2) !important;
    border-color: #28a745 !important;
}
[data-theme="gold"] .type-option.selected.type-lista {
    background: rgba(212, 175, 55, 0.2) !important;
    border-color: #D4AF37 !important;
}

/* ── Profile cards ─────────────────────────────────────────────────────────── */
[data-theme="gold"] .profile-card {
    background: #1A1A1A !important;
    border-color: #2a2a2a !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.5) !important;
}
[data-theme="gold"] .profile-card:hover {
    box-shadow: 0 8px 24px rgba(212,175,55,0.2) !important;
}
[data-theme="gold"] .profile-card.is-active {
    border-color: #D4AF37 !important;
    box-shadow: 0 2px 12px rgba(212,175,55,0.3) !important;
}
[data-theme="gold"] .pc-name { color: #FFFFFF !important; }
[data-theme="gold"] .pc-date { color: #888888 !important; }
[data-theme="gold"] .pc-btn-icon { color: #888888 !important; }
[data-theme="gold"] .pc-btn-edit:hover { background: #D4AF37 !important; color: #0B0B0B !important; }
[data-theme="gold"] .pc-btn-delete:hover { background: #f87171 !important; color: #fff !important; }
[data-theme="gold"] .btn-switch-inactive {
    border-color: #2a2a2a !important;
    color: #888888 !important;
}
[data-theme="gold"] .btn-switch-inactive:hover {
    border-color: #D4AF37 !important;
    color: #D4AF37 !important;
}
[data-theme="gold"] .profile-card-add {
    border-color: #2a2a2a !important;
    color: #888888 !important;
}
[data-theme="gold"] .profile-card-add:hover {
    border-color: #D4AF37 !important;
    background: rgba(212,175,55,0.06) !important;
    color: #D4AF37 !important;
}
[data-theme="gold"] .profile-card-add .add-circle {
    background: rgba(212,175,55,0.15) !important;
    color: #D4AF37 !important;
}
[data-theme="gold"] .profile-card-add:hover .add-circle {
    background: #D4AF37 !important;
    color: #0B0B0B !important;
}

/* Profile create — type-option selected */
[data-theme="gold"] .type-option.selected.type-private {
    background: rgba(212,175,55,0.2) !important;
    border-color: #D4AF37 !important;
}
[data-theme="gold"] .type-option.selected.type-business {
    background: rgba(34,197,94,0.15) !important;
    border-color: #22c55e !important;
}
[data-theme="gold"] .type-option.selected.type-shared {
    background: rgba(212,175,55,0.15) !important;
    border-color: #D4AF37 !important;
}

/* Name input */
[data-theme="gold"] .name-input {
    background: #222222 !important;
    border-color: #2a2a2a !important;
    color: #FFFFFF !important;
}
[data-theme="gold"] .name-input:focus {
    border-color: #D4AF37 !important;
    box-shadow: 0 0 0 3px rgba(212,175,55,0.2) !important;
}
[data-theme="gold"] .name-input::placeholder { color: #888888 !important; }

/* ── Bootstrap text-primary override ───────────────────────────────────────── */
[data-theme="gold"] .text-primary { color: #D4AF37 !important; }
[data-theme="gold"] .text-info    { color: #f0c94a !important; }

/* ── Settings page ─────────────────────────────────────────────────────────── */
[data-theme="gold"] .settings-wrapper { background-color: #0B0B0B !important; }
[data-theme="gold"] .settings-nav {
    background-color: #1A1A1A !important;
    border: 1px solid #D4AF37 !important;
}
[data-theme="gold"] .settings-nav-header {
    background: linear-gradient(135deg, #1A1A1A 0%, #111111 100%) !important;
    border-bottom: 1px solid #D4AF37 !important;
}
[data-theme="gold"] .settings-nav-header i,
[data-theme="gold"] .settings-nav-header h6 { color: #D4AF37 !important; }
[data-theme="gold"] .settings-nav-list,
[data-theme="gold"] .settings-nav-body { background-color: #1A1A1A !important; }

/* Nav items — explicit icon color so it doesn't depend on inheritance */
[data-theme="gold"] .settings-nav-item { color: #D4AF37 !important; }
[data-theme="gold"] .settings-nav-item i,
[data-theme="gold"] .settings-nav-item .fas,
[data-theme="gold"] .settings-nav-item .far,
[data-theme="gold"] .settings-nav-item .fab { color: #D4AF37 !important; }
[data-theme="gold"] .settings-nav-item:hover {
    background-color: #222222 !important;
    color: #f0c94a !important;
}
[data-theme="gold"] .settings-nav-item:hover i { color: #f0c94a !important; }
[data-theme="gold"] .settings-nav-item.active {
    background: linear-gradient(135deg, #D4AF37 0%, #b8962e 100%) !important;
    color: #0B0B0B !important;
}
[data-theme="gold"] .settings-nav-item.active i,
[data-theme="gold"] .settings-nav-item.active .fas { color: #0B0B0B !important; }
[data-theme="gold"] .settings-content { background-color: #0B0B0B !important; }
[data-theme="gold"] .settings-section {
    background-color: transparent !important;
    border-color: transparent !important;
}

/* s-card in settings */
[data-theme="gold"] .s-card {
    background: #1A1A1A !important;
    border: 1px solid #2a2a2a !important;
}
[data-theme="gold"] .s-card-header {
    background: linear-gradient(135deg, #1A1A1A 0%, #111111 100%) !important;
    border-bottom: 1px solid #D4AF37 !important;
}
[data-theme="gold"] .s-card-header h5,
[data-theme="gold"] .s-card-header small { color: #FFFFFF !important; }
[data-theme="gold"] .s-card-header i     { color: #D4AF37 !important; }
[data-theme="gold"] .s-card-body .form-label { color: #e0e0e0 !important; }
[data-theme="gold"] .s-card-body .form-control {
    background: #0B0B0B !important;
    border: 1px solid #2a2a2a !important;
    color: #FFFFFF !important;
}
[data-theme="gold"] .s-card-body .form-control:focus {
    border-color: #D4AF37 !important;
    box-shadow: 0 0 0 0.2rem rgba(212,175,55,0.2) !important;
}
[data-theme="gold"] .form-hint { color: #888888 !important; }

/* Theme cards in settings — use border shorthand to override all sources */
[data-theme="gold"] .theme-card {
    background: #222222 !important;
    border: 2px solid #2a2a2a !important;
}
[data-theme="gold"] .theme-card:not(.active) {
    border: 2px solid #2a2a2a !important;
}
[data-theme="gold"] .theme-card:hover {
    border: 2px solid #D4AF37 !important;
}
[data-theme="gold"] .theme-card.active {
    background: linear-gradient(135deg, #D4AF37 0%, #b8962e 100%) !important;
    border: 2px solid #D4AF37 !important;
}
[data-theme="gold"] .theme-card.active .theme-label,
[data-theme="gold"] .theme-card.active .theme-sub { color: #0B0B0B !important; }
/* Non-active labels must override the default dark (#2d2d2d) text */
[data-theme="gold"] .theme-label { color: #FFFFFF !important; }
[data-theme="gold"] .theme-sub   { color: #a0a0a0 !important; }

/* Language buttons */
[data-theme="gold"] .lang-btn {
    background: #222222 !important;
    border-color: #2a2a2a !important;
    color: #FFFFFF !important;
}
[data-theme="gold"] .lang-btn:hover { border-color: #D4AF37 !important; }
[data-theme="gold"] .lang-btn.active {
    background: linear-gradient(135deg, #D4AF37 0%, #b8962e 100%) !important;
    border-color: #D4AF37 !important;
    color: #0B0B0B !important;
}

/* Contact items */
[data-theme="gold"] .contact-item {
    background: #222222 !important;
    border-color: #2a2a2a !important;
}
[data-theme="gold"] .contact-item:hover { border-color: #D4AF37 !important; }
[data-theme="gold"] .contact-icon { background: #2a2a2a !important; }
[data-theme="gold"] .contact-info-title { color: #FFFFFF !important; }
[data-theme="gold"] .contact-info-desc  { color: #888888 !important; }
[data-theme="gold"] .contact-arrow { color: #D4AF37 !important; }

/* Section titles in settings */
[data-theme="gold"] .section-page-title h1 { color: #FFFFFF !important; }
[data-theme="gold"] .section-page-title p  { color: #888888 !important; }

/* ── General icon color overrides ──────────────────────────────────────────── */
/* Page header icons (h1 .text-primary etc.) */
[data-theme="gold"] h1 i,
[data-theme="gold"] h2 i,
[data-theme="gold"] h3 i,
[data-theme="gold"] h4 i {
    color: #D4AF37 !important;
}

/* Sidebar main nav links */
[data-theme="gold"] .sidebar .nav-link,
[data-theme="gold"] .sidebar a {
    color: #e0e0e0 !important;
}
[data-theme="gold"] .sidebar .nav-link:hover,
[data-theme="gold"] .sidebar .nav-link.active {
    color: #D4AF37 !important;
}
[data-theme="gold"] .sidebar .nav-link i,
[data-theme="gold"] .sidebar a i {
    color: #D4AF37 !important;
}

/* Stat card icons (stat-icon circle) */
[data-theme="gold"] .stat-icon i,
[data-theme="gold"] .stat-icon .fas,
[data-theme="gold"] .stat-icon .far,
[data-theme="gold"] .stat-icon .fab {
    color: #D4AF37 !important;
}

/* Card header icons */
[data-theme="gold"] .card-header i,
[data-theme="gold"] .card-header .fas,
[data-theme="gold"] .card-header .far {
    color: #D4AF37 !important;
}

/* Inline-styled page titles with hardcoded colors */
[data-theme="gold"] [style*="color: #2d2d2d"] { color: #FFFFFF !important; }
[data-theme="gold"] [style*="color: #5a5a5a"] { color: #888888 !important; }
[data-theme="gold"] [style*="color: #8b7355"] { color: #D4AF37 !important; }

/* Inline background overrides — cream/beige elements */
[data-theme="gold"] [style*="background: #f6f0e6"],
[data-theme="gold"] [style*="background:#f6f0e6"],
[data-theme="gold"] [style*="background-color: #f6f0e6"] {
    background-color: #1A1A1A !important;
    border-color: #2a2a2a !important;
    color: #FFFFFF !important;
}
[data-theme="gold"] [style*="background: #faf7f0"],
[data-theme="gold"] [style*="background:#faf7f0"] {
    background-color: #1A1A1A !important;
}

/* Dropdown dividers */
[data-theme="gold"] .dropdown-divider {
    border-color: #2a2a2a !important;
}

/* Inline text-muted spans */
[data-theme="gold"] .text-muted { color: #888888 !important; }
[data-theme="gold"] small.text-muted { color: #888888 !important; }

/* Progress bar background in generic contexts */
[data-theme="gold"] .mini-progress {
    background-color: #222222 !important;
}
[data-theme="gold"] .mini-progress .progress-bar {
    background: linear-gradient(90deg, #D4AF37 0%, #f0c94a 100%) !important;
}

/* ── Text contrast fixes — headings & labels ────────────────────────────────── */
/* h5/h6 inside card bodies — default dark text gets overridden */
[data-theme="gold"] .card-body h5,
[data-theme="gold"] .card-body h6,
[data-theme="gold"] .card-body h4,
[data-theme="gold"] .card-body h3 { color: #FFFFFF !important; }

/* Analytics page inline labels (e.g. "color: #2d2d2d" on h5/h6) */
[data-theme="gold"] h5[style*="color: #2d2d2d"],
[data-theme="gold"] h6[style*="color: #2d2d2d"],
[data-theme="gold"] h4[style*="color: #2d2d2d"],
[data-theme="gold"] h3[style*="color: #2d2d2d"],
[data-theme="gold"] h2[style*="color: #2d2d2d"],
[data-theme="gold"] h1[style*="color: #2d2d2d"] { color: #FFFFFF !important; }

/* Stat-label (GOTÓWKA, KARTA, SUMA etc.) — keep readable on dark card */
[data-theme="gold"] .stat-label { color: #c0c0c0 !important; }

/* Inline label styles used in analytics templates */
[data-theme="gold"] label[style*="color: #2d2d2d"],
[data-theme="gold"] span[style*="color: #2d2d2d"],
[data-theme="gold"] div[style*="color: #2d2d2d"] { color: #FFFFFF !important; }

/* Goal card name & remaining text */
[data-theme="gold"] .goal-card h5 { color: #FFFFFF !important; }
[data-theme="gold"] .goal-card strong[style*="color: #2d2d2d"] { color: #FFFFFF !important; }

/* Method/priority cards — amount text */
[data-theme="gold"] span[style*="font-weight: 700"][style*="color: #2d2d2d"],
[data-theme="gold"] span[style*="font-weight:700"][style*="color: #2d2d2d"] { color: #FFFFFF !important; }

/* page h1 text itself (not the icon) — keep white */
[data-theme="gold"] h1,
[data-theme="gold"] h2,
[data-theme="gold"] h3,
[data-theme="gold"] h4,
[data-theme="gold"] h5,
[data-theme="gold"] h6 { color: #FFFFFF !important; }

/* But icons within headings stay gold */
[data-theme="gold"] h1 i, [data-theme="gold"] h1 .fas, [data-theme="gold"] h1 .far,
[data-theme="gold"] h2 i, [data-theme="gold"] h2 .fas, [data-theme="gold"] h2 .far,
[data-theme="gold"] h3 i, [data-theme="gold"] h3 .fas, [data-theme="gold"] h3 .far,
[data-theme="gold"] h4 i, [data-theme="gold"] h4 .fas, [data-theme="gold"] h4 .far,
[data-theme="gold"] h5 i, [data-theme="gold"] h5 .fas, [data-theme="gold"] h5 .far,
[data-theme="gold"] h6 i, [data-theme="gold"] h6 .fas, [data-theme="gold"] h6 .far { color: #D4AF37 !important; }

/* Card header icons stay gold */
[data-theme="gold"] .card-header i,
[data-theme="gold"] .card-header .fas,
[data-theme="gold"] .card-header .far { color: #D4AF37 !important; }

/* ── Dashboard widget card headers ─────────────────────────────────────────── */
[data-theme="gold"] .dashboard-card .card-header {
    background: linear-gradient(135deg, #D4AF37 0%, #b8962e 100%) !important;
    border-bottom: none !important;
    border: none !important;
}
[data-theme="gold"] .dashboard-card .card-header h5,
[data-theme="gold"] .dashboard-card .card-header h4,
[data-theme="gold"] .dashboard-card .card-header .text-white,
[data-theme="gold"] .dashboard-card .card-header .mb-0,
[data-theme="gold"] .dashboard-card .card-header * {
    color: #FFFFFF !important;
}
[data-theme="gold"] .dashboard-card .card-header i,
[data-theme="gold"] .dashboard-card .card-header .fas,
[data-theme="gold"] .dashboard-card .card-header .far {
    color: #FFFFFF !important;
}

/* ── Quick-add button icon — must stay white on gold bg ────────────────────── */
[data-theme="gold"] .quick-add-btn i,
[data-theme="gold"] .quick-add-btn .fas,
[data-theme="gold"] .quick-add-btn .far { color: #FFFFFF !important; }

/* ── NUCLEAR TEXT OVERRIDE — must be last ───────────────────────────────────── */
/* All text white by default */
[data-theme="gold"] * { color: #FFFFFF !important; }

/* Muted / secondary text */
[data-theme="gold"] .text-muted,
[data-theme="gold"] small,
[data-theme="gold"] .card-subtitle { color: #AAAAAA !important; }

/* Accent elements — gold */
[data-theme="gold"] i,
[data-theme="gold"] .fas,
[data-theme="gold"] .far,
[data-theme="gold"] .fab,
[data-theme="gold"] .fal,
[data-theme="gold"] .fad { color: #D4AF37 !important; }

/* Buttons — restore per-button colors */
[data-theme="gold"] .btn-primary,
[data-theme="gold"] .btn-primary * { color: #fff !important; }

/* Incomes list — filter button */
[data-theme="gold"] .il-filter-btn i,
[data-theme="gold"] .il-filter-btn .fas { color: #0B0B0B !important; }

/* Categories — add button & priority submit */
[data-theme="gold"] .cl-add-btn i,
[data-theme="gold"] .cl-add-btn .fas { color: #0B0B0B !important; }
[data-theme="gold"] .cl-prio-submit i,
[data-theme="gold"] .cl-prio-submit .fas { color: #0B0B0B !important; }

/* Expenses list — filter button & recurring icon */
[data-theme="gold"] .el-filter-btn i,
[data-theme="gold"] .el-filter-btn .fas { color: #0B0B0B !important; }
[data-theme="gold"] .el-recurring-icon i,
[data-theme="gold"] .el-recurring-icon .fas { color: #0B0B0B !important; }
[data-theme="gold"] .el-empty-icon i,
[data-theme="gold"] .el-empty-icon .fas { color: #0B0B0B !important; }

[data-theme="gold"] .btn-outline-primary,
[data-theme="gold"] .btn-outline-secondary,
[data-theme="gold"] .btn-secondary { color: #D4AF37 !important; }

[data-theme="gold"] .btn-outline-danger,
[data-theme="gold"] .btn-outline-danger * { color: #f87171 !important; }

[data-theme="gold"] .btn-outline-danger:hover,
[data-theme="gold"] .btn-outline-danger:hover * { color: #ffffff !important; }

/* Active nav items stay dark on gold bg */
[data-theme="gold"] .settings-nav-item.active,
[data-theme="gold"] .settings-nav-item.active * { color: #0B0B0B !important; }

[data-theme="gold"] .theme-card.active .theme-label,
[data-theme="gold"] .theme-card.active .theme-sub { color: #0B0B0B !important; }

[data-theme="gold"] .lang-btn.active,
[data-theme="gold"] .lang-btn.active * { color: #0B0B0B !important; }

[data-theme="gold"] .period-option.selected,
[data-theme="gold"] .period-option.selected * { color: #0B0B0B !important; }

/* Success/danger colors preserved */
[data-theme="gold"] .text-success { color: #4ade80 !important; }
[data-theme="gold"] .text-danger  { color: #f87171 !important; }
[data-theme="gold"] .text-warning { color: #fbbf24 !important; }
[data-theme="gold"] .stat-value.text-success { color: #4ade80 !important; }
[data-theme="gold"] .stat-value.text-danger  { color: #f87171 !important; }

/* Badge in progress cards */
[data-theme="gold"] .badge { color: #D4AF37 !important; }
[data-theme="gold"] .badge[style*="background: #28a745"],
[data-theme="gold"] .badge[style*="background: rgba(255,255,255"] { color: #ffffff !important; }

/* ============================================================
   PAGE CARDS / WRAPPERS – transparent background for all sections
   Overrides #1A1A1A defined in template inline styles (no !important there)
   ============================================================ */
[data-theme="gold"] .el-card, [data-theme="gold"] .el-stat, [data-theme="gold"] .el-rec-info-card,
[data-theme="gold"] .il-card, [data-theme="gold"] .il-stat,
[data-theme="gold"] .sv-card, [data-theme="gold"] .sv-stat, [data-theme="gold"] .sv-form-wrap,
[data-theme="gold"] .sg-form-wrap, [data-theme="gold"] .sg-list-card,
[data-theme="gold"] .nt-card, [data-theme="gold"] .nt-form-wrap,
[data-theme="gold"] .rc-card, [data-theme="gold"] .rc-stat, [data-theme="gold"] .rc-form-wrap, [data-theme="gold"] .rc-info-card,
[data-theme="gold"] .gl-card, [data-theme="gold"] .gl-stat, [data-theme="gold"] .gl-form-wrap, [data-theme="gold"] .gl-side-card, [data-theme="gold"] .gl-alloc-card, [data-theme="gold"] .gl-overall,
[data-theme="gold"] .ae-form-wrap, [data-theme="gold"] .ai-form-wrap,
[data-theme="gold"] .an-card, [data-theme="gold"] .an-stat, [data-theme="gold"] .an-pm-card,
[data-theme="gold"] .cal-card, [data-theme="gold"] .cal-stat, [data-theme="gold"] .cal-info-card,
[data-theme="gold"] .cd-card, [data-theme="gold"] .cd-stat,
[data-theme="gold"] .cm-card, [data-theme="gold"] .cms-card, [data-theme="gold"] .cms-stat,
[data-theme="gold"] .cu-card,
[data-theme="gold"] .ep-card, [data-theme="gold"] .ep-group, [data-theme="gold"] .ep-empty, [data-theme="gold"] .ep-month-bar,
[data-theme="gold"] .fi-form-wrap, [data-theme="gold"] .fi-info,
[data-theme="gold"] .it-card,
[data-theme="gold"] .ms-card, [data-theme="gold"] .ms-stat,
[data-theme="gold"] .db-card, [data-theme="gold"] .db-stat,
[data-theme="gold"] .st-card, [data-theme="gold"] .st-contact-item, [data-theme="gold"] .st-nav,
[data-theme="gold"] .tr-card, [data-theme="gold"] .tr-info-card, [data-theme="gold"] .tr-stat,
[data-theme="gold"] .acc-card, [data-theme="gold"] .acc-empty, [data-theme="gold"] .acc-form-wrap,
[data-theme="gold"] .ys-card, [data-theme="gold"] .ys-stat,
[data-theme="gold"] .cl-card, [data-theme="gold"] .cl-stat,
[data-theme="gold"] .as-modal, [data-theme="gold"] .ws-modal {
    background: transparent !important;
    border-color: rgba(212,175,55,.18) !important;
    box-shadow: none !important;
}

/* ============================================================
   ANALYTICS – tabs, icons, progress bars, filter buttons
   ============================================================ */
[data-theme="gold"] .an-tab { color: #9ca3af !important; }
[data-theme="gold"] .an-tab:hover { background: rgba(212,175,55,.1) !important; color: #D4AF37 !important; }
[data-theme="gold"] .an-tab.active { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; border-color: #D4AF37 !important; }
[data-theme="gold"] .an-tab.active i,
[data-theme="gold"] .an-tab.active .fas { color: #0B0B0B !important; }
[data-theme="gold"] .an-title-icon { background: transparent !important; color: #D4AF37 !important; }
[data-theme="gold"] .an-progress-bar { background: linear-gradient(90deg,#D4AF37,#b8962e) !important; }
[data-theme="gold"] .an-filter-btn { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .an-filter-btn i,
[data-theme="gold"] .an-filter-btn .fas { color: #0B0B0B !important; }
[data-theme="gold"] .an-filter-select:focus { border-color: #D4AF37 !important; box-shadow: 0 0 0 3px rgba(212,175,55,.25) !important; }
[data-theme="gold"] .an-stat--purple .an-stat-icon { background: transparent !important; color: #D4AF37 !important; }
[data-theme="gold"] .an-stat--purple .an-stat-value { color: #D4AF37 !important; }
[data-theme="gold"] .an-goal-item:hover { border-color: #D4AF37 !important; }
[data-theme="gold"] .an-goal-pct--prog { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .an-month-amount { color: #D4AF37 !important; }

/* Inline icon color override for analytics chart headers */
[data-theme="gold"] .an-card-title i[style*="color:#6366f1"],
[data-theme="gold"] .an-card-title i[style*="color: #6366f1"] { color: #D4AF37 !important; }

/* ============================================================
   GOALS – title icon, buttons, progress bars, stats
   ============================================================ */
[data-theme="gold"] .gl-title-icon { background: transparent !important; color: #D4AF37 !important; }
[data-theme="gold"] .gl-btn--primary { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .gl-save-alloc { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .gl-empty-link { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .gl-overall-fill { background: linear-gradient(90deg,#D4AF37,#b8962e) !important; }
[data-theme="gold"] .gl-progress-fill { background: linear-gradient(90deg,#D4AF37,#b8962e) !important; }
[data-theme="gold"] .gl-overall-pct { color: #D4AF37 !important; }
[data-theme="gold"] .gl-stat--purple .gl-stat-icon { background: transparent !important; color: #D4AF37 !important; }
[data-theme="gold"] .gl-stat--purple .gl-stat-value { color: #D4AF37 !important; }
[data-theme="gold"] .gl-alloc-inp:focus { border-color: #D4AF37 !important; box-shadow: 0 0 0 3px rgba(212,175,55,.25) !important; }
[data-theme="gold"] .gl-card:hover { border-color: #D4AF37 !important; box-shadow: 0 4px 16px rgba(212,175,55,.12) !important; }
[data-theme="gold"] .gl-action-btn:hover { border-color: #D4AF37 !important; color: #D4AF37 !important; }

/* Goals: missing buttons + modal */
[data-theme="gold"] .gl-btn--green { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .gl-modal-btn-save { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .gl-modal-input:focus { border-color: #D4AF37 !important; box-shadow: 0 0 0 3px rgba(212,175,55,.07) !important; }
/* Inline icon overrides inside goals */
[data-theme="gold"] .gl-alloc-title i[style*="color:#6366f1"],
[data-theme="gold"] .gl-chart-head i[style*="color:#6366f1"],
[data-theme="gold"] .gl-chart-head i[style*="color: #6366f1"] { color: #D4AF37 !important; }

/* Inline percentage text overrides in goals list */
[data-theme="gold"] span[style*="color:#6366f1"],
[data-theme="gold"] span[style*="color: #6366f1"] { color: #D4AF37 !important; }

/* ============================================================
   EXPENSES LIST – indigo header, frequency badge, blue btn
   ============================================================ */
[data-theme="gold"] .el-card-header-indigo { background: transparent !important; border-bottom: 1px solid rgba(212,175,55,.25) !important; }
[data-theme="gold"] .el-freq-badge { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .el-icon-btn.blue { color: #D4AF37 !important; border-color: rgba(212,175,55,.3) !important; }
[data-theme="gold"] .el-icon-btn.blue:hover { background: rgba(212,175,55,.1) !important; border-color: #D4AF37 !important; }

/* ============================================================
   INCOMES LIST – blue icon button
   ============================================================ */
[data-theme="gold"] .il-icon-btn.blue { color: #D4AF37 !important; border-color: rgba(212,175,55,.3) !important; }
[data-theme="gold"] .il-icon-btn.blue:hover { background: rgba(212,175,55,.1) !important; border-color: #D4AF37 !important; }

/* ============================================================
   CATEGORIES – title icon, add/submit buttons, empty state
   ============================================================ */
[data-theme="gold"] .ac-title-icon { background: transparent !important; color: #D4AF37 !important; }
[data-theme="gold"] .ac-submit { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .ac-submit:hover { background: linear-gradient(135deg,#e8c84a,#D4AF37) !important; box-shadow: 0 4px 18px rgba(212,175,55,.35) !important; }
[data-theme="gold"] .cl-title-icon { background: transparent !important; color: #D4AF37 !important; }
[data-theme="gold"] .cl-add-btn { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .cl-add-btn:hover { background: linear-gradient(135deg,#e8c84a,#D4AF37) !important; color: #0B0B0B !important; box-shadow: 0 4px 14px rgba(212,175,55,.35) !important; }
[data-theme="gold"] .cl-empty-icon { background: transparent !important; color: #D4AF37 !important; }
[data-theme="gold"] .cl-prio-submit { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .cl-prio-submit:hover { background: linear-gradient(135deg,#e8c84a,#D4AF37) !important; }

/* ============================================================
   SETTINGS – section icons, submit, nav active, inputs
   ============================================================ */
[data-theme="gold"] .st-section-title-icon { background: transparent !important; color: #D4AF37 !important; }
[data-theme="gold"] .st-submit { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .st-submit:hover { box-shadow: 0 4px 18px rgba(212,175,55,.35) !important; }
[data-theme="gold"] .st-nav-item.active { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; border-color: rgba(212,175,55,.3) !important; }
[data-theme="gold"] .st-nav-item.active i { color: #D4AF37 !important; }
[data-theme="gold"] .st-input:focus { border-color: #D4AF37 !important; box-shadow: 0 0 0 3px rgba(212,175,55,.15) !important; }
[data-theme="gold"] .st-theme-card:hover { border-color: #D4AF37 !important; box-shadow: 0 4px 12px rgba(212,175,55,.2) !important; }
[data-theme="gold"] .st-theme-card.active { border-color: #D4AF37 !important; background: rgba(212,175,55,.08) !important; box-shadow: 0 4px 15px rgba(212,175,55,.25) !important; }
[data-theme="gold"] .st-theme-card.active .st-theme-label { color: #D4AF37 !important; }
[data-theme="gold"] .st-lang-btn:hover { border-color: #D4AF37 !important; color: #D4AF37 !important; }
[data-theme="gold"] .st-lang-btn.active { background: rgba(212,175,55,.12) !important; border-color: #D4AF37 !important; color: #D4AF37 !important; }

/* ============================================================
   CALENDAR view_new – title icon, primary button, modal header
   ============================================================ */
[data-theme="gold"] .cal-title-icon { background: transparent !important; color: #D4AF37 !important; }
[data-theme="gold"] .cal-btn--primary { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; border-color: #D4AF37 !important; }
[data-theme="gold"] .cal-btn--primary:hover { box-shadow: 0 4px 14px rgba(212,175,55,.35) !important; border-color: #D4AF37 !important; }
[data-theme="gold"] .cal-btn--primary i,
[data-theme="gold"] .cal-btn--primary .fas,
[data-theme="gold"] .cal-btn--primary .far { color: #0B0B0B !important; }
[data-theme="gold"] .cal-btn--warn { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #fff !important; border-color: #D4AF37 !important; }
[data-theme="gold"] .cal-btn--warn i,
[data-theme="gold"] .cal-btn--warn .fas { color: #fff !important; }
[data-theme="gold"] .cal-btn--info { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #fff !important; border-color: #D4AF37 !important; }
[data-theme="gold"] .cal-btn--info i, [data-theme="gold"] .cal-btn--info .fas { color: #fff !important; }
[data-theme="gold"] .cal-btn--locked { background: rgba(212,175,55,.05) !important; color: rgba(212,175,55,.35) !important; border-color: rgba(212,175,55,.15) !important; cursor: default !important; }
/* Stat values → gold */
[data-theme="gold"] .cal-stat--red .cal-stat-value { color: #D4AF37 !important; }
/* Weekend day headers → gold tint */
[data-theme="gold"] .cal-day-hdr.weekend { background: rgba(212,175,55,.06) !important; color: rgba(212,175,55,.65) !important; }
/* Grid amount labels → gold */
[data-theme="gold"] .cal-exp-amt { color: #D4AF37 !important; }
[data-theme="gold"] .cal-inc-amt { color: #D4AF37 !important; }
/* Modal: payment badge, total separator, labels */
[data-theme="gold"] .cal-modal-item-pay { background: rgba(212,175,55,.1) !important; color: rgba(212,175,55,.65) !important; }
[data-theme="gold"] .cal-modal-total { border-top-color: rgba(212,175,55,.15) !important; }
[data-theme="gold"] .cal-modal-total-label { color: rgba(212,175,55,.55) !important; }
[data-theme="gold"] .cal-modal-empty { color: rgba(212,175,55,.35) !important; }
/* Modal: JS-injected inline color styles (section titles + amounts) */
[data-theme="gold"] .cal-modal-section-title[style*="color:#ef4444"],
[data-theme="gold"] .cal-modal-section-title[style*="color:#059669"] { color: #D4AF37 !important; }
[data-theme="gold"] .cal-modal-item-amount[style*="color:#ef4444"],
[data-theme="gold"] .cal-modal-item-amount[style*="color:#059669"] { color: #D4AF37 !important; }
[data-theme="gold"] .cal-modal-total-amount[style*="color:#ef4444"],
[data-theme="gold"] .cal-modal-total-amount[style*="color:#059669"] { color: #D4AF37 !important; }
/* Budget amount in stat card (JS-injected) */
[data-theme="gold"] .cal-stat-value span[style*="color:#059669"] { color: #D4AF37 !important; }
[data-theme="gold"] .cal-modal-header { background: linear-gradient(135deg,#2a1f00,#1A1A1A) !important; border-bottom: 1px solid rgba(212,175,55,.25) !important; }
[data-theme="gold"] .cal-modal-header-icon { background: rgba(212,175,55,.15) !important; color: #D4AF37 !important; }
[data-theme="gold"] .cal-modal-btn-add-exp,
[data-theme="gold"] .cal-modal-btn-add-inc { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .cal-info-head i[style*="color:#6366f1"],
[data-theme="gold"] .cal-info-head i[style*="color: #6366f1"],
[data-theme="gold"] .cal-card-title i[style*="color:#6366f1"],
[data-theme="gold"] .cal-card-title i[style*="color: #6366f1"] { color: #D4AF37 !important; }

/* ============================================================
   SAVINGS – purple stat cards
   ============================================================ */
[data-theme="gold"] .sv-stat--purple .sv-stat-icon { background: transparent !important; color: #D4AF37 !important; }
[data-theme="gold"] .sv-stat--purple .sv-stat-value { color: #D4AF37 !important; }

/* ============================================================
   RECURRING – yearly frequency badge
   ============================================================ */
[data-theme="gold"] .rc-freq--yearly { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }

/* ============================================================
   TRASH – empty link button, modal header
   ============================================================ */
[data-theme="gold"] .tr-empty-link { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .tr-modal-head { background: linear-gradient(135deg,#2a1f00,#1A1A1A) !important; border-bottom: 1px solid rgba(212,175,55,.25) !important; }

/* ============================================================
   DASHBOARD – greeting, goals, progress, badges, links
   ============================================================ */
[data-theme="gold"] .db-greeting span { color: #D4AF37 !important; }
[data-theme="gold"] .db-stat--blue .db-stat-icon { background: transparent !important; color: #D4AF37 !important; }
[data-theme="gold"] .db-stat--blue .db-stat-value { color: #D4AF37 !important; }
[data-theme="gold"] .db-count-badge--purple { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .db-goal-item:hover { border-color: #D4AF37 !important; }
[data-theme="gold"] .db-goal-pct--prog { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .db-progress-bar { background: linear-gradient(90deg,#D4AF37,#b8962e) !important; }
[data-theme="gold"] .db-goals-link { color: #D4AF37 !important; border-color: rgba(212,175,55,.25) !important; }
[data-theme="gold"] .db-goals-link:hover { background: rgba(212,175,55,.08) !important; color: #D4AF37 !important; }
[data-theme="gold"] .db-empty-link { background: rgba(212,175,55,.08) !important; color: #D4AF37 !important; border-color: rgba(212,175,55,.2) !important; }
[data-theme="gold"] .db-empty-link:hover { background: rgba(212,175,55,.14) !important; color: #D4AF37 !important; }

/* ============================================================
   ANALYTICS – blue/purple stat cards and badges
   ============================================================ */
[data-theme="gold"] .an-stat--blue .an-stat-icon { background: transparent !important; color: #D4AF37 !important; }
[data-theme="gold"] .an-stat--blue .an-stat-value { color: #D4AF37 !important; }
[data-theme="gold"] .an-badge--blue { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .an-badge--purple { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }

/* ============================================================
   APP ACCOUNTS – title icon, avatars, type badges, buttons
   ============================================================ */
[data-theme="gold"] .acc-title-icon { background: transparent !important; color: #D4AF37 !important; }
[data-theme="gold"] .acc-avatar--private { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .acc-type--private { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .acc-switch-active { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; border-color: rgba(212,175,55,.3) !important; }
[data-theme="gold"] .acc-switch-inactive:hover { border-color: #D4AF37 !important; color: #D4AF37 !important; }
[data-theme="gold"] .acc-add-tile:hover { color: #D4AF37 !important; }
[data-theme="gold"] .acc-add-tile:hover .acc-add-circle { background: #D4AF37 !important; color: #0B0B0B !important; }
[data-theme="gold"] .acc-add-tile:hover .acc-add-circle i,
[data-theme="gold"] .acc-add-tile:hover .acc-add-circle .fas { color: #0B0B0B !important; }
[data-theme="gold"] .acc-empty-icon { background: transparent !important; color: #D4AF37 !important; }
[data-theme="gold"] .acc-action-btn:hover { border-color: #D4AF37 !important; color: #D4AF37 !important; }
[data-theme="gold"] .acc-input:focus { border-color: #D4AF37 !important; box-shadow: 0 0 0 3px rgba(212,175,55,.15) !important; }
[data-theme="gold"] .acc-submit { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .acc-submit i,
[data-theme="gold"] .acc-submit .fas { color: #0B0B0B !important; }
[data-theme="gold"] .acc-submit:hover { box-shadow: 0 4px 14px rgba(212,175,55,.35) !important; }
[data-theme="gold"] .acc-type-opt.selected { border-color: #D4AF37 !important; background: rgba(212,175,55,.06) !important; }

/* ============================================================
   TRASH – goal type badge, preview button
   ============================================================ */
[data-theme="gold"] .tr-type--goal { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .tr-action-btn--preview:hover { border-color: #D4AF37 !important; color: #D4AF37 !important; }

/* ============================================================
   ALL STAT ICONS – override colored backgrounds/colors to gold
   Covers both CSS-class-defined and inline-style versions
   since !important wins over inline styles
   ============================================================ */
[data-theme="gold"] .an-stat-icon,
[data-theme="gold"] .cal-stat-icon,
[data-theme="gold"] .cd-stat-icon,
[data-theme="gold"] .cl-stat-icon,
[data-theme="gold"] .cms-stat-icon,
[data-theme="gold"] .db-stat-icon,
[data-theme="gold"] .el-stat-icon,
[data-theme="gold"] .gl-stat-icon,
[data-theme="gold"] .il-stat-icon,
[data-theme="gold"] .ms-stat-icon,
[data-theme="gold"] .rc-stat-icon,
[data-theme="gold"] .sv-stat-icon,
[data-theme="gold"] .ys-stat-icon {
    background: transparent !important;
    color: #D4AF37 !important;
}

/* ============================================================
   DASHBOARD QUICK-ADD & WELCOME SCREEN ICONS
   ============================================================ */
[data-theme="gold"] .as-type-icon,
[data-theme="gold"] .ws-option-icon {
    background: transparent !important;
    color: #D4AF37 !important;
}

/* ============================================================
   SETTINGS CARD HEAD ICONS
   ============================================================ */
[data-theme="gold"] .st-card-head-icon {
    background: transparent !important;
    color: #fff !important;
}

/* ============================================================
   EMPTY STATE ICONS
   ============================================================ */
[data-theme="gold"] .el-empty-icon,
[data-theme="gold"] .il-empty-icon {
    background: transparent !important;
    color: #D4AF37 !important;
}

/* ============================================================
   ALL PAGE TITLE ICONS – override every gradient to gold
   ============================================================ */
[data-theme="gold"] .el-title-icon,
[data-theme="gold"] .il-title-icon,
[data-theme="gold"] .ai-title-icon,
[data-theme="gold"] .ae-title-icon,
[data-theme="gold"] .fi-title-icon,
[data-theme="gold"] .it-title-icon,
[data-theme="gold"] .cd-title-icon,
[data-theme="gold"] .cm-title-icon,
[data-theme="gold"] .cms-title-icon,
[data-theme="gold"] .cu-title-icon,
[data-theme="gold"] .ep-title-icon,
[data-theme="gold"] .nt-title-icon,
[data-theme="gold"] .rc-title-icon,
[data-theme="gold"] .sg-title-icon,
[data-theme="gold"] .sv-title-icon,
[data-theme="gold"] .ys-title-icon,
[data-theme="gold"] .tr-title-icon,
[data-theme="gold"] .ms-title-icon {
    background: transparent !important;
    color: #D4AF37 !important;
}

/* ============================================================
   DASHBOARD – missing badge/text color overrides
   ============================================================ */
[data-theme="gold"] .db-count-badge--yellow { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .db-count-badge--green  { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .db-balance-hint--pos i { color: #D4AF37 !important; }
[data-theme="gold"] .db-balance-hint--neg i { color: #D4AF37 !important; }
[data-theme="gold"] .db-expense-amount       { color: #D4AF37 !important; }
[data-theme="gold"] .db-note-shopping-counter { color: #D4AF37 !important; }
[data-theme="gold"] .db-note-shopping-item   { color: #d1d5db !important; }
[data-theme="gold"] .db-note-shopping-item--done i { color: #D4AF37 !important; }
[data-theme="gold"] .db-notes-link { color: #D4AF37 !important; border-color: rgba(212,175,55,.2) !important; }
[data-theme="gold"] .db-notes-link:hover { background: rgba(212,175,55,.06) !important; color: #D4AF37 !important; }

/* ============================================================
   EXPENSES – recurring dot icon, row hover
   ============================================================ */
[data-theme="gold"] .el-rec-dot.active   { background: transparent !important; color: #D4AF37 !important; }
[data-theme="gold"] .el-rec-dot.inactive { background: transparent !important; color: #6b7280 !important; }
[data-theme="gold"] .el-rec-row:hover    { background: rgba(212,175,55,.03) !important; }

/* ============================================================
   CATEGORIES LIST – card-header, hover states, icon btns
   ============================================================ */
[data-theme="gold"] .cl-card-header { background: transparent !important; border-bottom: 1px solid rgba(212,175,55,.2) !important; }
[data-theme="gold"] .cl-card-header[style] { background: transparent !important; }
[data-theme="gold"] .cl-cat-toggle:hover { color: #D4AF37 !important; background: rgba(212,175,55,.08) !important; }
[data-theme="gold"] .cl-cat-toggle.open { color: #D4AF37 !important; }
[data-theme="gold"] .cl-category-row:hover { background: rgba(212,175,55,.03) !important; }
[data-theme="gold"] .cl-sub-row:hover { background: rgba(212,175,55,.025) !important; }
/* Amounts → gold */
[data-theme="gold"] .cl-cat-amount { color: #D4AF37 !important; }
[data-theme="gold"] .cl-sub-amount { color: #D4AF37 !important; }
/* Stat values with inline colors → gold */
[data-theme="gold"] .cl-stat-value[style*="color"] { color: #D4AF37 !important; }
/* Priority form labels and meta → muted gold */
[data-theme="gold"] .cl-prio-label { color: rgba(212,175,55,.55) !important; }
[data-theme="gold"] .cl-prio-meta { color: rgba(212,175,55,.45) !important; }
/* Input focus → gold ring */
[data-theme="gold"] .cl-prio-input:focus { border-color: #D4AF37 !important; box-shadow: 0 0 0 3px rgba(212,175,55,.07) !important; }
/* Sortable drag/ghost → dark */
[data-theme="gold"] .sortable-drag { background: #1A1A1A !important; box-shadow: 0 8px 28px rgba(0,0,0,.4) !important; }
[data-theme="gold"] .sortable-ghost .cl-category-row,
[data-theme="gold"] .sortable-ghost .cl-sub-row { background: rgba(212,175,55,.06) !important; }
[data-theme="gold"] .cl-icon-btn.blue { color: #D4AF37 !important; }
[data-theme="gold"] .cl-icon-btn.blue:hover { border-color: #D4AF37 !important; background: rgba(212,175,55,.06) !important; }
[data-theme="gold"] .cl-prio-input:focus { border-color: #D4AF37 !important; box-shadow: 0 0 0 3px rgba(212,175,55,.07) !important; }
[data-theme="gold"] .sortable-ghost .cl-category-row,
[data-theme="gold"] .sortable-ghost .cl-sub-row { background: rgba(212,175,55,.08) !important; }

/* Quick-add modal payment method buttons — see the consolidated
   quick-add block further down (search "QUICK-ADD MODAL header") for
   the full set of .qa-pm-btn / .qa-mode-btn overrides. */

/* ============================================================
   UNIVERSAL INLINE LINEAR-GRADIENT OVERRIDES
   Catches all inline style="background:linear-gradient(135deg,#XXXX"
   on modal headers, card headers, buttons, icon wrappers
   ============================================================ */
[data-theme="gold"] [style*="linear-gradient(135deg,#6366f1"],
[data-theme="gold"] [style*="linear-gradient(135deg,#4f46e5"],
[data-theme="gold"] [style*="linear-gradient(135deg,#ef4444"],
[data-theme="gold"] [style*="linear-gradient(135deg,#dc2626"],
[data-theme="gold"] [style*="linear-gradient(135deg,#10b981"],
[data-theme="gold"] [style*="linear-gradient(135deg,#059669"],
[data-theme="gold"] [style*="linear-gradient(135deg,#f59e0b"],
[data-theme="gold"] [style*="linear-gradient(135deg,#d97706"],
[data-theme="gold"] [style*="linear-gradient(135deg,#14b8a6"],
[data-theme="gold"] [style*="linear-gradient(135deg,#0891b2"],
[data-theme="gold"] [style*="linear-gradient(135deg,#3b82f6"],
[data-theme="gold"] [style*="linear-gradient(135deg,#2563eb"],
[data-theme="gold"] [style*="linear-gradient(135deg,#f97316"],
[data-theme="gold"] [style*="linear-gradient(135deg,#ea580c"],
[data-theme="gold"] [style*="linear-gradient(90deg,#3b82f6"] {
    background: linear-gradient(135deg,#D4AF37,#b8962e) !important;
    color: #0B0B0B !important;
}

/* ============================================================
   UNIVERSAL INLINE COLOR OVERRIDES
   Catches all remaining elements with hardcoded indigo colors
   ============================================================ */
[data-theme="gold"] [style*="color:#6366f1"] { color: #D4AF37 !important; }
[data-theme="gold"] [style*="color: #6366f1"] { color: #D4AF37 !important; }
[data-theme="gold"] [style*="background:rgba(99,102,241"] { background: transparent !important; }
[data-theme="gold"] [style*="background: rgba(99,102,241"] { background: transparent !important; }
/* Additional rgba color catches */
[data-theme="gold"] [style*="background:rgba(59,130,246"]  { background: transparent !important; }
[data-theme="gold"] [style*="background:rgba(239,68,68"]   { background: transparent !important; }
[data-theme="gold"] [style*="background:rgba(16,185,129"]  { background: transparent !important; }
[data-theme="gold"] [style*="background:rgba(245,158,11"]  { background: transparent !important; }
[data-theme="gold"] [style*="background:rgba(20,184,166"]  { background: transparent !important; }
[data-theme="gold"] [style*="background:rgba(249,115,22"]  { background: transparent !important; }
[data-theme="gold"] [style*="background:rgba(139,92,246"]  { background: transparent !important; }
[data-theme="gold"] [style*="background:rgba(107,114,128"] { background: transparent !important; }

/* ============================================================
   ANALYTICS – all color-variant badges, stat values, progress bars
   ============================================================ */
[data-theme="gold"] .an-badge--amber,
[data-theme="gold"] .an-badge--green,
[data-theme="gold"] .an-badge--red,
[data-theme="gold"] .an-badge--teal {
    background: rgba(212,175,55,.12) !important;
    color: #D4AF37 !important;
}
[data-theme="gold"] .an-stat--amber .an-stat-icon,
[data-theme="gold"] .an-stat--green .an-stat-icon,
[data-theme="gold"] .an-stat--red   .an-stat-icon,
[data-theme="gold"] .an-stat--teal  .an-stat-icon,
[data-theme="gold"] .an-stat--blue  .an-stat-icon {
    background: transparent !important;
    color: #D4AF37 !important;
}
[data-theme="gold"] .an-stat--amber .an-stat-value,
[data-theme="gold"] .an-stat--green .an-stat-value,
[data-theme="gold"] .an-stat--red   .an-stat-value,
[data-theme="gold"] .an-stat--teal  .an-stat-value,
[data-theme="gold"] .an-stat--blue  .an-stat-value {
    color: #D4AF37 !important;
}
[data-theme="gold"] .an-progress-bar--amber,
[data-theme="gold"] .an-progress-bar--green,
[data-theme="gold"] .an-progress-bar--red {
    background: linear-gradient(90deg,#D4AF37,#b8962e) !important;
}

/* ============================================================
   NOTES – all category badge color variants
   ============================================================ */
[data-theme="gold"] .nt-badge--general,
[data-theme="gold"] .nt-badge--idea,
[data-theme="gold"] .nt-badge--important,
[data-theme="gold"] .nt-badge--reminder,
[data-theme="gold"] .nt-badge--shopping {
    background: rgba(212,175,55,.12) !important;
    color: #D4AF37 !important;
}

/* ============================================================
   SAVINGS GOALS – badges, progress bars
   ============================================================ */
[data-theme="gold"] .sg-badge--amber,
[data-theme="gold"] .sg-badge--blue,
[data-theme="gold"] .sg-badge--green,
[data-theme="gold"] .sg-badge--gray,
[data-theme="gold"] .sg-badge--red {
    background: rgba(212,175,55,.12) !important;
    color: #D4AF37 !important;
}
[data-theme="gold"] .sg-progress-bar,
[data-theme="gold"] .sg-progress-bar--green,
[data-theme="gold"] .sg-progress-bar--red {
    background: linear-gradient(90deg,#D4AF37,#b8962e) !important;
}
/* Savings goals: submit btn + modal save btn */
[data-theme="gold"] .sg-submit { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .ws-modal-btn-save { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
/* Teal icon inline override */
[data-theme="gold"] i[style*="color:#14b8a6"],
[data-theme="gold"] i[style*="color: #14b8a6"] { color: #D4AF37 !important; }
/* Savings remaining/days-late override (ef4444 inline spans within savings) */
[data-theme="gold"] .sg-sum-value[style*="color:#ef4444"] { color: #D4AF37 !important; }
[data-theme="gold"] span[style*="color:#ef4444"] { color: #D4AF37 !important; }

/* ============================================================
   YEARLY SUMMARY – stat value colors
   ============================================================ */
[data-theme="gold"] .ys-stat--red   .ys-stat-value,
[data-theme="gold"] .ys-stat--blue  .ys-stat-value,
[data-theme="gold"] .ys-stat--amber .ys-stat-value,
[data-theme="gold"] .ys-stat--green .ys-stat-value { color: #D4AF37 !important; }

/* ============================================================
   MONTHLY SUMMARY – stat values, category amounts, row amounts
   ============================================================ */
[data-theme="gold"] .ms-stat--red    .ms-stat-value,
[data-theme="gold"] .ms-stat--blue   .ms-stat-value,
[data-theme="gold"] .ms-stat--amber  .ms-stat-value,
[data-theme="gold"] .ms-stat--green  .ms-stat-value,
[data-theme="gold"] .ms-stat--danger .ms-stat-value { color: #D4AF37 !important; }
[data-theme="gold"] .an-row-amount-g,
[data-theme="gold"] .an-row-amount-r { color: #D4AF37 !important; }
[data-theme="gold"] .an-goals-bar    { background: linear-gradient(90deg,#D4AF37,#b8962e) !important; }
[data-theme="gold"] .an-goal-item.done { border-color: rgba(212,175,55,.4) !important; background: rgba(212,175,55,.03) !important; }
[data-theme="gold"] .an-goal-pct--ok { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }

/* ============================================================
   CALENDAR VIEW – stat values, pills, weekend, exp total
   ============================================================ */
[data-theme="gold"] .cal-stat--green .cal-stat-value { color: #D4AF37 !important; }
[data-theme="gold"] .cal-pill--exp,
[data-theme="gold"] .cal-pill--inc { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .cal-day.weekend { background: rgba(212,175,55,.07) !important; border-color: rgba(212,175,55,.18) !important; }
[data-theme="gold"] .cal-day.weekend .cal-day-num { color: #D4AF37 !important; }

/* ============================================================
   CALENDAR DAY – stat values, amounts, badges, fill bar
   ============================================================ */
[data-theme="gold"] .cd-stat--red   .cd-stat-value,
[data-theme="gold"] .cd-stat--blue  .cd-stat-value,
[data-theme="gold"] .cd-stat--amber .cd-stat-value,
[data-theme="gold"] .cd-stat--green .cd-stat-value { color: #D4AF37 !important; }
[data-theme="gold"] .cd-row-amount,
[data-theme="gold"] .cd-cat-amount  { color: #D4AF37 !important; }
[data-theme="gold"] .cd-cat-fill    { background: linear-gradient(90deg,#D4AF37,#b8962e) !important; }
[data-theme="gold"] .cd-badge--important,
[data-theme="gold"] .cd-badge--recurring { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .cd-action-btn--del:hover { border-color: rgba(212,175,55,.5) !important; color: #D4AF37 !important; }

/* ============================================================
   CLOSED MONTHS – stat text colors, buttons, badges, amounts
   ============================================================ */
[data-theme="gold"] .cm-stat--exp,
[data-theme="gold"] .cm-stat--inc,
[data-theme="gold"] .cm-stat--bal-pos,
[data-theme="gold"] .cm-stat--bal-neg { color: #D4AF37 !important; }
[data-theme="gold"] .cm-count-badge { background: rgba(212,175,55,.1) !important; color: #D4AF37 !important; }
[data-theme="gold"] .cm-cal-btn i,
[data-theme="gold"] .cm-cal-btn .fas { color: #0B0B0B !important; }
[data-theme="gold"] .cm-empty-link i,
[data-theme="gold"] .cm-empty-link .fas { color: #0B0B0B !important; }

[data-theme="gold"] .cm-btn--summary,
[data-theme="gold"] .cm-btn--open {
    background: linear-gradient(135deg,#D4AF37,#b8962e) !important;
    color: #fff !important;
    border-color: #D4AF37 !important;
}
[data-theme="gold"] .cm-btn--summary i,
[data-theme="gold"] .cm-btn--summary .fas,
[data-theme="gold"] .cm-btn--open i,
[data-theme="gold"] .cm-btn--open .fas { color: #fff !important; }
[data-theme="gold"] .cm-btn--summary:hover,
[data-theme="gold"] .cm-btn--open:hover {
    background: linear-gradient(135deg,#c9a227,#a07828) !important;
    color: #fff !important;
}
[data-theme="gold"] .cms-stat--red    .cms-stat-value,
[data-theme="gold"] .cms-stat--green  .cms-stat-value,
[data-theme="gold"] .cms-stat--blue   .cms-stat-value,
[data-theme="gold"] .cms-stat--teal   .cms-stat-value,
[data-theme="gold"] .cms-stat--orange .cms-stat-value { color: #D4AF37 !important; }
[data-theme="gold"] .cms-cat-amount,
[data-theme="gold"] .cms-inc-amount { color: #D4AF37 !important; }

/* ============================================================
   EXPENSE PLANS – badges, pct colors, progress fills
   ============================================================ */
[data-theme="gold"] .ep-badge--over,
[data-theme="gold"] .ep-badge--warn { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .ep-group-pct--ok,
[data-theme="gold"] .ep-group-pct--warn,
[data-theme="gold"] .ep-group-pct--crit { color: #D4AF37 !important; }
[data-theme="gold"] .ep-child-spent--over { color: #D4AF37 !important; }
[data-theme="gold"] .ep-child-fill--ok,
[data-theme="gold"] .ep-child-fill--warn,
[data-theme="gold"] .ep-child-fill--crit { background: linear-gradient(90deg,#D4AF37,#b8962e) !important; }
[data-theme="gold"] .ep-month-label i { color: #D4AF37 !important; }
[data-theme="gold"] .ep-del-btn:hover { border-color: rgba(212,175,55,.5) !important; color: #D4AF37 !important; }

/* ============================================================
   GOALS – stat values, alloc badges, completed card, modal, fills
   ============================================================ */
[data-theme="gold"] .gl-stat--amber .gl-stat-value,
[data-theme="gold"] .gl-stat--blue  .gl-stat-value,
[data-theme="gold"] .gl-stat--green .gl-stat-value { color: #D4AF37 !important; }
[data-theme="gold"] .gl-alloc-sum--ok,
[data-theme="gold"] .gl-alloc-sum--over { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .gl-badge-done { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .gl-card.completed { border-color: rgba(212,175,55,.4) !important; background: rgba(212,175,55,.03) !important; }
[data-theme="gold"] .gl-modal-head { background: linear-gradient(135deg,#2a1f00,#1A1A1A) !important; border-bottom: 1px solid rgba(212,175,55,.25) !important; }
[data-theme="gold"] .gl-progress-fill--green,
[data-theme="gold"] .gl-progress-mini-fill { background: linear-gradient(90deg,#D4AF37,#b8962e) !important; }
[data-theme="gold"] .gl-tip i { color: #D4AF37 !important; }
[data-theme="gold"] .gl-action-btn--del:hover { border-color: rgba(212,175,55,.5) !important; color: #D4AF37 !important; }

/* ============================================================
   RECURRING – freq badges, stat values, status, active row
   ============================================================ */
[data-theme="gold"] .rc-freq--daily,
[data-theme="gold"] .rc-freq--weekly,
[data-theme="gold"] .rc-freq--monthly,
[data-theme="gold"] .rc-freq--custom,
[data-theme="gold"] .rc-freq--yearly { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .rc-stat--green  .rc-stat-value,
[data-theme="gold"] .rc-stat--orange .rc-stat-value,
[data-theme="gold"] .rc-stat--red    .rc-stat-value { color: #D4AF37 !important; }
[data-theme="gold"] .rc-status--active { background: rgba(212,175,55,.1) !important; color: #D4AF37 !important; }
[data-theme="gold"] .rc-row.active { border-left-color: #D4AF37 !important; }
[data-theme="gold"] .rc-monthly-total { color: #D4AF37 !important; }
[data-theme="gold"] .rc-status-toggle.on { border-color: #D4AF37 !important; background: rgba(212,175,55,.04) !important; }
[data-theme="gold"] .rc-action-btn:hover { border-color: #D4AF37 !important; color: #D4AF37 !important; }
[data-theme="gold"] .rc-action-btn--del:hover { border-color: rgba(212,175,55,.5) !important; color: #D4AF37 !important; }
/* Recurring: add/empty buttons + amount + icons */
[data-theme="gold"] .rc-add-btn { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .rc-empty-link { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; border: 1px solid #D4AF37 !important; outline: none !important; box-shadow: none !important; }
[data-theme="gold"] .rc-empty-link:focus,
[data-theme="gold"] .rc-empty-link:focus-visible { outline: none !important; box-shadow: 0 0 0 3px rgba(212,175,55,0.4) !important; }
[data-theme="gold"] .rc-amount { color: #D4AF37 !important; }
[data-theme="gold"] .rc-card-title i[style*="color:#f97316"] { color: #D4AF37 !important; }
[data-theme="gold"] .rc-info-hint i[style*="color:#f59e0b"] { color: #D4AF37 !important; }

/* ============================================================
   TRASH – type badges, expiry labels, item states, action btns
   ============================================================ */
[data-theme="gold"] .tr-type--expense,
[data-theme="gold"] .tr-type--income,
[data-theme="gold"] .tr-type--category,
[data-theme="gold"] .tr-type--limit { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .tr-expiry--safe,
[data-theme="gold"] .tr-expiry--warn,
[data-theme="gold"] .tr-expiry--danger { color: #D4AF37 !important; }
[data-theme="gold"] .tr-count-badge { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .tr-item--expiring { border-left-color: rgba(212,175,55,.5) !important; }
[data-theme="gold"] .tr-item--expired  { border-left-color: #D4AF37 !important; }
[data-theme="gold"] .tr-action-btn--del:hover,
[data-theme="gold"] .tr-action-btn--restore:hover { border-color: #D4AF37 !important; color: #D4AF37 !important; }

/* ============================================================
   INCOMES – income row dot
   ============================================================ */
[data-theme="gold"] .il-income-dot { background: transparent !important; color: #D4AF37 !important; }

/* ============================================================
   DASHBOARD – goal completed states, progress bars, pct badges
   ============================================================ */
[data-theme="gold"] .db-goal-item.completed { border-color: rgba(212,175,55,.4) !important; background: rgba(212,175,55,.03) !important; }
[data-theme="gold"] .db-goal-pct--ok,
[data-theme="gold"] .db-goal-pct--warn { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .db-progress-bar--green,
[data-theme="gold"] .db-progress-bar--red { background: linear-gradient(90deg,#D4AF37,#b8962e) !important; }
[data-theme="gold"] .db-stat--red  .db-stat-icon,
[data-theme="gold"] .db-stat--red  .db-stat-value,
[data-theme="gold"] .db-stat--green .db-stat-icon,
[data-theme="gold"] .db-stat--green .db-stat-value,
[data-theme="gold"] .db-stat--teal .db-stat-icon,
[data-theme="gold"] .db-stat--teal .db-stat-value { color: #D4AF37 !important; }

/* ============================================================
   NOTES – type option buttons, badges, shopping elements
   ============================================================ */
[data-theme="gold"] .nt-type-opt { border-color: rgba(212,175,55,.2) !important; background: transparent !important; }
[data-theme="gold"] .nt-type-opt:hover { border-color: #D4AF37 !important; }
[data-theme="gold"] .nt-type-opt.selected { border-color: #D4AF37 !important; background: rgba(212,175,55,.06) !important; }
[data-theme="gold"] .nt-type-opt i { color: #D4AF37 !important; }
[data-theme="gold"] .nt-count-badge  { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .nt-shopping-count { background: rgba(212,175,55,.1) !important; color: #D4AF37 !important; }
[data-theme="gold"] .nt-add-item-btn { border-color: #D4AF37 !important; color: #D4AF37 !important; }

/* ============================================================
   SAVINGS – goal completed, tx dots, monthly badge
   ============================================================ */
[data-theme="gold"] .sv-goal-card.completed { border-color: rgba(212,175,55,.4) !important; background: rgba(212,175,55,.03) !important; }
[data-theme="gold"] .sv-tx-dot--dep,
[data-theme="gold"] .sv-tx-dot--with,
[data-theme="gold"] .sv-tx-dot--alloc { background: transparent !important; color: #D4AF37 !important; }
[data-theme="gold"] .sg-monthly-badge { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }

/* ============================================================
   APP ACCOUNTS – avatar variants, status, type badges, toggle
   ============================================================ */
[data-theme="gold"] .acc-avatar--business,
[data-theme="gold"] .acc-avatar--shared { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .acc-type--business,
[data-theme="gold"] .acc-type--shared { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .acc-status--active { background: rgba(212,175,55,.1) !important; color: #D4AF37 !important; }
[data-theme="gold"] .acc-toggle.on { border-color: #D4AF37 !important; background: rgba(212,175,55,.04) !important; }

/* ============================================================
   CURRENCY – toggle active state, last update badge
   ============================================================ */
[data-theme="gold"] .cu-toggle-wrap.on { border-color: #D4AF37 !important; background: rgba(212,175,55,.04) !important; }
[data-theme="gold"] .cu-last-update { background: rgba(212,175,55,.1) !important; color: #D4AF37 !important; }

/* ============================================================
   FIXED INCOMES – toggle active state, info item icon
   ============================================================ */
[data-theme="gold"] .fi-toggle.on { border-color: #D4AF37 !important; background: rgba(212,175,55,.04) !important; }
[data-theme="gold"] .fi-info-item i { color: #D4AF37 !important; }

/* ============================================================
   INCOME TYPES – count badge, info box
   ============================================================ */
[data-theme="gold"] .it-count-badge { background: rgba(212,175,55,.12) !important; color: #D4AF37 !important; }
[data-theme="gold"] .it-info { border-color: rgba(212,175,55,.2) !important; background: rgba(212,175,55,.04) !important; }
[data-theme="gold"] .it-info i { color: #D4AF37 !important; }

/* ============================================================
   EXPENSES – card headers → transparent like dashboard
   ============================================================ */
[data-theme="gold"] .el-card-header-red {
    background: transparent !important;
    border-bottom: 1px solid rgba(212,175,55,.2) !important;
}

/* ============================================================
   INCOMES – card header → transparent + all remaining
   ============================================================ */
[data-theme="gold"] .il-card-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(212,175,55,.2) !important;
}
/* Income amount → gold */
[data-theme="gold"] .il-amount { color: #D4AF37 !important; }
[data-theme="gold"] .il-amount-sub { color: rgba(212,175,55,.5) !important; }
/* Stat values with inline colors → gold */
[data-theme="gold"] .il-stat-value[style*="color"] { color: #D4AF37 !important; }
/* Row hover → gold tint */
[data-theme="gold"] .il-income-row:hover { background: rgba(212,175,55,.03) !important; }
/* Fixed income banner → gold */
[data-theme="gold"] .il-fixed-banner { background: rgba(212,175,55,.05) !important; border-color: rgba(212,175,55,.2) !important; }
[data-theme="gold"] .il-fixed-banner-text { color: rgba(212,175,55,.85) !important; }
[data-theme="gold"] .il-fixed-banner-btn { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
/* Filter label → muted gold */
[data-theme="gold"] .il-filter-label { color: rgba(212,175,55,.55) !important; }
/* Payment method badges → muted gold text */
[data-theme="gold"] .il-pm-badge { color: rgba(212,175,55,.7) !important; }
/* Pagination border */
[data-theme="gold"] .il-pagination { border-top-color: rgba(212,175,55,.1) !important; }

/* ============================================================
   SAVINGS GOALS – form head → transparent
   ============================================================ */
[data-theme="gold"] .sg-form-head {
    background: transparent !important;
    border-bottom: 1px solid rgba(212,175,55,.2) !important;
}
[data-theme="gold"] .sg-form-head-icon {
    background: rgba(212,175,55,.15) !important;
    color: #D4AF37 !important;
}
[data-theme="gold"] .sg-form-head-title { color: #fff !important; }

/* ============================================================
   QUICK-ADD MODAL header (base.html) – dark
   Uses #qaModalHeader (ID selector) instead of the old
   [style*="linear-gradient(135deg,#ef4444"] attribute match, because
   the expense/income toggle rewrites the inline background on the fly
   — an attribute-substring match would stop matching after switching
   to income mode and fall back to unstyled red/green.
   ============================================================ */
[data-theme="gold"] #qaModalHeader {
    background: linear-gradient(135deg,#2a1f00,#1A1A1A) !important;
    border-bottom: 1px solid rgba(212,175,55,.25) !important;
}

/* Expense/income mode toggle pills */
[data-theme="gold"] .qa-mode-btn {
    border-color: rgba(212,175,55,.3) !important;
    background: transparent !important;
    color: rgba(212,175,55,.6) !important;
}
[data-theme="gold"] .qa-mode-btn.active {
    border-color: #D4AF37 !important;
    background: rgba(212,175,55,.15) !important;
    color: #D4AF37 !important;
}

/* Payment method pills (card / cash / both) */
[data-theme="gold"] .qa-pm-btn {
    border-color: rgba(212,175,55,.25) !important;
    background: transparent !important;
    color: rgba(212,175,55,.55) !important;
}
[data-theme="gold"] .qa-pm-btn.active {
    border-color: #D4AF37 !important;
    background: rgba(212,175,55,.15) !important;
    color: #D4AF37 !important;
}

/* "Add category" / "Add income type" links */
[data-theme="gold"] #quickAddCategoryLink,
[data-theme="gold"] #quickAddIncomeTypeLink {
    color: #D4AF37 !important;
}

/* Submit button — same gold treatment for both expense and income */
[data-theme="gold"] #quickAddSubmitBtn {
    background: linear-gradient(135deg,#D4AF37,#b8962e) !important;
    color: #0B0B0B !important;
}

/* ============================================================
   ALL MODAL HEADERS (.ws-header, .as-header) – dark like dashboard
   Covers: expenses/add, incomes/add, categories modals, dashboard
   ============================================================ */
[data-theme="gold"] .ws-header,
[data-theme="gold"] .as-header {
    background: linear-gradient(135deg,#2a1f00,#1A1A1A) !important;
    border-bottom: 1px solid rgba(212,175,55,.25) !important;
}
[data-theme="gold"] .ws-header-icon,
[data-theme="gold"] .as-header-icon {
    background: rgba(212,175,55,.15) !important;
    color: #D4AF37 !important;
}

/* ============================================================
   SAVINGS GOALS MODAL / EDIT MODAL – dark like dashboard
   ============================================================ */
[data-theme="gold"] .ws-modal-header {
    background: linear-gradient(135deg,#2a1f00,#1A1A1A) !important;
    border-bottom: 1px solid rgba(212,175,55,.25) !important;
}
[data-theme="gold"] .ws-modal-header-icon {
    background: rgba(212,175,55,.15) !important;
    color: #D4AF37 !important;
}

/* ============================================================
   ADD BUTTONS – czarne tło zamiast złotego gradientu
   ============================================================ */
[data-theme="gold"] .el-btn-primary {
    background: #111 !important;
    color: #D4AF37 !important;
    border: 1.5px solid rgba(212,175,55,.4) !important;
}
[data-theme="gold"] .el-btn-primary:hover {
    background: #1a1a1a !important;
    border-color: #D4AF37 !important;
}
[data-theme="gold"] .il-btn-primary {
    background: #111 !important;
    color: #D4AF37 !important;
    border: 1.5px solid rgba(212,175,55,.4) !important;
}
[data-theme="gold"] .il-btn-primary:hover {
    background: #1a1a1a !important;
    border-color: #D4AF37 !important;
}

/* ============================================================
   COLLAPSE / FOLD BUTTONS – przezroczyste z gold border
   (nagłówki są teraz ciemne/transparentne, więc czarny by
    znikał — gold border czyni je widocznymi)
   ============================================================ */
[data-theme="gold"] .el-collapse-btn,
[data-theme="gold"] .il-collapse-btn,
[data-theme="gold"] .cl-collapse-btn {
    background: transparent !important;
    border: 1px solid rgba(212,175,55,.4) !important;
    color: #D4AF37 !important;
}
[data-theme="gold"] .el-collapse-btn:hover,
[data-theme="gold"] .il-collapse-btn:hover,
[data-theme="gold"] .cl-collapse-btn:hover {
    background: rgba(212,175,55,.1) !important;
    border-color: #D4AF37 !important;
}

/* ============================================================
   CATEGORIES – icon btn color variants → gold
   ============================================================ */
[data-theme="gold"] .cl-icon-btn.green { color: #D4AF37 !important; }
[data-theme="gold"] .cl-icon-btn.green:hover { border-color: #D4AF37 !important; background: rgba(212,175,55,.06) !important; }
[data-theme="gold"] .cl-icon-btn.red { color: #D4AF37 !important; }
[data-theme="gold"] .cl-icon-btn.red:hover { border-color: #D4AF37 !important; background: rgba(212,175,55,.06) !important; }
[data-theme="gold"] .el-icon-btn.red { color: #D4AF37 !important; }
[data-theme="gold"] .el-icon-btn.red:hover { border-color: #D4AF37 !important; background: rgba(212,175,55,.06) !important; }
[data-theme="gold"] .il-icon-btn.red { color: #D4AF37 !important; }
[data-theme="gold"] .il-icon-btn.red:hover { border-color: #D4AF37 !important; background: rgba(212,175,55,.06) !important; }

/* ============================================================
   SAVINGS OVERVIEW – stat variants, badges, form icons, buttons
   ============================================================ */
[data-theme="gold"] .sv-stat--amber .sv-stat-icon,
[data-theme="gold"] .sv-stat--blue  .sv-stat-icon,
[data-theme="gold"] .sv-stat--green .sv-stat-icon,
[data-theme="gold"] .sv-stat--red   .sv-stat-icon {
    background: transparent !important;
    color: #D4AF37 !important;
}
[data-theme="gold"] .sv-stat--amber .sv-stat-value,
[data-theme="gold"] .sv-stat--blue  .sv-stat-value,
[data-theme="gold"] .sv-stat--green .sv-stat-value,
[data-theme="gold"] .sv-stat--red   .sv-stat-value {
    color: #D4AF37 !important;
}
[data-theme="gold"] .sv-badge--amber,
[data-theme="gold"] .sv-badge--blue,
[data-theme="gold"] .sv-badge--green,
[data-theme="gold"] .sv-badge--gray,
[data-theme="gold"] .sv-badge--red {
    background: rgba(212,175,55,.12) !important;
    color: #D4AF37 !important;
}
[data-theme="gold"] .sv-form-head-icon--red,
[data-theme="gold"] .sv-form-head-icon--teal {
    background: transparent !important;
    color: #D4AF37 !important;
}
[data-theme="gold"] .sv-submit--red,
[data-theme="gold"] .sv-submit--teal {
    background: linear-gradient(135deg,#D4AF37,#b8962e) !important;
    color: #0B0B0B !important;
}
[data-theme="gold"] .sv-progress-bar,
[data-theme="gold"] .sv-progress-bar--green,
[data-theme="gold"] .sv-progress-bar--red {
    background: linear-gradient(90deg,#D4AF37,#b8962e) !important;
}
/* Savings overview amber hint text */
[data-theme="gold"] [style*="color:#f59e0b"] { color: #D4AF37 !important; }

/* ============================================================
   ANALYTICS – remaining inline icon colors
   Global broad catch-alls for i/span with inline color styles
   ============================================================ */
[data-theme="gold"] i[style*="color:#10b981"],
[data-theme="gold"] i[style*="color: #10b981"] { color: #D4AF37 !important; }
[data-theme="gold"] i[style*="color:#ef4444"],
[data-theme="gold"] i[style*="color: #ef4444"] { color: #D4AF37 !important; }
[data-theme="gold"] i[style*="color:#6366f1"],
[data-theme="gold"] i[style*="color: #6366f1"] { color: #D4AF37 !important; }
[data-theme="gold"] span[style*="color:#059669"],
[data-theme="gold"] span[style*="color: #059669"] { color: #D4AF37 !important; }

/* ============================================================
   NOTES – add button, submit, form focus states, period opts
   ============================================================ */
[data-theme="gold"] .nt-add-btn { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .nt-add-btn:hover { box-shadow: 0 4px 14px rgba(212,175,55,.35) !important; }
[data-theme="gold"] .nt-action-btn:hover { border-color: #D4AF37 !important; color: #D4AF37 !important; }
[data-theme="gold"] .nt-action-btn--del:hover { border-color: #D4AF37 !important; color: #D4AF37 !important; }
[data-theme="gold"] .nt-submit { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .nt-submit i,
[data-theme="gold"] .nt-submit .fas { color: #0B0B0B !important; }
[data-theme="gold"] .nt-textarea:focus { border-color: #D4AF37 !important; box-shadow: 0 0 0 3px rgba(212,175,55,.07) !important; }
[data-theme="gold"] .nt-input:focus { border-color: #D4AF37 !important; box-shadow: 0 0 0 3px rgba(212,175,55,.07) !important; }
[data-theme="gold"] .nt-shopping-inp:focus { border-color: #D4AF37 !important; }
[data-theme="gold"] .nt-period-opt:hover { border-color: #D4AF37 !important; }
[data-theme="gold"] .nt-period-opt.selected { border-color: #D4AF37 !important; background: rgba(212,175,55,.06) !important; color: #D4AF37 !important; }
[data-theme="gold"] .nt-shopping-item input[type="checkbox"] { accent-color: #D4AF37; }
[data-theme="gold"] .nt-shopping-del { color: #D4AF37 !important; }

/* ============================================================
   CALENDAR DETAIL – add button, empty link, cat fill
   ============================================================ */
[data-theme="gold"] .cd-btn--add { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .cd-empty-link { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }

/* ============================================================
   CLOSED MONTHS – empty link, open button
   ============================================================ */
[data-theme="gold"] .cm-empty-link { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .cms-btn--open { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #fff !important; }
[data-theme="gold"] .cms-btn--open i, [data-theme="gold"] .cms-btn--open .fas { color: #fff !important; }

/* ============================================================
   CURRENCY – update, convert, result, save buttons
   ============================================================ */
[data-theme="gold"] .cu-update-btn { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .cu-conv-btn { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .cu-save-btn { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .cu-update-btn i, [data-theme="gold"] .cu-update-btn .fas,
[data-theme="gold"] .cu-conv-btn i, [data-theme="gold"] .cu-conv-btn .fas,
[data-theme="gold"] .cu-save-btn i, [data-theme="gold"] .cu-save-btn .fas { color: #0B0B0B !important; }
[data-theme="gold"] .cu-result { background: linear-gradient(135deg,#2a1f00,#1A1A1A) !important; border: 1px solid rgba(212,175,55,.25) !important; color: #D4AF37 !important; }

/* ============================================================
   EXPENSE PLANS – submit, month load button
   ============================================================ */
[data-theme="gold"] .ep-submit { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .ep-month-load { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }

/* ============================================================
   FIXED INCOMES + INCOME TYPES – submit, add buttons
   ============================================================ */
[data-theme="gold"] .fi-submit { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .it-add-btn { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }

/* ============================================================
   GOALS – submit button (add/edit form)
   ============================================================ */
[data-theme="gold"] .gl-submit { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }

/* ============================================================
   RECURRING – submit button
   ============================================================ */
[data-theme="gold"] .rc-submit { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }

/* ============================================================
   TRASH – batch restore bar, pagination active, modal restore
   ============================================================ */
[data-theme="gold"] .tr-select-all input[type="checkbox"] { accent-color: #D4AF37; }
[data-theme="gold"] .tr-batch-restore { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
[data-theme="gold"] .tr-page-btn.active { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; border-color: #D4AF37 !important; color: #0B0B0B !important; }
[data-theme="gold"] .tr-modal-restore { background: linear-gradient(135deg,#D4AF37,#b8962e) !important; color: #0B0B0B !important; }
