/* Scoped booking layout; original index template and shared styles remain intact. */
body {
  font-family: 'Lato', Arial, sans-serif !important;
  background: #f7f9fc;
  color: #18304c;
}
.app-header {
  position: static;
  background: #fff;
  border-bottom: 1px solid #e4eaf0;
  box-shadow: none;
}
.app-nav {
  width: min(1440px, calc(100% - 64px));
  min-height: 82px;
}
.brand-link {
  padding: 0;
}
.logo {
  width: 148px;
}
.header-title {
  background: none;
  color: #627286;
  box-shadow: none;
  text-shadow: none;
  font-size: 13px;
  font-weight: 500;
}
.language-switcher {
  border-color: #dce5ed;
  background: #f5f8fa;
}
.language-switcher a {
  color: #60758a;
}
.language-switcher a.active {
  background: #fff;
  color: #284b16;
  box-shadow: 0 2px 8px #18304c12;
}
.language-switcher a:hover {
  color: #284b16;
  background: #eaf4ec;
}
.booking-shell {
  width: min(1440px, calc(100% - 64px));
  margin: 36px auto 24px;
}
.booking-intro {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.booking-intro > span,
.booking-step {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #51833a;
}
.booking-intro p {
  margin: 0;
  font-size: 13px;
  color: #78899c;
}
.booking-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  background: #fff;
  border: 1px solid #dce5ed;
  border-radius: 16px;
  box-shadow: 0 12px 44px #18304c08;
  overflow: hidden;
}
.booking-details {
  border-right: 1px solid #e1e8ef;
}
.booking-brand {
  min-height: 170px;
  border-bottom: 1px solid #e1e8ef;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: linear-gradient(135deg, #fbfdf9, #fff);
}
.booking-brand img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
}
.booking-brand > span {
  font-size: 11px;
  color: #7c8c79;
  letter-spacing: 0.6px;
}
.booking-details-content {
  padding: 36px 42px;
}
.booking-host {
  font-size: 13px;
  font-weight: 600;
  color: #6e8094;
  margin-bottom: 12px;
}
.booking-details h1 {
  font-size: clamp(25px, 2.3vw, 35px);
  line-height: 1.23;
  letter-spacing: -1px;
  font-weight: 700;
  margin: 0 0 28px;
  max-width: 460px;
}
.meeting-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #627995;
  font-size: 14px;
  margin: 18px 0;
}
.meta-symbol {
  font-size: 27px;
  color: #284765;
  line-height: 1;
}
.meeting-tag {
  margin-left: 5px;
  border-radius: 5px;
  padding: 4px 9px;
  background: #f2f5f8;
  font-size: 10px;
  color: #677c90;
}
.address {
  align-items: flex-start;
  line-height: 1.65;
  font-size: 13px;
  font-weight: 600;
}
.address svg {
  width: 23px;
  height: 27px;
  flex-shrink: 0;
  fill: none;
  stroke: #284765;
  stroke-width: 1.8;
}
.address p {
  margin: 0;
  max-width: 390px;
}
.booking-description {
  font-size: 14px;
  line-height: 1.9;
  margin: 26px 0;
  color: #4e647b;
}
.applicant-card {
  border: 1px solid #e3e9ee;
  border-radius: 10px;
  background: #fbfcfe;
  padding: 21px;
}
.applicant-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.applicant-heading h2 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}
.applicant-heading > span {
  font-size: 8px;
  letter-spacing: 1px;
  color: #8794a3;
}
.applicant-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin: 0;
}
.applicant-card dt {
  font-size: 10px;
  font-weight: 500;
  color: #7c8ca0;
  margin-bottom: 5px;
}
.applicant-card dd {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  overflow-wrap: anywhere;
}
.applicant-name {
  grid-column: 1/-1;
}
.application-status {
  display: inline-block;
  background: #eaf0f6;
  color: #395572;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 11px;
}
.bring-note {
  display: flex;
  gap: 12px;
  margin: 24px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: #718298;
}
.bring-note > span {
  color: #538936;
  background: #eff6e9;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  text-align: center;
  flex-shrink: 0;
}
.bring-note p {
  margin: 0;
}
.bring-note strong {
  font-weight: 600;
  color: #48603b;
}
.booking-selector {
  padding: 44px 48px 28px;
  min-width: 0;
}
.selector-header h2 {
  font-size: 27px;
  letter-spacing: -0.6px;
  font-weight: 700;
  margin: 9px 0;
}
.selector-header p {
  font-size: 12px;
  color: #788a9e;
  margin: 0 0 20px;
}
.month-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0 20px;
}
.month-navigation h3 {
  font-size: 16px;
  margin: 0;
  font-weight: 700;
}
.month-navigation button {
  border: 0;
  background: #f2f6fa;
  color: #397b28;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 25px;
  font-size: 29px;
}
.month-navigation button:disabled {
  background: transparent;
  color: #c5cdd6;
  cursor: default;
}
.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
}
.calendar-weekdays {
  font-size: 11px;
  color: #8191a4;
  font-weight: 600;
  margin-bottom: 12px;
}
.calendar-days {
  gap: 6px 4px;
}
.calendar-days button {
  border: 0;
  background: transparent;
  border-radius: 50%;
  height: 48px;
  width: 48px;
  max-width: 100%;
  justify-self: center;
  font-size: 15px;
  color: #bac3cd;
}
.calendar-days button.available {
  color: #417505;
  background: #f0f6eb;
  font-weight: 600;
  cursor: pointer;
}
.calendar-days button.available:hover {
  background: #dcebd1;
}
.calendar-days button.selected {
  background: #417505 !important;
  color: #fff;
  box-shadow: 0 4px 12px #41750530;
}
.calendar-legend {
  font-size: 10px;
  color: #8b99a7;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 22px 0 0;
}
.calendar-legend i {
  background: #e9f3df;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.timezone-field {
  border-top: 1px solid #edf0f4;
  margin-top: 25px;
  padding-top: 19px;
}
.timezone-field label {
  font-size: 12px;
  font-weight: 700;
  display: block;
  margin-bottom: 9px;
}
.timezone-field > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.timezone-field select {
  border: 0;
  background: transparent;
  color: #4c6680;
  font-size: 12px;
  max-width: 100%;
  padding: 6px 0;
  cursor: pointer;
}
.timezone-field small {
  display: block;
  color: #8b99a7;
  font-size: 10px;
  margin-top: 4px;
}
.time-panel {
  border-top: 1px solid #edf0f4;
  margin-top: 25px;
  padding-top: 23px;
}
.time-panel h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 7px;
}
.time-panel > p {
  font-size: 12px;
  color: #788a9e;
}
.time-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.time-slots button {
  padding: 12px 4px;
  border: 1px solid #d3e1c8;
  border-radius: 7px;
  background: #fff;
  color: #417505;
  font-size: 12px;
  font-weight: 600;
}
.time-slots button:hover,
.time-slots button[aria-pressed="true"] {
  background: #f0f6eb;
  border-color: #417505;
}
.selected-summary {
  font-size: 12px;
  background: #f4f8f0;
  border-left: 3px solid #417505;
  padding: 14px;
  margin: 17px 0;
  color: #48603b;
  line-height: 1.7;
}
.confirm-booking {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 15px 18px;
  background: #417505;
  border: 0;
  border-radius: 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.confirm-booking:disabled {
  opacity: 0.65;
}
.confirm-booking:hover {
  background: #315b03;
}
#booking-confirm > p {
  font-size: 10px;
  color: #8b99a7;
  text-align: center;
  margin: 10px 0 0;
}
.journey-details {
  border-top: 1px solid #edf0f4;
  margin-top: 26px;
  padding-top: 19px;
  font-size: 12px;
  color: #5d748c;
}
.journey-details summary {
  cursor: pointer;
  font-weight: 600;
  padding: 5px 0;
}
.journey-details p {
  line-height: 1.7;
  margin: 13px 0;
}
.journey-details label {
  display: block;
  font-size: 11px;
}
.journey-details input {
  display: block;
  width: 100%;
  border: 1px solid #dce5ed;
  border-radius: 6px;
  padding: 12px;
  margin: 8px 0;
  font-size: 12px;
}
.journey-details button,
.retry-button {
  border: 1px solid #d3e1c8;
  border-radius: 6px;
  background: white;
  color: #417505;
  padding: 10px 14px;
  font-size: 12px;
}
.booking-footer {
  font-size: 10px;
  color: #98a4b1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 30px 0 0;
}
.booking-footer > span {
  color: #75a45a;
}
.booking-bottom {
  font-size: 10px;
  text-align: center;
  color: #8c9baa;
  margin-top: 20px;
}
.booking-bottom span {
  margin: 0 10px;
}
.booking-message {
  font-size: 12px;
  line-height: 1.6;
  background: #f4f7fb;
  border: 1px solid #e1e8ef;
  border-radius: 7px;
  padding: 13px 15px;
  margin: 16px 0;
  color: #536c85;
}
.booking-message.error {
  background: #fff5f3;
  border-color: #f1d3cd;
  color: #a63b2c;
}
.booking-message.success {
  background: #f1f7eb;
  color: #426c28;
}
.calendar-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 300px;
  font-size: 12px;
  color: #7c8c9c;
}
.booking-loader {
  width: 20px;
  height: 20px;
  border: 2px solid #e1e8db;
  border-top-color: #417505;
  border-radius: 50%;
  animation: booking-spin 0.8s linear infinite;
}
@keyframes booking-spin {
  to {
    transform: rotate(360deg);
  }
}
[hidden] {
  display: none !important;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #78a8d9;
  outline-offset: 3px;
}
.app-flashes {
  width: min(1440px, calc(100% - 64px));
}
.app-flashes:empty {
  margin: 0;
}
@media (min-width: 1600px) {
  .booking-details-content {
    padding: 42px 54px;
  }
  .booking-selector {
    padding: 48px 62px;
  }
  .calendar-days button {
    width: 54px;
    height: 54px;
  }
}
@media (max-width: 1000px) {
  .booking-shell {
    width: calc(100% - 32px);
    margin-top: 24px;
  }
  .booking-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
  .booking-details-content {
    padding: 28px;
  }
  .booking-selector {
    padding: 30px 25px;
  }
  .booking-details h1 {
    font-size: 27px;
  }
  .booking-brand {
    min-height: 140px;
  }
  .calendar-days button {
    width: 40px;
    height: 40px;
  }
  .selector-header h2 {
    font-size: 24px;
  }
  .app-nav {
    width: calc(100% - 32px);
  }
  .applicant-heading > span {
    display: none;
  }
}
@media (max-width: 720px) {
  .app-nav {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }
  .header-title {
    display: none;
  }
  .logo {
    width: 124px;
  }
  .booking-shell {
    width: calc(100% - 24px);
    margin: 18px auto;
  }
  .booking-intro {
    display: block;
    margin: 0 5px 15px;
  }
  .booking-intro p {
    margin-top: 5px;
    font-size: 12px;
  }
  .booking-card {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }
  .booking-details {
    border-right: 0;
    border-bottom: 1px solid #e1e8ef;
  }
  .booking-brand {
    display: none;
  }
  .booking-details-content {
    padding: 25px;
  }
  .booking-details h1 {
    font-size: 25px;
    margin-bottom: 20px;
  }
  .booking-description {
    font-size: 13px;
    margin: 18px 0;
    line-height: 1.8;
  }
  .booking-host {
    font-size: 11px;
  }
  .applicant-card {
    padding: 17px;
  }
  .applicant-card dl {
    gap: 14px;
  }
  .bring-note {
    margin-top: 18px;
  }
  .booking-selector {
    padding: 27px 22px;
  }
  .calendar-days button {
    height: 44px;
    width: 44px;
  }
  .calendar-days {
    gap: 8px 2px;
  }
  .booking-bottom {
    font-size: 9px;
    line-height: 1.8;
  }
  .booking-bottom span {
    display: block;
    font-size: 0;
    margin: 0;
  }
  .time-slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .app-flashes {
    width: calc(100% - 24px);
  }
}
@media (max-width: 360px) {
  .booking-selector {
    padding: 25px 15px;
  }
  .calendar-days button {
    width: 36px;
    height: 40px;
  }
  .applicant-card dl {
    grid-template-columns: 1fr;
  }
  .applicant-name {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .booking-loader {
    animation: none;
  }
}

.mobile-calendar-jump {
  display: none;
}
@media (max-width: 720px) {
  .mobile-calendar-jump {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #d3e1c8;
    border-radius: 7px;
    padding: 12px 14px;
    background: #fff;
    color: #417505;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 18px;
  }
  #calendar-title {
    scroll-margin-top: 20px;
  }
}
