*{margin:0;padding:0}body{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif}.app{display:flex;flex-direction:column;align-items:center;width:100%;transition:background-color .3s ease,color .3s ease;padding-bottom:2rem}input,button{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-size:1rem;border-radius:8px;border:none;padding:.5rem 1rem;transition:all .2s ease}input{border:1px solid #ccc;background-color:#fff;color:#222}body.dark input{background-color:#3c3c50;color:#f5f5f5;border:1px solid #555}input:focus{outline:none;border-color:#4db6ac;box-shadow:0 0 5px #4db6ac99}button{cursor:pointer;background-color:#4db6ac;color:#fff;font-weight:600;box-shadow:0 3px 6px #00000026}button:hover{background-color:#009688;transform:translateY(-2px);box-shadow:0 6px 12px #00000040}body.dark button{background-color:#00796b;color:#f5f5f5}body.dark button:hover{background-color:#004d40}.card-vehicle{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:12px;margin-bottom:20px;width:90%;max-width:300px;padding:1rem;transition:background-color .3s ease,color .3s ease,transform .2s ease;box-shadow:0 4px 12px #00000026}.card-vehicle:hover{transform:translateY(-3px);box-shadow:0 8px 16px #00000040}.card-vehicle_light{background-color:#fff;color:#222;border:1px solid #ddd}.card-vehicle_dark{background-color:#2c2c3e;color:#f5f5f5;border:1px solid #444}.card-vehicle-info h2,.card-vehicle-info h3{margin:0;text-align:center}.card-traffic-img-light{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;margin-top:.5rem}.card-traffic-img-light img{width:200px;height:150px;object-fit:cover;border-radius:8px}.traffic-light{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:42px;padding:8px 6px;margin-top:.75rem;border-radius:12px;background-color:#515050;box-shadow:inset 0 2px 5px #00000059}.traffic-dot{width:15px;height:15px;border-radius:50%;background-color:#2f2f2f;border:1px solid rgba(255,255,255,.25)}.traffic-dot-red.active{background-color:#e53935;box-shadow:0 0 8px #e53935b3}.traffic-dot-orange.active{background-color:#fb8c00;box-shadow:0 0 8px #fb8c00b3}.traffic-dot-green.active{background-color:#43a047;box-shadow:0 0 8px #43a047b3}@media (max-width: 600px){.card-vehicle{width:calc(100% - 2rem);max-width:none;margin:0 auto 1rem;padding:1.15rem;border-radius:16px;gap:.75rem}.card-vehicle:hover{transform:none}.card-vehicle-info{width:100%}.card-vehicle-info h2{font-size:1.25rem;line-height:1.25}.card-vehicle-info h3{font-size:1rem;line-height:1.35;opacity:.9}.card-traffic-img-light{width:100%;margin-top:.35rem}.card-traffic-img-light img{width:100%;max-width:260px;height:170px;object-fit:contain;border-radius:12px}}@media (max-width: 380px){.card-vehicle{width:calc(100% - 1rem);padding:1rem}.card-traffic-img-light img{height:150px}.dot{width:13px;height:13px}.dot.red{top:170px}.dot.orange{top:190px}.dot.green{top:210px}}.dashboard-summary{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:1rem;width:min(100%,900px);margin:1rem auto 1.5rem;padding:0 1rem}.dashboard-summary-card{display:flex;flex-direction:column;gap:.35rem;padding:1rem;border-radius:16px;background-color:#fff;color:#222;box-shadow:0 6px 16px #0000001f;border-left:6px solid #4db6ac;transition:transform .2s ease,box-shadow .2s ease}.dashboard-summary-card:hover{transform:translateY(-2px);box-shadow:0 10px 22px #00000029}.dashboard-summary-card strong{font-size:2rem;line-height:1}.dashboard-summary-label{font-size:.9rem;font-weight:600;opacity:.75}.dashboard-summary-card--expired{border-left-color:#d32f2f}.dashboard-summary-card--expiring{border-left-color:#f9a825}.dashboard-summary-card--ok{border-left-color:#2e7d32}body.dark .dashboard-summary-card{background-color:#2f2f42;color:#f5f5f5;box-shadow:0 6px 16px #00000059}body.dark .dashboard-summary-card:hover{box-shadow:0 10px 24px #00000073}@media (max-width: 768px){.dashboard-summary{grid-template-columns:repeat(2,minmax(140px,1fr));width:100%;max-width:520px;margin:.75rem auto 1.25rem}}@media (max-width: 480px){.dashboard-summary{grid-template-columns:1fr 1fr;gap:.75rem;padding:0 .75rem}.dashboard-summary-card{min-height:96px;padding:.9rem;border-radius:14px;border-left-width:5px}.dashboard-summary-card:hover{transform:none}.dashboard-summary-card strong{font-size:1.8rem}.dashboard-summary-label{font-size:.82rem;line-height:1.25}}@media (max-width: 360px){.dashboard-summary{grid-template-columns:1fr}.dashboard-summary-card{min-height:auto;align-items:center;text-align:center;border-left:none;border-top:5px solid #4db6ac}.dashboard-summary-card--expired{border-top-color:#d32f2f}.dashboard-summary-card--expiring{border-top-color:#f9a825}.dashboard-summary-card--ok{border-top-color:#2e7d32}}.empty-state{max-width:520px;margin:2rem auto;padding:2rem;text-align:center;border-radius:18px;background:var(--card-bg, #ffffff);box-shadow:0 8px 24px #00000014}.empty-state-icon{font-size:2.5rem;margin-bottom:.75rem}.empty-state h2{margin:0 0 .5rem;font-size:1.4rem}.empty-state p{margin:0;opacity:.75;line-height:1.5}.state-message{max-width:520px;margin:2rem auto;padding:2rem;text-align:center;border-radius:18px;background:var(--card-bg, #ffffff);box-shadow:0 8px 24px #00000014}.state-message-icon{font-size:2.5rem;margin-bottom:.75rem}.state-message h2{margin:0 0 .5rem;font-size:1.4rem}.state-message p{margin:0;opacity:.75;line-height:1.5}.state-message-error{border:1px solid rgba(220,53,69,.25)}body.light{background-color:#f0f4f8;color:#222}body.dark{background-color:#1e1e2f;color:#f5f5f5}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;margin:0;min-height:100vh;transition:background-color .3s ease,color .3s ease}.main-content{padding-top:80px}.menu{width:100%;display:flex;justify-content:center;gap:2rem;list-style:none;padding:1rem 0;margin:0;font-weight:600;position:fixed;top:0;left:0;z-index:1000;background-color:#4db6ac;box-shadow:0 3px 8px #0003;border-bottom:2px solid #00796b}body.dark .menu{background-color:#004d40;color:#f5f5f5}.menu li a{color:inherit;text-decoration:none;padding:.5rem 1rem;border-radius:8px;transition:all .2s ease}.menu li a.active{color:#ffd54f;font-weight:700}.menu li a:hover{background-color:#fff3}.menu-actions{display:flex;justify-content:center;gap:1rem;margin-top:1rem}.btn-Dark-Light{padding:.6rem 1.2rem;border-radius:10px;border:none;font-weight:600;cursor:pointer;background:linear-gradient(135deg,#80cbc4,#4db6ac);color:#fff;box-shadow:0 3px 6px #00000026;transition:all .3s ease}.btn-Dark-Light:hover{transform:translateY(-2px);box-shadow:0 6px 12px #00000040}body.dark .btn-Dark-Light{background:linear-gradient(135deg,#00796b,#004d40);color:#f5f5f5}.modal-overlay{position:fixed;inset:0;background:#0009;display:flex;justify-content:center;align-items:center;z-index:1000}.modal{background:#fff;padding:20px;border-radius:12px;max-width:400px;width:100%;box-shadow:0 4px 15px #0000004d;animation:fadeIn .2s ease-in-out}.modal h2{margin-bottom:15px;font-size:20px;text-align:center}.form-new-vehicle input{width:100%;margin:6px 0 12px;padding:8px;border:1px solid #ccc;border-radius:6px;font-size:14px}.form-new-vehicle label{font-size:13px;font-weight:700;display:block;margin-top:8px;margin-bottom:4px}.modal-actions{margin-top:15px;display:flex;justify-content:space-between}.modal-actions button{flex:1;padding:8px 12px;border:none;border-radius:6px;font-size:14px;cursor:pointer;transition:.2s ease}.modal-actions button:first-child{background:#28a745;color:#fff;margin-right:10px}.modal-actions button:first-child:hover{background:#218838}.modal-actions button:last-child{background:#dc3545;color:#fff}.modal-actions button:last-child:hover{background:#c82333}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.form-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1rem}.new-vehicle{width:min(100% - 2rem,520px);margin:1.5rem auto;padding:1.5rem;border-radius:18px}.new-vehicle h2{margin:0 0 1.25rem;text-align:center}.new-vehicle form{display:flex;flex-direction:column;gap:1rem}.new-vehicle label{display:flex;flex-direction:column;gap:.4rem;font-weight:600}.new-vehicle input{width:100%;box-sizing:border-box;min-height:44px;padding:.75rem;border-radius:10px;font-size:1rem}.new-vehicle .field-error{margin-top:.25rem}.new-vehicle .form-actions{display:flex;gap:.75rem;margin-top:.75rem}.new-vehicle .form-actions button{flex:1;min-height:44px}@media (max-width: 640px){.new-vehicle{width:calc(100% - 1.5rem);margin:1rem auto 1.5rem;padding:1.25rem}.new-vehicle h2{font-size:1.35rem;text-align:left}.new-vehicle form{gap:.95rem}.new-vehicle label{font-size:.95rem}.new-vehicle input{min-height:46px}.new-vehicle .form-actions{flex-direction:column;gap:.75rem}.new-vehicle .form-actions button{width:100%}}.card-details{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:2rem;margin:2rem auto;max-width:500px;border-radius:12px;box-shadow:0 4px 12px #0000001a;background-color:var(--card-bg, #fff);text-align:center;transition:all .3s ease}.card-details img{width:100%;max-width:250px;height:auto;border-radius:8px;object-fit:cover;margin:0 auto}.input-group{width:100%;display:flex;flex-direction:column;align-items:center;margin-bottom:.8rem}.input-group label{font-weight:600;margin-bottom:.25rem}.input-group input{width:80%;max-width:250px;padding:.5rem;border-radius:8px;border:1px solid #ccc;transition:all .2s ease}body.dark .card-details{--card-bg: #2c2c3e;color:#f5f5f5}body.dark .input-group input{background-color:#3c3c50;color:#f5f5f5;border:1px solid #555}.details-actions{display:flex;gap:10px;margin-top:1.5rem;justify-content:center;width:100%}.details-actions button{padding:.6rem 1.2rem;border-radius:10px;border:none;font-weight:600;cursor:pointer;transition:all .2s ease}.details-actions button:first-child{background-color:#4db6ac;color:#fff}.details-actions button:first-child:hover{background-color:#009688;transform:translateY(-2px);box-shadow:0 6px 12px #00000040}body.dark .details-actions button:first-child{background-color:#00796b;color:#f5f5f5}body.dark .details-actions button:first-child:hover{background-color:#004d40}.details-actions .btn-delete{background-color:#ff4d4f;color:#fff}.details-actions .btn-delete:hover{background-color:#d32f2f;transform:translateY(-2px);box-shadow:0 6px 12px #00000040}body.dark .details-actions .btn-delete{background-color:#b71c1c}body.dark .details-actions .btn-delete:hover{background-color:#7f0000}.field-error{display:block;margin-top:.35rem;color:#dc3545;font-size:.85rem;line-height:1.4}.input-error{border-color:#dc3545;outline-color:#dc3545}.details-success-message{margin:1rem 0;padding:.85rem 1rem;border-radius:12px;color:#198754;background:#1987541f;font-weight:600}@media (max-width: 600px){.card-details{width:calc(100% - 2rem);max-width:none;margin:1rem auto;padding:1.25rem;gap:.85rem;border-radius:16px}.card-details img{max-width:100%;max-height:220px;object-fit:contain}.input-group{align-items:stretch;text-align:left;margin-bottom:.95rem}.input-group label{margin-bottom:.4rem;font-size:.95rem}.input-group input{width:100%;max-width:none;box-sizing:border-box;padding:.75rem .85rem;font-size:1rem}.details-actions{flex-direction:column;gap:.75rem;margin-top:1rem}.details-actions button{width:100%;padding:.8rem 1rem;font-size:1rem}.field-error{font-size:.82rem}.details-success-message{width:100%;box-sizing:border-box;margin:.75rem 0;font-size:.95rem}}@media (max-width: 380px){.card-details{width:calc(100% - 1rem);padding:1rem}.card-details img{max-height:180px}}.delete-modal-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:1rem;background:#0000008c}.delete-modal{width:min(100%,420px);padding:1.75rem;text-align:center;border-radius:18px;box-shadow:0 18px 45px #00000040}.delete-modal.light{background:#fff;color:#213547}.delete-modal.dark{background:#1f2937;color:#f9fafb}.delete-modal-icon{font-size:2.5rem;margin-bottom:.75rem}.delete-modal h3{margin:0 0 .75rem;font-size:1.35rem}.delete-modal p{margin:0;line-height:1.5;opacity:.85}.delete-modal-actions{display:flex;justify-content:center;gap:.75rem;flex-wrap:wrap;margin-top:1.5rem}@media (max-width: 600px){.delete-modal-backdrop{align-items:end;padding:.75rem}.delete-modal{width:100%;padding:1.35rem;border-radius:18px 18px 14px 14px}.delete-modal-icon{font-size:2.2rem;margin-bottom:.6rem}.delete-modal h3{font-size:1.2rem}.delete-modal p{font-size:.95rem}.delete-modal-actions{flex-direction:column-reverse;gap:.65rem;margin-top:1.25rem}.delete-modal-actions button{width:100%;padding:.8rem 1rem;font-size:1rem}}
