:root{color:#1f2937;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f7fb;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#f5f7fb;min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}#root{width:100%;min-height:100vh}body{color:#1f2937;background:#f5f7fb}a{color:#4f46e5;font-weight:500}a:hover{color:#3730a3}button{color:#fff;background:#4f46e5;border:none;border-radius:8px;padding:10px 16px;font-weight:600;transition:all .2s}button:hover{background:#3730a3}button:disabled{opacity:.6;cursor:not-allowed}.dashboard{background:#f5f7fb;min-height:100vh}.dashboard-header{background:#fff;border-bottom:1px solid #e5e7eb;align-items:center;gap:20px;padding:24px 40px;display:flex;box-shadow:0 2px 8px #0000000a}.dashboard-header>div{margin-right:auto}.dashboard-header h1{color:#111827;margin:0 0 5px;font-size:28px}.dashboard-header p{color:#6b7280}.dashboard-header a{border-radius:8px;padding:10px 14px}.dashboard-header .add-button{color:#fff;background:#4f46e5}.dashboard-header .add-button:hover{background:#3730a3}.dashboard-header button{background:#ef4444}.dashboard-header button:hover{background:#dc2626}.dashboard main{max-width:1200px;margin:0 auto;padding:40px 24px}.summary-grid{grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:32px;display:grid}.summary-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:24px;box-shadow:0 4px 12px #0000000a}.summary-card span{color:#6b7280;font-size:14px}.summary-card h2{color:#111827;margin:8px 0 0;font-size:28px}.recent-section{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:28px;box-shadow:0 4px 12px #0000000a}.section-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.section-header h2{color:#111827;margin:0}.expense-list{flex-direction:column;display:flex}.expense-item{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:18px 0;display:flex}.expense-item:last-child{border-bottom:none}.expense-item h3{color:#111827;margin:0 0 5px;font-size:16px}.expense-item p{color:#6b7280;margin:0;font-size:14px}.expense-item strong{color:#111827;font-size:17px}.loading{text-align:center;color:#6b7280;padding:30px}.error-message{color:#b91c1c;background:#fee2e2;border-radius:8px;margin-bottom:20px;padding:12px 16px}.empty-state{text-align:center;padding:40px 20px}.empty-state h3{color:#111827;margin-bottom:8px}.empty-state p{color:#6b7280;margin-bottom:16px}.form-page{background:#f5f7fb;justify-content:center;align-items:center;min-height:100vh;padding:40px 20px;display:flex}.form-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;width:100%;max-width:500px;padding:32px;box-shadow:0 8px 24px #0000000f}.form-card h1{color:#111827;margin-bottom:8px}.form-card>p{color:#6b7280;margin-bottom:24px}.form-card form{flex-direction:column;gap:10px;display:flex}.form-card label{color:#374151;margin-top:8px;font-weight:600}.form-card input,.form-card select,.form-card textarea{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;padding:11px 12px}.form-card input:focus,.form-card select:focus,.form-card textarea:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.form-card textarea{resize:vertical;min-height:100px}.form-card button{margin-top:12px}@media (width<=800px){.dashboard-header{flex-wrap:wrap;padding:20px}.dashboard-header>div{width:100%;margin-right:0}.summary-grid{grid-template-columns:1fr}.dashboard main{padding:24px 16px}.recent-section{padding:20px}}@media (width<=500px){.dashboard-header{flex-direction:column;align-items:stretch}.dashboard-header>div{width:auto}.dashboard-header a,.dashboard-header button{text-align:center;width:100%}.section-header{align-items:flex-start;gap:10px}.expense-item{gap:15px}.form-card{padding:24px 18px}}.auth-page{background:#f5f7fb;justify-content:center;align-items:center;min-height:100vh;padding:30px 20px;display:flex}.auth-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;width:100%;max-width:420px;padding:36px;box-shadow:0 10px 30px #00000014}.auth-card h1{text-align:center;color:#4f46e5;margin:0 0 8px;font-size:32px}.auth-card h2{text-align:center;color:#111827;margin:0 0 8px;font-size:24px}.auth-card>p{text-align:center;color:#6b7280;margin-bottom:28px}.auth-card form{flex-direction:column;gap:10px;display:flex}.auth-card label{color:#374151;margin-top:8px;font-weight:600}.auth-card input{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;padding:12px 14px}.auth-card input:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.auth-card input::placeholder{color:#9ca3af}.auth-card button{color:#fff;background:#4f46e5;border-radius:8px;width:100%;margin-top:14px;padding:12px;font-weight:600}.auth-card button:hover{background:#3730a3}.auth-card button:disabled{opacity:.6;cursor:not-allowed}.success-message{color:#166534;background:#dcfce7;border-radius:8px;margin-bottom:20px;padding:12px 16px;font-size:14px}.expenses-page{max-width:1100px;min-height:100vh;margin:0 auto;padding:40px 24px}.expenses-header{background:#fff;border:1px solid #e5e7eb;border-radius:14px;justify-content:space-between;align-items:center;margin-bottom:24px;padding:24px 28px;display:flex;box-shadow:0 4px 12px #0000000a}.expenses-header h1{color:#111827;margin:0 0 5px}.expenses-header p{color:#6b7280;margin:0}.expenses-header .add-button{color:#fff;background:#4f46e5;border-radius:8px;padding:11px 16px}.expenses-header .add-button:hover{background:#3730a3}.expenses-list{gap:16px;display:grid}.expense-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:22px;box-shadow:0 3px 10px #0000000a}.expense-card h3{color:#111827;margin:0 0 10px;font-size:19px}.expense-card p{color:#6b7280;margin:6px 0}.expense-card p:first-of-type{color:#4f46e5;font-size:20px;font-weight:700}.expense-card button,.expense-card .edit-button{border-radius:7px;margin-top:14px;margin-right:8px;padding:9px 14px;font-size:14px;display:inline-block}.expense-card .edit-button{color:#3730a3;background:#e0e7ff}.expense-card .edit-button:hover{background:#c7d2fe}.expense-card .delete-button{color:#b91c1c;background:#fee2e2}.expense-card .delete-button:hover{background:#fecaca}.expense-card hr{display:none}@media (width<=600px){.expenses-page{padding:24px 16px}.expenses-header{flex-direction:column;align-items:stretch;gap:18px}.expenses-header .add-button{text-align:center}}.categories-page{max-width:900px;min-height:100vh;margin:0 auto;padding:40px 24px}.categories-header{background:#fff;border:1px solid #e5e7eb;border-radius:14px;margin-bottom:24px;padding:24px 28px;box-shadow:0 4px 12px #0000000a}.categories-header h1{color:#111827;margin:0 0 5px}.categories-header p{color:#6b7280;margin:0}.category-form{background:#fff;border:1px solid #e5e7eb;border-radius:12px;gap:12px;margin-bottom:20px;padding:20px;display:flex}.category-form input,.category-card input{border:1px solid #d1d5db;border-radius:8px;outline:none;flex:1;padding:11px 12px}.category-form input:focus,.category-card input:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.category-list{gap:12px;display:grid}.category-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:12px;padding:18px 20px;display:flex;box-shadow:0 3px 10px #0000000a}.category-name{color:#111827;flex:1;font-weight:600}.category-actions{gap:8px;display:flex}.category-card .edit-button{color:#3730a3;background:#e0e7ff}.category-card .edit-button:hover{background:#c7d2fe}.category-card .delete-button{color:#b91c1c;background:#fee2e2}.category-card .delete-button:hover{background:#fecaca}.category-card .save-button{background:#16a34a}.category-card .save-button:hover{background:#15803d}.category-card .cancel-button{background:#6b7280}.category-card .cancel-button:hover{background:#4b5563}@media (width<=600px){.categories-page{padding:24px 16px}.category-form{flex-direction:column}.category-form button{width:100%}.category-card{flex-wrap:wrap}.category-actions{width:100%}.category-actions button{flex:1}.category-card input{flex-basis:100%;width:100%}}
