body{margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}[data-theme=dark] .page-container{background:var(--bg-primary);color:var(--text-primary)}[data-theme=dark] .page-header h1,[data-theme=dark] .page-header h2{color:var(--text-primary)}[data-theme=dark] .subtitle{color:var(--text-secondary)}[data-theme=dark] .form-container{background:var(--bg-secondary);box-shadow:0 2px 8px var(--shadow)}[data-theme=dark] .form-group input,[data-theme=dark] .form-group select,[data-theme=dark] .form-group textarea{background:var(--input-bg);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .form-group input::placeholder,[data-theme=dark] .form-group textarea::placeholder{color:var(--text-tertiary)}[data-theme=dark] .form-group input:focus,[data-theme=dark] .form-group select:focus,[data-theme=dark] .form-group textarea:focus{border-color:var(--border-color-hover)}[data-theme=dark] .form-group input:disabled,[data-theme=dark] .form-group select:disabled,[data-theme=dark] .form-group textarea:disabled{background:var(--input-disabled)}[data-theme=dark] .filters-section{background:var(--bg-secondary);box-shadow:0 2px 8px var(--shadow)}[data-theme=dark] .search-input{background:var(--input-bg);color:var(--text-primary)}[data-theme=dark] .search-input::placeholder{color:var(--text-tertiary)}[data-theme=dark] .category-select,[data-theme=dark] .date-input{background:var(--input-bg);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .category-filter-group label,[data-theme=dark] .date-input-group label{color:var(--text-primary)}[data-theme=dark] .filter-btn{background:var(--bg-tertiary);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .filter-btn:hover{background:var(--bg-secondary)}[data-theme=dark] .filter-btn.active{background:#667eea;border-color:#667eea;color:#fff}[data-theme=dark] .summary-card{background:var(--bg-secondary)}[data-theme=dark] .summary-item{background:var(--bg-secondary);box-shadow:0 2px 8px var(--shadow)}[data-theme=dark] .summary-label{color:var(--text-secondary)}[data-theme=dark] .summary-value{color:var(--text-primary)}[data-theme=dark] .expenses-table-container{background:var(--bg-secondary);box-shadow:0 2px 8px var(--shadow)}[data-theme=dark] .expenses-table thead{background:var(--bg-tertiary);border-bottom-color:var(--border-color)}[data-theme=dark] .expenses-table th{color:var(--text-primary)}[data-theme=dark] .expenses-table td{border-bottom-color:var(--border-color);color:var(--text-secondary)}[data-theme=dark] .expenses-table tbody tr:hover{background:var(--bg-tertiary)}[data-theme=dark] .amount{color:var(--text-primary)}[data-theme=dark] .category-tag{background:#3b82f633;color:#93c5fd}[data-theme=dark] .file-name-tag{background:#9c27b033;color:#ce93d8}[data-theme=dark] .manual-tag{background:#e6510033;color:#ffb74d}[data-theme=dark] .dropzone{background:var(--bg-tertiary);border-color:var(--border-color)}[data-theme=dark] .dropzone.active{background:#667eea1a;border-color:#667eea}[data-theme=dark] .dropzone p{color:var(--text-secondary)}[data-theme=dark] .file-info{background:var(--bg-tertiary)}[data-theme=dark] .file-info p{color:var(--text-secondary)}[data-theme=dark] .merged-expenses-section{background:var(--bg-secondary);box-shadow:0 2px 8px var(--shadow)}[data-theme=dark] .merged-expense-card{background:var(--bg-tertiary);border-color:var(--border-color)}[data-theme=dark] .merged-card h3,[data-theme=dark] .merged-card h4{color:var(--text-primary)}[data-theme=dark] .expense-count,[data-theme=dark] .merged-date,[data-theme=dark] .merged-info p{color:var(--text-secondary)}[data-theme=dark] .business-name,[data-theme=dark] .expense-amount{color:var(--text-primary)}[data-theme=dark] .breakdown-item{background:var(--bg-tertiary)}[data-theme=dark] .breakdown-item:hover{background:var(--bg-primary)}[data-theme=dark] .detailed-expenses-section{border-top-color:var(--border-color)}[data-theme=dark] .detailed-expenses-section h4{color:var(--text-primary)}[data-theme=dark] .detailed-expenses-table table{background:var(--bg-secondary)}[data-theme=dark] .detailed-expenses-table thead{background:var(--bg-tertiary);border-bottom-color:var(--border-color)}[data-theme=dark] .detailed-expenses-table th{color:var(--text-primary)}[data-theme=dark] .detailed-expenses-table td{border-bottom-color:var(--border-color);color:var(--text-secondary)}[data-theme=dark] .detailed-expenses-table tbody tr:hover{background:var(--bg-tertiary)}[data-theme=dark] .amount-cell{color:var(--text-primary)}[data-theme=dark] .status-badge.status-approved{background:#4caf5033;color:#81c784}[data-theme=dark] .status-badge.status-pending{background:#ffc10733;color:#ffd54f}[data-theme=dark] .status-badge.status-rejected{background:#f4433633;color:#e57373}[data-theme=dark] .auth-container{background:var(--bg-secondary);box-shadow:0 4px 20px var(--shadow)}[data-theme=dark] .auth-title{color:var(--text-primary)}[data-theme=dark] .auth-subtitle{color:var(--text-secondary)}[data-theme=dark] .auth-form input{background:var(--input-bg);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .auth-form input::placeholder{color:var(--text-tertiary)}[data-theme=dark] .auth-toggle{color:var(--text-secondary)}[data-theme=dark] .auth-toggle button{color:#667eea}[data-theme=dark] .empty-state,[data-theme=dark] .empty-state p{color:var(--text-secondary)}[data-theme=dark] .form-hint{color:var(--text-tertiary)}[data-theme=dark] .category-select-with-button,[data-theme=dark] .custom-category-input-inline{background:var(--input-bg);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .btn-add-category{background:var(--bg-tertiary);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .loading{color:var(--text-secondary)}:root{--toastify-color-light:#fff;--toastify-color-dark:#121212;--toastify-color-info:#3498db;--toastify-color-success:#07bc0c;--toastify-color-warning:#f1c40f;--toastify-color-error:#e74d3c;--toastify-color-transparent:#ffffffb3;--toastify-icon-color-info:var(--toastify-color-info);--toastify-icon-color-success:var(--toastify-color-success);--toastify-icon-color-warning:var(--toastify-color-warning);--toastify-icon-color-error:var(--toastify-color-error);--toastify-container-width:fit-content;--toastify-toast-width:320px;--toastify-toast-offset:16px;--toastify-toast-top:max(var(--toastify-toast-offset),env(safe-area-inset-top));--toastify-toast-right:max(var(--toastify-toast-offset),env(safe-area-inset-right));--toastify-toast-left:max(var(--toastify-toast-offset),env(safe-area-inset-left));--toastify-toast-bottom:max(var(--toastify-toast-offset),env(safe-area-inset-bottom));--toastify-toast-background:#fff;--toastify-toast-padding:14px;--toastify-toast-min-height:64px;--toastify-toast-max-height:800px;--toastify-toast-bd-radius:6px;--toastify-toast-shadow:0px 4px 12px #0000001a;--toastify-font-family:sans-serif;--toastify-z-index:9999;--toastify-text-color-light:#757575;--toastify-text-color-dark:#fff;--toastify-text-color-info:#fff;--toastify-text-color-success:#fff;--toastify-text-color-warning:#fff;--toastify-text-color-error:#fff;--toastify-spinner-color:#616161;--toastify-spinner-color-empty-area:#e0e0e0;--toastify-color-progress-light:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);--toastify-color-progress-dark:#bb86fc;--toastify-color-progress-info:var(--toastify-color-info);--toastify-color-progress-success:var(--toastify-color-success);--toastify-color-progress-warning:var(--toastify-color-warning);--toastify-color-progress-error:var(--toastify-color-error);--toastify-color-progress-bgo:0.2}.Toastify__toast-container{box-sizing:border-box;color:#fff;display:flex;flex-direction:column;position:fixed;-webkit-transform:translateZ(9999);-webkit-transform:translateZ(var(--toastify-z-index));width:-webkit-fit-content;width:fit-content;width:var(--toastify-container-width);z-index:9999;z-index:var(--toastify-z-index)}.Toastify__toast-container--top-left{left:max(16px,env(safe-area-inset-left));left:var(--toastify-toast-left);top:max(16px,env(safe-area-inset-top));top:var(--toastify-toast-top)}.Toastify__toast-container--top-center{align-items:center;left:50%;top:max(16px,env(safe-area-inset-top));top:var(--toastify-toast-top);transform:translateX(-50%)}.Toastify__toast-container--top-right{align-items:end;right:max(16px,env(safe-area-inset-right));right:var(--toastify-toast-right);top:max(16px,env(safe-area-inset-top));top:var(--toastify-toast-top)}.Toastify__toast-container--bottom-left{bottom:max(16px,env(safe-area-inset-bottom));bottom:var(--toastify-toast-bottom);left:max(16px,env(safe-area-inset-left));left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{align-items:center;bottom:max(16px,env(safe-area-inset-bottom));bottom:var(--toastify-toast-bottom);left:50%;transform:translateX(-50%)}.Toastify__toast-container--bottom-right{align-items:end;bottom:max(16px,env(safe-area-inset-bottom));bottom:var(--toastify-toast-bottom);right:max(16px,env(safe-area-inset-right));right:var(--toastify-toast-right)}.Toastify__toast{--y:0;align-items:center;border-radius:6px;border-radius:var(--toastify-toast-bd-radius);box-shadow:0 4px 12px #0000001a;box-shadow:var(--toastify-toast-shadow);box-sizing:border-box;display:flex;flex:1 1 auto;font-family:sans-serif;font-family:var(--toastify-font-family);margin-bottom:1rem;max-height:800px;max-height:var(--toastify-toast-max-height);min-height:64px;min-height:var(--toastify-toast-min-height);padding:14px;padding:var(--toastify-toast-padding);position:relative;touch-action:none;width:320px;width:var(--toastify-toast-width);word-break:break-word;z-index:0}@media only screen and (max-width:480px){.Toastify__toast-container{left:env(safe-area-inset-left);margin:0;width:100vw}.Toastify__toast-container--top-center,.Toastify__toast-container--top-left,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translateX(0)}.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translateX(0)}.Toastify__toast-container--rtl{left:auto;right:env(safe-area-inset-right)}.Toastify__toast{--toastify-toast-width:100%;border-radius:0;margin-bottom:0}}.Toastify__toast-container[data-stacked=true]{width:320px;width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s;width:100%}.Toastify__toast--stacked[data-collapsed] .Toastify__close-button,.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{bottom:100%;content:"";height:calc(var(--g)*1px);left:0;position:absolute;right:0}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{bottom:0;content:"";height:100%;left:0;position:absolute;right:0;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{-webkit-margin-end:10px;display:flex;flex-shrink:0;margin-inline-end:10px;width:22px}.Toastify--animate{animation-duration:.5s;animation-fill-mode:both}.Toastify--animate-icon{animation-duration:.3s;animation-fill-mode:both}.Toastify__toast-theme--dark{background:#121212;background:var(--toastify-color-dark);color:#fff;color:var(--toastify-text-color-dark)}.Toastify__toast-theme--colored.Toastify__toast--default,.Toastify__toast-theme--light{background:#fff;background:var(--toastify-color-light);color:#757575;color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{background:#3498db;background:var(--toastify-color-info);color:#fff;color:var(--toastify-text-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{background:#07bc0c;background:var(--toastify-color-success);color:#fff;color:var(--toastify-text-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{background:#f1c40f;background:var(--toastify-color-warning);color:#fff;color:var(--toastify-text-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{background:#e74d3c;background:var(--toastify-color-error);color:#fff;color:var(--toastify-text-color-error)}.Toastify__progress-bar-theme--light{background:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:#bb86fc;background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:#3498db;background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:#07bc0c;background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:#f1c40f;background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:#e74d3c;background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning{background:#ffffffb3;background:var(--toastify-color-transparent)}.Toastify__close-button{background:#0000;border:none;cursor:pointer;opacity:.7;outline:none;padding:0;position:absolute;right:6px;top:6px;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:auto}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:focus,.Toastify__close-button:hover{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{bottom:0;height:100%;left:0;opacity:.7;position:absolute;transform-origin:left;width:100%;z-index:1}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{border-bottom-left-radius:0;left:auto;right:0;transform-origin:right}.Toastify__progress-bar--wrp{border-bottom-left-radius:6px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:6px;border-bottom-right-radius:var(--toastify-toast-bd-radius);bottom:0;height:5px;left:0;overflow:hidden;position:absolute;width:100%}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{height:100%;opacity:.2;opacity:var(--toastify-color-progress-bgo);width:100%}.Toastify__spinner{animation:Toastify__spin .65s linear infinite;border:2px solid #e0e0e0;border-color:var(--toastify-spinner-color-empty-area);border-radius:100%;border-right-color:#616161;border-right-color:var(--toastify-spinner-color);box-sizing:border-box;height:20px;width:20px}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--bottom-left,.Toastify__bounce-enter--top-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--bottom-right,.Toastify__bounce-enter--top-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--bottom-left,.Toastify__bounce-exit--top-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--bottom-right,.Toastify__bounce-exit--top-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{animation-timing-function:ease-in;opacity:0;transform:perspective(400px) rotateX(90deg)}40%{animation-timing-function:ease-in;transform:perspective(400px) rotateX(-20deg)}60%{opacity:1;transform:perspective(400px) rotateX(10deg)}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{opacity:1;transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg)}to{opacity:0;transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg)}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(110%,var(--y),0);visibility:hidden}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(-110%,var(--y),0);visibility:hidden}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(0,500px,0);visibility:hidden}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(0,-500px,0);visibility:hidden}}.Toastify__slide-enter--bottom-left,.Toastify__slide-enter--top-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--bottom-right,.Toastify__slide-enter--top-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--bottom-left,.Toastify__slide-exit--top-left{animation-duration:.3s;animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in}.Toastify__slide-exit--bottom-right,.Toastify__slide-exit--top-right{animation-duration:.3s;animation-name:Toastify__slideOutRight;animation-timing-function:ease-in}.Toastify__slide-exit--top-center{animation-duration:.3s;animation-name:Toastify__slideOutUp;animation-timing-function:ease-in}.Toastify__slide-exit--bottom-center{animation-duration:.3s;animation-name:Toastify__slideOutDown;animation-timing-function:ease-in}@keyframes Toastify__spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}:root{--PhoneInput-color--focus:#03b2cb;--PhoneInputInternationalIconPhone-opacity:0.8;--PhoneInputInternationalIconGlobe-opacity:0.65;--PhoneInputCountrySelect-marginRight:0.35em;--PhoneInputCountrySelectArrow-width:0.3em;--PhoneInputCountrySelectArrow-marginLeft:var(--PhoneInputCountrySelect-marginRight);--PhoneInputCountrySelectArrow-borderWidth:1px;--PhoneInputCountrySelectArrow-opacity:0.45;--PhoneInputCountrySelectArrow-color:currentColor;--PhoneInputCountrySelectArrow-color--focus:var(--PhoneInput-color--focus);--PhoneInputCountrySelectArrow-transform:rotate(45deg);--PhoneInputCountryFlag-aspectRatio:1.5;--PhoneInputCountryFlag-height:1em;--PhoneInputCountryFlag-borderWidth:1px;--PhoneInputCountryFlag-borderColor:#00000080;--PhoneInputCountryFlag-borderColor--focus:var(--PhoneInput-color--focus);--PhoneInputCountryFlag-backgroundColor--loading:#0000001a}.PhoneInput{align-items:center;display:flex}.PhoneInputInput{flex:1 1;min-width:0}.PhoneInputCountryIcon{height:1em;height:var(--PhoneInputCountryFlag-height);width:1.5em;width:calc(var(--PhoneInputCountryFlag-height)*var(--PhoneInputCountryFlag-aspectRatio))}.PhoneInputCountryIcon--square{width:1em;width:var(--PhoneInputCountryFlag-height)}.PhoneInputCountryIcon--border{background-color:#0000001a;background-color:var(--PhoneInputCountryFlag-backgroundColor--loading);box-shadow:0 0 0 1px #00000080,inset 0 0 0 1px #00000080;box-shadow:0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor),inset 0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor)}.PhoneInputCountryIconImg{display:block;height:100%;width:100%}.PhoneInputInternationalIconPhone{opacity:.8;opacity:var(--PhoneInputInternationalIconPhone-opacity)}.PhoneInputInternationalIconGlobe{opacity:.65;opacity:var(--PhoneInputInternationalIconGlobe-opacity)}.PhoneInputCountry{align-items:center;align-self:stretch;display:flex;margin-right:.35em;margin-right:var(--PhoneInputCountrySelect-marginRight);position:relative}.PhoneInputCountrySelect{border:0;cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:1}.PhoneInputCountrySelect[disabled],.PhoneInputCountrySelect[readonly]{cursor:default}.PhoneInputCountrySelectArrow{border-bottom-width:1px;border-bottom-width:var(--PhoneInputCountrySelectArrow-borderWidth);border-color:currentColor;border-color:var(--PhoneInputCountrySelectArrow-color);border-left-width:0;border-right-width:1px;border-right-width:var(--PhoneInputCountrySelectArrow-borderWidth);border-style:solid;border-top-width:0;content:"";display:block;height:.3em;height:var(--PhoneInputCountrySelectArrow-width);margin-left:.35em;margin-left:var(--PhoneInputCountrySelectArrow-marginLeft);opacity:.45;opacity:var(--PhoneInputCountrySelectArrow-opacity);transform:rotate(45deg);transform:var(--PhoneInputCountrySelectArrow-transform);width:.3em;width:var(--PhoneInputCountrySelectArrow-width)}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon+.PhoneInputCountrySelectArrow{color:#03b2cb;color:var(--PhoneInputCountrySelectArrow-color--focus);opacity:1}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon--border{box-shadow:0 0 0 1px #03b2cb,inset 0 0 0 1px #03b2cb;box-shadow:0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor--focus),inset 0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor--focus)}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon .PhoneInputInternationalIconGlobe{color:#03b2cb;color:var(--PhoneInputCountrySelectArrow-color--focus);opacity:1}.auth-container{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:center;min-height:100vh;padding:2rem}.auth-card{animation:slideUp .4s ease;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;box-sizing:border-box;max-width:450px;overflow-x:hidden;padding:3rem 3rem 5rem;position:relative;width:100%}.auth-header{margin-bottom:3rem;text-align:center}.auth-header-controls{align-items:center;bottom:1.5rem;display:flex;gap:.5rem;justify-content:flex-end;margin-left:1rem;margin-top:2rem;position:absolute;right:1.5rem}.auth-header h1{color:#2c3e50;font-size:2rem;margin:0 0 .5rem;text-align:center}.language-toggle-auth{align-items:center;background:#667eea1a;border:2px solid #667eea33;border-radius:50%;cursor:pointer;display:flex;font-size:1.1rem;height:36px;justify-content:center;padding:0;transition:all .2s ease;width:36px}.language-toggle-auth:hover{background:#667eea33;border-color:#667eea66;transform:scale(1.1)}.theme-toggle-auth{align-items:center;background:#667eea1a;border:2px solid #667eea33;border-radius:50%;cursor:pointer;display:flex;font-size:1rem;height:36px;justify-content:center;padding:0;transition:all .2s ease;width:36px}.theme-toggle-auth:hover{background:#667eea33;border-color:#667eea66;transform:scale(1.1)}.auth-header p{color:#7f8c8d;font-size:1rem}.auth-form{gap:1.5rem}.auth-form,.form-group{display:flex;flex-direction:column}.form-group{gap:.5rem}.form-group label{color:#2c3e50;font-size:.95rem;font-weight:600}.form-group input{border:2px solid #e0e6ed;border-radius:8px;font-size:1rem;padding:.9rem;transition:all .2s}.form-group input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.form-group input:disabled{background:#f5f7fa;cursor:not-allowed}.password-hint{color:#7f8c8d;font-size:.85rem;font-style:italic;margin-top:-.25rem}.password-input-wrapper{align-items:center;display:flex;position:relative}.password-input-wrapper input{padding-right:3rem;width:100%}.password-toggle-btn{align-items:center;background:none;border:none;cursor:pointer;display:flex;font-size:1.2rem;justify-content:center;padding:.25rem .5rem;position:absolute;right:.75rem;transition:opacity .2s ease;z-index:1}.password-toggle-btn:hover:not(:disabled){opacity:.7}.password-toggle-btn:disabled{cursor:not-allowed;opacity:.5}[data-theme=dark] .password-toggle-btn{color:var(--text-primary)}[dir=rtl] .password-input-wrapper input{padding-left:3rem;padding-right:.9rem}[dir=rtl] .password-toggle-btn{left:.75rem;right:auto}.forgot-password-container{display:flex;justify-content:flex-start;margin-top:.5rem}.forgot-password-link{background:none;border:none;color:#667eea;cursor:pointer;font-family:inherit;font-size:.9rem;padding:0;text-decoration:underline;transition:color .3s ease}.forgot-password-link:hover{color:#5568d3}.forgot-password-link:disabled{cursor:not-allowed;opacity:.6}[data-theme=dark] .forgot-password-link{color:#8b9aff}[data-theme=dark] .forgot-password-link:hover{color:#a8b5ff}.phone-input-wrapper,.phone-input-wrapper .PhoneInput{align-items:center;display:flex;width:100%}.phone-input-wrapper .PhoneInputInput{background:#fff;border:2px solid #e0e0e0;border-radius:8px;direction:ltr;flex:1 1;font-family:inherit;font-size:1rem;padding:.875rem 1rem;text-align:left;transition:all .3s ease;width:100%}.phone-input-wrapper .PhoneInputInput:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.phone-input-wrapper .PhoneInputInput:disabled{background-color:#f5f5f5;cursor:not-allowed}.phone-input-wrapper .PhoneInputCountry{margin-right:.5rem}.phone-input-wrapper .PhoneInputCountryIcon{border-radius:4px;height:1.5rem;width:1.5rem}.phone-input-wrapper .PhoneInputCountrySelect{background:#fff;border:2px solid #e0e0e0;border-radius:8px;font-family:inherit;font-size:1rem;margin-right:.5rem;padding:.875rem 1rem;transition:all .3s ease}.phone-input-wrapper .PhoneInputCountrySelect:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}[data-theme=dark] .phone-input-wrapper .PhoneInputInput{background:var(--input-bg);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .phone-input-wrapper .PhoneInputInput:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea33}[data-theme=dark] .phone-input-wrapper .PhoneInputInput:disabled{background-color:#ffffff0d}[data-theme=dark] .phone-input-wrapper .PhoneInputCountrySelect{background:var(--input-bg);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .phone-input-wrapper .PhoneInputCountrySelect:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea33}[dir=rtl] .phone-input-wrapper .PhoneInput{flex-direction:row-reverse}[dir=rtl] .phone-input-wrapper .PhoneInputCountry,[dir=rtl] .phone-input-wrapper .PhoneInputCountrySelect{margin-left:.5rem;margin-right:0}[dir=rtl] .phone-input-wrapper .PhoneInputInput{direction:ltr;text-align:left}[dir=rtl] .phone-input-wrapper .PhoneInputCountryIcon{margin-left:.5rem;margin-right:0}.pin-input-container{box-sizing:border-box;direction:ltr!important;display:flex;flex-wrap:nowrap;gap:.75rem;justify-content:center;margin-top:.5rem;max-width:100%;padding:.25rem 0;width:100%}.pin-input{background:#fff!important;border:2px solid #e0e0e0;border-radius:8px;color:#2c3e50!important;direction:ltr!important;font-size:1.5rem;font-weight:700;height:3.5rem;text-align:center;text-align:center!important;transition:all .3s ease;width:3.5rem}.pin-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.pin-input:disabled{background-color:#f5f5f5;cursor:not-allowed}[data-theme=dark] .pin-input{background:#fff!important;border-color:#e0e0e0;color:#2c3e50!important}[data-theme=dark] .pin-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea33}[data-theme=dark] .pin-input:disabled{background-color:#f5f5f5!important;color:#7f8c8d!important}.pin-timer{color:#7f8c8d;font-size:.9rem;margin-top:1rem;text-align:center}.timer-label{margin-right:.5rem}.timer-value{color:#667eea;font-weight:600}.timer-expired{color:#e74c3c;font-weight:600}.pin-timer.expired{color:#e74c3c}[dir=rtl] .pin-input-container{direction:ltr!important;flex-direction:row!important}[dir=rtl] .pin-input{direction:ltr!important;text-align:center!important}.submit-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;margin-top:1rem;padding:1rem;transition:all .2s}.submit-btn:hover:not(:disabled){box-shadow:0 8px 20px #667eea66;transform:translateY(-2px)}.submit-btn:disabled{cursor:not-allowed;opacity:.7}.auth-toggle{align-items:center;border-top:1px solid #e0e6ed;display:flex;justify-content:center;margin-top:1.5rem;padding-right:5rem;padding-top:1.5rem;text-align:center;width:100%}.auth-toggle p{color:#7f8c8d;font-size:.95rem}.toggle-btn{background:none;border:none;color:#667eea;cursor:pointer;font-size:.95rem;font-weight:600;margin-left:.5rem;padding:0;transition:color .2s}.toggle-btn:hover:not(:disabled){color:#764ba2;text-decoration:underline}.toggle-btn:disabled{cursor:not-allowed;opacity:.6}.auth-toggle>.toggle-btn{margin-left:0;margin-right:0;text-align:center}.auth-toggle:has(>.toggle-btn:only-child){padding-left:0;padding-right:0}[data-theme=dark] .auth-container{background:linear-gradient(135deg,#1a202c,#2d3748)}[data-theme=dark] .auth-card{background:var(--bg-secondary);box-shadow:0 20px 60px #00000080}[data-theme=dark] .auth-header h1{color:var(--text-primary)}[data-theme=dark] .auth-header p{color:var(--text-secondary)}[data-theme=dark] .language-toggle-auth{background:#667eea33;border-color:#667eea4d}[data-theme=dark] .language-toggle-auth:hover{background:#667eea4d;border-color:#667eea80}[data-theme=dark] .theme-toggle-auth{background:#667eea33;border-color:#667eea4d}[data-theme=dark] .theme-toggle-auth:hover{background:#667eea4d;border-color:#667eea80}[data-theme=dark] .form-group label{color:var(--text-primary)}[data-theme=dark] .form-group input{background:var(--input-bg);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .form-group input::placeholder{color:var(--text-tertiary)}[data-theme=dark] .form-group input:focus{border-color:var(--border-color-hover)}[data-theme=dark] .form-group input:disabled{background:var(--input-disabled)}[data-theme=dark] .auth-toggle{border-top-color:var(--border-color)}[data-theme=dark] .auth-toggle p{color:var(--text-secondary)}[data-theme=dark] .toggle-btn{color:#667eea}.spam-inbox-notice{background-color:#fff3cd;border:1px solid #ffc107;border-radius:4px;color:#856404;font-size:14px;margin-bottom:20px;padding:12px;text-align:center}[data-theme=dark] .spam-inbox-notice{background-color:#3d2f00;border-color:#ffc107;color:#ffc107}.google-auth-divider{align-items:center;display:flex;gap:1rem;margin:1.5rem 0}.divider-line{background:#e0e6ed;flex:1 1;height:1px}.divider-text{color:#7f8c8d;font-size:.9rem;letter-spacing:.5px;text-transform:uppercase}.google-signin-wrapper,.google-signin-wrapper *,.google-signin-wrapper iframe{font-size:14px!important}[data-theme=dark] .google-auth-divider .divider-line{background:var(--border-color)}[data-theme=dark] .google-auth-divider .divider-text{color:var(--text-secondary)}@media (max-width:640px){.auth-container{padding:1rem}.auth-card{padding:2rem 1.5rem 5rem}.auth-header h1{font-size:1.6rem}.auth-header-controls{bottom:1rem;gap:.5rem;margin-bottom:0;margin-left:.75rem;right:1rem}.auth-toggle{padding-right:5.5rem}.auth-toggle>.toggle-btn{margin-left:0;margin-right:0}.language-toggle-auth{font-size:1.1rem;height:36px;width:36px}.theme-toggle-auth{font-size:1rem;height:36px;width:36px}.pin-input-container{gap:.4rem;justify-content:center;padding:.5rem .25rem}.pin-input{flex-shrink:0;font-size:1.1rem;height:2.5rem;min-width:2.5rem;width:2.5rem}.pin-timer{font-size:.85rem;margin-top:.75rem}.form-group{overflow-x:visible;width:100%}}.navbar{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 2px 8px #0000001a;position:-webkit-sticky;position:sticky;top:0;z-index:1000}.navbar-container{align-items:center;display:flex;justify-content:space-between;margin:0 auto;max-width:1400px;padding:1rem 2rem}.navbar-brand{color:#fff;cursor:pointer;font-size:1.5rem;font-weight:700;transition:transform .2s}.navbar-brand:hover{transform:scale(1.05)}.hamburger-menu{background:#0000;border:none;cursor:pointer;display:none;flex-direction:column;height:30px;justify-content:space-around;padding:0;width:30px;z-index:1001}.hamburger-line{background:#fff;border-radius:3px;height:3px;transform-origin:center;transition:all .3s ease;width:100%}.hamburger-line.open:first-child{transform:rotate(45deg) translate(8px,8px)}.hamburger-line.open:nth-child(2){opacity:0}.hamburger-line.open:nth-child(3){transform:rotate(-45deg) translate(7px,-7px)}.navbar-menu{align-items:center;display:flex;gap:2rem}.navbar-links{display:flex;gap:1rem}.nav-link{align-items:center;background:#ffffff1a;border:2px solid #0000;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:500;padding:.6rem 1.2rem;position:relative;transition:all .2s}.nav-link:hover{background:#fff3;transform:translateY(-1px)}.nav-link.active{background:#fff;color:#667eea;font-weight:600}.pending-badge{align-items:center;background:#f44;border-radius:50%;color:#fff;display:inline-flex;font-size:.75rem;font-weight:600;justify-content:center;line-height:1;margin-left:6px;min-width:18px;padding:2px 6px}.navbar-user{gap:1rem}.language-toggle,.navbar-user{align-items:center;display:flex}.language-toggle{background:#ffffff26;border:2px solid #ffffff4d;border-radius:50%;color:#fff;cursor:pointer;font-size:1.3rem;height:40px;justify-content:center;padding:.5rem;transition:all .3s ease;width:40px}.language-toggle:hover{background:#ffffff4d;transform:scale(1.1)}.theme-toggle{align-items:center;background:#ffffff26;border:2px solid #ffffff4d;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.3rem;height:40px;justify-content:center;padding:.5rem;transition:all .3s ease;width:40px}.theme-toggle:hover{background:#ffffff4d;transform:rotate(180deg) scale(1.1)}.user-email{font-size:.95rem}.logout-btn,.user-email{color:#fff;font-weight:500}.logout-btn{background:#fff3;border:2px solid #fff;border-radius:6px;cursor:pointer;font-size:.9rem;padding:.5rem 1rem;transition:all .2s}.logout-btn:hover{background:#fff;color:#667eea}@media (max-width:1024px){.navbar-container{align-items:center;flex-direction:row;justify-content:space-between;position:relative}.hamburger-menu{display:flex}.navbar-menu{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 8px #0003;flex-direction:column;gap:1rem;left:0;max-height:0;opacity:0;overflow:hidden;padding:1rem;position:absolute;right:0;top:100%;transition:max-height .3s ease,opacity .3s ease,padding .3s ease;width:100%}.navbar-menu.open{max-height:1000px;opacity:1;padding:1rem}.navbar-links{gap:.5rem}.navbar-links,.navbar-user{flex-direction:column;width:100%}.navbar-user{align-items:stretch;gap:1rem}.user-email{text-align:center}}@media (max-width:640px){.navbar-container{padding:1rem}.navbar-brand{font-size:1.2rem}.navbar-links{flex-direction:column;width:100%}.nav-link{text-align:center;width:100%}.user-email{font-size:.85rem}}.add-expense-modal{max-height:90vh;max-width:700px}.expense-form-modal{display:flex;flex-direction:column;gap:1.25rem}.expense-form-modal .form-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.expense-form-modal .form-group{display:flex;flex-direction:column;gap:.5rem}.expense-form-modal .form-group label{color:#2c3e50;color:var(--text-color,#2c3e50);font-size:.9rem;font-weight:600}.expense-form-modal .required{color:#e74c3c}.expense-form-modal .form-group input,.expense-form-modal .form-group select,.expense-form-modal .form-group textarea{background:#fff;background:var(--input-bg,#fff);border:2px solid #e0e6ed;border-radius:8px;color:#2c3e50;color:var(--text-color,#2c3e50);font-family:inherit;font-size:.95rem;padding:.75rem;transition:all .2s}.expense-form-modal .category-select:invalid{color:#7f8c8d}.expense-form-modal .category-select option:not(:disabled){color:#2c3e50;color:var(--text-color,#2c3e50)}.expense-form-modal .form-group input:focus,.expense-form-modal .form-group select:focus,.expense-form-modal .form-group textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.expense-form-modal .form-group input:disabled,.expense-form-modal .form-group select:disabled,.expense-form-modal .form-group textarea:disabled{background:#f5f7fa;cursor:not-allowed}.expense-form-modal .form-group textarea{min-height:80px;resize:vertical}.expense-form-modal .error-message{background:#fee;border-left:4px solid #e74c3c;border-radius:6px;color:#c33;font-size:.9rem;margin-top:.5rem;padding:.75rem 1rem}[data-theme=dark] .expense-form-modal .form-group input,[data-theme=dark] .expense-form-modal .form-group select,[data-theme=dark] .expense-form-modal .form-group textarea{background:#3d3d3d;background:var(--input-bg,#3d3d3d);border-color:#404040;border-color:var(--border-color,#404040);color:#e0e0e0;color:var(--text-color,#e0e0e0)}[data-theme=dark] .expense-form-modal .form-group label{color:#e0e0e0;color:var(--text-color,#e0e0e0)}[data-theme=dark] .expense-form-modal .error-message{background:#e74c3c33;border-left-color:#e74c3c;color:#ff6b6b}[dir=rtl] .expense-form-modal .form-group input,[dir=rtl] .expense-form-modal .form-group label,[dir=rtl] .expense-form-modal .form-group select,[dir=rtl] .expense-form-modal .form-group textarea{direction:rtl;text-align:right}[dir=rtl] .expense-form-modal .required{margin-left:.25rem;margin-right:0}@media (max-width:768px){.add-expense-modal{margin:10px;max-width:100%}.expense-form-modal .form-row{grid-template-columns:1fr}}.header-actions{gap:1rem}.header-actions .btn{word-wrap:break-word;flex:0 1 auto;line-height:1.4;min-width:-webkit-fit-content;min-width:fit-content;overflow-wrap:break-word;padding:.75rem 1rem;text-align:center;white-space:normal}.filter-actions{margin-bottom:1rem}.category-select option{color:#2c3e50;padding:.5rem}.date-range-container{align-items:flex-end;animation:slideDown .3s ease-out;display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1rem}.date-range-container .btn{align-items:center;background:#fff;border:2px solid #e0e6ed;border-radius:8px;color:#2c3e50;cursor:pointer;display:flex;font-size:1rem;font-weight:500;height:-webkit-fit-content;height:fit-content;justify-content:center;min-height:48px;padding:.75rem 1.5rem;transition:all .2s;white-space:nowrap}.date-range-container .btn:hover{background:#f8f9fa;border-color:#667eea;box-shadow:0 2px 8px #667eea26;transform:translateY(-1px)}.date-range-container .btn:active{transform:translateY(0)}.date-range-container .btn-secondary{background:#6c757d;border-color:#6c757d;color:#fff}.date-range-container .btn-secondary:hover{background:#5a6268;border-color:#5a6268;color:#fff}[data-theme=dark] .date-range-container .btn{background:#2d2d2d;background:var(--card-bg,#2d2d2d);border-color:#404040;border-color:var(--border-color,#404040);color:#e0e0e0;color:var(--text-color,#e0e0e0)}[data-theme=dark] .date-range-container .btn:hover{background:#3d3d3d;background:var(--hover-bg,#3d3d3d);border-color:#667eea;border-color:var(--primary-color,#667eea)}[data-theme=dark] .date-range-container .btn-secondary{background:#6c757d;border-color:#6c757d;color:#fff}[data-theme=dark] .date-range-container .btn-secondary:hover{background:#5a6268;border-color:#5a6268}[data-theme=dark] .date-input{background:#3d3d3d;background:var(--input-bg,#3d3d3d);border-color:#404040;border-color:var(--border-color,#404040)}[data-theme=dark] .date-input,[data-theme=dark] .date-input-group label{color:#e0e0e0;color:var(--text-color,#e0e0e0)}.date-input-group{flex:1 1;gap:.5rem;min-width:200px}.date-input-group label{color:#2c3e50;font-size:.9rem;font-weight:600}.date-input{background:#fff;border:2px solid #e0e6ed;border-radius:8px;font-size:1rem;padding:.75rem 1rem;transition:all .2s}.date-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.clear-filters-btn{white-space:nowrap}.filter-buttons{display:flex;flex-wrap:wrap;gap:.75rem}.filter-btn{background:#f5f7fa;border:2px solid #e0e6ed;border-radius:8px;color:#2c3e50;cursor:pointer;font-size:.95rem;font-weight:500;padding:.6rem 1.2rem;transition:all .2s}.filter-btn:hover{background:#e8ecf1}.filter-btn.active{background:#667eea;border-color:#667eea;color:#fff}.summary-item.approved-summary{background:linear-gradient(135deg,#4caf501a,#388e3c1a);border:2px solid #4caf504d}.summary-item.approved-summary .summary-label{color:#4caf50;font-weight:600}.summary-item.approved-summary .summary-value{color:#2e7d32}.expenses-table-wrapper{display:flex;flex-direction:column;gap:1rem}.table-header-actions{align-items:center;display:flex;justify-content:flex-end;padding:0 .5rem}.btn-export{align-items:center;background:#28a745;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s ease;white-space:nowrap}.btn-export:hover{background:#218838;box-shadow:0 4px 12px #28a7454d;transform:translateY(-1px)}.btn-export:active{transform:translateY(0)}.expenses-table th.sortable{color:#667eea;cursor:pointer;font-weight:700;position:relative;transition:all .2s ease;-webkit-user-select:none;user-select:none}.expenses-table th.sortable:hover{background-color:#e9ecef;color:#5568d3;transform:translateY(-1px)}.expenses-table th.sortable:active{background-color:#dee2e6;transform:translateY(0)}.recurring-tag{background:#e0f7fa;border-radius:12px;color:#00838f;display:inline-block;font-size:.85rem;font-weight:500;padding:.25rem .75rem}.status-badge{font-size:.85rem;padding:.4rem .8rem}.badge-approved{background:#d4edda;color:#155724}.badge-rejected{background:#f8d7da;color:#721c24}.badge-pending{background:#fff3cd;color:#856404}.level-badge{display:inline-block!important;opacity:1!important;visibility:visible!important}.level-very-high,.level-very_high{background:#dc3545;color:#fff}.level-refund{background:#d4edda;color:#155724}.level-cell{min-width:100px;padding:1rem!important;text-align:center;white-space:nowrap}.btn-delete:hover:not(:disabled){background:#f5c6cb;transform:scale(1.05)}@media (max-width:1024px){.expenses-table-container{overflow-x:auto}.expenses-table{min-width:800px}}.warning-banner{align-items:center;animation:slideDown .3s ease-out;background:#fff3cd;border-left:4px solid #ffc107;border-radius:8px;box-shadow:0 2px 8px #00000014;color:#856404;display:flex;gap:1rem;justify-content:space-between;margin-bottom:1.5rem;padding:1rem 1.5rem}.warning-content{align-items:center;display:flex;flex:1 1;gap:.75rem}.warning-icon{font-size:1.5rem}.warning-text{font-size:1rem;font-weight:500}.warning-text strong{color:#856404;font-weight:700}.btn-warning{background:#ffc107;border:none;border-radius:8px;color:#856404;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;transition:all .2s ease;white-space:nowrap}.btn-warning:hover{background:#ffb300;box-shadow:0 4px 12px #ffc1074d;transform:translateY(-1px)}@media (max-width:768px){.page-container{padding:1rem}.page-header{align-items:flex-start;flex-direction:column}.page-header h1{font-size:1.5rem}.header-actions{width:100%}.header-actions button{word-wrap:break-word;flex:1 1;line-height:1.4;min-width:120px;overflow-wrap:break-word;white-space:normal}.summary-card{grid-template-columns:1fr}.filter-actions{flex-direction:column}.filter-actions button{width:100%}.category-filter-group{min-width:100%}.date-range-container{align-items:stretch;flex-direction:column}.date-range-container .btn{min-height:48px;width:100%}.date-input-group{min-width:100%}.filter-buttons{flex-direction:column}.filter-btn{width:100%}.warning-banner{align-items:flex-start;flex-direction:column;gap:1rem}.btn-warning{width:100%}.table-header-actions{justify-content:center}.btn-export{width:100%}}.loading-overlay{animation:fadeIn .3s ease;background:#0009}.loading-spinner-container{max-width:400px;min-width:300px;padding:3rem 2.5rem}.loading-spinner{border:5px solid #f3f3f3;height:60px;width:60px}.loading-spinner,.spinner-small{border-top-color:#e74c3c}[data-theme=dark] .btn-export{background:#28a745;color:#fff}[data-theme=dark] .btn-export:hover{background:#218838}[data-theme=dark] .loading-spinner{border-top-color:#e74c3c}[data-theme=dark] .spinner-small{border-color:#e74c3c #fff3 #fff3}[dir=rtl] .header-actions,[dir=rtl] .page-header,[dir=rtl] .page-header h1{direction:rtl}[dir=rtl] .header-actions .btn{direction:rtl;text-align:center}[dir=rtl] .category-filter-group label,[dir=rtl] .category-select,[dir=rtl] .date-input,[dir=rtl] .date-input-group label,[dir=rtl] .search-input{direction:rtl;text-align:right}[dir=rtl] .expenses-table td,[dir=rtl] .expenses-table th,[dir=rtl] .expenses-table th.sortable{text-align:right}[dir=rtl] .level-cell{text-align:center}[dir=rtl] .actions{justify-content:center}[dir=rtl] .warning-banner{border-left:none;border-right:4px solid #ffc107}[dir=rtl] .btn .spinner{margin-left:.5rem;margin-right:0}.tooltip-container{position:relative}.tooltip-container:after,.tooltip-container:before{opacity:0;pointer-events:none;position:absolute;transition:opacity .3s ease,transform .3s ease;z-index:1000}.tooltip-container:before{word-wrap:break-word;background:#000000e6;border-radius:6px;box-shadow:0 4px 12px #0000004d;color:#fff;content:attr(data-tooltip);font-size:.75rem;font-weight:400;left:50%;line-height:1.4;margin-top:8px;max-width:250px;min-width:150px;padding:.4rem .6rem;text-align:left;top:100%;transform:translateX(-50%) translateY(8px);white-space:normal}.tooltip-container:after{border:5px solid;border-color:#0000 #0000 #000000e6;content:"";left:50%;margin-top:2px;top:100%;transform:translateX(-50%) translateY(2px)}.tooltip-container:hover:after,.tooltip-container:hover:before{opacity:1;pointer-events:auto}.tooltip-container:disabled:after,.tooltip-container:disabled:before{display:none}[dir=rtl] .tooltip-container:before{text-align:right}[data-theme=dark] .tooltip-container:before{background:#2d3748f2;border:1px solid #ffffff1a;color:var(--text-primary)}[data-theme=dark] .tooltip-container:after{border-bottom-color:#2d3748f2}@media (max-width:768px){.modal-content{margin:10px;max-width:100%}.modal-footer{flex-direction:column-reverse}.modal-footer .btn{width:100%}}.expenses-table td input[type=checkbox],.expenses-table th input[type=checkbox]{accent-color:#667eea;cursor:pointer;height:18px;width:18px}.expenses-table td input[type=checkbox]:disabled,.expenses-table th input[type=checkbox]:disabled{cursor:not-allowed;opacity:.5}.expenses-table td input[type=checkbox]:hover:not(:disabled),.expenses-table th input[type=checkbox]:hover:not(:disabled){transform:scale(1.1);transition:transform .2s}[data-theme=dark] .expenses-table td input[type=checkbox],[data-theme=dark] .expenses-table th input[type=checkbox]{accent-color:#667eea}.upload-section{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;margin-bottom:3rem;padding:2rem}.subtitle{font-size:1rem}.file-format-notice{background:linear-gradient(135deg,#fff3cd,#ffeaa7);border-left:4px solid #ffc107;border-radius:8px;box-shadow:0 2px 8px #ffc10733;color:#856404;font-size:.85rem;margin:1rem auto;max-width:800px;padding:1rem 1.25rem;text-align:center}.notice-header{font-size:.95rem;margin-bottom:.5rem}.notice-header strong{color:#856404;font-size:1rem}.notice-text{font-size:.85rem;line-height:1.4;margin:.5rem 0}.required-columns-list{background:#fff9;border-radius:6px;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;margin:.75rem 0;padding:.75rem}.column-requirement{align-items:center;background:#fff;border-radius:6px;box-shadow:0 1px 3px #0000001a;display:inline-flex;gap:.5rem;padding:.4rem .6rem}.column-name{color:#2c3e50;font-size:.8rem;font-weight:600}.column-badge{border-radius:12px;font-size:.7rem;font-weight:600;letter-spacing:.3px;padding:.2rem .5rem;text-transform:uppercase}.required-badge{background:#e74c3c;color:#fff}.optional-badge{background:#95a5a6;color:#fff}.notice-footer{color:#856404;font-size:.8rem;font-style:italic;margin-bottom:0;margin-top:.5rem}.credit-card-company-note{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border-left:4px solid #2196f3;border-radius:8px;box-shadow:0 2px 8px #2196f333;margin-top:1rem;padding:.75rem 1rem}.credit-card-company-note .note-text{color:#1565c0;font-size:.9rem;font-weight:600;line-height:1.5;margin:0}.upload-dropzone{background:#f8f9fa;border:3px dashed #cbd5e0;border-radius:12px;padding:3rem 2rem;text-align:center;transition:all .3s}.upload-dropzone:hover{background:#f0f4ff;border-color:#667eea}.upload-dropzone.has-file{background:#f0fff4;border-color:#2ecc71}.upload-content{align-items:center;display:flex;flex-direction:column;gap:1rem}.upload-icon{font-size:4rem}.file-icon{font-size:3rem}.upload-text{color:#2c3e50;font-size:1.2rem;font-weight:600}.upload-subtext{color:#7f8c8d;font-size:1rem}.file-input-label{cursor:pointer}.file-name{color:#2c3e50;font-size:1.1rem;font-weight:600}.file-size{color:#7f8c8d;font-size:.95rem}.supported-formats{color:#95a5a6;font-size:.85rem;margin-top:.5rem}.upload-actions{display:flex;justify-content:center;margin-top:1.5rem}.btn-upload{font-size:1.1rem;padding:1rem 2rem}.upload-result{background:#d4edda;border:2px solid #c3e6cb;border-radius:12px;margin-top:2rem;padding:1.5rem}.upload-result h3{color:#155724;font-size:1.2rem;margin-bottom:1rem}.result-stats{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.stat-item{display:flex;flex-direction:column;gap:.5rem}.stat-label{font-size:.9rem}.stat-value{font-size:1.8rem;font-weight:700}.stat-value.success{color:#27ae60}.merged-expenses-section{margin-top:3rem}.merged-expenses-header{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1.5rem}.merged-expenses-section h2{color:#2c3e50;font-size:1.8rem;margin:0}.search-input{background:#fff;color:#2c3e50;flex:1 1;font-size:.95rem;max-width:400px;min-width:250px;padding:.75rem 1rem}.search-input::placeholder{color:#95a5a6}.merged-list{display:flex;flex-direction:column;gap:1.5rem}.merged-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:1.5rem;transition:all .2s}.merged-card:hover{box-shadow:0 4px 16px #0000001f;transform:translateY(-2px)}.merged-header{align-items:center;border-bottom:2px solid #f0f3f7;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding-bottom:1rem}.merged-header h3{color:#2c3e50;font-size:1.2rem}.merged-date{color:#7f8c8d;font-size:.9rem}.merged-summary{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:1.5rem}.summary-stat{display:flex;flex-direction:column;gap:.25rem}.merged-expenses-breakdown{border-top:2px solid #f0f3f7;margin-top:1.5rem;padding-top:1.5rem}.merged-expenses-breakdown h4{color:#2c3e50;font-size:1rem;margin-bottom:1rem}.breakdown-list{display:flex;flex-direction:column;gap:.75rem}.breakdown-item{align-items:center;background:#f8f9fa;border-radius:8px;display:flex;justify-content:space-between;padding:.75rem;transition:background .2s}.breakdown-item:hover{background:#e9ecef}.breakdown-info{align-items:center;display:flex;gap:.75rem}.business-name{color:#2c3e50;font-weight:600}.category-badge{background:#e3f2fd;border-radius:12px;color:#1976d2;font-size:.8rem;font-weight:500;padding:.25rem .6rem}.breakdown-stats{align-items:center;display:flex;gap:1rem}.expense-count{color:#7f8c8d;font-size:.9rem}.expense-amount{color:#2c3e50;font-size:1rem;font-weight:700}.btn-view-details{font-size:1rem;margin-top:1.5rem;padding:.75rem;width:100%}.detailed-expenses-section{animation:slideDown .3s ease-out;border-top:2px solid #e0e6ed;margin-top:1.5rem;padding-top:1.5rem}.detailed-expenses-heading,.detailed-expenses-section h4{color:#2c3e50;display:block;font-size:1.1rem;font-weight:600;margin-bottom:1rem;visibility:visible}.detailed-expenses-table{border-radius:8px;box-shadow:0 2px 4px #0000000d;overflow-x:auto}.detailed-expenses-table table{background:#fff;border-collapse:collapse;width:100%}.detailed-expenses-table thead{background:#f8f9fa;border-bottom:2px solid #e0e6ed}.detailed-expenses-table th{color:#2c3e50;font-size:.9rem;font-weight:600;padding:.75rem 1rem;text-align:left}.detailed-expenses-table td{border-bottom:1px solid #f0f3f7;color:#4a5568;font-size:.9rem;padding:.75rem 1rem}.detailed-expenses-table tbody tr:hover{background:#f8f9fa}.detailed-expenses-table tbody tr:last-child td{border-bottom:none}.amount-cell{color:#2c3e50;font-weight:600}.status-badge{border-radius:12px;display:inline-block;font-size:.8rem;padding:.3rem .7rem;text-transform:capitalize}.status-badge.status-approved{background:#d4edda;color:#155724}.status-badge.status-pending{background:#fff3cd;color:#856404}.status-badge.status-rejected{background:#f8d7da;color:#721c24}@media (max-width:768px){.upload-section{padding:1.5rem}.upload-dropzone{padding:2rem 1rem}.upload-icon{font-size:3rem}.merged-header{align-items:flex-start;flex-direction:column;gap:.5rem}.merged-expenses-header{align-items:stretch;flex-direction:column}.search-input{max-width:100%;width:100%}.merged-summary{grid-template-columns:1fr}.breakdown-item{align-items:flex-start;flex-direction:column;gap:.75rem}.breakdown-stats{justify-content:space-between;width:100%}}[data-theme=dark] .file-format-notice{background:linear-gradient(135deg,#ffc10733,#ffeaa726);border-left-color:#ffc107;color:#ffc107}[data-theme=dark] .notice-header strong{color:#ffc107}[data-theme=dark] .required-columns-list{background:#0003}[data-theme=dark] .column-requirement{background:var(--bg-secondary);box-shadow:0 1px 3px #0000004d}[data-theme=dark] .column-name{color:var(--text-color)}[data-theme=dark] .notice-footer{color:#ffc107}[data-theme=dark] .credit-card-company-note{background:linear-gradient(135deg,#2196f333,#bbdefb26);border-left-color:#2196f3}[data-theme=dark] .credit-card-company-note .note-text{color:#64b5f6}[data-theme=dark] .merged-card,[data-theme=dark] .upload-section{background:var(--bg-secondary);box-shadow:0 2px 8px var(--shadow)}[data-theme=dark] .merged-card:hover{box-shadow:0 4px 16px var(--shadow-hover)}[data-theme=dark] .upload-dropzone{background:var(--bg-primary);border-color:var(--border-color)}[data-theme=dark] .upload-dropzone:hover{background:var(--bg-secondary);border-color:#667eea}[data-theme=dark] .breakdown-item{background:var(--bg-primary)}[data-theme=dark] .breakdown-item:hover{background:var(--bg-secondary)}[data-theme=dark] .search-input{background:var(--bg-secondary);border-color:var(--border-color);color:var(--text-color)}[data-theme=dark] .search-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea33}[data-theme=dark] .search-input::placeholder{color:#7f8c8d}.upload-section.uploading{opacity:.7;pointer-events:none;position:relative}.upload-dropzone.disabled{cursor:not-allowed;opacity:.6}.upload-loading-overlay{align-items:center;animation:fadeIn .3s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9999}.upload-loading-content{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;box-shadow:0 20px 60px #667eea66;color:#fff;max-width:450px;min-width:350px;overflow:hidden;padding:3rem 2.5rem;position:relative;text-align:center}.upload-loading-content:before{animation:rotate 15s linear infinite;background:radial-gradient(circle,#ffffff1a 0,#0000 70%);content:"";height:200%;left:-50%;position:absolute;top:-50%;width:200%}.upload-animation-container{align-items:center;display:flex;height:80px;justify-content:center;margin:0 auto 2rem;position:relative;width:80px}.upload-spinner{animation:spin 2s linear infinite;border:6px solid #fff3;border-radius:50%;border-top-color:#fff;height:70px;position:relative;width:70px;z-index:2}.upload-pulse-ring{animation:pulse 3s ease-out infinite;border:3px solid #ffffff4d;border-radius:50%;height:80px;position:absolute;width:80px}.upload-message-container{display:flex;flex-direction:column;justify-content:center;margin-bottom:1.5rem;min-height:80px}.upload-main-message{animation:fadeInUp .5s ease;color:#fff;font-size:1.3rem;font-weight:600;line-height:1.4;margin:0 0 1rem}.upload-progress-dots{display:flex;gap:.5rem;justify-content:center;margin-top:.5rem}.progress-dot{background:#fff6;border-radius:50%;height:8px;transition:all .3s ease;width:8px}.progress-dot.active{background:#fff;box-shadow:0 0 10px #fff9;transform:scale(1.3)}.upload-fun-facts{border-top:1px solid #fff3;margin-top:1.5rem;padding-top:1.5rem}.fun-fact-text{animation:fadeIn .5s ease;color:#ffffffe6;font-size:.9rem;font-style:italic;margin:0}.btn-upload .spinner{animation:spin .8s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;display:inline-block;height:16px;margin-right:.5rem;vertical-align:middle;width:16px}@keyframes fadeInUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.2)}to{opacity:0;transform:scale(1.4)}}@keyframes rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}[data-theme=dark] .upload-loading-content{background:linear-gradient(135deg,#5a67d8,#6b46c1);box-shadow:0 20px 60px #5a67d880}[data-theme=dark] .upload-loading-content:before{background:radial-gradient(circle,#ffffff26 0,#0000 70%)}[data-theme=dark] .upload-spinner{border-color:#fff #ffffff40 #ffffff40}[data-theme=dark] .upload-pulse-ring{border-color:#ffffff59}@media (max-width:768px){.upload-loading-content{min-width:280px;padding:2rem 1.5rem}.upload-main-message{font-size:1.1rem}.upload-animation-container{height:60px;width:60px}.upload-spinner{border-width:4px;height:50px;width:50px}.upload-pulse-ring{height:60px;width:60px}}.preview-loading{color:#7f8c8d;padding:2rem;text-align:center}.column-mapping-section{background:#f8f9fa;border:2px solid #e0e6ed;border-radius:12px;box-shadow:0 4px 12px #00000014;margin-top:2rem;padding:2rem}.column-mapping-section h3{color:#2c3e50;font-size:1.5rem;font-weight:700;margin-bottom:.5rem}.mapping-instruction{color:#7f8c8d;font-size:.95rem;margin-bottom:1.5rem}.file-preview-table{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000000d;margin-bottom:2rem;overflow-x:auto}.preview-header-info{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px 8px 0 0;color:#fff;margin-bottom:0;padding:.75rem 1rem}.preview-info-text{font-size:.95rem;font-weight:600;margin:0}.file-preview-table table{border-collapse:collapse;font-size:.9rem;width:100%}.file-preview-table thead{background:#667eea;color:#fff}.file-preview-table th{border-right:1px solid #fff3;font-weight:600;padding:.75rem;text-align:left}.file-preview-table th:last-child{border-right:none}.file-preview-table td{border-bottom:1px solid #f0f3f7;border-right:1px solid #f0f3f7;color:#4a5568;max-width:200px;overflow:hidden;padding:.75rem;text-overflow:ellipsis;white-space:nowrap}.file-preview-table td:last-child{border-right:none}.file-preview-table tbody tr:hover{background:#f8f9fa}.file-preview-table tbody tr.header-row-preview{background:#e3f2fd;font-weight:500}.file-preview-table tbody tr.header-row-preview:hover{background:#d1e7fd}.file-preview-table tbody tr.header-row-preview td{color:#1976d2;font-weight:500}.mapping-fields{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.mapping-field{display:flex;flex-direction:column}.mapping-field label{color:#2c3e50;font-size:.95rem;font-weight:600;margin-bottom:.5rem}.mapping-field select{-webkit-appearance:none;appearance:none;background:#fff;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%234a5568' d='M6 9 1 4h10z'/%3E%3C/svg%3E");background-position:right 1rem center;background-repeat:no-repeat;border:2px solid #e0e6ed;border-radius:8px;color:#2c3e50;cursor:pointer;font-size:.95rem;padding:.875rem 2.5rem .875rem 1rem;transition:all .2s;width:100%}.mapping-field select:hover{border-color:#667eea}.mapping-field select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.required{color:#e74c3c;font-weight:700}.optional{color:#7f8c8d;font-size:.85rem;font-weight:400}[data-theme=dark] .column-mapping-section{background:var(--bg-primary);border-color:var(--border-color)}[data-theme=dark] .file-preview-table{background:var(--bg-secondary)}[data-theme=dark] .preview-header-info{background:linear-gradient(135deg,#5a67d8,#6b46c1)}[data-theme=dark] .file-preview-table tbody tr.header-row-preview{background:#667eea33}[data-theme=dark] .file-preview-table tbody tr.header-row-preview:hover{background:#667eea4d}[data-theme=dark] .file-preview-table tbody tr.header-row-preview td{color:#90caf9}[data-theme=dark] .file-preview-table td{border-color:var(--border-color);color:var(--text-color)}[data-theme=dark] .file-preview-table tbody tr:hover{background:var(--bg-primary)}[data-theme=dark] .mapping-field select{background:var(--bg-secondary);border-color:var(--border-color);color:var(--text-color)}@media (max-width:768px){.mapping-fields{grid-template-columns:1fr}.file-preview-table{font-size:.8rem}.file-preview-table td,.file-preview-table th{padding:.5rem}}.modal-overlay{animation:fadeIn .3s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;padding:1rem;z-index:10000}.modal-content{animation:slideUp .3s ease;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:90vw!important;overflow:hidden}.modal-header{background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:2px solid #f0f3f7;color:#fff;padding:1.5rem 2rem}.modal-header h2{font-size:1.5rem;font-weight:700;margin:0 0 .5rem}.modal-subtitle{font-size:.95rem;font-weight:400;margin:0;opacity:.95}.modal-body{overflow-y:auto;padding:1.5rem 2rem}.header-selection-controls{display:flex;justify-content:center;margin-bottom:1rem}.btn-toggle-view{background:#f8f9fa;border:2px solid #e0e6ed;border-radius:8px;color:#4a5568;cursor:pointer;font-size:.9rem;font-weight:600;padding:.5rem 1rem;transition:all .2s}.btn-toggle-view:hover{background:#e9ecef;border-color:#667eea;color:#667eea}[data-theme=dark] .btn-toggle-view{background:var(--bg-primary);border-color:var(--border-color);color:var(--text-color)}[data-theme=dark] .btn-toggle-view:hover{background:var(--bg-secondary);border-color:#667eea;color:#667eea}.header-selection-table{background:#fff;border:2px solid #e0e6ed;border-radius:8px;margin-bottom:1.5rem;max-height:60vh;overflow-x:auto;overflow-y:auto}.header-selection-table table{border-collapse:collapse;font-size:.9rem;width:100%}.header-selection-table tbody tr{border-bottom:1px solid #f0f3f7;cursor:pointer;transition:all .2s}.header-selection-table tbody tr:hover{background:#f8f9fa;transform:translateX(2px)}.header-selection-table tbody tr.selected-header-row{background:#e3f2fd;border-left:4px solid #667eea;font-weight:600}.header-selection-table tbody tr.selected-header-row:hover{background:#d1e7fd}.header-selection-table .row-number{background:#f8f9fa;border-right:2px solid #e0e6ed;color:#667eea;font-weight:700;min-width:50px;padding:.75rem 1rem;text-align:center}.header-selection-table tbody tr.selected-header-row .row-number{background:#667eea;color:#fff}.header-selection-table td{border-right:1px solid #f0f3f7;color:#4a5568;max-width:200px;overflow:hidden;padding:.75rem 1rem;text-overflow:ellipsis;white-space:nowrap}.header-selection-table td:last-child{border-right:none}.modal-info-text{background:#f8f9fa;border-radius:6px;color:#7f8c8d;font-size:.9rem;margin:0 0 1.5rem;padding:.75rem;text-align:center}.modal-actions{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}.modal-actions .btn{border:none;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:600;min-width:150px;padding:.75rem 1.5rem;transition:all .2s}.modal-actions .btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.modal-actions .btn-primary:hover{box-shadow:0 4px 12px #667eea66;transform:translateY(-2px)}.modal-actions .btn-secondary{background:#e0e6ed;color:#4a5568}.modal-actions .btn-secondary:hover{background:#d0d6dd}[data-theme=dark] .modal-content{background:var(--bg-secondary);box-shadow:0 20px 60px #00000080}[data-theme=dark] .modal-header{background:linear-gradient(135deg,#5a67d8,#6b46c1)}[data-theme=dark] .header-selection-table{background:var(--bg-primary);border-color:var(--border-color)}[data-theme=dark] .header-selection-table tbody tr{border-color:var(--border-color)}[data-theme=dark] .header-selection-table tbody tr:hover{background:var(--bg-secondary)}[data-theme=dark] .header-selection-table tbody tr.selected-header-row{background:#667eea33;border-left-color:#667eea}[data-theme=dark] .header-selection-table .row-number{background:var(--bg-primary);border-right-color:var(--border-color)}[data-theme=dark] .header-selection-table td{border-right-color:var(--border-color);color:var(--text-color)}[data-theme=dark] .modal-actions .btn-secondary,[data-theme=dark] .modal-info-text{background:var(--bg-primary);color:var(--text-color)}[data-theme=dark] .modal-actions .btn-secondary{border:1px solid var(--border-color)}[data-theme=dark] .modal-actions .btn-secondary:hover{background:var(--bg-secondary)}@media (max-width:768px){.modal-content{max-height:95vh;max-width:95vw}.modal-header{padding:1rem 1.5rem}.modal-header h2{font-size:1.2rem}.modal-body{padding:1rem 1.5rem}.header-selection-table{font-size:.8rem}.header-selection-table td{max-width:150px;padding:.5rem}.modal-actions{flex-direction:column}.modal-actions .btn{width:100%}}.onboarding-overlay{align-items:center;animation:fadeIn .3s ease-out;background:#0009;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.onboarding-modal{animation:slideUp .3s ease-out;background:#fff;border-radius:16px;box-shadow:0 10px 40px #0003;max-height:90vh;max-width:600px;overflow-y:auto;width:90%}.onboarding-header{border-bottom:2px solid #f0f3f7;padding:2rem 2rem 1rem;text-align:center}.onboarding-header h2{color:#2c3e50;font-size:1.8rem;font-weight:700;margin:0}.onboarding-content{padding:2rem}.onboarding-step{align-items:center;background:#f8f9fa;border-radius:12px;display:flex;flex-direction:column;margin-bottom:2rem;padding:1.5rem;text-align:center;transition:all .2s}.onboarding-step:last-child{margin-bottom:0}.onboarding-step:hover{background:#e9ecef;transform:translateY(-2px)}.step-icon{font-size:3rem;margin-bottom:1rem}.onboarding-step h3{color:#2c3e50;font-size:1.3rem;font-weight:600;margin:0 0 .75rem}.onboarding-step p{color:#5a6c7d;font-size:1rem;line-height:1.6;margin:0}.file-format-note{background:#fff3cd;border-left:3px solid #ffc107;border-radius:6px;color:#856404;font-size:.9rem;line-height:1.5;margin-top:.75rem;padding:.5rem .75rem}.onboarding-footer{border-top:2px solid #f0f3f7;padding:1.5rem 2rem 2rem;text-align:center}.onboarding-footer .btn{border:none;border-radius:8px;cursor:pointer;font-size:1.1rem;font-weight:600;padding:.875rem 2rem;transition:all .2s}.onboarding-footer .btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.onboarding-footer .btn-primary:hover{box-shadow:0 4px 12px #667eea66;transform:translateY(-2px)}.onboarding-footer .btn-primary:active{transform:translateY(0)}[data-theme=dark] .onboarding-modal{background:var(--bg-secondary);box-shadow:0 10px 40px #00000080}[data-theme=dark] .onboarding-header{border-bottom-color:var(--border-color)}[data-theme=dark] .onboarding-header h2{color:var(--text-primary)}[data-theme=dark] .onboarding-step{background:var(--bg-primary);border:1px solid var(--border-color)}[data-theme=dark] .onboarding-step:hover{background:var(--bg-secondary)}[data-theme=dark] .onboarding-step h3{color:var(--text-primary)}[data-theme=dark] .onboarding-step p{color:var(--text-secondary)}[data-theme=dark] .onboarding-footer{border-top-color:var(--border-color)}[data-theme=dark] .file-format-note{background:#ffc10726;border-left-color:#ffc107;color:#ffc107}@media (max-width:768px){.onboarding-modal{max-height:95vh;width:95%}.onboarding-header{padding:1.5rem 1.5rem 1rem}.onboarding-header h2{font-size:1.5rem}.onboarding-content{padding:1.5rem}.onboarding-step{margin-bottom:1.5rem;padding:1.25rem}.step-icon{font-size:2.5rem}.onboarding-step h3{font-size:1.1rem}.onboarding-step p{font-size:.9rem}.onboarding-footer{padding:1.25rem 1.5rem 1.5rem}.onboarding-footer .btn{font-size:1rem;padding:.75rem 1.5rem}}.total-budget-summary{animation:slideDown .3s ease-out;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;box-shadow:0 4px 12px #667eea4d;color:#fff;margin:2rem 0;padding:1.5rem 2rem}.total-budget-content{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between}.total-budget-label{font-size:1.1rem;font-weight:500;opacity:.95}.total-budget-value{font-size:2rem;font-weight:700;letter-spacing:.5px}.categories-container{margin-top:2rem}.categories-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.category-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:1.5rem;transition:all .2s}.category-card:hover{box-shadow:0 4px 16px #0000001f;transform:translateY(-2px)}.category-header{align-items:flex-start;border-bottom:2px solid #f0f3f7;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:1rem}.category-header h3{color:#2c3e50;font-size:1.2rem;margin:0;word-break:break-word}.category-actions,.category-budget{display:flex;gap:.5rem}.category-budget{flex-direction:column}.budget-label{color:#7f8c8d;font-size:.9rem;font-weight:500}.budget-value{color:#2c3e50;font-size:1.3rem;font-weight:700}.category-form-card{animation:slideDown .3s ease-out;background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;margin-bottom:2rem;padding:2rem}.category-form-card h3{color:#2c3e50;margin-bottom:1.5rem}.category-form{display:flex;flex-direction:column;gap:1.5rem}.category-edit-form{display:flex;flex-direction:column;gap:1rem}.category-edit-form .form-group{display:flex;flex-direction:column;gap:.5rem}.category-edit-form label{color:#2c3e50;font-size:.9rem;font-weight:600}.category-edit-form input{border:2px solid #e0e6ed;border-radius:8px;font-size:1rem;padding:.75rem;transition:all .2s}.category-edit-form input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.category-edit-form input:disabled{background-color:#f5f7fa;cursor:not-allowed;opacity:.6}[data-theme=dark] .category-edit-form input:disabled{background-color:var(--input-disabled)}.btn-sm{font-size:.9rem;padding:.5rem 1rem}.info-box{background:#e3f2fd;border-left:4px solid #2196f3;border-radius:8px;margin-top:3rem;padding:1.5rem}.info-box h4{color:#1565c0;font-size:1.1rem;margin-bottom:1rem}.info-box ul{padding:0}.info-box li{color:#1976d2;padding:.5rem 0 .5rem 1.5rem;position:relative}.info-box li:before{content:"•";font-weight:700;left:.5rem;position:absolute}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.loading-spinner{display:inline-block;margin-right:.5rem}@media (max-width:768px){.categories-grid{grid-template-columns:1fr}.category-header{flex-direction:column;gap:1rem}.category-actions{justify-content:flex-end;width:100%}.category-form-card{padding:1.5rem}}[data-theme=dark] .category-card{background:var(--bg-secondary);box-shadow:0 2px 8px var(--shadow)}[data-theme=dark] .category-card:hover{box-shadow:0 4px 16px var(--shadow-hover)}[data-theme=dark] .category-header{border-bottom-color:var(--border-color)}[data-theme=dark] .category-header h3{color:var(--text-primary)}[data-theme=dark] .budget-label{color:var(--text-secondary)}[data-theme=dark] .budget-value{color:var(--text-primary)}[data-theme=dark] .category-form-card{background:var(--bg-secondary);box-shadow:0 2px 8px var(--shadow)}[data-theme=dark] .category-edit-form label,[data-theme=dark] .category-form-card h3{color:var(--text-primary)}[data-theme=dark] .category-edit-form input{background:var(--input-bg);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .info-box{background:#2196f31a;border-left-color:#2196f3}[data-theme=dark] .info-box h4{color:#64b5f6}[data-theme=dark] .info-box li{color:var(--text-secondary)}[data-theme=dark] .total-budget-summary{background:linear-gradient(135deg,#5a67d8,#6b46c1);box-shadow:0 4px 12px #5a67d866}.suggested-categories-overlay{align-items:center;animation:fadeIn .3s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;bottom:0;display:flex;justify-content:center;left:0;overflow-y:auto;padding:1rem;position:fixed;right:0;top:0;z-index:10000}.suggested-categories-modal{animation:slideUp .3s ease;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-height:90vh;max-width:800px;overflow-y:auto;width:100%}.suggested-categories-header{border-bottom:2px solid #f0f3f7;padding:2rem 2rem 1rem;text-align:center}.suggested-categories-header h2{color:#2c3e50;font-size:1.8rem;margin-bottom:.5rem}.suggested-categories-subtitle{color:#7f8c8d;font-size:1rem;margin:0}.suggested-categories-content{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));padding:2rem}.suggested-category-card{background:#f8f9fa;border:2px solid #e0e6ed;border-radius:12px;padding:1.5rem;transition:all .2s}.suggested-category-card:focus-within{background:#fff;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.suggested-category-form-group{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.suggested-category-form-group:last-child{margin-bottom:0}.suggested-category-form-group label{color:#2c3e50;font-size:.9rem;font-weight:600}.suggested-category-input{background:#fff;border:2px solid #e0e6ed;border-radius:8px;font-size:1rem;padding:.75rem;transition:all .2s}.suggested-category-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.suggested-categories-footer{border-top:2px solid #f0f3f7;padding:1.5rem 2rem 2rem;text-align:center}.btn-large{font-size:1.1rem;font-weight:600;padding:1rem 2.5rem}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}[data-theme=dark] .suggested-categories-modal{background:var(--bg-secondary);box-shadow:0 20px 60px #00000080}[data-theme=dark] .suggested-categories-header{border-bottom-color:var(--border-color)}[data-theme=dark] .suggested-categories-header h2{color:var(--text-primary)}[data-theme=dark] .suggested-categories-subtitle{color:var(--text-secondary)}[data-theme=dark] .suggested-category-card{background:var(--bg-primary);border-color:var(--border-color)}[data-theme=dark] .suggested-category-card:focus-within{background:var(--bg-secondary);border-color:#667eea}[data-theme=dark] .suggested-category-form-group label{color:var(--text-primary)}[data-theme=dark] .suggested-category-input{background:var(--input-bg);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .suggested-categories-footer{border-top-color:var(--border-color)}@media (max-width:768px){.suggested-categories-modal{margin:1rem;max-width:100%}.suggested-categories-header{padding:1.5rem 1.5rem 1rem}.suggested-categories-header h2{font-size:1.5rem}.suggested-categories-content{grid-template-columns:1fr;padding:1.5rem}.suggested-categories-footer{padding:1.5rem}.btn-large{padding:1rem;width:100%}.total-budget-content{align-items:flex-start;flex-direction:column;gap:.5rem}.total-budget-value{font-size:1.5rem}}.page-container{margin:0 auto;max-width:1400px;padding:2rem}.page-header{align-items:center;gap:1rem;margin-bottom:2rem}.page-header h1{font-size:2rem}.subtitle{color:#7f8c8d;font-size:.95rem;margin-top:.5rem}.header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem}.header-actions .btn-action-compact{align-items:center;border:none;border-radius:8px;box-shadow:0 2px 6px #0000001a;display:inline-flex;flex-direction:column;font-size:.85rem;font-weight:600;gap:.25rem;justify-content:center;line-height:1.2;min-width:auto;padding:.5rem .9rem;transition:all .2s ease}.header-actions .btn-action-compact:hover:not(:disabled){box-shadow:0 4px 10px #00000026;transform:translateY(-1px)}.header-actions .btn-action-compact:active:not(:disabled){box-shadow:0 2px 4px #0000001a;transform:translateY(0)}.header-actions .btn-action-compact.btn-success-compact{background:#85d4a0;border:none;box-shadow:0 2px 6px #85d4a04d;color:#2c3e50}.header-actions .btn-action-compact.btn-success-compact:hover:not(:disabled){background:#75c490;box-shadow:0 4px 10px #85d4a066}.header-actions .btn-action-compact.btn-danger-compact{background:#ff949e;border:none;box-shadow:0 2px 6px #ff949e4d;color:#2c3e50}.header-actions .btn-action-compact.btn-danger-compact:hover:not(:disabled){background:#ef8498;box-shadow:0 4px 10px #ff949e66}.header-actions .btn-action-compact.btn-secondary-compact{background:#a0bdc8;border:none;box-shadow:0 2px 6px #a0bdc84d;color:#2c3e50}.header-actions .btn-action-compact.btn-secondary-compact:hover:not(:disabled){background:#90adb8;box-shadow:0 4px 10px #a0bdc866}.header-actions .btn-action-compact .btn-icon-top{font-size:1.1rem;line-height:1}.header-actions .btn-action-compact .btn-text{word-wrap:break-word;font-size:.95rem;font-weight:600;line-height:1.3;overflow-wrap:break-word;text-align:center;white-space:normal}.header-actions .btn-action-compact .btn-count{font-size:.9rem;font-weight:700;opacity:.95}.header-actions .btn-action-compact:disabled{cursor:not-allowed;opacity:.6;transform:none!important}.header-actions .btn-action-compact .spinner{border-width:2px;height:12px;margin:0;width:12px}[data-theme=dark] .header-actions .btn-action-compact.btn-success-compact{background:#75c490;color:#1a202c}[data-theme=dark] .header-actions .btn-action-compact.btn-danger-compact{background:#ef8498;color:#1a202c}[data-theme=dark] .header-actions .btn-action-compact.btn-secondary-compact{background:#90adb8;color:#1a202c}[data-theme=dark] .header-actions .btn-action-compact.btn-secondary-compact:hover:not(:disabled){background:#80a0ab}.btn-danger{background:#dc3545;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;transition:all .2s}.btn-danger:hover:not(:disabled){background:#c82333;box-shadow:0 4px 8px #dc35454d}.btn-danger:disabled{cursor:not-allowed;opacity:.6;transform:none}.filters-section{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;margin-bottom:1.5rem;padding:1.5rem}.search-box{margin-bottom:1rem}.search-input{border:2px solid #e0e6ed;border-radius:8px;font-size:1rem;padding:.9rem 1rem;transition:all .2s;width:100%}.search-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.filter-actions{align-items:flex-end;display:flex;flex-wrap:wrap;gap:1rem}.category-filter-group{display:flex;flex-direction:column;gap:.5rem;max-width:350px;min-width:250px}.category-filter-group label{color:#2c3e50;font-size:.9rem;font-weight:600}.category-select{background:#fff;border:2px solid #e0e6ed;border-radius:8px;color:#2c3e50;cursor:pointer;font-size:1rem;max-height:300px;padding:.75rem 1rem;transition:all .2s;width:100%}.category-select:hover{border-color:#667eea}.category-select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.summary-card{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:2rem}.summary-item{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;display:flex;flex-direction:column;gap:.5rem;padding:1.5rem}.summary-label{color:#7f8c8d;font-size:.95rem}.summary-value{color:#2c3e50;font-size:1.8rem}.expenses-table-container{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;overflow:hidden}.expenses-table{border-collapse:collapse;width:100%}.expenses-table thead{background:#f8f9fa;border-bottom:2px solid #e0e6ed}.expenses-table th{color:#2c3e50;font-size:.95rem;font-weight:600;padding:1rem;text-align:left}.expenses-table td{color:#4a5568;padding:1rem;vertical-align:middle}.expenses-table tbody tr{border-bottom:1px solid #f0f3f7;height:60px;min-height:60px}.expenses-table tbody tr:hover{background:#f8f9fa}.expenses-table tbody tr:last-child{border-bottom:none}.category-tag{background:#e3f2fd;color:#1976d2}.category-tag,.file-name-tag{border-radius:12px;display:inline-block;font-size:.85rem;font-weight:500;padding:.25rem .75rem}.file-name-tag{background:#f3e5f5;color:#7b1fa2;cursor:help;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manual-tag{background:#fff3e0;border-radius:12px;color:#e65100;display:inline-block;font-size:.85rem;font-weight:500;padding:.25rem .75rem}.amount{color:#2c3e50;font-weight:600;white-space:nowrap}.level-badge{border-radius:12px;display:inline-block;font-size:.85rem;font-weight:600;padding:.4rem .8rem;text-transform:capitalize}.level-low{background:#d1f2eb;color:#0e6655}.level-medium{background:#fff3cd;color:#856404}.level-high{background:#fadbd8;color:#922b21}.level-very-high,.level-very_high{background:#dc3545;color:#fff}.level-unknown{background:#e8e8e8;color:#666}.expenses-table td.actions{padding:1rem;text-align:center}.actions{display:flex;gap:.5rem;margin:0 auto;width:-webkit-fit-content;width:fit-content}.actions,.btn-icon{align-items:center;justify-content:center}.btn-icon{border-radius:6px;display:inline-flex;font-size:1rem;height:36px;min-width:36px;padding:.5rem;transition:all .2s}.btn-icon:disabled{cursor:not-allowed;opacity:.6;pointer-events:none}.btn-icon.btn-save{background:#28a745;color:#fff}.btn-icon.btn-save:hover:not(:disabled){background:#218838;transform:scale(1.05)}.btn-icon.btn-cancel{background:#6c757d;color:#fff}.btn-icon.btn-cancel:hover:not(:disabled){background:#5a6268;transform:scale(1.05)}.editing-row{background:#f0f8ff!important}.editing-row:hover{background:#e6f3ff!important}.inline-edit-input,.inline-edit-select{background:#fff;border:2px solid #667eea;border-radius:6px;color:#2c3e50;font-size:.9rem;padding:.5rem;transition:all .2s;width:100%}.inline-edit-input:focus,.inline-edit-select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.inline-edit-input:disabled,.inline-edit-select:disabled{background:#f5f5f5;cursor:not-allowed;opacity:.7}.inline-edit-select{cursor:pointer}.spinner-small{animation:spin .8s linear infinite;border:2px solid #0003;border-radius:50%;border-top-color:#155724;display:inline-block;height:14px;width:14px}.btn-approve{background:#d4edda;color:#155724}.btn-approve:hover{background:#c3e6cb;transform:scale(1.05)}.btn-reject{background:#f8d7da;color:#721c24}.btn-reject:hover{background:#f5c6cb;transform:scale(1.05)}.btn-edit{background:#e3f2fd;color:#1976d2}.btn-edit:hover{background:#bbdefb;transform:scale(1.05)}.btn-delete{background:#f8d7da;color:#721c24}.btn-delete:hover{background:#f5c6cb;transform:scale(1.05)}.error-banner{background:#f8d7da;border-left:4px solid #dc3545;color:#721c24}.success-banner{background:#d4edda;border-left:4px solid #28a745;border-radius:8px;color:#155724;margin-bottom:1rem;padding:1rem}.empty-state{box-shadow:0 2px 8px #00000014;padding:4rem 2rem}.empty-state p,.loading{color:#7f8c8d;font-size:1.2rem}.loading{padding:4rem 2rem}.loading-overlay{align-items:center;animation:fadeIn .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9999}.loading-spinner-container{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;min-width:250px;padding:3rem;text-align:center}.loading-spinner{animation:spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;border-top-color:#2ecc71;height:50px;margin:0 auto 1.5rem;width:50px}.loading-spinner-container p{color:#2c3e50;font-size:1.2rem;font-weight:600;margin:0 0 .5rem}.loading-subtext{color:#7f8c8d!important;font-size:.95rem!important;font-weight:400!important;margin-top:.5rem!important}.expenses-table-container.loading-state{opacity:.6;pointer-events:none;position:relative}.expenses-table-container.loading-state:before{background:#ffffffb3;border-radius:12px;bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:1}.btn .spinner{animation:spin .8s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;display:inline-block;height:16px;margin-right:.5rem;vertical-align:middle;width:16px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@media (max-width:1024px){.expenses-table-container{overflow-x:auto}.expenses-table{min-width:900px}}@media (max-width:768px){.page-container{padding:1rem}.page-header{align-items:flex-start;flex-direction:column}.page-header h1{font-size:1.5rem}.header-actions{width:100%}.header-actions button{flex:1 1}.header-actions .btn-action-compact{font-size:.8rem;min-width:80px;padding:.45rem .7rem}.header-actions .btn-action-compact .btn-icon-top{font-size:1rem}.header-actions .btn-action-compact .btn-text{font-size:.8rem}.header-actions .btn-action-compact .btn-count{font-size:.75rem}.summary-card{grid-template-columns:1fr}.filter-actions{flex-direction:column}.category-filter-group{min-width:100%}.loading-spinner-container{min-width:200px;padding:2rem 1.5rem}.loading-spinner{border-width:3px;height:40px;width:40px}}[data-theme=dark] .loading-spinner-container{background:var(--bg-secondary);box-shadow:0 20px 60px #00000080}[data-theme=dark] .loading-spinner-container p{color:var(--text-primary)}[data-theme=dark] .loading-spinner{border-color:var(--bg-tertiary);border-top-color:#2ecc71}[data-theme=dark] .expenses-table-container.loading-state:before{background:#2d3748b3}[data-theme=dark] .editing-row{background:#2a3a4a!important}[data-theme=dark] .editing-row:hover{background:#34495e!important}[data-theme=dark] .inline-edit-input,[data-theme=dark] .inline-edit-select{background:#3d3d3d;border-color:#667eea;color:#e0e0e0}[data-theme=dark] .inline-edit-input:focus,[data-theme=dark] .inline-edit-select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea33}[data-theme=dark] .inline-edit-input:disabled,[data-theme=dark] .inline-edit-select:disabled{background:#2d2d2d;opacity:.6}.budget-vs-expenses-page{margin:0 auto;max-width:1400px;padding:24px}.page-header{align-items:flex-start;border-bottom:2px solid #e8ecf1;border-bottom:2px solid var(--border-color,#e8ecf1);display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;margin-bottom:32px;padding-bottom:24px}.page-header h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;color:#2c3e50;color:var(--text-color,#2c3e50);font-size:32px;font-weight:700;margin:0 0 8px}.page-header .subtitle{color:#666;color:var(--text-secondary,#666);font-size:16px;font-weight:400;margin:0}[data-theme=dark] .page-header{border-bottom-color:#404040;border-bottom-color:var(--border-color,#404040)}[data-theme=dark] .page-header h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text}[data-theme=dark] .page-header .subtitle{color:#b0b0b0;color:var(--text-secondary,#b0b0b0)}.view-toggle-container{align-items:center;background:#f8f9fa;background:var(--card-bg,#f8f9fa);border:1px solid #e0e0e0;border:1px solid var(--border-color,#e0e0e0);border-radius:24px;display:flex;gap:12px;padding:8px 16px;transition:all .3s ease}.view-toggle-container:hover{border-color:#667eea;border-color:var(--primary-color,#667eea);box-shadow:0 2px 8px #667eea1a}.view-toggle-label{align-items:center;color:#333;color:var(--text-color,#333);cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:12px;-webkit-user-select:none;user-select:none}.view-toggle-label span{border-radius:6px;padding:4px 8px;transition:all .3s ease}.view-toggle-label span.active{background:#667eea1a;color:#667eea;color:var(--primary-color,#667eea);font-weight:600}.view-toggle-switch{-webkit-appearance:none;appearance:none;background:linear-gradient(135deg,#ccc,#b0b0b0);border-radius:14px;box-shadow:inset 0 2px 4px #0000001a;cursor:pointer;height:28px;outline:none;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1);width:52px}.view-toggle-switch:hover{box-shadow:inset 0 2px 4px #00000026,0 0 0 3px #667eea1a}.view-toggle-switch:checked{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:inset 0 2px 4px #0000001a,0 0 0 3px #667eea33}.view-toggle-switch:before{background:#fff;border-radius:50%;box-shadow:0 2px 6px #0003,0 1px 2px #0000001a;content:"";height:24px;left:2px;position:absolute;top:2px;transition:transform .3s cubic-bezier(.4,0,.2,1);width:24px}.view-toggle-switch:checked:before{box-shadow:0 2px 8px #667eea66,0 1px 3px #0000001a;transform:translateX(24px)}[data-theme=dark] .view-toggle-container{background:#3d3d3d;background:var(--card-bg,#3d3d3d);border-color:#404040;border-color:var(--border-color,#404040)}[data-theme=dark] .view-toggle-container:hover{border-color:#667eea;border-color:var(--primary-color,#667eea);box-shadow:0 2px 8px #667eea33}[data-theme=dark] .view-toggle-label span.active{background:#667eea33}[dir=rtl] .view-toggle-label{direction:rtl;flex-direction:row-reverse}[dir=rtl] .view-toggle-switch:before{left:auto;right:2px}[dir=rtl] .view-toggle-switch:checked:before{transform:translateX(-24px)}.chart-container{background:#fff;background:var(--card-bg,#fff);border:1px solid #0000000d;border-radius:12px;box-shadow:0 4px 12px #00000014,0 2px 4px #0000000a;margin-bottom:30px;overflow:hidden;padding:32px;position:relative;transition:box-shadow .3s ease,transform .2s ease}.charts-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));margin-bottom:30px}.category-chart-card{background:#fff;background:var(--card-bg,#fff);border:1px solid #0000000d;border-radius:12px;box-shadow:0 2px 8px #0000000f,0 1px 3px #0000000a;overflow:hidden;padding:20px;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.category-chart-card:before{background:linear-gradient(90deg,#667eea,#764ba2);content:"";height:3px;left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .3s ease}.category-chart-card:hover{border-color:#667eea33;box-shadow:0 8px 24px #0000001f,0 4px 8px #00000014;transform:translateY(-4px)}.category-chart-card:hover:before{opacity:1}.category-chart-header{margin-bottom:16px}.category-chart-title{color:#2c3e50;color:var(--text-color,#2c3e50);font-size:18px;font-weight:600;margin:0 0 12px}.category-chart-stats{display:flex;flex-direction:column;gap:6px}.chart-stat{align-items:center;display:flex;font-size:13px;justify-content:space-between}.stat-label{color:#666;color:var(--text-secondary,#666);font-weight:500}.stat-value{color:#2c3e50;color:var(--text-color,#2c3e50);font-size:14px;font-weight:600}.stat-value.spent{color:#f44336}.category-chart-container{height:250px;margin:16px 0}.category-chart-footer{align-items:center;border-top:1px solid #e8ecf1;border-top:1px solid var(--border-color,#e8ecf1);display:flex;justify-content:space-between;margin-top:16px;padding-top:16px}.chart-legend{display:flex;flex-wrap:wrap;gap:16px}.legend-item{align-items:center;display:flex;font-size:12px;gap:6px}.legend-color{border-radius:3px;display:inline-block;height:12px;width:12px}.legend-text{color:#666;color:var(--text-secondary,#666);font-weight:500}.chart-percentage{align-items:center;display:flex}.percentage-badge{border-radius:20px;color:#fff;font-size:13px;font-weight:600;padding:6px 12px}.percentage-badge.healthy{background:linear-gradient(135deg,#4caf50,#2e7d32)}.percentage-badge.warning{background:linear-gradient(135deg,#ff9800,#f57c00)}.percentage-badge.over{background:linear-gradient(135deg,#f44336,#d32f2f)}[data-theme=dark] .category-chart-card{background:#2d2d2d;background:var(--card-bg,#2d2d2d);border-color:#404040;border-color:var(--border-color,#404040)}[data-theme=dark] .category-chart-card:hover{border-color:#667eea4d}[data-theme=dark] .category-chart-title{color:#e0e0e0;color:var(--text-color,#e0e0e0)}[data-theme=dark] .stat-label{color:#b0b0b0;color:var(--text-secondary,#b0b0b0)}[data-theme=dark] .stat-value{color:#e0e0e0;color:var(--text-color,#e0e0e0)}[data-theme=dark] .legend-text{color:#b0b0b0;color:var(--text-secondary,#b0b0b0)}[data-theme=dark] .category-chart-footer{border-top-color:#404040;border-top-color:var(--border-color,#404040)}.chart-container:after{bottom:8px;color:#999;color:var(--text-secondary,#999);content:"← →";font-size:12px;opacity:0;pointer-events:none;position:absolute;right:16px;transition:opacity .3s ease;z-index:10}.chart-container:before{background:linear-gradient(90deg,#667eea,#764ba2);content:"";height:4px;left:0;opacity:.8;position:absolute;right:0;top:0}.chart-container:hover{box-shadow:0 8px 24px #0000001f,0 4px 8px #0000000f;transform:translateY(-2px)}.chart-container .recharts-wrapper{filter:drop-shadow(0 2px 4px rgba(0,0,0,.05))}.chart-container .recharts-cartesian-grid-horizontal line,.chart-container .recharts-cartesian-grid-vertical line{stroke:#e0e0e0;stroke:var(--border-color,#e0e0e0);stroke-opacity:.5}.chart-container .recharts-x-axis .recharts-cartesian-axis-tick text{text-anchor:middle}.chart-container .recharts-x-axis .recharts-cartesian-axis-tick text,.chart-container .recharts-y-axis .recharts-cartesian-axis-tick text{fill:#666;fill:var(--text-secondary,#666);font-size:12px;font-weight:500}.chart-container .recharts-legend-wrapper{padding-top:20px}.chart-container .recharts-legend-item-text{color:#333;color:var(--text-color,#333);font-size:14px;font-weight:500}.chart-container .recharts-tooltip-wrapper{outline:none}.chart-container .recharts-default-tooltip{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffffa!important;border:1px solid #e0e0e0!important;border:1px solid var(--border-color,#e0e0e0)!important;border-radius:8px!important;box-shadow:0 4px 12px #00000026!important;padding:12px 16px!important}.chart-container .recharts-tooltip-label{border-bottom:1px solid #e0e0e0!important;border-bottom:1px solid var(--border-color,#e0e0e0)!important;color:#2c3e50!important;color:var(--text-color,#2c3e50)!important;font-size:14px!important;font-weight:600!important;margin-bottom:8px!important;padding-bottom:8px!important}.chart-container .recharts-tooltip-item{color:#2c3e50!important;color:var(--text-color,#2c3e50)!important;font-size:13px!important;padding:4px 0!important}[data-theme=dark] .chart-container{background:#2d2d2d;background:var(--card-bg,#2d2d2d);border:1px solid #404040;border:1px solid var(--border-color,#404040);box-shadow:0 4px 12px #0000004d,0 2px 4px #0003}[data-theme=dark] .chart-container:before{background:linear-gradient(90deg,#667eea,#764ba2);opacity:.6}[data-theme=dark] .chart-container:hover{box-shadow:0 8px 24px #00000080,0 4px 8px #0000004d}[data-theme=dark] .chart-container .recharts-cartesian-grid-horizontal line,[data-theme=dark] .chart-container .recharts-cartesian-grid-vertical line{stroke:#404040;stroke:var(--border-color,#404040);stroke-opacity:.3}[data-theme=dark] .chart-container .recharts-x-axis .recharts-cartesian-axis-tick text,[data-theme=dark] .chart-container .recharts-y-axis .recharts-cartesian-axis-tick text{fill:#b0b0b0;fill:var(--text-secondary,#b0b0b0)}[data-theme=dark] .chart-container .recharts-legend-item-text{color:#e0e0e0;color:var(--text-color,#e0e0e0)}[data-theme=dark] .chart-container .recharts-default-tooltip{background:#2d2d2dfa!important;border:1px solid #404040!important;border:1px solid var(--border-color,#404040)!important}[data-theme=dark] .chart-container .recharts-tooltip-label{border-bottom-color:#404040!important;border-bottom-color:var(--border-color,#404040)!important}[data-theme=dark] .chart-container .recharts-tooltip-item,[data-theme=dark] .chart-container .recharts-tooltip-label{color:#e0e0e0!important;color:var(--text-color,#e0e0e0)!important}.date-range-selector{background:#fff;background:var(--card-bg,#fff);border:1px solid #0000000d;border-radius:12px;box-shadow:0 2px 8px #0000000f,0 1px 3px #0000000a;margin-bottom:24px;padding:24px;transition:box-shadow .3s ease}.date-range-selector:hover{box-shadow:0 4px 12px #00000014,0 2px 4px #0000000d}.date-inputs{align-items:flex-end;display:flex;flex-wrap:wrap;gap:20px}.date-input-group{display:flex;flex-direction:column;gap:8px}.date-input-group label{color:#333;color:var(--text-color,#333);font-size:14px;font-weight:500}.date-input-group input[type=date]{background:#fff;background:var(--input-bg,#fff);border:1px solid #ddd;border:1px solid var(--border-color,#ddd);border-radius:4px;color:#333;color:var(--text-color,#333);font-size:14px;min-width:180px;padding:10px}.date-input-group input[type=date]:focus{border-color:#007bff;border-color:var(--primary-color,#007bff);box-shadow:0 0 0 2px #007bff40;outline:none}.summary-cards{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:30px}.summary-card{background:#fff;background:var(--card-bg,#fff);border:1px solid #0000000d;border-radius:12px;box-shadow:0 2px 8px #0000000f,0 1px 3px #0000000a;overflow:hidden;padding:24px;position:relative;text-align:center;transition:all .3s ease}.summary-card:before{background:linear-gradient(90deg,#667eea,#764ba2);content:"";height:3px;left:0;opacity:0;position:absolute;right:0;top:0;transition:opacity .3s ease}.summary-card:hover{box-shadow:0 8px 16px #0000001a,0 4px 8px #0000000f;transform:translateY(-4px)}.summary-card:hover:before{opacity:1}.summary-label{color:#666;color:var(--text-secondary,#666);font-size:14px;font-weight:500;margin-bottom:10px}.summary-value{color:#333;color:var(--text-color,#333);font-size:24px;font-weight:700}.summary-value.spent{color:#f44336}.summary-value.remaining{color:#4caf50}.summary-value.over-budget{color:#d32f2f}.budget-categories-container{margin-bottom:30px}.budget-categories-list{grid-gap:20px;display:grid;gap:20px}.budget-category-card{background:#fff;background:var(--card-bg,#fff);border:1px solid #0000000d;border-radius:12px;box-shadow:0 2px 8px #0000000f,0 1px 3px #0000000a;overflow:hidden;padding:28px;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1)}.budget-category-card:before{background:linear-gradient(180deg,#667eea,#764ba2);content:"";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .3s ease;width:4px}.budget-category-card:hover{border-color:#667eea33;box-shadow:0 8px 24px #0000001f,0 4px 8px #00000014;transform:translateY(-4px)}.budget-category-card:hover:before{opacity:1}.category-header-section{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.category-name{color:#333;color:var(--text-color,#333);font-size:20px;font-weight:600;margin:0}.status-badge{border-radius:20px;color:#fff;font-size:12px;font-weight:600;letter-spacing:.5px;padding:6px 12px;text-transform:uppercase}.status-badge.healthy{background-color:#4caf50}.status-badge.warning{background-color:#ff9800}.status-badge.critical{background-color:#f44336}.status-badge.over-budget{background-color:#d32f2f}.budget-progress-section{margin-bottom:20px}.progress-bar-container{background:#e0e0e0;background:var(--progress-bg,#e0e0e0);border-radius:15px;height:30px;overflow:hidden;position:relative;width:100%}.progress-bar-fill{border-radius:15px;height:100%;position:relative;transition:width .3s ease}.progress-text{color:#333;color:var(--text-color,#333);font-size:12px;font-weight:600;left:50%;position:absolute;text-shadow:0 1px 2px #fffc;top:50%;transform:translate(-50%,-50%);z-index:1}.budget-details-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-top:16px}.budget-detail-item{display:flex;flex-direction:column;gap:4px}.detail-label{color:#666;color:var(--text-secondary,#666);font-size:12px;font-weight:500}.detail-value{color:#333;color:var(--text-color,#333);font-size:16px;font-weight:600}.detail-value.spent{color:#f44336}.detail-value.remaining{color:#4caf50}.detail-value.over-budget{color:#d32f2f}[data-theme=dark] .budget-category-card,[data-theme=dark] .date-range-selector,[data-theme=dark] .summary-card{background:#2d2d2d;background:var(--card-bg,#2d2d2d);border:1px solid #404040;border:1px solid var(--border-color,#404040)}[data-theme=dark] .date-input-group input[type=date]{background:#3d3d3d;background:var(--input-bg,#3d3d3d);border-color:#404040;border-color:var(--border-color,#404040);color:#e0e0e0;color:var(--text-color,#e0e0e0)}[data-theme=dark] .progress-bar-container{background:#404040;background:var(--progress-bg,#404040)}.modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#fff;background:var(--card-bg,#fff);border-radius:8px;box-shadow:0 4px 20px #0000004d;display:flex;flex-direction:column;max-height:90vh;max-width:500px;overflow-y:auto;width:100%}.modal-header{align-items:center;border-bottom:1px solid #ddd;border-bottom:1px solid var(--border-color,#ddd);display:flex;justify-content:space-between;padding:20px}.modal-header h2{font-size:20px;margin:0}.modal-close,.modal-header h2{color:#333;color:var(--text-color,#333)}.modal-close{align-items:center;background:none;border:none;border-radius:4px;cursor:pointer;display:flex;font-size:28px;height:32px;justify-content:center;padding:0;transition:background-color .2s;width:32px}.modal-close:hover{background-color:#f0f0f0;background-color:var(--hover-bg,#f0f0f0)}.modal-body{flex:1 1;padding:20px}.modal-description{color:#666;color:var(--text-secondary,#666);line-height:1.5;margin-bottom:20px}.default-date-input-group{display:flex;flex-direction:column;gap:12px}.default-date-input-group label{color:#333;color:var(--text-color,#333);font-size:14px;font-weight:500}.default-date-input{background:#fff;background:var(--input-bg,#fff);border:1px solid #ddd;border:1px solid var(--border-color,#ddd);border-radius:4px;color:#333;color:var(--text-color,#333);font-size:16px;max-width:200px;padding:10px;width:100%}.default-date-input:focus{border-color:#007bff;border-color:var(--primary-color,#007bff);box-shadow:0 0 0 2px #007bff40;outline:none}.current-default-info{color:#666;color:var(--text-secondary,#666);font-size:14px;font-style:italic;margin:0}.modal-footer{border-top:1px solid #ddd;border-top:1px solid var(--border-color,#ddd);display:flex;gap:12px;justify-content:flex-end;padding:20px}.btn{border-radius:4px;font-size:14px;font-weight:500;padding:10px 20px;transition:background-color .2s,transform .1s}.btn:hover{transform:translateY(-1px)}.btn:active{transform:translateY(0)}.btn-primary{background-color:#007bff;background-color:var(--primary-color,#007bff);color:#fff}.btn-primary:hover{background-color:#0056b3;background-color:var(--primary-hover,#0056b3)}.btn-secondary{background-color:#6c757d;background-color:var(--secondary-bg,#6c757d)}.btn-secondary:hover{background-color:#5a6268;background-color:var(--secondary-hover,#5a6268)}[data-theme=dark] .modal-content{background:#2d2d2d;background:var(--card-bg,#2d2d2d);border:1px solid #404040;border:1px solid var(--border-color,#404040)}[data-theme=dark] .default-date-input,[data-theme=dark] .modal-footer,[data-theme=dark] .modal-header{border-color:#404040;border-color:var(--border-color,#404040)}[data-theme=dark] .default-date-input{background:#3d3d3d;background:var(--input-bg,#3d3d3d);color:#e0e0e0;color:var(--text-color,#e0e0e0)}[data-theme=dark] .modal-close:hover{background-color:#404040;background-color:var(--hover-bg,#404040)}.info-box{background:linear-gradient(135deg,#667eea0d,#764ba20d);border:1px solid #667eea1a;border-radius:12px;box-shadow:0 2px 8px #0000000a;margin-top:30px;padding:24px}.info-box h4{color:#2c3e50;color:var(--text-color,#2c3e50);font-size:18px;font-weight:600;margin:0 0 16px}.info-box ul{list-style:none;margin:0;padding-left:20px}.info-box ul li{color:#666;color:var(--text-secondary,#666);font-size:14px;line-height:1.6;margin-bottom:12px;padding-left:24px;position:relative}.info-box ul li:before{color:#667eea;content:"✓";font-size:16px;font-weight:700;left:0;position:absolute}.info-box ul li:last-child{margin-bottom:0}[data-theme=dark] .info-box{background:linear-gradient(135deg,#667eea1a,#764ba21a);border-color:#667eea33}[data-theme=dark] .info-box h4{color:#e0e0e0;color:var(--text-color,#e0e0e0)}[data-theme=dark] .info-box ul li{color:#b0b0b0;color:var(--text-secondary,#b0b0b0)}.empty-state{background:#fff;background:var(--card-bg,#fff);border:2px dashed #e0e0e0;border:2px dashed var(--border-color,#e0e0e0);border-radius:12px;padding:60px 20px}.empty-state p{color:#666;color:var(--text-secondary,#666);font-size:16px;margin:0}[data-theme=dark] .empty-state{background:#2d2d2d;background:var(--card-bg,#2d2d2d);border-color:#404040;border-color:var(--border-color,#404040)}[data-theme=dark] .empty-state p{color:#b0b0b0;color:var(--text-secondary,#b0b0b0)}@media (max-width:768px){.budget-vs-expenses-page{padding:16px}.page-header{align-items:stretch;flex-direction:column;gap:16px;margin-bottom:24px;padding-bottom:20px}.page-header h1{font-size:24px;margin-bottom:4px}.page-header .subtitle{font-size:14px}.view-toggle-container{justify-content:center;padding:6px 12px;width:100%}.view-toggle-label{font-size:13px;gap:10px}.view-toggle-switch{height:26px;width:48px}.view-toggle-switch:before{height:22px;width:22px}.view-toggle-switch:checked:before{transform:translateX(22px)}.date-range-selector{margin-bottom:20px;padding:16px}.date-inputs{align-items:stretch;flex-direction:column;gap:16px}.date-input-group{width:100%}.date-input-group input[type=date]{font-size:16px;min-width:auto;width:100%}.summary-cards{gap:16px;grid-template-columns:1fr;margin-bottom:24px}.summary-card{padding:20px}.summary-value{font-size:20px}.budget-details-grid{gap:12px;grid-template-columns:1fr}.category-header-section{align-items:flex-start;flex-direction:column;gap:12px}.budget-category-card{padding:20px}.category-name{font-size:18px}.charts-grid{gap:20px;grid-template-columns:1fr}.category-chart-card{padding:16px}.category-chart-title{font-size:16px}.category-chart-container{height:200px;margin:12px 0}.category-chart-footer{align-items:flex-start;flex-direction:column;gap:12px}.chart-legend{justify-content:space-between;width:100%}.chart-container{-webkit-overflow-scrolling:touch;border-radius:8px;margin-bottom:24px;overflow-x:auto;overflow-y:hidden;padding:12px 8px 24px;scrollbar-color:#667eea4d #0000;scrollbar-width:thin}.chart-container:after{bottom:4px;font-size:11px;opacity:.6;right:12px}.chart-container::-webkit-scrollbar{height:6px}.chart-container::-webkit-scrollbar-track{background:#0000}.chart-container::-webkit-scrollbar-thumb{background:#667eea4d;border-radius:3px}.chart-container::-webkit-scrollbar-thumb:hover{background:#667eea80}.chart-container:before{height:3px}.chart-container .recharts-wrapper{min-width:600px;padding-right:20px}.chart-container .recharts-x-axis{transform:none}.chart-container .recharts-x-axis .recharts-cartesian-axis-tick text{fill:#666!important;fill:var(--text-secondary,#666)!important;text-anchor:middle!important;font-size:11px!important;transform:none!important}.chart-container .recharts-y-axis{transform:translateX(-5px)}.chart-container .recharts-y-axis .recharts-cartesian-axis-tick text{fill:#666!important;fill:var(--text-secondary,#666)!important;font-size:11px!important}.chart-container .recharts-legend-wrapper{display:flex!important;flex-wrap:wrap!important;font-size:12px!important;justify-content:center!important;padding-top:16px!important}.chart-container .recharts-legend-item{margin-bottom:8px!important;margin-right:16px!important}.chart-container .recharts-default-tooltip{font-size:12px!important;max-width:200px!important;padding:10px 12px!important}.chart-container .recharts-tooltip-label{font-size:12px!important;margin-bottom:6px!important;padding-bottom:6px!important}.chart-container .recharts-tooltip-item{font-size:11px!important;padding:2px 0!important}.chart-container .recharts-bar{cursor:pointer}.info-box{margin-top:24px;padding:20px}.info-box h4{font-size:16px;margin-bottom:12px}.info-box ul li{font-size:13px;margin-bottom:10px;padding-left:20px}.info-box ul li:before{font-size:14px}.empty-state{padding:40px 16px}.empty-state p{font-size:14px}.modal-content{margin:10px;max-width:100%}.modal-footer{flex-direction:column-reverse}.modal-footer .btn{width:100%}}@media (max-width:480px){.budget-vs-expenses-page{padding:12px}.page-header h1{font-size:20px}.page-header .subtitle{font-size:13px}.view-toggle-label{font-size:12px;gap:8px}.view-toggle-switch{height:24px;width:44px}.view-toggle-switch:before{height:20px;width:20px}.view-toggle-switch:checked:before{transform:translateX(20px)}.date-range-selector{padding:12px}.summary-card{padding:16px}.summary-value{font-size:18px}.budget-category-card{padding:16px}.category-name{font-size:16px}.charts-grid{gap:16px}.category-chart-card{padding:12px}.category-chart-title{font-size:15px}.category-chart-container{height:180px}.chart-stat{font-size:12px}.stat-value{font-size:13px}.chart-container{padding:8px 4px}.chart-container .recharts-wrapper{min-width:500px;padding-right:16px}.chart-container .recharts-x-axis .recharts-cartesian-axis-tick text{font-size:9px!important}.chart-container .recharts-y-axis .recharts-cartesian-axis-tick text{font-size:10px!important}.chart-container .recharts-legend-wrapper{font-size:11px!important}.chart-container .recharts-default-tooltip{font-size:11px!important;max-width:180px!important;padding:8px 10px!important}.info-box{padding:16px}.info-box h4{font-size:15px}.info-box ul li{font-size:12px}}:root[data-theme=light]{--bg-primary:#f5f7fa;--bg-secondary:#fff;--bg-tertiary:#f8f9fa;--text-primary:#2c3e50;--text-secondary:#4a5568;--text-tertiary:#7f8c8d;--border-color:#e0e6ed;--border-color-hover:#667eea;--shadow:#00000014;--shadow-hover:#667eea4d;--input-bg:#fff;--input-disabled:#f5f7fa}:root[data-theme=dark]{--bg-primary:#1a202c;--bg-secondary:#2d3748;--bg-tertiary:#374151;--text-primary:#e2e8f0;--text-secondary:#cbd5e0;--text-tertiary:#a0aec0;--border-color:#4a5568;--border-color-hover:#667eea;--shadow:#0000004d;--shadow-hover:#667eea66;--input-bg:#2d3748;--input-disabled:#1a202c}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:var(--bg-primary);color:var(--text-primary);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;transition:background-color .3s ease,color .3s ease}.App{min-height:100vh}.loading{color:#666;font-size:1.1rem;padding:2rem;text-align:center}.error-banner{background:#fee;border:1px solid #fcc;border-radius:8px;color:#c33;margin-bottom:1rem;padding:1rem}[data-theme=dark] .error-banner{background:#7f1d1d;border-color:#991b1b;color:#fca5a5}.error-message{background:#fee;border:1px solid #fcc;border-radius:6px;color:#c33;font-size:.95rem;margin:1rem 0;padding:.75rem 1rem}[data-theme=dark] .error-message{background:#7f1d1d;border-color:#991b1b;color:#fca5a5}.empty-state{color:#666;padding:3rem 1rem;text-align:center}.empty-state p{font-size:1.1rem;margin-bottom:1.5rem}.btn{word-wrap:break-word;align-items:center;border:none;border-radius:12px;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:700;gap:.5rem;justify-content:center;letter-spacing:.3px;line-height:1.4;min-height:-webkit-fit-content;min-height:fit-content;overflow:visible;overflow-wrap:break-word;padding:.75rem 1.5rem;position:relative;text-align:center;transition:all .3s cubic-bezier(.4,0,.2,1);white-space:normal}.btn:disabled{cursor:not-allowed;opacity:.6}.btn-primary{background:#93c5d0;border:none;box-shadow:0 4px 14px #93c5d04d;color:#2c3e50}.btn-primary:hover:not(:disabled){background:#83b5c0;box-shadow:0 6px 20px #93c5d066;transform:translateY(-2px)}.btn-primary:active:not(:disabled){box-shadow:0 2px 10px #93c5d04d;transform:translateY(0)}.btn-success{background:#85d4a0;border:none;box-shadow:0 4px 14px #85d4a04d;color:#2c3e50}.btn-success:hover:not(:disabled){background:#75c490;box-shadow:0 6px 20px #85d4a066;transform:translateY(-2px)}.btn-success:active:not(:disabled){box-shadow:0 2px 10px #85d4a04d;transform:translateY(0)}.btn-danger{background:#ff949e;border:none;box-shadow:0 4px 14px #ff949e4d;color:#2c3e50}.btn-danger:hover:not(:disabled){background:#ef8498;box-shadow:0 6px 20px #ff949e66;transform:translateY(-2px)}.btn-danger:active:not(:disabled){box-shadow:0 2px 10px #ff949e4d;transform:translateY(0)}.btn-secondary{background:#95a5a6;color:#fff}.btn-secondary:hover:not(:disabled){background:#7f8c8d}.btn-icon{background:none;border:none;cursor:pointer;font-size:1.2rem;padding:.25rem;transition:transform .2s}.btn-icon:hover{transform:scale(1.2)}.Toastify__toast{border-radius:12px;box-shadow:0 4px 12px #00000026;font-family:inherit;font-size:.95rem;padding:1rem}.Toastify__toast--error{background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff}.Toastify__toast--success{background:linear-gradient(135deg,#2ecc71,#27ae60);color:#fff}.Toastify__toast--warning{background:linear-gradient(135deg,#f39c12,#e67e22);color:#fff}.Toastify__toast--info{background:linear-gradient(135deg,#3498db,#2980b9);color:#fff}.Toastify__progress-bar{background:#ffffff4d}.Toastify__close-button{color:#fff;opacity:.8}.Toastify__close-button:hover{opacity:1}[data-theme=dark] .Toastify__toast{box-shadow:0 4px 12px #0006}@media (max-width:768px){.btn{font-size:.9rem;padding:.6rem 1rem}.Toastify__toast{font-size:.9rem;margin:.5rem}}
/*# sourceMappingURL=main.ac542c04.css.map*/