/* Shared rental request modal opened by the header CTA on every page.
   Compact corporate-blue Aurora variant: 880px dialog, solid #0000fd panel,
   #f2f2f2 text, white controls, #0000fd-on-white selected chips. Posts the
   existing /site/rent-order AJAX contract; scoped to .rent-modal / .rent-order
   so the legacy layout styles stay untouched. */
.rent-modal, .rent-modal *, .rent-modal *::before, .rent-modal *::after,
.rent-order, .rent-order *, .rent-order *::before, .rent-order *::after { box-sizing: border-box; }
.rent-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: stretch; justify-content: center; }
.rent-modal.is-open { display: flex; }
body.rent-modal-open { overflow: hidden; }
.rent-modal__overlay { position: absolute; inset: 0; background: rgba(18,18,18,.72); cursor: pointer; }
.rent-modal__dialog { position: relative; z-index: 1; display: flex; flex-direction: column; width: 100%; height: 100dvh; margin: 0; border: 0; border-radius: 0; background: #0000fd; color: #f2f2f2; font-family: "Suisse Intl", Arial, sans-serif; }
.rent-modal__close { position: absolute; z-index: 2; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(242,242,242,.6); border-radius: 50%; background: transparent; color: #f2f2f2; font: inherit; cursor: pointer; transition: background-color 160ms ease-out, color 160ms ease-out; }
.rent-modal__close:hover { background: #f2f2f2; color: #0000fd; }
.rent-modal__close span { position: relative; display: block; width: 16px; height: 2px; background: currentColor; transform: rotate(45deg); }
.rent-modal__close span::before { content: ""; position: absolute; inset: 0; background: currentColor; transform: rotate(90deg); }
.rent-modal__scroll { width: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.rent-order { background: #0000fd; color: #f2f2f2; font-family: "Suisse Intl", Arial, sans-serif; }
.rent-order__inner { width: 100%; max-width: 780px; margin: 0 auto; padding: clamp(64px, 7vw, 84px) clamp(20px, 4vw, 40px) clamp(40px, 5vw, 56px); }
.rent-order__title { margin: 0 0 clamp(22px, 3vw, 36px); color: #f2f2f2; font-family: "Benzin", "Arial Black", sans-serif; font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1.1; text-align: center; text-transform: uppercase; overflow-wrap: anywhere; }
.rent-order__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 1.9vw, 24px); }
.rent-order__field { display: grid; gap: 8px; min-width: 0; }
.rent-order__field--full { grid-column: 1 / -1; }
.rent-order__label { color: #f2f2f2; font-size: 15px; font-weight: 300; line-height: 1.25; overflow-wrap: anywhere; }
.rent-order__field--guests .rent-order__label { text-align: center; }
.rent-order__range { position: relative; padding: 44px 28px 0; }
.rent-order__range-input { display: block; width: 100%; height: 28px; margin: 0; appearance: none; background: transparent; cursor: pointer; }
.rent-order__range-input::-webkit-slider-runnable-track { height: 2px; background: rgba(242,242,242,.65); }
.rent-order__range-input::-moz-range-track { height: 2px; background: rgba(242,242,242,.65); }
.rent-order__range-input::-webkit-slider-thumb { width: 20px; height: 20px; margin-top: -9px; appearance: none; border: 0; border-radius: 50%; background: #f2f2f2; }
.rent-order__range-input::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #f2f2f2; }
.rent-order .rent-order__range-input:focus-visible { outline: none; }
.rent-order__range-input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px #f2f2f2, 0 0 0 4px rgba(0,0,253,.28); }
.rent-order__range-input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 1px #f2f2f2, 0 0 0 4px rgba(0,0,253,.28); }
.rent-order__range-value { position: absolute; top: 0; transform: translateX(-50%); display: grid; place-items: center; min-width: 74px; height: 34px; padding: 0 10px; border-radius: 4px; background: #f2f2f2; color: #0000fd; font-size: 17px; font-weight: 400; }
.rent-order__range-limits { display: flex; justify-content: space-between; margin-top: 6px; padding: 0 10px; color: rgba(242,242,242,.75); font-size: 13px; }
.rent-order__events { margin: 0; padding: 0; border: 0; grid-column: 1 / -1; }
.rent-order__events legend { width: 100%; margin-bottom: 12px; padding: 0; text-align: center; }
.rent-order__events legend + div { margin-top: 0; }
.rent-order__events__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rent-order__events label { position: relative; display: block; margin: 0; cursor: pointer; }
.rent-order__events input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.rent-order__events label span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 10px; border: 1px solid rgba(242,242,242,.5); border-radius: 999px; background: transparent; color: rgba(242,242,242,.9); font-size: 14px; font-weight: 300; line-height: 1.25; text-align: center; transition: border-color 160ms ease-out, background-color 160ms ease-out, color 160ms ease-out; }
.rent-order__events label:hover span { border-color: #f2f2f2; color: #f2f2f2; }
.rent-order__events input:checked + span { border-color: #f2f2f2; background: #f2f2f2; color: #0000fd; font-weight: 400; }
.rent-order__events input:focus-visible + span { outline: 2px solid #f2f2f2; outline-offset: 2px; }
.rent-order__control { width: 100%; min-height: 52px; padding: 10px 14px; border: 1px solid rgba(242,242,242,.7); border-radius: 4px; background: #f2f2f2; color: #212121; font: inherit; font-size: 15px; font-weight: 300; color-scheme: light; }
.rent-order__control::placeholder { color: rgba(33,33,33,.55); }
.rent-order__control[type="date"] { color: rgba(33,33,33,.55); }
.rent-order__control[type="date"]:valid { color: #212121; }
.rent-order__control:focus { border-color: #212121; }
.rent-order__control[type="date"]::-webkit-calendar-picker-indicator { width: 22px; height: 22px; cursor: pointer; }
.rent-order__control--textarea { min-height: 120px; padding: 12px 14px; line-height: 1.45; resize: vertical; }
.rent-order__control--textarea:focus-visible { outline: 2px solid #f2f2f2; outline-offset: 2px; }
.rent-order__policy { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin: 0 auto; font-size: 13px; line-height: 1.3; cursor: pointer; }
.rent-order__policy a { text-decoration: underline; text-underline-offset: 2px; }
.rent-order__policy input { width: 18px; height: 18px; margin: 0; flex: 0 0 18px; accent-color: #0000fd; }
.rent-order__submit { display: block; grid-column: 1 / -1; width: min(320px, 100%); min-height: 60px; margin: 10px auto 0; padding: 14px 24px; border: 2px solid #121212; border-radius: 999px; background: #121212; color: #f2f2f2; font: inherit; font-size: 15px; font-weight: 400; text-transform: uppercase; cursor: pointer; transition: background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out, transform 160ms ease-out; }
.rent-order__submit:hover:not(:disabled) { border-color: transparent; background: #f2f2f2; color: #0000fd; transform: translateY(-1px); }
.rent-order__submit:focus-visible { outline: 2px solid #f2f2f2; outline-offset: 3px; }
.rent-order__submit:not(:disabled):active { transform: translateY(0) scale(.97); }
.rent-order__submit:disabled { opacity: .7; cursor: wait; }
.rent-order__status:empty { display: none; }
.rent-order__status { grid-column: 1 / -1; margin: 10px 0 0; font-size: 14px; text-align: center; }
.rent-order__status.is-error { color: #ed6035; }
.rent-order__status.is-success { color: #f2f2f2; }
.rent-modal [hidden] { display: none !important; }
.rent-order__success { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; width: 100%; min-height: calc(100dvh - 140px); margin: 0 auto; padding: 32px clamp(20px, 4vw, 40px) 40px; text-align: center; }
.rent-order__success-title { margin: 0; color: #f2f2f2; font-family: "Benzin", "Arial Black", sans-serif; font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.rent-order__success-close { margin: 0; }
.rent-order__hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rent-modal input:focus-visible, .rent-modal button:focus-visible, .rent-modal [tabindex]:focus-visible { outline: 2px solid #f2f2f2; outline-offset: 2px; }
.rent-modal .rent-order__success-title:focus-visible { outline: none; }
@media (min-width: 900px) {
  .rent-order__form { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
  .rent-order__events__grid { grid-template-columns: repeat(5, auto); justify-content: stretch; }
  .rent-order__events label span { padding: 8px 12px; font-size: 13px; letter-spacing: .01em; white-space: nowrap; }
}
@media (max-width: 768px) {
  .rent-order__inner { padding: 64px 16px 36px; }
  .rent-order__title { padding-right: 48px; font-size: clamp(20px, 5vw, 22px); text-align: left; }
  .rent-order__field--guests .rent-order__label { text-align: left; }
  .rent-order__events legend { text-align: left; }
  .rent-order__policy { margin: 0; }
}
@media (max-width: 520px) {
  .rent-order__events__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .rent-order__submit, .rent-modal__close, .rent-order__events label span { transition: none; } }
