:root { --primary:#0f172a; --accent:#2563eb; --bg:#f8fafc; --text-main:#1e293b; --text-muted:#64748b; --success-emerald:#10b981; }
body { background:var(--bg); font-family:'Plus Jakarta Sans',sans-serif; color:var(--text-main); padding-bottom:30px; overflow-x:hidden; }
.header-app { padding:30px 0 20px; text-align:center; }
.header-app h1 { font-weight:800; font-size:1.4rem; color:var(--primary); letter-spacing:-0.5px; }
.header-app h1 span { color:var(--accent); }
.nav-custom { background:#fff; border-radius:20px; padding:6px; margin-bottom:25px; border:1px solid rgba(0,0,0,0.04); box-shadow:0 4px 15px rgba(0,0,0,0.03); }
.nav-custom .nav-link { border-radius:15px; color:var(--text-muted); font-weight:700; font-size:0.85rem; border:none; padding:12px; transition:0.3s; }
.nav-custom .nav-link.active { background:var(--primary) !important; color:#fff !important; box-shadow:0 8px 16px rgba(15,23,42,0.15); }
.glass-card { background:#fff; border-radius:28px; padding:25px; margin-bottom:18px; border:1px solid rgba(0,0,0,0.02); box-shadow:0 10px 30px -5px rgba(0,0,0,0.05); }
.balance-card { background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%); color:white; border-radius:28px; padding:30px; margin-bottom:20px; text-align:center; box-shadow:0 15px 35px -10px rgba(15,23,42,0.3); }
.balance-card h2 { font-weight:800; font-size:1.8rem; margin-top:8px; }
.wallet-wrapper { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.balance-info { color:var(--success-emerald); font-size:0.75rem; font-weight:800; background:rgba(16,185,129,0.1); padding:4px 12px; border-radius:10px; }
.form-label-custom { font-size:0.7rem; font-weight:800; color:var(--text-muted); text-transform:uppercase; margin-bottom:8px; display:block; }
.form-control,.form-select { border-radius:16px; border:1.5px solid #f1f5f9; padding:14px; font-size:0.95rem; background:#f8fafc; font-weight:600; }
.btn-main { background:var(--primary); color:#fff; border-radius:18px; padding:18px; font-weight:800; width:100%; border:none; box-shadow:0 10px 20px rgba(15,23,42,0.2); }
.trx-item-wrapper { position:relative; overflow:hidden; border-radius:20px; margin-bottom:12px; touch-action:pan-y; background:transparent; }
.slide-action { position:absolute; top:0; bottom:0; width:100px; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:0.75rem; color:white; z-index:1; opacity:0; visibility:hidden; transition:opacity 0.2s; }
.action-edit { left:0; background:var(--accent); border-radius:20px 0 0 20px; }
.action-delete { right:0; background:#ef4444; border-radius:0 20px 20px 0; }
.trx-card-old { position:relative; z-index:2; display:flex; align-items:center; background:#fff; border-radius:20px; padding:18px; margin-bottom:0 !important; border-left:6px solid; transition:transform 0.25s cubic-bezier(0.2,0.8,0.2,1); }
.cat-icon-box { width:45px; height:45px; border-radius:14px; display:flex; align-items:center; justify-content:center; margin-right:15px; font-size:1.2rem; }
.cat-item { display:flex; align-items:center; padding:15px 0; border-bottom:1px solid #f1f5f9; }
.progress-wrap { height:7px; background:#f1f5f9; border-radius:10px; overflow:hidden; margin-top:8px; }
.progress-bar-fill { height:100%; border-radius:10px; }
.filter-pills { display:flex; gap:10px; padding:5px 0 20px; justify-content:center; overflow-x:auto; scrollbar-width:none; }
.btn-pill { border-radius:14px; border:1px solid #e2e8f0; background:#fff; font-size:0.75rem; font-weight:700; padding:10px 18px; color:var(--text-muted); transition:0.2s; }
.btn-pill.active { background:var(--primary); color:#fff; border-color:var(--primary); box-shadow:0 4px 12px rgba(0,0,0,0.1); }
.toggle-stats { background:#fff; border-radius:16px; padding:5px; display:flex; margin-bottom:20px; border:1px solid #e2e8f0; }
.toggle-stats button { flex:1; border:none; padding:12px; border-radius:12px; font-weight:800; font-size:0.8rem; background:transparent; color:var(--text-muted); transition:0.3s; }
.toggle-stats button.active { background:var(--primary); color:#fff; box-shadow:0 5px 15px rgba(15,23,42,0.2); }
#loader { position:fixed; inset:0; background:rgba(255,255,255,0.8); z-index:9999; display:none; justify-content:center; align-items:center; backdrop-filter:blur(4px); }
.footer-app { padding:25px 0; text-align:center; }
.footer-app p { font-size:0.7rem; font-weight:800; color:var(--text-muted); opacity:0.7; }
.toast-container { z-index:10000; bottom:40px !important; }
.toast { width:max-content !important; margin:0 auto !important; border-radius:16px !important; background:#0f172a !important; color:#fff !important; border:none !important; box-shadow:0 10px 25px rgba(0,0,0,0.2); }
.toast-body { padding:12px 20px !important; font-size:0.85rem; }
.date-input-container { position:relative; width:100%; }
input[type="date"].form-control { color:transparent; position:relative; }
input[type="date"].form-control:focus, input[type="date"].form-control:valid { color:var(--text-main); }
input[type="date"].form-control::before { content:attr(placeholder); position:absolute; left:14px; color:var(--text-muted); pointer-events:none; }
input[type="date"].form-control:focus::before, input[type="date"].form-control:valid::before { display:none !important; }
