.app-layout{display:flex;min-height:100vh}.sidebar{width:240px;background:#1e1b4b;color:#fff;display:flex;flex-direction:column;position:fixed;top:0;left:0;bottom:0;z-index:100}.sidebar-header{padding:24px 20px 16px;border-bottom:1px solid rgba(255,255,255,.1)}.logo{font-size:1.5rem;font-weight:700;margin:0;letter-spacing:-.02em}.logo-sub{font-size:.75rem;color:#ffffff80;margin:4px 0 0}.sidebar-nav{padding:12px 8px;display:flex;flex-direction:column;gap:4px;flex:1}.sidebar-user{display:flex;align-items:center;gap:10px;padding:16px;border-top:1px solid rgba(255,255,255,.1)}.sidebar-user-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;flex-shrink:0}.sidebar-user-info{display:flex;flex-direction:column;min-width:0}.sidebar-user-name{font-size:.85rem;font-weight:600;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-user-email{font-size:.7rem;color:#ffffff80;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-link{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:8px;color:#ffffffb3;text-decoration:none;font-size:.875rem;font-weight:500;transition:all .15s ease}.nav-link:hover{background:#ffffff1a;color:#fff}.nav-link--active{background:#ffffff26;color:#fff}.nav-icon{font-size:1.1rem}.main-content{flex:1;margin-left:240px;padding:32px;background:#f8fafc;min-height:100vh}@media(max-width:768px){.sidebar{width:100%;position:fixed;inset:auto 0 0;height:auto;flex-direction:row}.sidebar-header{display:none}.sidebar-nav{flex-direction:row;justify-content:space-around;width:100%;padding:8px}.nav-link{flex-direction:column;gap:4px;padding:8px;font-size:.7rem}.nav-label{font-size:.65rem}.main-content{margin-left:0;margin-bottom:72px;padding:16px}}.dashboard{max-width:1200px}.page-title{font-size:1.5rem;font-weight:700;margin:0 0 24px;color:#1e293b}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.summary-card{background:#fff;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:4px;box-shadow:0 1px 3px #0000000f;border-left:4px solid transparent}.summary-card--total{border-left-color:#4f46e5}.summary-card--income{border-left-color:#059669}.summary-card--expense{border-left-color:#dc2626}.summary-card--net{border-left-color:#0891b2}.summary-label{font-size:.8rem;color:#64748b;font-weight:500;text-transform:uppercase;letter-spacing:.05em}.summary-value{font-size:1.5rem;font-weight:700;color:#1e293b}.summary-detail{font-size:.75rem;color:#94a3b8}.chart-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:16px}.chart-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 1px 3px #0000000f}.chart-title{font-size:.95rem;font-weight:600;color:#334155;margin:0 0 16px}.recent-list{display:flex;flex-direction:column;gap:12px}.recent-item{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid #f1f5f9}.recent-item:last-child{border-bottom:none}.recent-icon{font-size:1.3rem}.recent-info{flex:1;display:flex;flex-direction:column}.recent-desc{font-size:.875rem;font-weight:500;color:#334155}.recent-date{font-size:.75rem;color:#94a3b8}.recent-amount{font-size:.875rem;font-weight:600}.amount-positive{color:#059669}.amount-negative{color:#dc2626}@media(max-width:768px){.chart-grid{grid-template-columns:1fr}}.transactions-page{max-width:900px}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.transaction-form{background:#fff;border-radius:12px;padding:20px;margin-bottom:20px;box-shadow:0 1px 3px #0000000f;display:flex;flex-direction:column;gap:12px}.form-row{display:flex;gap:12px;flex-wrap:wrap}.form-group{display:flex;flex-direction:column;gap:4px;flex:1;min-width:150px}.form-group--wide{flex:2}.form-group label{font-size:.8rem;font-weight:600;color:#475569}.form-group input,.form-group select{padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;background:#f8fafc;color:#1e293b}.form-group input:focus,.form-group select:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 2px #4f46e526}.filters{display:flex;gap:12px;margin-bottom:16px;flex-wrap:wrap}.search-input{flex:1;min-width:200px;padding:8px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;background:#fff}.search-input:focus{outline:none;border-color:#4f46e5}.filter-select{padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;background:#fff;color:#1e293b}.transaction-list{display:flex;flex-direction:column;gap:2px}.transaction-row{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fff;border-radius:8px;box-shadow:0 1px 2px #0000000a}.transaction-row:hover{background:#f8fafc}.txn-icon{font-size:1.3rem}.txn-info{flex:1;display:flex;flex-direction:column}.txn-desc{font-size:.875rem;font-weight:500;color:#1e293b}.txn-meta{font-size:.75rem;color:#94a3b8}.txn-category-tag{font-size:.7rem;font-weight:600;padding:2px 8px;background:#f1f5f9;border-radius:9999px;color:#64748b;white-space:nowrap}.txn-amount{font-size:.9rem;font-weight:600;min-width:90px;text-align:right}.btn-icon{background:none;border:none;cursor:pointer;font-size:1.2rem;color:#94a3b8;padding:4px 8px;border-radius:4px}.btn-icon:hover{color:#ef4444;background:#fef2f2}.empty-state{text-align:center;padding:40px;color:#94a3b8;font-size:.875rem}.budgets-page{max-width:800px}.budget-form{background:#fff;border-radius:12px;padding:20px;margin-bottom:20px;box-shadow:0 1px 3px #0000000f;display:flex;flex-direction:column;gap:12px}.budget-list{display:flex;flex-direction:column;gap:12px}.budget-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 1px 3px #0000000f}.budget-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.budget-cat{display:flex;align-items:center;gap:10px}.budget-icon{font-size:1.5rem}.budget-name{display:block;font-weight:600;font-size:.95rem;color:#1e293b}.budget-period{font-size:.75rem;color:#94a3b8;text-transform:capitalize}.budget-actions{display:flex;gap:8px}.btn-sm{padding:4px 10px;font-size:.75rem;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#475569;cursor:pointer}.btn-sm:hover{background:#f1f5f9}.btn-sm--danger{color:#ef4444;border-color:#fecaca}.btn-sm--danger:hover{background:#fef2f2}.budget-amounts{display:flex;align-items:baseline;gap:6px;margin-bottom:8px}.budget-spent{font-size:1.2rem;font-weight:700;color:#1e293b}.over-budget{color:#ef4444}.budget-limit{font-size:.8rem;color:#94a3b8}.budget-bar-bg{height:8px;border-radius:4px;background:#f1f5f9;overflow:hidden;margin-bottom:6px}.budget-bar-fill{height:100%;border-radius:4px;transition:width .3s ease}.budget-bar--over{animation:pulse 1.5s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.budget-remaining{font-size:.75rem;color:#64748b}.accounts-page{max-width:900px}.total-balance-banner{background:linear-gradient(135deg,#4f46e5,#7c3aed);border-radius:12px;padding:24px;color:#fff;display:flex;flex-direction:column;gap:4px;margin-bottom:20px}.tbb-label{font-size:.8rem;opacity:.8;text-transform:uppercase;letter-spacing:.05em}.tbb-value{font-size:2rem;font-weight:700}.account-form{background:#fff;border-radius:12px;padding:20px;margin-bottom:20px;box-shadow:0 1px 3px #0000000f;display:flex;flex-direction:column;gap:12px}.color-picker{display:flex;gap:8px;padding-top:4px}.color-dot{width:28px;height:28px;border-radius:50%;border:2px solid transparent;cursor:pointer;transition:transform .15s}.color-dot:hover{transform:scale(1.15)}.color-dot--selected{border-color:#1e293b;box-shadow:0 0 0 2px #fff,0 0 0 4px #1e293b}.account-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}.account-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 1px 3px #0000000f;border-top:4px solid #4F46E5;display:flex;flex-direction:column;gap:8px}.acc-header{display:flex;align-items:center;justify-content:space-between}.acc-icon{font-size:1.5rem}.acc-type{font-size:.7rem;font-weight:600;text-transform:uppercase;color:#94a3b8;letter-spacing:.05em}.acc-name{font-size:1rem;font-weight:600;color:#1e293b;margin:0}.acc-balance{font-size:1.4rem;font-weight:700;color:#1e293b}.acc-actions{display:flex;gap:8px;margin-top:4px}.settings-page{max-width:600px}.settings-section{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #0000000f;margin-bottom:24px}.settings-section-title{font-size:1.1rem;font-weight:700;color:#1e293b;margin:0 0 16px}.user-profile-header{display:flex;align-items:center;gap:16px;margin-bottom:20px;padding:16px;background:#f8fafc;border-radius:10px}.user-avatar-large{width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:700;flex-shrink:0}.user-profile-info{display:flex;flex-direction:column;gap:2px;min-width:0}.user-profile-name{font-weight:600;color:#1e293b;font-size:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-profile-email{font-size:.85rem;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.logout-button{width:100%;padding:10px;background:#fff;color:#dc2626;border:1px solid #fecaca;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:background .15s}.logout-button:hover{background:#fef2f2}.settings-section label{font-weight:600;color:#1e293b;display:block;margin-bottom:4px}.settings-section p{font-size:.85rem;color:#64748b;margin:0 0 12px}.currency-select{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:.95rem;color:#1e293b;background:#fff}.currency-select:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.currency-preview{margin-top:16px;padding:16px;background:#f8fafc;border-radius:8px;text-align:center}.currency-preview-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;display:block;margin-bottom:4px}.currency-preview-value{font-size:1.5rem;font-weight:700;color:#1e293b}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1e1b4b,#312e81);padding:16px}.auth-card{background:#fff;border-radius:16px;padding:40px;width:100%;max-width:420px;box-shadow:0 20px 60px #0000004d}.auth-header{text-align:center;margin-bottom:32px}.auth-logo{font-size:2rem;font-weight:700;color:#1e1b4b;margin:0;letter-spacing:-.02em}.auth-subtitle{font-size:.85rem;color:#64748b;margin:4px 0 0}.auth-title{font-size:1.25rem;font-weight:600;color:#1e293b;margin:0 0 24px;text-align:center}.auth-error{background:#fef2f2;color:#dc2626;padding:12px 16px;border-radius:8px;font-size:.875rem;margin-bottom:16px;border:1px solid #fecaca}.auth-form{display:flex;flex-direction:column;gap:16px}.auth-field label{display:block;font-weight:600;color:#1e293b;font-size:.875rem;margin-bottom:6px}.auth-field input{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:.95rem;color:#1e293b;background:#fff;box-sizing:border-box;transition:border-color .15s,box-shadow .15s}.auth-field input:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.auth-submit{width:100%;padding:12px;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:opacity .15s;margin-top:8px}.auth-submit:hover{opacity:.9}.auth-submit:disabled{opacity:.6;cursor:not-allowed}.auth-switch{text-align:center;margin-top:24px;font-size:.875rem;color:#64748b}.auth-switch a{color:#4f46e5;text-decoration:none;font-weight:600}.auth-switch a:hover{text-decoration:underline}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;line-height:1.5;color:#1e293b}body{background:#f8fafc;min-height:100vh}.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:8px;font-size:.85rem;font-weight:600;border:none;cursor:pointer;transition:all .15s ease}.btn-primary{background:#4f46e5;color:#fff}.btn-primary:hover{background:#4338ca}.btn-secondary{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}.btn-secondary:hover{background:#e2e8f0}::selection{background:#4f46e533}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}
