@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@800&display=swap");

:root [data-kpc-hotel-booking-trigger] {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.kpc-booking-panel {
  width: min(1050px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 1px solid #dce6e8;
  border-radius: 18px;
  background: #fff;
  color: #122f43;
  box-shadow: 0 22px 64px #08253645;
  font: 1rem/1.45 system-ui, sans-serif;
}

.kpc-booking-panel::backdrop {
  background: rgb(8 27 43 / 62%);
}

.kpc-booking-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px;
  border-bottom: 3px solid #e3c790;
  background: #10344b;
  color: #fff;
}

.kpc-booking-heading h2 {
  margin: 0;
  color: inherit;
  font: 700 clamp(1.75rem, 4vw, 2.7rem)/1.15 Georgia, serif;
}

.kpc-booking-panel button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #a3b6be;
  border-radius: 7px;
  background: #fff;
  color: #10344b;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.kpc-booking-heading button {
  flex: 0 0 44px;
  padding: 0;
  border-color: transparent;
  background: transparent;
  color: #fff;
  font-size: 1.65rem;
}

.kpc-booking-panel .kpc-booking-primary {
  border-color: #10344b;
  background: #10344b;
  color: #fff;
}

.kpc-booking-panel button:disabled {
  opacity: .65;
  cursor: wait;
}

.kpc-booking-options {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.65fr);
  gap: clamp(16px, 3vw, 34px);
  padding: clamp(18px, 3vw, 34px);
}

.kpc-booking-panel h3 {
  margin: 0;
  color: #122f43;
  font: 700 1.15rem/1.3 system-ui, sans-serif;
}

.kpc-booking-panel p {
  margin: 5px 0 10px;
  color: #435c6b;
}

.kpc-booking-scan {
  align-self: start;
  padding: 20px;
  border-radius: 12px;
  background: #edf5f3;
}

.kpc-booking-scan img {
  display: block;
  width: min(100%, 288px);
  height: auto;
  aspect-ratio: 1;
  margin: 14px auto 0;
  border: 8px solid #fff;
  border-radius: 8px;
  background: #fff;
  image-rendering: crisp-edges;
}

.kpc-contact-codes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  text-align: center;
}

.kpc-contact-codes figure {
  margin: 0;
  font-weight: 700;
}

.kpc-contact-codes figcaption {
  margin-top: 6px;
}

.kpc-booking-actions > section + section {
  margin-top: 17px;
  padding-top: 17px;
  border-top: 1px solid #dce6e8;
}

.kpc-booking-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kpc-booking-actions form {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #dce6e8;
  border-radius: 8px;
}

.kpc-booking-actions form[hidden] {
  display: none;
}

.kpc-booking-actions input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin: 5px 0 10px;
  padding: 8px;
  font: inherit;
}

.kpc-booking-actions [role="status"]:empty {
  display: none;
}

.kpc-hotel-handoff:focus {
  outline: 3px solid #1f6464;
  outline-offset: 3px;
}

.kpc-booking-panel a.kpc-booking-primary {
  display: inline-flex;
  box-sizing: border-box;
  min-height: 44px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid #10344b;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
}

.kpc-booking-panel [hidden] {
  display: none !important;
}
  
[data-send-guide] {
  min-height: 44px;
  margin-top: 8px;
}

[data-send-guide][hidden] {
  display: none;
}

.kpc-booking-panel-guide {
  width: min(520px, calc(100% - 40px));
}

.kpc-booking-panel-guide .kpc-booking-options {
  grid-template-columns: minmax(0, 1fr);
}
