@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Prompt:wght@300;400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/remixicon@3.5.0/fonts/remixicon.css');

:root {
    /* Main Layout */
    --bg-main: #f3f4f6; /* slightly cooler light gray */
    --bg-panel: #ffffff;
    --border-color: #e5e7eb;
    
    /* Typography */
    --text-main: #1f2937;
    --text-muted: #6b7280;
    
    /* Branding Accents */
    --accent-primary: #3b82f6;
    --accent-hover: #2563eb;
    
    /* Status Colors */
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-orange: #f97316;
    --accent-purple: #8b5cf6;
    
    /* Sidebar (Dark Navy Theme) */
    --sb-bg: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --sb-text: #94a3b8;
    --sb-text-hover: #ffffff;
    --sb-active-bg: rgba(255,255,255,0.08);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

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

body {
    font-family: 'Prompt', 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--sb-bg);
    border-right: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: 4px 0 15px rgba(0,0,0,0.05);
    color: white;
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
}

.brand i {
    color: #60a5fa;
    font-size: 2.2rem;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.4));
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    color: var(--sb-text);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.nav-links a i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--sb-text-hover);
    background: var(--sb-active-bg);
}

.nav-links a:hover i {
    transform: translateX(3px);
}

.nav-links a.active {
    color: var(--sb-text-hover);
    background: linear-gradient(90deg, var(--sb-active-bg) 0%, transparent 100%);
    box-shadow: inset 4px 0 0 #60a5fa;
    font-weight: 600;
    border-radius: 0 10px 10px 0;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s ease;
    cursor: pointer;
}
.user-profile:hover {
    background: rgba(0,0,0,0.3);
}

.user-profile img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
}

.user-info h4 {
    font-size: 0.95rem;
    color: #f8fafc;
    margin-bottom: 2px;
}

.user-info p {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2.5rem 3.5rem;
    overflow-y: auto;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.header-top h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

/* Cards */
.card-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: transparent;
    transition: 0.3s ease;
}

.stat-card.accent-purple::before { background: linear-gradient(90deg, #c084fc, #8b5cf6); }
.stat-card.accent-red::before { background: linear-gradient(90deg, #f87171, #ef4444); }
.stat-card.accent-green::before { background: linear-gradient(90deg, #34d399, #10b981); }

.stat-card h3 {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-card h2 {
    font-size: clamp(1.3rem, 5vw, 1.6rem); /* Dynamic scaling */
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-card.accent-purple .icon-wrap { background: #f3e8ff; color: #7e22ce; }
.stat-card.accent-green .icon-wrap { background: #d1fae5; color: #047857; }
.stat-card.accent-red .icon-wrap { background: #fee2e2; color: #b91c1c; }

.icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.5);
}

/* Charts & Lists Area */
.grid-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.panel {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-md);
}

.panel h3 {
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 1rem;
    color: var(--text-main);
}

/* Table */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

th, td {
    padding: 1.2rem 1rem;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f8fafc;
}

th:first-child { border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
th:last-child { border-top-right-radius: 8px; border-bottom-right-radius: 8px; }

tr {
    transition: background-color 0.2s ease;
}

tr:hover td {
    background: #f8fafc;
}

.badge {
    display: inline-block;
    white-space: nowrap;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge.income { background: #d1fae5; color: #047857; }
.badge.expense { background: #fee2e2; color: #b91c1c; }

/* Buttons & Inputs */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: normal; /* Fix vertical alignment */
}

.btn i {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(37, 99, 235, 0.3);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: var(--text-main);
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px; /* Prevent iOS zoom on focus */
    transition: all 0.2s ease;
    -webkit-appearance: none;
    appearance: none; /* standard property */
}

.form-control:focus {
    outline: none;
    background: #ffffff;
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15); 
}

/* Modal */
.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 100;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--bg-panel);
    padding: 2.5rem;
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(30px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.grid-input {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

/* Specific Tablet and iPad Adjustments (Up to iPad Pro) */
@media (min-width: 769px) and (max-width: 1180px) {
    .sidebar { width: 220px; padding: 1.5rem 1rem; }
    .main-content { padding: 2rem; }
    .header-top h1 { font-size: 1.6rem; }
    .card-row { grid-template-columns: repeat(2, 1fr); } 
    .btn { padding: 0.6rem 1rem; font-size: 0.9rem; }
    .panel { padding: 1.25rem 1.5rem; }
    
    /* Make material links better on iPad */
    .material-links { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); width: 100%; }
}

/* Responsive / Mobile Optimization */
@media (max-width: 768px) {
    body { flex-direction: column; }
    
    .sidebar {
        width: 100%;
        position: fixed;
        bottom: 0; left: 0;
        z-index: 1000;
        flex-direction: row;
        padding: 0.5rem 1rem env(safe-area-inset-bottom);
        height: calc(75px + env(safe-area-inset-bottom));
        background: #0f172a;
        border-right: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
    }
    
    .brand, .user-profile { display: none !important; }
    
    .nav-links {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        gap: 0;
    }
    
    .nav-links a {
        flex-direction: column;
        padding: 0.6rem 0.5rem;
        font-size: 0.75rem;
        gap: 0.3rem;
        border-radius: 12px;
        text-align: center;
        white-space: nowrap;
        background: transparent !important;
        min-width: 70px;
    }
    
    .nav-links a i { font-size: 1.6rem; transform: none !important; }
    
    .nav-links a.active {
        color: #60a5fa !important;
        box-shadow: none !important;
        background: rgba(59, 130, 246, 0.1) !important;
    }

    .hide-mobile { display: none !important; }
    
    .main-content {
        padding: 1.5rem 1.2rem;
        margin-bottom: calc(75px + env(safe-area-inset-bottom));
    }
    
    .grid-2, .grid-input { grid-template-columns: 1fr; }
    
    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }

    .header-top h1 { font-size: 1.75rem; }
    
    .card-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }
    
    .btn { width: 100%; justify-content: center; min-height: 52px; padding: 0.5rem; }

    /* Fix Dashboard amount scaling */
    .stat-card { padding: 1.25rem; }
    .stat-card h2 { font-size: 1.4rem; }

    /* Modern Table-to-Card transformation for small screens */
    table#tx-table, table#tx-table thead, table#tx-table tbody, table#tx-table th, table#tx-table td, table#tx-table tr,
    table#mat-table, table#mat-table thead, table#mat-table tbody, table#mat-table th, table#mat-table td, table#mat-table tr { 
        display: block; 
    }
    
    table#tx-table thead tr, table#mat-table thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    table#tx-table tr, table#mat-table tr {
        background: var(--bg-panel);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        margin-bottom: 1.5rem;
        padding: 1rem;
        box-shadow: var(--shadow-sm);
    }
    
    table#tx-table td, table#mat-table td {
        border: none;
        border-bottom: 1px solid #f1f5f9;
        position: relative;
        padding-left: 45%;
        text-align: right;
        min-height: 45px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    table#tx-table td:last-child, table#mat-table td:last-child { border-bottom: none; }
    
    table#tx-table td:before, table#mat-table td:before {
        position: absolute;
        left: 1rem;
        width: 40%;
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
        color: var(--text-muted);
        font-size: 0.8rem;
        content: attr(data-label);
    }

    .modal-content { margin: 1rem; padding: 1.5rem; border-radius: 20px; width: calc(100% - 2rem); }
}

/* New Budget Categories Designs */
#expense-cats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    #expense-cats {
        grid-template-columns: 1fr;
    }
}

.cat-item {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-blue);
}

.over-budget-card {
    border-left: 5px solid #ef4444;
}

.cat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.cat-main-info h3 {
    margin: 0 0 6px 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

.cat-stats-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.dot-separator {
    color: #cbd5e1;
}

.cat-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.action-icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    background: #f8fafc;
    color: var(--text-muted);
}

.action-icon-btn.edit:hover { background: #dbeafe; color: var(--accent-blue); }
.action-icon-btn.delete:hover { background: #fee2e2; color: #ef4444; }

.badge-danger {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid #fecaca;
}

/* Progress Bar */
.cat-progress-container {
    width: 100%;
    height: 10px;
    background: #f1f5f9;
    border-radius: 12px;
    margin: 1.5rem 0;
    overflow: hidden;
    position: relative;
}

.cat-progress-bar {
    height: 100%;
    border-radius: 12px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* Budget Input Configuration Section */
.cat-budget-config {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border-color);
    gap: 2rem;
}

.budget-label-group {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
}

.budget-label-group i {
    font-size: 1.4rem;
    color: var(--accent-blue);
}

.budget-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Standard desktop scaling for amounts scaling */
.currency-symbol {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1.1rem;
}

.budget-input-field {
    width: 200px;
    padding: 12px 14px 12px 36px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    text-align: right;
    transition: all 0.2s;
    background: #fbfcfe;
}

.budget-input-field:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background: white;
}

@media (max-width: 768px) {
    .cat-budget-config {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .budget-input-wrapper, .budget-input-field {
        width: 100%;
    }
}

/* Receipt Images */
.receipt-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: transform 0.2s;
}
.receipt-thumb:hover {
    transform: scale(1.1);
}
.image-preview-container {
    margin-top: 1rem;
    padding: 10px;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    text-align: center;
    position: relative;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#image-preview {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    display: none;
    margin-bottom: 10px;
}
.preview-placeholder {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.btn-remove-img {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* ==========================================================================
   📱 Responsive Mobile List Layout & Summary Table
   ========================================================================== */

@media (min-width: 769px) {
    .hide-desktop { display: none !important; }
}

@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
    #tx-table { display: none !important; }
}

/* Mobile List Cards */
.mobile-tx-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.mobile-tx-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

.mobile-tx-card:active {
    transform: scale(0.98);
}

.tx-card-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.tx-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.tx-icon.income {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.tx-icon.expense {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
}

.tx-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.tx-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tx-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tx-payment-tag {
    font-size: 0.7rem;
    color: var(--accent-primary);
    background: rgba(59, 130, 246, 0.08);
    padding: 2px 6px;
    border-radius: 6px;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 3px;
}

.tx-payment-tag.cash {
    color: #64748b;
    background: #f1f5f9;
}

.tx-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
    flex-shrink: 0;
}

.tx-amount {
    font-weight: 700;
    font-size: 0.95rem;
}

.tx-amount.income {
    color: var(--accent-green);
}

.tx-amount.expense {
    color: var(--accent-red);
}

.tx-receipt-indicator {
    font-size: 0.75rem;
    color: var(--accent-primary);
    cursor: pointer;
    background: rgba(59, 130, 246, 0.08);
    padding: 2px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.tx-actions {
    display: flex;
    gap: 0.4rem;
}

.action-btn {
    border: none;
    background: transparent;
    padding: 6px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.action-btn.edit {
    background: rgba(59, 130, 246, 0.08);
    color: var(--accent-primary);
}

.action-btn.edit:hover {
    background: rgba(59, 130, 246, 0.15);
}

.action-btn.delete {
    background: rgba(239, 68, 68, 0.08);
    color: var(--accent-red);
}

.action-btn.delete:hover {
    background: rgba(239, 68, 68, 0.15);
}

/* Account Summary Table styles */
.summary-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.summary-table-wrap {
    overflow-x: auto;
}

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

.summary-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border-color);
}

.summary-table td {
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
}

.dot-income { color: var(--accent-green); font-size: 1rem; margin-right: 5px; line-height: 1; }
.dot-expense { color: var(--accent-red); font-size: 1rem; margin-right: 5px; line-height: 1; }

/* Budget Range Slider Styling */
.budget-slider-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 6px;
    background: #e2e8f0;
    outline: none;
    transition: background 0.2s;
    margin: 8px 0;
}
.budget-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: inherit;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.1s ease;
    border: 2px solid #fff;
}
.budget-slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}
.budget-slider-input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: inherit;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.1s ease;
}
.budget-slider-input::-moz-range-thumb:hover {
    transform: scale(1.25);
}

