@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap";*{box-sizing:border-box;margin:0;padding:0}:root{color:#172033;background:#f4f7fb;font-family:DM Sans,sans-serif}body{min-width:320px;min-height:100vh}button,input{font-family:inherit}button{cursor:pointer}a{text-decoration:none}.auth-page{background:radial-gradient(circle at 0 0,#e4efff,#0000 30%),radial-gradient(circle at 100% 100%,#e9e1ff,#0000 35%),#f5f7fb;justify-content:center;align-items:center;min-height:100vh;padding:30px;display:flex;position:relative;overflow:hidden}.auth-background{filter:blur(80px);opacity:.3;border-radius:999px;position:absolute}.auth-background-one{background:#47f;width:300px;height:300px;top:-120px;left:-100px}.auth-background-two{background:#9b6cff;width:350px;height:350px;bottom:-160px;right:-100px}.auth-container{z-index:2;background:#ffffffeb;border:1px solid #ffffffb3;border-radius:30px;grid-template-columns:1.05fr .95fr;width:min(1080px,100%);min-height:650px;display:grid;position:relative;overflow:hidden;box-shadow:0 30px 80px #1525491f}.auth-brand-panel{color:#fff;background:linear-gradient(145deg,#121f47 0%,#1b3c83 55%,#4169e1 100%);flex-direction:column;justify-content:space-between;padding:48px;display:flex;position:relative;overflow:hidden}.auth-brand-panel:after{content:"";border:1px solid #ffffff24;border-radius:50%;width:350px;height:350px;position:absolute;bottom:-80px;right:-170px}.brand-logo,.mobile-logo{align-items:center;gap:10px;font-family:Manrope,sans-serif;font-size:22px;font-weight:800;display:flex}.brand-content{z-index:2;position:relative}.brand-badge{letter-spacing:1.3px;background:#ffffff1a;border:1px solid #ffffff2b;border-radius:50px;margin-bottom:28px;padding:9px 14px;font-size:11px;font-weight:700;display:inline-block}.brand-content h1{letter-spacing:-2.4px;max-width:480px;margin-bottom:24px;font-family:Manrope,sans-serif;font-size:clamp(42px,5vw,62px);line-height:1.08}.brand-content h1 span{color:#8fafff}.brand-content>p{color:#d5e0fa;max-width:490px;font-size:15px;line-height:1.8}.brand-stats{grid-template-columns:repeat(3,1fr);gap:15px;margin-top:50px;display:grid}.brand-stats div{background:#ffffff12;border:1px solid #ffffff1a;border-radius:15px;padding:16px}.brand-stats strong,.brand-stats span{display:block}.brand-stats strong{margin-bottom:4px;font-size:15px}.brand-stats span{color:#bfcbea;font-size:12px}.auth-form-panel{justify-content:center;align-items:center;padding:60px;display:flex}.auth-form{width:100%;max-width:390px}.mobile-logo{color:#315ad8;margin-bottom:35px;display:none}.auth-eyebrow{color:#4a6de5;letter-spacing:1.2px;margin-bottom:10px;font-size:12px;font-weight:800}.auth-form h2{letter-spacing:-1px;margin-bottom:9px;font-family:Manrope,sans-serif;font-size:31px}.auth-subtitle{color:#7b8497;margin-bottom:32px;font-size:14px}.form-group{margin-bottom:19px}.form-group label{color:#445069;margin-bottom:8px;font-size:13px;font-weight:600;display:block}.form-group input{background:#fbfcfe;border:1px solid #dce2ec;border-radius:12px;outline:none;width:100%;padding:14px 15px;font-size:14px;transition:all .2s}.form-group input:focus{background:#fff;border-color:#5376ea;box-shadow:0 0 0 4px #5376ea1a}.password-field{position:relative}.password-field input{padding-right:48px}.password-field button{color:#8892a7;background:0 0;border:none;padding:5px;position:absolute;top:50%;right:11px;transform:translateY(-50%)}.primary-button{color:#fff;background:linear-gradient(135deg,#355fdc,#5279ed);border:none;border-radius:12px;width:100%;margin-top:7px;padding:14px;font-size:14px;font-weight:700;transition:all .2s;box-shadow:0 10px 20px #355fdc38}.primary-button:hover{transform:translateY(-1px);box-shadow:0 13px 25px #355fdc4a}.primary-button:disabled{opacity:.65;cursor:not-allowed}.auth-switch{text-align:center;color:#798397;margin-top:24px;font-size:13px}.auth-switch a{color:#3963df;font-weight:700}.error-message{color:#c43a49;background:#fff0f1;border:1px solid #ffd3d7;border-radius:10px;margin-bottom:20px;padding:12px 14px;font-size:13px}.demo-account{color:#717c91;background:#f5f7fc;border-radius:12px;margin-top:28px;padding:13px 15px;font-size:12px}.demo-account strong{color:#4b5870;margin-bottom:5px;display:block}.demo-account span{margin-top:2px;display:block}.temporary-dashboard{background:#f4f7fb;justify-content:center;align-items:center;min-height:100vh;display:flex}.temporary-dashboard>div{text-align:center;background:#fff;border-radius:20px;padding:50px;box-shadow:0 20px 45px #1426501a}.temporary-dashboard h1{margin-bottom:15px}.temporary-dashboard p{margin-bottom:10px}.temporary-dashboard button{color:#fff;background:#315ad8;border:none;border-radius:10px;margin-top:20px;padding:12px 24px}@media (width<=800px){.auth-container{grid-template-columns:1fr}.auth-brand-panel{display:none}.auth-form-panel{padding:45px 30px}.mobile-logo{display:flex}}.dashboard-layout{background:#f5f7fb;min-height:100vh;display:flex}.sidebar{z-index:20;background:#101a35;flex-direction:column;justify-content:space-between;width:235px;min-height:100vh;padding:28px 18px;display:flex;position:fixed;top:0;bottom:0;left:0}.sidebar-logo{color:#fff;align-items:center;gap:11px;margin-bottom:43px;padding:0 9px;display:flex}.sidebar-logo-icon{background:linear-gradient(135deg,#5478ea,#755ee2);border-radius:11px;justify-content:center;align-items:center;width:39px;height:39px;display:flex}.sidebar-logo div:last-child{flex-direction:column;display:flex}.sidebar-logo strong{font-family:Manrope,sans-serif;font-size:16px}.sidebar-logo span{color:#7f8da9;margin-top:2px;font-size:10px}.sidebar-nav{flex-direction:column;gap:7px;display:flex}.sidebar-link,.sidebar-logout{color:#8f9ab3;background:0 0;border:none;border-radius:10px;align-items:center;gap:12px;width:100%;padding:12px 13px;font-size:13px;font-weight:600;transition:all .2s;display:flex}.sidebar-link:hover,.sidebar-link.active{color:#fff;background:linear-gradient(135deg,#5071e547,#6755d72e)}.sidebar-link.active{border-left:3px solid #7390f5}.sidebar-logout:hover{color:#ff8094;background:#ff687e14}.dashboard-main{width:calc(100% - 235px);margin-left:235px;padding:32px 38px 50px}.dashboard-header{justify-content:space-between;align-items:center;margin-bottom:30px;display:flex}.dashboard-date{letter-spacing:1.4px;margin-bottom:7px;font-weight:800;color:#5c77db!important;font-size:10px!important}.dashboard-header h1{letter-spacing:-.9px;margin-bottom:3px;font-family:Manrope,sans-serif;font-size:27px}.dashboard-header h1 span{color:#496be0}.dashboard-header>div:first-child>p:last-child{color:#8a93a6;font-size:13px}.header-actions{align-items:center;gap:10px;display:flex}.user-avatar{color:#fff;background:linear-gradient(135deg,#5274e4,#7763dd);border-radius:50%;justify-content:center;align-items:center;width:39px;height:39px;font-weight:800;display:flex}.header-user{flex-direction:column;margin-right:13px;display:flex}.header-user strong{font-size:12px}.header-user span{color:#949daf;font-size:10px}.add-transaction-btn{color:#fff;background:#315ad8;border:none;border-radius:10px;align-items:center;gap:7px;padding:11px 15px;font-size:12px;font-weight:700;display:flex;box-shadow:0 8px 18px #315ad833}.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:19px;display:grid}.stat-card{background:#fff;border:1px solid #edf0f5;border-radius:17px;padding:19px;box-shadow:0 6px 24px #22325509}.stat-card-top{color:#7f899d;justify-content:space-between;align-items:center;margin-bottom:17px;font-size:12px;font-weight:600;display:flex}.stat-icon{border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.stat-card h2{letter-spacing:-.6px;margin-bottom:5px;font-family:Manrope,sans-serif;font-size:23px}.stat-subtitle{color:#9da5b5;font-size:10px}.balance-card .stat-icon{color:#466be2;background:#edf2ff}.income-card .stat-icon{color:#2ea47e;background:#e9f8f2}.expense-card .stat-icon{color:#e25f76;background:#fff0f2}.saving-card .stat-icon{color:#8260dc;background:#f3edff}.dashboard-card{background:#fff;border:1px solid #edf0f5;border-radius:17px;padding:21px;box-shadow:0 6px 24px #22325509}.dashboard-grid{grid-template-columns:minmax(0,1.75fr) minmax(300px,.85fr);gap:18px;margin-bottom:18px;display:grid}.card-heading{justify-content:space-between;align-items:flex-start;margin-bottom:20px;display:flex}.card-heading h3{margin-bottom:3px;font-family:Manrope,sans-serif;font-size:15px}.card-heading p{color:#9ba3b2;font-size:10px}.chart-year{color:#788399;background:#f4f6fa;border-radius:7px;padding:6px 9px;font-size:10px}.chart-wrapper{width:100%;height:270px}.chart-legend{color:#828ca0;justify-content:center;gap:20px;margin-top:4px;font-size:10px;display:flex}.chart-legend span{align-items:center;gap:6px;display:flex}.chart-legend i,.category-name i{border-radius:50%;width:8px;height:8px}.legend-income{background:#4f73e8}.legend-expense{background:#f06f86}.pie-area{flex-direction:column;display:flex}.pie-wrapper{height:190px;position:relative}.pie-center{text-align:center;flex-direction:column;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.pie-center span{color:#9aa3b3;font-size:9px}.pie-center strong{margin-top:2px;font-size:14px}.category-legend{flex-direction:column;gap:9px;display:flex}.category-legend-item{justify-content:space-between;font-size:10px;display:flex}.category-name{color:#737e93;align-items:center;gap:7px;display:flex}.bottom-dashboard-grid{grid-template-columns:minmax(0,1.35fr) minmax(310px,.85fr);gap:18px;display:grid}.text-button{color:#496ce0;background:0 0;border:none;font-size:10px;font-weight:700}.transaction-list{flex-direction:column;display:flex}.transaction-row{border-bottom:1px solid #f0f2f6;justify-content:space-between;align-items:center;padding:11px 0;display:flex}.transaction-row:last-child{border-bottom:none}.transaction-left{align-items:center;gap:11px;display:flex}.transaction-icon{border-radius:10px;justify-content:center;align-items:center;width:35px;height:35px;display:flex}.transaction-income{color:#2ea47e;background:#e9f8f2}.transaction-expense{color:#df6276;background:#fff0f2}.transaction-left>div:last-child{flex-direction:column;display:flex}.transaction-left strong{margin-bottom:3px;font-size:11px}.transaction-left span{color:#9aa3b3;font-size:9px}.amount-income{color:#2b9d78;font-size:11px}.amount-expense{color:#d8546a;font-size:11px}.budget-list{flex-direction:column;gap:19px;display:flex}.budget-top{justify-content:space-between;align-items:flex-start;margin-bottom:10px;display:flex}.budget-top h4{margin-bottom:3px;font-size:11px}.budget-top p{color:#929bad;font-size:9px}.budget-status{border-radius:6px;padding:4px 7px;font-size:8px;font-weight:800}.budget-status.budget-safe{color:#279878;background:#e8f8f2}.budget-status.budget-warning{color:#c78b21;background:#fff6e5}.budget-status.budget-exceeded{color:#d65268;background:#fff0f1}.budget-progress{background:#eef1f5;border-radius:20px;height:7px;overflow:hidden}.budget-progress-fill{border-radius:20px;height:100%}.budget-progress-fill.budget-safe{background:#3db690}.budget-progress-fill.budget-warning{background:#e2aa44}.budget-progress-fill.budget-exceeded{background:#e36278}.budget-footer{color:#9aa3b3;justify-content:space-between;margin-top:7px;font-size:8px;display:flex}.empty-state{color:#9ba3b2;font-size:11px}.dashboard-loading{color:#778198;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:100vh;display:flex}.loading-spinner{border:3px solid #e4e8ef;border-top-color:#466be2;border-radius:50%;width:33px;height:33px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.dashboard-error{color:#bc4657;background:#fff0f1;border:1px solid #ffd2d7;border-radius:10px;margin-bottom:18px;padding:12px;font-size:11px}@media (width<=1100px){.stat-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.bottom-dashboard-grid{grid-template-columns:1fr}}@media (width<=760px){.sidebar{display:none}.dashboard-main{width:100%;margin-left:0;padding:23px 17px}.dashboard-header{align-items:flex-start;gap:18px}.header-user,.add-transaction-btn{display:none}}@media (width<=520px){.stat-grid{grid-template-columns:1fr}.dashboard-header h1{font-size:22px}}.page-card{min-height:420px}.data-table-wrapper{width:100%;overflow-x:auto}.data-table{border-collapse:collapse;width:100%}.data-table th{text-align:left;color:#8b95a8;text-transform:uppercase;letter-spacing:.7px;border-bottom:1px solid #e8ecf3;padding:13px 14px;font-size:10px}.data-table td{color:#4d596f;border-bottom:1px solid #f0f2f6;padding:15px 14px;font-size:12px}.data-table tbody tr:hover{background:#fafbfe}.table-actions{gap:6px;display:flex}.table-actions button,.icon-delete-button{color:#54637d;background:#f2f5fb;border:none;border-radius:9px;justify-content:center;align-items:center;width:34px;height:34px;transition:all .2s;display:flex}.table-actions button:hover{color:#315ad8;background:#e5ebfa}.table-actions .delete-action:hover,.icon-delete-button:hover{color:#dc526a;background:#fff0f2}.type-badge{border-radius:20px;align-items:center;padding:5px 8px;font-size:9px;font-weight:800;display:inline-flex}.income-badge{color:#269878;background:#e9f8f2}.expense-badge{color:#d8596f;background:#fff0f2}.modal-overlay{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0912288c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.finance-modal{background:#fff;border-radius:20px;width:min(500px,100%);max-height:90vh;padding:27px;overflow-y:auto;box-shadow:0 35px 80px #0b183240}.modal-header{justify-content:space-between;align-items:flex-start;margin-bottom:25px;display:flex}.modal-header h2{font-family:Manrope,sans-serif;font-size:21px}.modal-header p{color:#939cad;margin-top:4px;font-size:11px}.modal-close{color:#6d7890;background:#f3f5f8;border:none;border-radius:9px;justify-content:center;align-items:center;width:35px;height:35px;display:flex}.finance-form select{background:#fbfcfe;border:1px solid #dce2ec;border-radius:12px;outline:none;width:100%;padding:14px 15px;font-family:inherit}.finance-form select:focus{border-color:#5376ea;box-shadow:0 0 0 4px #5376ea1a}.modal-actions{justify-content:flex-end;gap:10px;margin-top:25px;display:flex}.primary-action,.secondary-action{border:none;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:11px 16px;font-size:11px;font-weight:700;display:inline-flex}.primary-action{color:#fff;background:#315ad8}.primary-action:hover{background:#244cc3}.secondary-action{color:#667188;background:#edf0f5}.secondary-action:hover{background:#e1e6ee}.empty-page{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:250px;display:flex}.empty-page h3{margin-bottom:6px}.empty-page p{color:#929bad;margin-bottom:18px;font-size:11px}.category-grid-page{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.category-management-card{justify-content:space-between;align-items:flex-start;display:flex}.category-management-card h3{margin:13px 0 8px;font-family:Manrope,sans-serif;font-size:14px}.category-type-icon{border-radius:12px;justify-content:center;align-items:center;width:43px;height:43px;font-weight:800;display:flex}.category-income{color:#2b9d7a;background:#e9f8f2}.category-expense{color:#da5a70;background:#fff0f2}.budget-filter-bar{background:#fff;border:1px solid #edf0f5;border-radius:14px;gap:12px;margin-bottom:18px;padding:14px;display:flex}.budget-filter-bar>div{flex-direction:column;gap:5px;display:flex}.budget-filter-bar label{color:#8a94a8;text-transform:uppercase;font-size:9px;font-weight:700}.budget-filter-bar select{background:#fff;border:1px solid #e0e5ed;border-radius:8px;min-width:140px;padding:9px 11px;font-family:inherit}.budget-management-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;display:grid}.budget-actions{border-top:1px solid #eff1f5;gap:8px;margin-top:18px;padding-top:13px;display:flex}.budget-actions button{color:#5d6980;background:#f1f4fa;border:none;border-radius:8px;align-items:center;gap:6px;padding:8px 11px;font-size:10px;font-weight:700;display:flex}.budget-actions button:hover{color:#315ad8}.budget-actions .delete-action:hover{color:#d64f66;background:#fff0f2}.sidebar-link,.sidebar-logout,.add-transaction-btn,.text-button,.primary-action,.secondary-action,.modal-close,.table-actions button,.icon-delete-button,.budget-actions button{cursor:pointer}.sidebar-link:active,.add-transaction-btn:active,.primary-action:active{transform:scale(.97)}@media (width<=900px){.category-grid-page{grid-template-columns:repeat(2,minmax(0,1fr))}.budget-management-grid{grid-template-columns:1fr}}@media (width<=600px){.category-grid-page{grid-template-columns:1fr}.budget-filter-bar,.dashboard-header{flex-direction:column}.header-actions{width:100%}}.profile-wrapper{position:relative}.profile-button{cursor:pointer;background:0 0;border:none;border-radius:12px;align-items:center;gap:10px;padding:6px 8px;transition:all .2s;display:flex}.profile-button:hover{background:#edf1f8}.profile-button svg{color:#8490a5}.profile-dropdown{z-index:80;background:#fff;border:1px solid #e8ecf3;border-radius:14px;width:240px;padding:14px;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 18px 45px #1b284826}.profile-dropdown-header{align-items:center;gap:11px;display:flex}.profile-large-avatar{color:#fff;background:linear-gradient(135deg,#5274e4,#7763dd);border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;font-weight:800;display:flex}.profile-dropdown-header>div:last-child{flex-direction:column;min-width:0;display:flex}.profile-dropdown-header strong{font-size:12px}.profile-dropdown-header span{color:#929caf;text-overflow:ellipsis;margin-top:3px;font-size:10px;overflow:hidden}.profile-divider{background:#edf0f5;height:1px;margin:13px 0}.profile-logout-button{color:#d34f65;cursor:pointer;background:0 0;border:none;border-radius:9px;align-items:center;gap:9px;width:100%;padding:10px;font-size:11px;font-weight:700;display:flex}.profile-logout-button:hover{background:#fff0f2}.dashboard-success{color:#258467;background:#eaf9f3;border:1px solid #c9eddf;border-radius:10px;margin-bottom:18px;padding:12px 15px;font-size:12px;font-weight:600}.finance-form select{background:#fbfcfe;border:1px solid #dce2ec;border-radius:12px;outline:none;width:100%;padding:14px 15px;font-family:inherit;font-size:14px}.finance-form select:focus{background:#fff;border-color:#5376ea;box-shadow:0 0 0 4px #5376ea1a}.dashboard-header{z-index:30;position:relative}.header-actions{z-index:40;position:relative}.add-transaction-btn{z-index:41;cursor:pointer;position:relative}.add-transaction-btn:hover{background:#254fc8;transform:translateY(-1px)}.add-transaction-btn:active{transform:scale(.97)}.text-button{cursor:pointer}.text-button:hover{text-decoration:underline}
