.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.auth-card{background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2);border-radius:16px;padding:40px;width:100%;max-width:400px;box-shadow:0 8px 32px #0000004d}.auth-title{color:#fff;font-size:32px;font-weight:600;text-align:center;margin-bottom:40px;text-shadow:0 2px 4px rgba(0,0,0,.3)}.auth-form{display:flex;flex-direction:column;gap:16px}.form-group{display:flex;flex-direction:column;background-color:#764ba2b7}.form-input:focus{outline:none;border-color:#ede5ff;background:#e4e4e4;box-shadow:0 0 0 2px #f8fbff33}.form-input:disabled{opacity:.6;cursor:not-allowed}.auth-button{padding:16px;border-radius:8px;font-size:16px;font-weight:600;text-decoration:none;text-align:center;transition:all .3s ease;cursor:pointer;border:none;display:block;margin-top:8px}.auth-button.primary{background:linear-gradient(135deg,#ff6b6b,#ee5a52);color:#fff;box-shadow:0 4px 15px #ff6b6b66}.auth-button.primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #ff6b6b99}.auth-button.primary:disabled{opacity:.6;cursor:not-allowed;transform:none}.auth-button.secondary{background:transparent;color:#fffc;border:1px solid rgba(255,255,255,.3);margin-top:16px}.auth-button.secondary:hover{background:#ffffff1a;color:#fff;transform:translateY(-1px)}.error-message{background:#ff3b3033;border:1px solid rgba(255,59,48,.4);border-radius:6px;padding:12px;color:#ff6b6b;font-size:14px;margin-bottom:8px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}@media (max-width: 480px){.auth-container{padding:10px}.auth-card{padding:30px 20px}.auth-title{font-size:28px;margin-bottom:30px}.form-input,.auth-button{padding:14px;font-size:15px}}.auth-button:disabled{opacity:.6;cursor:not-allowed}.auth-button:focus{outline:2px solid rgba(255,255,255,.5);outline-offset:2px}*{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}html{height:100%;overflow:hidden}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:14px;line-height:1.5;color:#333;margin:0;padding:0;height:100%;overflow:hidden}#root,.App{height:100%;overflow:hidden}.dashboard{min-height:100vh;height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;flex-direction:column;overflow:hidden;margin:0;padding:0;position:relative}.dashboard-header{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:.75rem 1.5rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 6px #0000001a;border-bottom:1px solid rgba(255,255,255,.2);position:fixed;height:60px;top:0;left:0;right:0;z-index:100}.header-logo{display:flex;align-items:center;gap:.75rem}.logo-icon{width:32px;height:32px}.dashboard-header h1{font-size:1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.logout-btn{background:linear-gradient(135deg,#ff6b6b,#ee5a52);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:12px;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 12px #ff6b6b4d;display:flex;align-items:center;gap:.5rem;min-height:44px;position:relative;overflow:hidden}.logout-btn:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}.logout-btn:hover:before{left:100%}.logout-btn:hover{transform:translateY(-1px);box-shadow:0 6px 20px #ff6b6b66;background:linear-gradient(135deg,#ee5a52,#e53e3e)}.logout-btn:active{transform:translateY(0);box-shadow:0 2px 8px #ff6b6b4d}.logout-btn:focus{outline:none;box-shadow:0 0 0 3px #ff6b6b4d}.logout-btn .action-icon{width:20px;height:20px;filter:brightness(0) invert(1)}.action-icon{width:20px;height:20px;object-fit:contain}.logout-btn .action-icon{width:32px;height:32px}.dashboard-content{flex:1;display:flex;width:100%;gap:0;height:calc(100vh - 60px);overflow:hidden;margin:60px 0 0;padding:0}.sidebar{width:250px;background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1.5rem .75rem;display:flex;flex-direction:column;gap:.25rem;box-shadow:4px 0 15px #0000001a;border-right:1px solid rgba(255,255,255,.2);flex-shrink:0;position:relative;z-index:1}.tab-btn{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;background:transparent;border:none;border-radius:12px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);font-size:.9rem;font-weight:500;color:#4a5568;text-align:left;width:100%;position:relative;overflow:hidden}.tab-btn:before{content:"";position:absolute;left:0;top:0;bottom:0;width:0;background:linear-gradient(135deg,#667eea,#764ba2);transition:width .3s cubic-bezier(.4,0,.2,1)}.tab-btn:hover{background:#667eea14;transform:translate(4px);color:#2d3748}.tab-btn:hover:before{width:3px}.tab-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 12px #667eea40;transform:translate(0)}.tab-btn.active:before{width:3px;background:#ffffff4d}.tab-btn:focus{outline:none;box-shadow:0 0 0 2px #667eea80}.tab-icon{font-size:1.1rem}.tab-label{font-weight:600}.main-content{padding:0;background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);margin:0;border-radius:0;box-shadow:none;border:none;overflow-y:auto;display:flex;flex-direction:column;width:100%;height:100%;position:relative;z-index:1}.tab-content{height:100%;display:flex;flex-direction:column;flex:1;padding:1rem;overflow:hidden}.tab-content-area{flex:1;display:flex;flex-direction:column;width:100%;height:100%;overflow-y:auto}.cards-container{display:flex;flex-direction:column;width:100%}.records-list,.cars-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem;width:100%}.tab-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.2rem;border-bottom:2px solid #cecece3d}.tab-header h2{margin:0;font-size:1.75rem;font-weight:700;color:#1a202c}.add-btn,.edit-btn,.delete-btn{border:none;border-radius:8px;font-weight:500;cursor:pointer;padding:8px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;transition:all .2s ease;position:relative;overflow:hidden;border:1px solid transparent}.add-btn{background:#dfdcff;border-color:#e5e7eb}.add-btn:hover{background:#10b981;color:#fff;border-color:#10b981}.edit-btn{background:#f3f4f6;color:#374151;border-color:#e5e7eb}.edit-btn:hover{background:#3b82f6;color:#fff;border-color:#3b82f6}.delete-btn{background:#f3f4f6;color:#374151;border-color:#e5e7eb}.delete-btn:hover{background:#ef4444;color:#fff;border-color:#ef4444}.add-btn:focus,.edit-btn:focus,.delete-btn:focus{outline:none;box-shadow:0 0 0 2px #667eea80,0 0 0 4px #667eea33}.add-btn .action-icon,.edit-btn .action-icon,.delete-btn .action-icon{width:32px;height:32px;object-fit:contain;filter:brightness(0) invert(.2);transition:filter .2s ease}.add-btn:hover .action-icon,.edit-btn:hover .action-icon,.delete-btn:hover .action-icon{filter:brightness(0) invert(1)}.add-btn:disabled,.edit-btn:disabled,.delete-btn:disabled,.action-btn:disabled,.logout-btn:disabled,.tab-btn:disabled{opacity:.6;cursor:not-allowed;transform:none!important;box-shadow:none!important;background:#9ca3af!important;color:#6b7280!important}.add-btn:disabled .action-icon,.edit-btn:disabled .action-icon,.delete-btn:disabled .action-icon{filter:brightness(0) invert(.5)}.button-loading{position:relative;color:transparent!important}.button-loading:after{content:"";position:absolute;top:50%;left:50%;width:16px;height:16px;margin:-8px 0 0 -8px;border:2px solid transparent;border-top:2px solid currentColor;border-radius:50%;animation:button-spin 1s linear infinite;color:#fff}@keyframes button-spin{to{transform:rotate(360deg)}}.add-btn:active .action-icon,.edit-btn:active .action-icon,.delete-btn:active .action-icon{transform:scale(.9)}.add-form{background:#f8fafc;padding:1.5rem;border-radius:14px;margin-bottom:1.5rem;border:1px solid #e2e8f0;box-shadow:0 4px 15px #0000000d;color:#1a202c}.record-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.add-form input,.add-form select,.add-form textarea{width:100%;padding:.75rem;border:2px solid #e2e8f0;border-radius:10px;font-size:.9rem;transition:all .3s ease;background:#fff;color:#1a202c}.add-form input::placeholder,.add-form select::placeholder,.add-form textarea::placeholder{color:#64748b}.add-form input:focus,.add-form select:focus,.add-form textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.add-form input:disabled,.add-form select:disabled,.add-form textarea:disabled{background:#f1f5f9!important;color:#9ca3af!important;cursor:not-allowed;opacity:.6}.calculated-field{background:#f1f5f9!important;color:#64748b!important;font-weight:600}.add-form button{grid-column:span 2;justify-self:start;margin-top:1rem;border-radius:12px;width:auto;height:auto;padding:.875rem 2rem;font-size:.9rem;font-weight:600;min-width:120px}.cars-grid,.records-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:.75rem;flex:1}.records-list{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.car-card{background:#fff;padding:1rem;border-radius:8px;border:1px solid #e5e7eb;transition:all .2s ease;position:relative;overflow:hidden;height:fit-content;display:flex;flex-direction:column;gap:.75rem;box-shadow:0 1px 3px #0000000d}.car-card.clickable-card{cursor:pointer}.car-card.clickable-card:hover{border-color:#d1d5db;box-shadow:0 4px 12px #0000001f;transform:translateY(-1px)}.car-card.clickable-card:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.car-card:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:#e5e7eb}.car-card:hover{transform:translateY(-1px);box-shadow:0 4px 12px #00000014}.car-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:0}.car-header h3{margin:0 0 .25rem;font-size:1rem;font-weight:700;color:#1a202c;line-height:1.3}.car-name{color:#64748b;font-size:.8rem;margin:0;font-weight:500;background:#f8fafc;border-radius:12px;display:inline-block}.car-type{padding:.25rem .75rem;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.car-type.electric{background:#d1fae5;color:#065f46}.car-type.gasoline{background:#fef3c7;color:#92400e}.car-type.diesel{background:#ede9fe;color:#5b21b6}.car-type.hybrid{background:#cffafe;color:#155e75}.record-card{background:#fff;border-radius:8px;border:1px solid #e5e7eb;transition:all .2s ease;position:relative;overflow:hidden;height:200px;display:flex;flex-direction:column;box-shadow:0 1px 3px #0000000d}.record-card.clickable-card{cursor:pointer}.record-card.clickable-card:hover{border-color:#d1d5db;box-shadow:0 4px 12px #0000001f;transform:translateY(-1px)}.record-card.clickable-card:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.record-card:before{content:"";position:absolute;top:0;left:0;right:0;height:2px}.record-card:hover{border-color:#d1d5db;box-shadow:0 2px 8px #00000014}.record-header{display:flex;justify-content:space-between;align-items:flex-start;padding:1rem 1rem .5rem;border-bottom:1px solid #f3f4f6}.record-date{color:#6b7280;font-size:.75rem;font-weight:500;letter-spacing:.025em}.record-compact-layout{display:flex;flex-direction:column;flex:1;padding:0 1rem;justify-content:space-between}.record-car-info{font-size:.875rem;font-weight:600;color:#111827;margin:.2rem 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.record-amounts{display:flex;flex-direction:column;gap:.1rem;margin-bottom:1rem;flex:1}.record-amount-item{display:flex;justify-content:space-between;align-items:center;font-size:.875rem;color:#374151}.record-amount-item:last-child{border-bottom:none}.record-amount-value{font-weight:500;color:#1f2937}.record-amount-cost{color:#059669;font-weight:600;font-family:ui-monospace,SFMono-Regular,SF Mono,monospace}.record-total{display:flex;justify-content:space-between;align-items:center;font-size:.875rem;font-weight:600;color:#111827;padding:.75rem;background:#f9fafb;border-top:1px solid #e5e7eb;margin:0 -1rem -1px;border-radius:0 0 8px 8px}.record-total-cost{color:#059669;font-size:1rem;font-weight:700;font-family:ui-monospace,SFMono-Regular,SF Mono,monospace}.record-type{padding:.25rem .75rem;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.record-type.electric{background:#d1fae5;color:#065f46}.record-card.electric:before{background:#10b981}.record-type.gasoline{background:#fef3c7;color:#92400e}.record-card.gasoline:before{background:#f59e0b}.record-type.diesel{background:#ede9fe;color:#5b21b6}.record-card.diesel:before{background:#8b5cf6}.record-type.hybrid{background:#cffafe;color:#155e75}.record-card.hybrid:before{background:#06b6d4}.record-details,.record-details p,.record-details p strong,.record-details p em{display:none}.record-actions{display:flex;gap:.5rem;margin-top:.75rem}.dashboard-stats{display:flex;flex-direction:column;gap:1.5rem;flex:1;width:100%;height:100%}.stats-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.75rem;margin-bottom:1.5rem}.stat-card{background:#fff;padding:1rem;border-radius:12px;box-shadow:0 2px 8px #0000000d;border:1px solid #f1f5f9;text-align:center;position:relative;overflow:hidden}.stat-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(135deg,#667eea,#764ba2)}.stat-card h3{margin:0 0 .5rem;font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.stat-number{font-size:1.5rem;font-weight:800;color:#1a202c;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.charts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.chart-card{background:#fff;padding:1rem;border-radius:12px;box-shadow:0 2px 8px #0000000d;border:1px solid #f1f5f9}.chart-card h3{margin:0 0 1rem;font-size:1rem;font-weight:700;color:#1a202c}.chart-placeholder{display:flex;flex-direction:column;gap:.5rem}.chart-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 0;border-bottom:1px solid #f1f5f9;color:#374151;font-weight:500}.chart-item:last-child{border-bottom:none}.type-indicator{width:12px;height:12px;border-radius:50%}.type-indicator.electric{background:#10b981}.type-indicator.gasoline{background:#f59e0b}.type-indicator.diesel{background:#8b5cf6}.type-indicator.hybrid{background:#06b6d4}.profile-content{display:flex;flex-direction:column;gap:2rem}.profile-card{background:#fff;padding:2rem;border-radius:16px;box-shadow:0 4px 15px #00000014;border:1px solid #f1f5f9}.profile-card h3{margin:0 0 1.5rem;font-size:1.5rem;font-weight:700;color:#1a202c}.profile-field{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;border-bottom:1px solid #f1f5f9}.profile-field:last-child{border-bottom:none}.profile-field label{font-weight:600;color:#374151}.profile-field span{color:#64748b;font-family:monospace;background:#f8fafc;padding:.25rem .5rem;border-radius:6px}.subscription-status{font-weight:600!important;text-transform:uppercase;font-size:.75rem;letter-spacing:.05em;padding:.4rem .8rem!important;border-radius:8px!important}.subscription-status.free{background:#f3f4f6!important;color:#6b7280!important}.subscription-status.active{background:#d1fae5!important;color:#065f46!important}.subscription-status.cancelled{background:#fef3c7!important;color:#92400e!important}.subscription-status.expired{background:#fee2e2!important;color:#991b1b!important}.profile-actions{display:flex;flex-direction:column;gap:2rem}.subscription-actions{background:#fff;padding:2rem;border-radius:16px;box-shadow:0 4px 15px #00000014;border:1px solid #f1f5f9}.subscription-actions h4{margin:0 0 1.5rem;font-size:1.25rem;font-weight:600;color:#1a202c}.action-btn{padding:.875rem 2rem;border:none;border-radius:12px;font-weight:600;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 8px #667eea40;font-size:.95rem;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-width:140px}.action-btn:hover{transform:translateY(-1px);box-shadow:0 4px 16px #667eea59;background:linear-gradient(135deg,#764ba2,#667eea)}.action-btn:active{transform:translateY(0);box-shadow:0 2px 4px #667eea4d}.action-btn:focus{outline:none;box-shadow:0 0 0 2px #667eea80,0 0 0 4px #667eea33}.action-btn.danger{background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 2px 8px #ef444440}.action-btn.danger:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 4px 16px #ef444459}.action-btn.danger:focus{box-shadow:0 0 0 2px #ef444480,0 0 0 4px #ef444433}.logout-action-button{width:40px;height:40px;background:linear-gradient(135deg,#6b7280,#4b5563);box-shadow:0 2px 8px #6b728040;display:flex;align-items:center;justify-content:center;border-radius:8px}.logout-action-button .action-icon{width:20px;height:20px;filter:brightness(0) invert(1)}.action-btn.logout-action:hover{background:linear-gradient(135deg,#4b5563,#374151);box-shadow:0 4px 16px #6b728059}.action-btn.logout-action:focus{box-shadow:0 0 0 2px #6b728080,0 0 0 4px #6b728033}.checkout-modal{max-width:800px;width:100%;max-height:90vh;min-height:600px}.checkout-modal .modal-body{padding:0rem;min-height:500px;overflow:hidden}.checkout-container{width:100%;min-height:500px;display:flex;align-items:center;justify-content:center}.checkout-container .loading-container{display:flex;align-items:center;justify-content:center;height:200px}.lemonsqueezy-button{display:inline-block!important}.lemon-modal{z-index:10000!important}.lemon-modal-content{border-radius:16px!important;box-shadow:0 10px 40px #00000026!important}.lemon-checkout-overlay{z-index:10001!important}.product-selection-modal{max-width:900px;width:95%;max-height:90vh}.products-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;padding:1rem 0}.product-card{background:#fff;border:2px solid #e2e8f0;border-radius:16px;padding:1.5rem;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 8px #0000000a}.product-card:hover{border-color:#667eea;transform:translateY(-2px);box-shadow:0 8px 25px #667eea26}.product-header{margin-bottom:1rem;text-align:center}.product-name{font-size:1.25rem;font-weight:700;color:#1a202c;margin:0 0 .5rem}.product-price{font-size:2rem;font-weight:800;color:#667eea;line-height:1}.price-period{font-size:.875rem;font-weight:500;color:#64748b;margin-left:.25rem}.product-description{margin-bottom:1.5rem;text-align:center}.product-description p{color:#64748b;line-height:1.6;margin:0}.product-actions{text-align:center}.select-product-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:12px;padding:.75rem 2rem;font-weight:600;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);font-size:.95rem;width:100%}.select-product-btn:hover{transform:translateY(-1px);box-shadow:0 4px 16px #667eea59;background:linear-gradient(135deg,#764ba2,#667eea)}.error-container{text-align:center;padding:2rem}.error-message{color:#ef4444;margin-bottom:1rem;font-weight:500}.retry-btn{background:#ef4444;color:#fff;border:none;border-radius:8px;padding:.5rem 1rem;cursor:pointer;font-weight:600;transition:background .2s}.retry-btn:hover{background:#dc2626}.empty-state{text-align:center;padding:3rem 2rem;color:#64748b;background:#f8fafc;border-radius:16px;border:2px dashed #cbd5e1}.empty-state p{margin:0;font-size:1.1rem;font-weight:500}.warning-message{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;padding:1.5rem;border-radius:12px;margin-bottom:2rem;text-align:center;box-shadow:0 4px 15px #fbbf244d}.warning-message p{margin:0;font-weight:600}.loading-container{display:flex;justify-content:center;align-items:center;height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:1.5rem;font-weight:600}.modal-overlay{position:fixed;inset:0;background:#000000bf;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;opacity:0;animation:fadeIn .2s ease forwards}.modal-content{background:#fff;border-radius:8px;padding:1.5rem;width:90%;max-width:420px;max-height:85vh;overflow-y:auto;box-shadow:0 10px 40px #0000004d;transform:scale(.95) translateY(10px);animation:modalSlideIn .2s ease forwards;position:relative;border:1px solid #e5e7eb}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #e5e7eb}.modal-title{font-size:1.25rem;font-weight:600;color:#111827;margin:0}.modal-close{background:none;border:none;font-size:1.25rem;cursor:pointer;color:#6b7280;transition:all .2s ease;width:32px;height:32px;border-radius:4px;display:flex;align-items:center;justify-content:center}.modal-close:hover{background:#f3f4f6;color:#111827}.modal-form{display:flex;flex-direction:column;gap:1rem}.form-group{background-color:#fff;display:flex;flex-direction:column;gap:.5rem}.form-group-horizontal{background-color:#fff;display:flex;flex-direction:row;gap:.5rem}.form-row{display:flex;gap:1rem}.form-row .form-group{flex:1}.notes-toggle-btn{background:#f9fafb;border:1px solid #d1d5db;border-radius:6px;padding:.75rem 1rem;font-size:.875rem;font-weight:500;color:#374151;cursor:pointer;transition:all .2s ease;width:100%;text-align:left}.notes-toggle-btn:hover{background:#f3f4f6;border-color:#9ca3af;color:#111827}.notes-section{margin-top:.5rem;animation:slideDown .2s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.form-label{font-weight:600;color:#374151;font-size:.875rem}.form-input,.form-select,.form-textarea{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;transition:all .2s ease;background:#fff;color:#111827}.form-input:focus,.form-select:focus,.form-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-input:disabled,.form-select:disabled,.form-textarea:disabled{background:#f9fafb;color:#9ca3af;cursor:not-allowed;opacity:.7}.form-input.error,.form-select.error,.form-textarea.error{border-color:#ef4444;box-shadow:0 0 0 3px #ef44441a}.error-message{color:#ef4444;font-size:.75rem;font-weight:500;margin-top:.25rem}.calculated-total{background:#f0f9ff;border:1px solid #3b82f6;border-radius:6px;padding:1rem;text-align:center;font-size:1rem;color:#1e40af;font-weight:600}.form-textarea{resize:vertical;min-height:80px}.modal-actions{display:flex;justify-content:space-between;align-items:center;margin-top:1.5rem;padding-top:1rem;border-top:1px solid #e5e7eb}.modal-btn{padding:.75rem 1.25rem;border:none;border-radius:6px;font-weight:500;cursor:pointer;transition:all .2s ease;font-size:.875rem;display:flex;align-items:center;justify-content:center;gap:.5rem;margin:0 20px;height:40px;border:1px solid transparent;width:100px}.modal-btn-primary{background:#3b82f6;color:#fff;border-color:#3b82f6}.modal-btn-primary:hover{background:#2563eb;border-color:#2563eb}.modal-btn-secondary{background:#fff;color:#374151;border-color:#d1d5db}.modal-btn-secondary:hover{background:#f9fafb;border-color:#9ca3af}.modal-btn-delete{background:#fff;color:#dc2626;border-color:#dc2626}.modal-btn-delete:hover{background:#dc2626;color:#fff}.modal-btn-danger{background:#dc2626;color:#fff;border-color:#dc2626}.modal-btn-danger:hover{background:#b91c1c;border-color:#b91c1c}.modal-btn:disabled{opacity:.5;cursor:not-allowed;background:#f3f4f6!important;color:#9ca3af!important;border-color:#e5e7eb!important}.modal-btn .action-icon{width:16px;height:16px;object-fit:contain}.confirm-modal{text-align:center}.confirm-icon{width:80px;height:80px;margin:0 auto 1.5rem;background:linear-gradient(135deg,#fef3c7,#fed7aa);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem}.confirm-message{font-size:1.1rem;color:#374151;margin-bottom:.5rem;font-weight:500}.confirm-submessage{font-size:.9rem;color:#64748b;margin-bottom:2rem}@keyframes fadeIn{to{opacity:1}}@keyframes modalSlideIn{to{transform:scale(1) translateY(0)}}@keyframes modalSlideOut{0%{transform:scale(1) translateY(0);opacity:1}to{transform:scale(.9) translateY(20px);opacity:0}}@media (max-width: 768px){.modal-content{width:95%;max-width:none;margin:.5rem;padding:.75rem;max-height:85vh}.modal-title{font-size:1rem}.form-input,.form-select,.form-textarea{padding:.5rem .7rem;font-size:.8rem}.form-label{font-size:.75rem}.form-group{gap:.25rem}.form-row{gap:.5rem}.modal-footer{gap:.5rem;margin-top:.75rem}.modal-footer .btn,.notes-toggle-btn{padding:.5rem .8rem;font-size:.8rem}}.modal-closing{animation:modalSlideOut .2s ease forwards}.modal-closing .modal-overlay{animation:fadeOut .2s ease forwards}@keyframes fadeOut{to{opacity:0}}.bottom-tabs{display:none}@media (max-width: 768px){.bottom-tabs{position:fixed;bottom:0;left:0;right:0;background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid rgba(255,255,255,.2);padding:.2rem;box-shadow:0 -4px 15px #0000001a;z-index:100;display:grid;align-items:center;grid-template-columns:repeat(4,1fr);gap:.5rem;height:60px}}.bottom-tab{display:flex;flex-direction:column;align-items:center;padding:.75rem .5rem;background:transparent;border:none;border-radius:12px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);color:#64748b;font-size:.75rem;font-weight:600;position:relative}.bottom-tab:before{content:"";position:absolute;top:0;left:0;right:0;height:0;background:linear-gradient(135deg,#667eea,#764ba2);transition:height .3s cubic-bezier(.4,0,.2,1)}.bottom-tab:hover{background:#667eea14;color:#2d3748;transform:translateY(-1px)}.bottom-tab:hover:before{height:2px}.bottom-tab.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 12px #667eea40;transform:translateY(0)}.bottom-tab.active:before{height:2px;background:#fff6}.bottom-tab:focus{outline:none;box-shadow:0 0 0 2px #667eea80}.bottom-tab .tab-icon{font-size:1.25rem}.bottom-tab .tab-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.5px}@media (max-width: 768px){.dashboard{height:100vh;overflow:hidden}.dashboard-header{padding:.5rem 1rem;position:fixed;top:0;left:0;right:0;z-index:101}.dashboard-header h1{font-size:1.1rem}.logout-btn{padding:.4rem .8rem;font-size:.75rem}.dashboard-content{flex-direction:column;overflow:hidden;margin-top:60px}.sidebar{display:none}.main-content{margin:0;padding:1rem;border-radius:0;overflow-y:auto}.tab-header{flex-direction:row;text-align:center;padding-bottom:.2rem}.tab-header h2{font-size:1.5rem}.stats-grid{grid-template-columns:repeat(2,1fr);gap:.75rem;margin-bottom:1.5rem}.stat-card{padding:1rem}.stat-card h3{font-size:.7rem}.stat-number{font-size:1.4rem}.cars-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem}.records-list{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.75rem}.record-card{height:fit-content}.record-form{grid-template-columns:1fr}.add-form{padding:1.25rem;margin-bottom:1.5rem}.add-form input,.add-form select,.add-form textarea{padding:.75rem;font-size:.9rem}.add-form button{grid-column:span 1;padding:.75rem 1.5rem;font-size:.85rem;min-width:100px}.add-btn,.edit-btn,.delete-btn{width:40px;height:40px;border-radius:8px}.add-btn .action-icon,.edit-btn .action-icon,.delete-btn .action-icon{width:32px;height:32px}.logout-btn{padding:.5rem 1rem;font-size:.8rem}.action-btn{padding:.75rem 1.5rem;font-size:.9rem;min-width:120px}.charts-grid{grid-template-columns:1fr}.chart-card{padding:.75rem}.chart-card h3{font-size:.9rem}.car-header{flex-direction:column;align-items:flex-start}.car-header h3{font-size:.95rem}.car-name{font-size:.75rem}.car-actions,.record-actions{justify-content:center;margin-top:.75rem;padding-top:.75rem;border-top:1px solid #f1f5f9;position:static}.record-car-info{font-size:.85rem;padding:.5rem .75rem}.record-amount-item{font-size:.8rem;padding:.25rem 0}.record-amount-value,.record-amount-cost{font-size:.8rem}.record-total{font-size:.85rem;padding:.5rem .75rem}.record-total-cost{font-size:.9rem}.profile-field{flex-direction:column;align-items:flex-start;gap:.5rem}.logout-btn{padding:.6rem 1.2rem;font-size:.85rem;min-height:40px}.logout-btn .action-icon{width:18px;height:18px}}@media (max-width: 480px){.dashboard-header{padding:.4rem .75rem;position:fixed;top:0;left:0;right:0;z-index:101}.dashboard-header h1{font-size:1rem}.logout-btn{padding:.35rem .6rem;font-size:.7rem}.main-content{margin:0;padding:0rem 0rem 2rem;border-radius:0;height:calc(100vh - 80px);overflow-y:auto}.stats-grid{grid-template-columns:1fr;gap:.5rem}.stat-card{padding:.75rem}.stat-card h3{font-size:.65rem}.stat-number{font-size:1.2rem}.add-form{padding:1rem}.add-form input,.add-form select,.add-form textarea{padding:.65rem;font-size:.85rem}.chart-card{padding:.75rem}.record-car-info{font-size:.8rem;padding:.4rem .6rem}.record-amount-item{font-size:.75rem;padding:.2rem 0}.record-total{font-size:.8rem;padding:.4rem .6rem}.record-total-cost{font-size:.85rem}.cars-grid,.records-list{grid-template-columns:1fr;gap:.5rem}.modal-content{width:95%;max-width:none;margin:1rem;padding:1.5rem;border-radius:16px;max-height:85%}.modal-title{font-size:1.3rem}.modal-actions{flex-direction:row;gap:.75rem}.modal-btn{padding:.875rem 1.25rem}.form-input,.form-select,.form-textarea{padding:.65rem .875rem;font-size:.85rem}.bottom-tab{padding:.3rem 0rem}.bottom-tab .tab-icon{font-size:.8rem}.bottom-tab .tab-label{font-size:.5rem}.add-btn,.edit-btn,.delete-btn{width:40px;height:40px;border-radius:8px}.add-btn .action-icon,.edit-btn .action-icon,.delete-btn .action-icon{width:32px;height:32px}.logout-btn{padding:.4rem .8rem;font-size:.75rem}.action-btn{padding:.65rem 1.25rem;font-size:.85rem;min-width:100px}}.account-container{overflow:scroll}
