@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";*{box-sizing:border-box;font-family:Inter,sans-serif}html,body{width:100%;position:relative;touch-action:pan-y}#root{width:100%}body{background-color:#f4f7fe;margin:0;padding:0;color:#2b3674}.app-layout{display:flex;min-height:100vh;background-color:#f4f7fe;width:100%}.main-content{flex:1;padding:30px 40px;overflow-y:auto;overflow-x:hidden;display:flex;justify-content:center;max-width:100vw}.dashboard-container{width:100%;max-width:1200px}canvas,svg{max-width:100%!important}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-bottom:25px}.main-grid{display:grid;grid-template-columns:2fr 1fr;gap:25px;align-items:stretch}@media(max-width:1100px){.main-grid{grid-template-columns:1fr}}.sidebar{width:250px;background-color:#fff;padding:30px 20px;box-shadow:2px 0 20px #111c430d;display:flex;flex-direction:column;gap:40px;position:sticky;top:0;height:100vh;z-index:100}.sidebar-brand h2{color:#111c43;margin:0;font-size:1.5rem}.sidebar-menu{display:flex;flex-direction:column;gap:15px}.menu-item{text-decoration:none;color:#a3aed1;padding:15px 20px;border-radius:12px;font-weight:600;transition:all .3s ease;display:flex;align-items:center;gap:10px}.menu-item:hover{background-color:#f4f7fe;color:#4361ee}.menu-item.active{background-color:#4361ee;color:#fff;box-shadow:0 4px 15px #4361ee4d}.logout-btn{margin-top:auto;background:#ffe3e3;color:#ef233c;border:none;cursor:pointer;width:100%;text-align:left;transition:all .3s ease;padding:15px 20px;border-radius:12px;font-weight:600}.logout-btn:hover{background:#ef233c;color:#fff}.total-card,.form-card,.filter-section{background:#fff;padding:25px;border-radius:20px;box-shadow:0 10px 30px #111c430d;margin-bottom:25px;transition:transform .3s ease;display:flex;flex-direction:column;justify-content:center}.total-card{text-align:center;background:linear-gradient(135deg,#4361ee,#3f37c9);color:#fff}.total-card h3{margin:0;font-size:1rem;font-weight:500;opacity:.9}.total-card h1{margin:10px 0 0;font-size:2.5rem}.form-group{margin-bottom:15px}.form-row{display:flex;gap:15px;align-items:flex-end}input,select{width:100%;padding:14px;border:1px solid #e0e5f2;border-radius:12px;font-size:1rem;background-color:#f8f9fa;color:#2b3674;transition:all .3s ease}input:focus,select:focus{outline:none;border-color:#4361ee;background-color:#fff;box-shadow:0 0 0 3px #4361ee26}button{transition:all .2s ease}.btn-save{padding:14px;border:none;border-radius:12px;color:#fff;font-weight:600;font-size:1rem;cursor:pointer;box-shadow:0 4px 10px #4361ee4d;text-align:center}.btn-save:hover{transform:translateY(-2px);box-shadow:0 6px 15px #4361ee66}.btn-save:active{transform:translateY(0)}.btn-delete{background:#ffe3e3;color:#ef233c;border:none;padding:8px 15px;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer}.btn-delete:hover{background:#ffc9c9}.transaction-item{background:#fff;padding:20px;border-radius:16px;display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;box-shadow:0 5px 20px #111c4308;border-left:5px solid #4361ee;transition:transform .2s ease,box-shadow .2s ease}.transaction-item:hover{transform:translate(5px);box-shadow:0 8px 25px #111c430f}.t-info h4{margin:0 0 8px;font-size:1.1rem;color:#2b3674}.t-category{font-size:.85rem;color:#a3aed1;font-weight:500}.t-amount-action{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:10px}.t-price{font-weight:700;color:#ef233c;font-size:1.2rem;margin:0}.ai-floating-btn{position:fixed;bottom:30px;right:30px;width:60px;height:60px;background:linear-gradient(135deg,#4361ee,#3f37c9);color:#fff;border-radius:50%;border:none;box-shadow:0 5px 20px #4361ee66;font-size:1.8rem;cursor:pointer;display:flex;justify-content:center;align-items:center;z-index:1000;transition:transform .3s ease}.ai-floating-btn:hover{transform:scale(1.1)}.ai-chat-widget{position:fixed;bottom:100px;right:30px;width:calc(100vw - 60px);max-width:360px;height:60vh;max-height:500px;background:#fff;border-radius:15px;box-shadow:0 10px 30px #111c4326;display:flex;flex-direction:column;z-index:1000;overflow:hidden;border:1px solid #e0e5f2}.ai-chat-header{background:#4361ee;padding:15px;color:#fff;display:flex;justify-content:space-between;align-items:center}.ai-chat-options{padding:10px;display:flex;gap:10px;overflow-x:auto;background:#f8f9fa;border-bottom:1px solid #e0e5f2}.ai-chat-options::-webkit-scrollbar{height:4px}.ai-chat-options::-webkit-scrollbar-thumb{background:#c1c9d2;border-radius:10px}.ai-chat-option-btn{padding:8px 12px;font-size:.75rem;border-radius:20px;white-space:nowrap;cursor:pointer;background:#fff;font-weight:600}.ai-chat-option-btn.blue{border:1px solid #4361ee;color:#4361ee}.ai-chat-option-btn.pink{border:1px solid #f72585;color:#f72585}.ai-chat-messages{flex:1;padding:15px;overflow-y:auto;display:flex;flex-direction:column;gap:15px;background:#f4f7fe}.ai-bubble{padding:10px 15px;border-radius:15px;box-shadow:0 2px 5px #0000000d;font-size:.9rem;line-height:1.5;max-width:85%}.ai-bubble.user{align-self:flex-end;background:#4361ee;color:#fff;border-bottom-right-radius:0}.ai-bubble.ai{align-self:flex-start;background:#fff;color:#2b3674;border-bottom-left-radius:0}.ai-chat-form{padding:10px;background:#fff;border-top:1px solid #e0e5f2;display:flex;gap:10px}.ai-chat-input{flex:1;padding:10px 15px;border-radius:20px;border:1px solid #e0e5f2;outline:none;font-size:.9rem;min-width:0;background:#f8f9fa}.ai-chat-submit{background:#4361ee;color:#fff;border:none;padding:0 15px;border-radius:20px;cursor:pointer;font-weight:600}.ai-chat-submit:disabled{background:#a3aed1;cursor:not-allowed}@media(max-width:768px){.app-layout{flex-direction:column}.main-content{padding:20px 15px;margin-bottom:80px}.stats-grid{grid-template-columns:1fr;gap:15px}.sidebar{width:100%;height:auto;position:fixed;top:auto;bottom:0;left:0;padding:10px 15px;flex-direction:row;justify-content:space-around;align-items:center;box-shadow:0 -5px 20px #111c431a;z-index:999}.sidebar-brand{display:none}.sidebar-menu{flex-direction:row;width:100%;justify-content:space-around;gap:0}.menu-item{padding:10px;font-size:.8rem;flex-direction:column;gap:5px}.logout-btn{margin-top:0;width:auto;background:transparent;padding:10px;flex-direction:column;font-size:.8rem}.logout-btn:hover{background:transparent;color:#ef233c}.form-row{flex-direction:column;gap:15px;align-items:stretch}.transaction-item{flex-direction:column;align-items:flex-start;gap:15px}.t-amount-action{text-align:left;width:100%;display:flex;flex-direction:row;justify-content:space-between;align-items:center;border-top:1px dashed #e0e5f2;padding-top:15px}.ai-floating-btn{bottom:90px;right:15px;width:50px;height:50px;font-size:1.4rem}.ai-chat-widget{bottom:150px;right:15px;width:calc(100vw - 30px);height:55vh}}
