/* v74 | On-brand, accessible Google Calendar booking overlay. */
/* Existing .btn and .abar-book links retain their original Taxwise styling. */
.tw-booking-modal {
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: #14214f;
  box-shadow: 0 35px 100px rgba(4, 15, 43, .38);
  width: min(920px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  height: min(840px, calc(100vh - 28px));
  max-height: calc(100vh - 28px);
  overflow: hidden;
}
@supports (height: 100dvh) {
  .tw-booking-modal {
    height: min(840px, calc(100dvh - 28px));
    max-height: calc(100dvh - 28px);
  }
}
.tw-booking-modal[open] { display: flex; flex-direction: column; }
.tw-booking-modal::backdrop {
  background: rgba(5, 15, 44, .72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.tw-booking-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
  padding: 19px 25px;
  background: linear-gradient(120deg, #14235c 0%, #204a9b 58%, #1399cb 100%);
  color: #fff;
}
.tw-booking-head-copy { min-width: 0; }
.tw-booking-eyebrow {
  margin: 0 0 3px;
  color: rgba(255,255,255,.83);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tw-booking-head h2 {
  margin: 0;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  font-size: clamp(19px, 3vw, 26px);
}
.tw-booking-close {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 41px;
  height: 41px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  background: rgba(255,255,255,.13);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease;
}
.tw-booking-close:hover, .tw-booking-close:focus-visible {
  background: rgba(255,255,255,.28);
}
.tw-booking-close:focus-visible, .tw-booking-fallback a:focus-visible {
  outline: 3px solid #ffb84d;
  outline-offset: 3px;
}
.tw-booking-frame {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  border: 0;
  background: #fff;
}
.tw-booking-fallback {
  flex: 0 0 auto;
  margin: 0;
  padding: 12px 22px;
  border-top: 1px solid #e5edf6;
  background: #f6f9fd;
  color: #42516d;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
}
.tw-booking-fallback a {
  color: #106c9b;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.tw-booking-open { overflow: hidden; }
@media (max-width: 620px) {
  .tw-booking-modal {
    width: calc(100vw - 12px);
    max-width: calc(100vw - 12px);
    height: calc(100vh - 12px);
    max-height: calc(100vh - 12px);
    border-radius: 15px;
  }
  @supports (height: 100dvh) {
    .tw-booking-modal {
      height: calc(100dvh - 12px);
      max-height: calc(100dvh - 12px);
    }
  }
  .tw-booking-head { padding: 13px 15px; gap: 10px; }
  .tw-booking-head h2 { font-size: 19px; }
  .tw-booking-close { width: 37px; height: 37px; }
  .tw-booking-fallback { padding: 9px 12px; font-size: 12px; }
}
