/* Tách từ templates/base.html — giữ nguyên thứ tự cascade qua <link> tại vị trí cũ. */
.vlb-quote-modal{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center;padding:18px;}
.vlb-quote-modal.is-open{display:flex;}
.vlb-quote-backdrop{position:absolute;inset:0;background:rgba(12,18,28,.58);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);}
.vlb-quote-dialog{position:relative;z-index:1;width:min(800px,100%);max-height:min(92vh,900px);overflow:auto;background:#fff;border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.24);-webkit-overflow-scrolling:touch;}
.vlb-quote-close{position:absolute;z-index:4;top:16px;right:16px;width:42px;height:42px;border:1px solid rgba(255,255,255,.8);border-radius:50%;background:rgba(0,0,0,.26);color:#fff;font-size:32px;line-height:36px;cursor:pointer;}
.vlb-quote-hero{position:relative;width:100%;overflow:hidden;background:#17334d;}
.vlb-quote-hero img{display:block;width:100%;height:auto;object-fit:contain;}
.vlb-quote-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.62));}
.vlb-quote-hero-overlay{position:absolute;z-index:2;left:8%;right:8%;bottom:34px;display:flex;flex-direction:column;gap:9px;color:#fff;text-align:center;}
.vlb-quote-hero-overlay strong{font-size:clamp(25px,4vw,42px);line-height:1.05;font-weight:800;}
.vlb-quote-hero-overlay span{font-size:17px;line-height:1.4;}
.vlb-quote-body{padding:34px 38px 30px;}
.vlb-quote-body h2{margin:0 0 24px;color:#00529c;font-size:30px;line-height:1.1;text-align:center;font-weight:800;}
.vlb-quote-form{display:grid;gap:0;}
.vlb-quote-field{position:relative;display:flex;align-items:center;min-height:62px;border-bottom:1px solid #cfd3d8;}
.vlb-quote-icon{flex:0 0 42px;width:42px;height:42px;display:flex;align-items:center;justify-content:center;color:#00529c;font-size:24px;text-align:center;}
.vlb-quote-icon svg{width:24px;height:24px;display:block;}
.vlb-quote-field input,.vlb-quote-field select,.vlb-quote-field textarea{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#1c2025;font:inherit;font-size:17px;}
.vlb-quote-field input,.vlb-quote-field select{height:60px;}
.vlb-quote-field textarea{min-height:82px;padding:16px 0 10px;resize:vertical;}
.vlb-quote-field select{appearance:auto;}

.vlb-quote-select-wrap{position:relative;z-index:12;}
.vlb-quote-car-picker{width:100%;height:60px;border:0;outline:0;background:transparent;color:#1c2025;font:inherit;font-size:17px;display:flex;align-items:center;justify-content:space-between;text-align:left;cursor:pointer;padding:0 2px 0 0;}
.vlb-quote-car-current{display:flex;align-items:center;min-width:0;gap:10px;}
.vlb-quote-car-current img{width:72px;height:40px;object-fit:contain;display:block;flex:0 0 auto;}
.vlb-quote-car-placeholder{color:#68717c;}
.vlb-quote-car-chevron{font-size:20px;color:#00529c;line-height:1;transform:translateY(-2px);}
.vlb-quote-car-options{position:absolute;left:42px;right:0;top:calc(100% + 4px);display:none;max-height:280px;overflow:auto;background:#fff;border:1px solid #d8dee7;border-radius:10px;box-shadow:0 14px 34px rgba(16,32,52,.16);padding:5px;z-index:50;}
.vlb-quote-car-options.is-open{display:block;}
.vlb-quote-car-options button{width:100%;min-height:52px;border:0;background:#fff;border-radius:8px;display:flex;align-items:center;gap:12px;padding:6px 10px;color:#202833;font:inherit;font-size:16px;text-align:left;cursor:pointer;}
.vlb-quote-car-options button:hover,.vlb-quote-car-options button[aria-selected="true"]{background:#f3f7fc;}
.vlb-quote-car-options img{width:72px;height:38px;object-fit:contain;display:block;flex:0 0 auto;}
.vlb-quote-success-icon{overflow:hidden;background:transparent;border:2px solid #d62828;width:76px;height:76px;margin:0 auto 16px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;}
.vlb-quote-success-icon img{width:82%;height:82%;object-fit:contain;display:block;background:transparent;}
.vlb-quote-consent{display:flex;align-items:flex-start;gap:10px;margin:24px 0 22px;color:#5d6672;font-size:13px;line-height:1.55;cursor:pointer;}
.vlb-quote-consent input{flex:0 0 auto;width:20px;height:20px;margin:1px 0 0;accent-color:#00529c;}
.vlb-quote-consent strong{color:#00529c;}
.vlb-quote-submit{width:100%;min-height:58px;border:0;border-radius:10px;background:#00529c;color:#fff;font-size:17px;font-weight:800;cursor:pointer;box-shadow:0 8px 20px rgba(0,82,156,.18);}
.vlb-quote-submit span{font-size:28px;vertical-align:-2px;margin-left:8px;}
.vlb-quote-submit:hover{background:#00529c;}
.vlb-quote-success{text-align:center;padding:18px 6px 4px;}
.vlb-quote-success[hidden]{display:none;}
.vlb-quote-success-icon{width:76px;height:76px;margin:0 auto 16px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:transparent;border:2px solid #d62828;color:#d62828;box-sizing:border-box;}
.vlb-quote-success p{margin:0 0 6px;color:#4f5965;font-size:15px;line-height:1.5;}
.vlb-quote-success strong{display:block;color:#1c2025;font-size:15px;line-height:1.5;}
.vlb-quote-success-close{margin-top:20px;min-width:130px;min-height:44px;border:0;border-radius:7px;background:#00529c;color:#fff;font-size:13px;font-weight:800;cursor:pointer;}
body.vlb-quote-modal-open{overflow:hidden;}
@media(max-width:767px){
 .vlb-quote-modal{padding:16px}.vlb-quote-dialog{width:100%;max-height:94vh;border-radius:16px}.vlb-quote-close{top:10px;right:10px;width:38px;height:38px;font-size:29px;line-height:32px}.vlb-quote-hero-overlay{left:18px;right:18px;bottom:22px;gap:7px}.vlb-quote-hero-overlay strong{font-size:18px;white-space:nowrap;letter-spacing:-.02em}.vlb-quote-hero-overlay span{font-size:14px;line-height:1.35}.vlb-quote-body{padding:26px 18px 20px}.vlb-quote-body h2{font-size:26px;margin-bottom:18px}.vlb-quote-field{min-height:56px}.vlb-quote-icon{flex-basis:38px;width:38px;height:38px;font-size:21px}.vlb-quote-icon svg{width:22px;height:22px}.vlb-quote-field input,.vlb-quote-field select{height:54px;font-size:16px}.vlb-quote-field textarea{font-size:16px;min-height:72px}.vlb-quote-car-picker{height:54px;font-size:16px}.vlb-quote-car-current img{width:64px;height:34px}.vlb-quote-car-options{left:38px}.vlb-quote-car-options button{font-size:15px}.vlb-quote-car-options img{width:64px;height:34px}.vlb-quote-consent{font-size:12px;margin:20px 0 18px}.vlb-quote-submit{min-height:54px;font-size:15px}
}
@media(max-width:399px){.vlb-quote-modal{padding:8px}.vlb-quote-dialog{max-height:96vh;border-radius:13px}.vlb-quote-hero-overlay strong{font-size:16px;white-space:nowrap;letter-spacing:-.025em}.vlb-quote-hero-overlay span{font-size:12px}.vlb-quote-body{padding:22px 14px 16px}.vlb-quote-body h2{font-size:23px}.vlb-quote-field input,.vlb-quote-field select,.vlb-quote-field textarea{font-size:15px}.vlb-quote-consent{font-size:11px}.vlb-quote-submit{font-size:14px}}
