.app-container{display:flex;flex-direction:column;height:100vh;width:100%;max-width:100%;overflow:hidden}.list-container{flex:1;overflow-y:auto;width:100%;max-width:600px;margin:0 auto;padding:1rem;padding-bottom:100px;display:flex;flex-direction:column;gap:1rem}.back-link{text-decoration:none;font-size:1.2em;color:#374151;margin-right:15px;transition:transform .2s;display:inline-flex;align-items:center;gap:5px}.back-link:hover{transform:translate(-5px);color:#111827}h1{flex-shrink:0;margin-top:.5rem}.home-page{width:100%}.entry-item{padding:1rem;border-radius:12px;background-color:#fff;border-left:4px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 4px #0000000d;text-align:left;transition:transform .2s,box-shadow .2s;border-top:1px solid #f3f4f6;border-right:1px solid #f3f4f6;border-bottom:1px solid #f3f4f6;flex-shrink:0}.entry-item.oillevel{border-left-color:#f59e0b}.entry-item.purchase{border-left-color:#10b981}.entry-date{font-size:.85em;color:#6b7280;margin-bottom:.2rem}.entry-value{font-size:1.1em;font-weight:700;color:#111827}.app-bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin-bottom:2rem;width:100%;padding:1rem 0}.app-bar-left{display:flex;justify-content:flex-start}.app-bar-title{margin:0;text-align:center}.app-bar-right{width:1rem}.dialog{background-color:#fff;justify-content:center;padding:2rem;border-radius:16px;width:90%;max-width:400px;box-shadow:0 10px 25px #00000026;display:flex;flex-direction:column;gap:1rem;border:1px solid #e5e7eb;animation:dialog-pop .2s cubic-bezier(.16,1,.3,1)}@keyframes dialog-pop{0%{opacity:0;transform:scale(.95) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}.dialog h2{margin:0;margin-bottom:.5rem;color:#111827;font-size:1.5rem}.dialog-actions{display:flex;justify-content:center;gap:1rem;margin-top:1rem}.btn-cancel{width:50%;max-width:140px;background-color:transparent;border:1px solid #d1d5db;color:#6b7280;padding:.6rem 1.2rem;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s}.btn-delete{width:50%;max-width:140px;background-color:#dc2626;color:#fff;border:none;padding:.6rem 1.2rem;border-radius:8px;font-weight:500;cursor:pointer;box-shadow:0 2px 4px #dc262633;transition:all .2s}.btn-delete:hover{background-color:#b91c1c;box-shadow:0 4px 6px #dc26264d}.consumption-visualisation-page{width:100%}.chart-container{width:100%;max-width:600px;margin:0 auto 1.5rem;padding:1rem;background-color:#fff;border-radius:12px;border:1px solid #e5e7eb;flex-shrink:0}.chart-row{display:flex;width:100%;height:35px;background-color:#f3f4f6;border-radius:6px;overflow:hidden}.chart-bar{height:100%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:.7em;font-weight:700;position:relative;box-sizing:border-box;transition:width .3s ease,background-color .2s;border-top-left-radius:4px;border-top-right-radius:4px;border-right:1px solid rgba(255,255,255,.2)}.chart-bar:hover{filter:brightness(1.1)}.chart-bar:last-child{border-right:none}.chart-bar.purchase{background-color:#10b981;border-radius:6px}.chart-bar.stock{background-color:#15803d}.chart-bar.consumption-group{background-color:#ef4444;display:flex;border-left:1px solid rgba(255,255,255,.2);border-right:1px solid rgba(255,255,255,.2);align-items:flex-end;position:relative;border-radius:6px}.billing-item-bar{height:50%;background-color:#ffffff40;border-right:1px solid rgba(255,255,255,.2);border-radius:3px;display:flex;align-items:center;justify-content:center;transition:background-color .2s}.billing-item-bar:last-child{border-right:none}.billing-item-bar:hover{background-color:#ffffff80;z-index:5}.bar-label{padding:0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:1}.consumption-label{position:absolute;top:5px;left:50%;transform:translate(-50%);font-size:.75em;font-weight:700;color:#fffffff2;pointer-events:none;z-index:2}.billing-label{font-size:.7em;font-weight:400;color:#ffffffe6;z-index:2;pointer-events:none}.custom-tooltip{position:fixed;background-color:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:10px;color:#111827;font-size:.85em;pointer-events:none;z-index:1000;box-shadow:0 4px 15px #0000001a;min-width:150px;transform:translate(-50%,-110%)}.tooltip-header{font-size:.75em;text-transform:uppercase;color:#6b7280;margin-bottom:4px;letter-spacing:.05em;border-bottom:1px solid #f3f4f6;padding-bottom:4px}.tooltip-row{display:flex;justify-content:space-between;margin-bottom:2px}.tooltip-row span:first-child{color:#6b7280;margin-right:10px}.tooltip-row span:last-child{font-weight:600;color:#111827}.chart-placeholder{width:100%;max-width:600px;margin:0 auto 1rem;height:200px;flex-shrink:0;background:linear-gradient(135deg,#f3f4f6,#e5e7eb);border-radius:16px;display:flex;align-items:center;justify-content:center;border:1px dashed #d1d5db;color:#6b7280}.empty-state{text-align:center;margin-top:3rem;color:#6b7280}.invoice-card{background-color:#fff;border-radius:16px;overflow:hidden;box-shadow:0 4px 15px #00000014;border:1px solid #e5e7eb;animation:fadeIn .4s ease-out;flex-shrink:0}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.invoice-header{background:linear-gradient(to right,#f9fafb,#f3f4f6);padding:1.25rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5e7eb}.invoice-period{display:flex;flex-direction:column;gap:4px;text-align:left}.invoice-total{text-align:right;display:flex;flex-direction:column;gap:4px}.label{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#6b7280}.value{font-weight:500;color:#111827}.value-large{font-size:1.5rem;font-weight:700;color:#d97706}.invoice-body{padding:1rem 1.25rem}.invoice-details-header{display:flex;justify-content:space-between;font-size:.9em;color:#6b7280;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid #e5e7eb}.billing-items-list{display:flex;flex-direction:column;gap:.75rem}.billing-item{display:flex;justify-content:space-between;align-items:center;font-size:.95em;padding:.75rem;background-color:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.item-info{display:flex;flex-direction:column;text-align:left}.item-amount{font-weight:600;color:#111827}.item-rate{font-size:.8em;color:#6b7280}.item-price{font-weight:600;color:#111827}.invoice-list{padding-bottom:20px!important;min-height:0}.auth-container{display:flex;justify-content:center;align-items:center;min-height:100vh;width:100%;padding:2rem}.auth-card{background-color:#fff;padding:2.5rem;border-radius:16px;box-shadow:0 10px 40px #0000001a;width:100%;max-width:400px;display:flex;flex-direction:column;align-items:center;gap:1.5rem;border:1px solid #e5e7eb;animation:fadeIn .5s ease-out}.auth-header{font-size:2rem;font-weight:700;margin:0;background:linear-gradient(135deg,#2563eb,#7c3aed);-webkit-background-clip:text;background-clip:text;color:transparent;margin-bottom:.5rem}.auth-error{background-color:#fee2e2;color:#b91c1c;padding:.75rem;border-radius:8px;border:1px solid #fca5a5;width:100%;text-align:center;font-size:.9rem;animation:shake .4s cubic-bezier(.36,.07,.19,.97) both}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}.auth-form{display:flex;flex-direction:column;width:100%;gap:1rem}.auth-input{padding:1rem;border-radius:8px;border:1px solid #d1d5db;background-color:#f9fafb;color:#111827;font-size:1rem;transition:border-color .2s,box-shadow .2s;width:100%;box-sizing:border-box}.auth-input:focus{outline:none;border-color:#646cff;box-shadow:0 0 0 3px #646cff1a}.auth-button{background-color:#646cff;color:#fff;border:none;padding:1rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;margin-top:1rem;width:100%;display:flex;align-items:center;justify-content:center;gap:10px}.auth-button:hover{background-color:#535bf2;transform:translateY(-2px);box-shadow:0 4px 12px #646cff4d}.auth-button.secondary{background-color:#f3f4f6;color:#1f2937;margin-top:0}.auth-button.secondary:hover{background-color:#e5e7eb;box-shadow:0 4px 12px #0000001a}.welcome-buttons{display:flex;flex-direction:column;width:100%;gap:1rem}.welcome-buttons a{text-decoration:none;width:100%}.back-link-auth{margin-top:1rem;color:#6b7280;text-decoration:none;font-size:.9em;transition:color .2s}.back-link-auth:hover{color:#111827;text-decoration:underline}.password-wrapper{position:relative;width:100%;display:flex;align-items:center}.password-wrapper .auth-input{width:100%;padding-right:40px}.password-toggle-icon{position:absolute;right:10px;cursor:pointer;color:#6b7280;font-size:1.2rem;transition:color .2s}.password-toggle-icon:hover{color:#111827}.welcome-page-container{flex-direction:column;gap:1.5rem}.welcome-footer{text-align:center;color:#aaa;font-size:.85rem;display:flex;flex-direction:column}.privacy-link{color:#00b7ff;text-decoration:underline;background:none;border:none;outline:none;cursor:pointer;box-shadow:none;font-size:.85rem;font-weight:500;padding:0;font-family:inherit;transition:color .2s;height:50px}.privacy-link:hover{color:#4b5563}.dialog-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.privacy-dialog{background-color:#fff;padding:2rem;border-radius:16px;box-shadow:0 10px 40px #0003;width:90%;height:500px;max-width:500px;display:flex;flex-direction:column;gap:1.5rem;position:relative;max-height:90vh;overflow-y:auto}.privacy-dialog h2{margin:0;font-size:1.5rem;color:#111827}.privacy-dialog ul{list-style-type:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.8rem}.privacy-dialog li{background-color:#f9fafb;padding:1rem;border-radius:8px;border:1px solid #e5e7eb}.privacy-dialog li strong{color:#4b5563;display:block;margin-bottom:.25rem}.btn-close{background-color:#f3f4f6;color:#1f2937;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;align-self:flex-end;transition:all .2s}.btn-close:hover{background-color:#e5e7eb}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#f3f4f6;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh;background:#f3f4f6}#root{max-width:1480px;margin:0 auto;padding:2rem;text-align:center;width:100%}h1{font-size:2.5rem;line-height:1.1;background:linear-gradient(135deg,#2563eb,#7c3aed);-webkit-background-clip:text;background-clip:text;color:transparent;margin-bottom:2rem}button{border-radius:8px;border:1px solid transparent;padding:.8em 1.5em;font-size:1.1em;font-weight:600;font-family:inherit;background-color:#fff;color:#213547;cursor:pointer;transition:all .25s;margin:.5rem;box-shadow:0 4px 6px #0000001a;display:inline-flex;align-items:center;justify-content:center;gap:12px}button svg{font-size:1.3em}button:hover{background-color:#f9fafb;border-color:#646cff;transform:translateY(-2px);box-shadow:0 6px 12px #00000026}button:active{transform:translateY(0)}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.property-overview-page{width:100%}.bottom-bar button{color:#fff!important;display:flex!important}.entry-item{padding:1rem;border-radius:12px;background-color:#fff;border-left:4px solid #2563eb;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 4px #0000000d;text-align:left;transition:transform .2s,box-shadow .2s;border-top:1px solid #f3f4f6;border-right:1px solid #f3f4f6;border-bottom:1px solid #f3f4f6;flex-shrink:0;cursor:pointer}.entry-item:hover{transform:scale(1.01);box-shadow:0 4px 12px #00000014}.entry-details{display:flex;flex-direction:column}.entry-title{font-size:1.1em;font-weight:700;color:#111827}.entry-subtitle{font-size:.9em;color:#6b7280}.dialog-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0006;display:flex;justify-content:center;align-items:center;z-index:100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.dialog{background-color:#fff;padding:2rem;border-radius:16px;width:90%;max-width:400px;box-shadow:0 10px 25px #00000026;display:flex;flex-direction:column;gap:1rem;border:1px solid #e5e7eb}.dialog h2{margin:0;margin-bottom:.5rem;color:#111827}.form-group{display:flex;flex-direction:column;text-align:left;gap:.5rem}.form-group label{font-size:.9em;color:#4b5563}.form-group input{padding:.8rem;border-radius:8px;border:1px solid #d1d5db;background-color:#f9fafb;color:#111827;font-size:1rem}.form-group input:focus{outline:2px solid #646cff;border-color:transparent}.dialog-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:1rem}.btn-cancel{background-color:transparent;border:1px solid #d1d5db;color:#6b7280}.btn-cancel:hover{background-color:#f3f4f6;border-color:#9ca3af;color:#374151}.entry-actions{display:flex;align-items:center;gap:8px}.icon-btn{background:none;border:none;cursor:pointer;font-size:1.2rem;padding:5px;border-radius:5px;transition:background-color .2s;line-height:1;color:#4b5563}.icon-btn:hover{background-color:#0000000d;color:#111827}.icon-btn.delete:hover{background-color:#dc26261a;color:#dc2626}.bottom-bar{position:fixed;bottom:0;left:0;width:100%;background-color:#ffffffe6;padding:1rem;border-top:1px solid #e5e7eb;display:flex;justify-content:center;gap:1rem;z-index:10;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
