/* Glass surface for the embedded trip form */
html.carmel-embedded:has(#quote-form:not(.hidden)), html.carmel-embedded:has(#quote-form:not(.hidden)) body, html.carmel-embedded:has(#quote-form:not(.hidden)) .public-main, html.carmel-embedded:has(#quote-form:not(.hidden)) .booking-layout {background:transparent!important;}
html.carmel-embedded:has(#quote-form:not(.hidden)) .booking-card {background:linear-gradient(145deg,rgba(17,42,45,.69),rgba(12,33,36,.57))!important;color:#f8faf8;border:0;box-shadow:none;}
html.carmel-embedded:has(#quote-form:not(.hidden)) #quote-form {background:transparent;color:#f8faf8;}
html.carmel-embedded:has(#quote-form:not(.hidden)) #quote-form :is(label,summary,.fineprint){color:#f3f6f3;}
html.carmel-embedded:has(#quote-form:not(.hidden)) #quote-form :is(a,.link-btn,button[type=button]:not(.btn)){color:#f0d7a8;}
html.carmel-embedded:has(#quote-form:not(.hidden)) #quote-form :is(input:not([type=checkbox],[type=radio],[type=hidden]),select,textarea,gmp-place-autocomplete){box-sizing:border-box;min-width:0;max-width:100%;border:1px solid #9aada9;background:rgba(17,39,42,.78);color:#fff;color-scheme:dark;}
html.carmel-embedded:has(#quote-form:not(.hidden)) #quote-form input::placeholder{color:#c3d1cd;}
html.carmel-embedded:has(#quote-form:not(.hidden)) #quote-form select option{background:#193436;color:#fff;}
html.carmel-embedded:has(#quote-form:not(.hidden)) #quote-form .segmented{background:rgba(7,25,26,.42);}
html.carmel-embedded:has(#quote-form:not(.hidden)) #quote-form .segmented label .service-symbol{color:#cbd9ce;}
html.carmel-embedded:has(#quote-form:not(.hidden)) #quote-form .segmented label:has(input:checked){background:#285546;box-shadow:inset 0 0 0 1px #98b3a5;}
html.carmel-embedded:has(#quote-form:not(.hidden)) #quote-form .segmented input:checked+.service-symbol{color:#f2d5a1;}
html.carmel-embedded:has(#quote-form:not(.hidden)) #quote-form :focus-visible{outline:2px solid #f3d9a8;outline-offset:2px;}

/* Keep the embedded mobile booking form within its viewport. */
@media (max-width: 760px) {
  html.carmel-embedded:has(#quote-form), html.carmel-embedded body.page-reserve:has(#quote-form) {
    max-width: 100%; overflow-x: hidden; overflow-x: clip; overscroll-behavior-x: none;
  }
  html.carmel-embedded .page-reserve :is(.public-main,.booking-layout,.booking-card,#quote-form,#quote-form .field,#quote-form .form-grid) {
    min-width: 0; max-width: 100%; box-sizing: border-box;
  }
  html.carmel-embedded #quote-form { touch-action: pan-y pinch-zoom; }
  html.carmel-embedded #quote-form .form-grid > * { min-width: 0; }
  html.carmel-embedded #quote-form :is(input:not([type=checkbox],[type=radio]),select,textarea,gmp-place-autocomplete) {
    min-width: 0; max-width: 100%; box-sizing: border-box; font-size: max(16px,1em);
  }
}

/* Size native date and time pickers from the form column, including on iOS. */
@media (max-width: 760px) {
  .page-reserve #quote-form .carmel-date-time {
    display: grid; grid-template-columns: minmax(0, 1fr); width: auto;
    min-inline-size: 0; max-inline-size: 100%; justify-self: stretch;
  }
  .page-reserve #quote-form .carmel-date-time > label.field {
    display: grid; grid-template-columns: minmax(0, 1fr); width: auto;
    min-inline-size: 0; max-inline-size: 100%; justify-self: stretch;
  }
  .page-reserve #quote-form .carmel-date-time > label.field > :is(input[type=date],input[type=time]) {
    -webkit-appearance: none; appearance: none; contain: inline-size;
    box-sizing: border-box; width: auto; inline-size: auto; min-inline-size: 0;
    max-inline-size: 100%; justify-self: stretch; margin-inline: 0;
    min-block-size: 46px; font-size: 16px; text-align: start;
  }
  .page-reserve #quote-form .carmel-date-time input::-webkit-date-and-time-value {
    min-width: 0; max-width: 100%; margin: 0; text-align: start;
  }
}
