/* ETO Quotes RC8.2 — native CHBS BOOK/SELECT state + premium quotation CTA. */
/* The native CHBS booking link remains at its exact original location and size. */
.chbs-main:not(.chbs-widget) .chbs-vehicle .chbs-vehicle-content-header.etq-has-quote { position:relative; }
.chbs-main:not(.chbs-widget) .chbs-vehicle .etq-secondary-row {
  position:absolute; display:block; z-index:3; margin:0; padding:0;
  box-sizing:border-box;
}
.chbs-main:not(.chbs-widget) .chbs-vehicle .etq-secondary-row a.etq-quote-link {
  display:flex !important; align-items:center; justify-content:center;
  box-sizing:border-box; float:none !important; width:100% !important;
  min-height:51px; margin:0 !important; padding:8px 9px !important;
  border-radius:9px !important; border:1px solid #163675 !important;
  background:linear-gradient(135deg,#244b94,#173977) !important;
  box-shadow:0 3px 9px rgba(20,49,103,.14) !important;
  color:#fff !important; text-decoration:none !important;
  font-family:inherit !important; font-size:13px !important;
  font-weight:700 !important; line-height:1.25 !important;
  text-align:center !important; white-space:normal; cursor:pointer;
  transition:background .16s ease,box-shadow .16s ease,transform .16s ease;
}
.chbs-main:not(.chbs-widget) .chbs-vehicle .etq-secondary-row a.etq-quote-link::before {
  content:'✉'; color:#f2c349; font-size:16px; line-height:1;
  margin-right:6px; flex:none;
}
.chbs-main:not(.chbs-widget) .chbs-vehicle .etq-secondary-row a.etq-quote-link:hover {
  background:linear-gradient(135deg,#315ba5,#1c428a) !important;
  box-shadow:0 5px 12px rgba(20,49,103,.22) !important;
  transform:translateY(-1px);
}
.chbs-main:not(.chbs-widget) .chbs-vehicle .etq-secondary-row a.etq-quote-link:focus-visible {
  outline:3px solid #e9b82b !important; outline-offset:3px;
}
@media(max-width:767px) {
  /* The fare remains after both actions; BOOK itself does not move. */
  .chbs-main:not(.chbs-widget) .chbs-vehicle .chbs-vehicle-content-header.etq-has-quote {
    margin-bottom:var(--etq-quote-room,63px) !important;
  }
}
@media(prefers-reduced-motion:reduce) {
  .chbs-main:not(.chbs-widget) .chbs-vehicle .etq-secondary-row a.etq-quote-link { transition:none; }
}
.etq-modal-open { overflow:hidden !important; }
.etq-modal,.etq-modal * { box-sizing:border-box; }
.etq-modal { font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif; position:fixed; inset:0; z-index:2147480000; display:flex; justify-content:center; align-items:center; padding:10px; }
.etq-backdrop { position:absolute; inset:0; background:rgba(13,29,62,.67); }
.etq-dialog { position:relative; width:min(100%,450px); max-height:calc(100dvh - 20px); overflow-y:auto; background:#fff; color:#20355e; border:1px solid #e2e8f0; border-radius:16px; padding:22px 23px; box-shadow:0 20px 60px #101f4733; }
.etq-brand {font-size:14px; font-weight:850; color:#183a83; letter-spacing:.02em; margin:0 27px 14px 0; }
.etq-brand-mark {color:#f0b900; font-size:10px; margin-right:7px; }
.etq-dialog h2 { color:#152e60; font-size:22px; line-height:1.2; margin:0 26px 6px 0; font-weight:800; }
.etq-description { margin:0 0 12px; font-size:12px; color:#64748b; line-height:1.45; }
.etq-dismiss { position:absolute; right:14px; top:13px; font-size:24px; line-height:1; border:0; background:transparent; color:#8b96a6; padding:4px 7px; cursor:pointer; }
.etq-summary { padding:10px 12px; border-radius:9px; background:#f4f7fb; border:1px solid #e1e7f1; margin:0 0 13px; font-size:12px; line-height:1.35; overflow-wrap:anywhere; }
.etq-summary strong {display:none}.etq-summary div:first-of-type {font-weight:750; color:#213b6b}.etq-summary div+div {color:#71809a; margin-top:2px}
.etq-request-form {display:flex; flex-direction:column; gap:10px}
.etq-field {display:flex; flex-direction:column; gap:4px; flex:1; min-width:0; color:#324766; font-size:12px; font-weight:700}
.etq-field input {display:block; width:100%; height:41px; min-height:41px; border:1px solid #cdd7e5; border-radius:8px; color:#253f64; background:#fff; font:400 14px system-ui,-apple-system,Segoe UI,Arial,sans-serif; padding:8px 10px; }
.etq-field input:focus {outline:2px solid #97b5e7; border-color:#294d88}
.etq-fields-row {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
.etq-actions {display:block; margin-top:3px}
.etq-send {display:block; width:100%; min-height:45px; border:0; border-radius:9px; padding:10px; text-align:center; background:#f0b900; color:#152a53; font-size:13px; font-weight:850; line-height:24px; text-decoration:none; cursor:pointer}
.etq-send:hover {background:#fac72b; color:#152a53}.etq-send:focus-visible {outline:3px solid #244b93; outline-offset:2px}
.etq-send:disabled {opacity:.6; cursor:wait}
.etq-feedback {color:#b42318; margin:0; font-size:12px}.etq-feedback:empty{display:none}
.etq-complete .etq-dialog {text-align:center; padding:28px 24px}.etq-complete .etq-brand {margin:0 0 20px}.etq-complete .etq-description {font-size:14px; margin:7px 0 22px}.etq-home {text-decoration:none}
.etq-honeypot {position:absolute !important; width:1px !important; height:1px !important; opacity:0 !important; pointer-events:none !important; overflow:hidden !important}
@media(max-width:600px) {.etq-dialog{padding:17px; width:min(100%,370px)}.etq-brand{margin-bottom:11px}.etq-description{font-size:12px}.etq-fields-row{grid-template-columns:repeat(2,minmax(0,1fr))}.etq-dialog h2{font-size:21px}}
@media(max-height:620px){.etq-dialog{max-height:calc(100dvh - 12px);padding:14px}.etq-brand{margin-bottom:8px}.etq-description{margin-bottom:8px}.etq-summary{margin-bottom:8px}.etq-request-form{gap:6px}}
