.contact .contact-table select,
.confirm .contact-table select {
  border: 1px solid #646464;
  padding: 6px 10px;
  width: 100%;
}

.contact .contact-reserve-site {
  margin: 0 auto 34px;
  max-width: 720px;
  padding: 0 16px;
  text-align: center;
}

.confirm .contact-reserve-site {
  display: none;
}

.contact .reserve-site-button {
  align-items: center;
  background-color: #06c755;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.4;
  min-height: 48px;
  padding: 10px 28px;
  text-decoration: none;
  width: min(100%, 280px);
}

.contact .reserve-site-button:hover,
.contact .btn-main input[type="submit"]:hover,
.confirm .btn-main input[type="submit"]:hover {
  opacity: 0.85;
}

.contact .contact-normal-heading {
  font-size: 22px;
  line-height: 1.4;
  margin: 0 auto 22px;
  max-width: 720px;
  padding: 0 16px;
  text-align: center;
}

.contact .contact-line-reservation,
.confirm .contact-line-reservation {
  margin: 40px auto 0;
  max-width: 720px;
  text-align: center;
}

.contact .contact-line-reservation p,
.confirm .contact-line-reservation p {
  margin-bottom: 14px;
}

.contact .line-reservation-button,
.confirm .line-reservation-button {
  align-items: center;
  background-color: #06c755;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 10px 28px;
  text-decoration: none;
  width: min(100%, 280px);
}

.contact .btn-main,
.confirm .btn-main {
  text-align: center;
}

.contact .btn-main input[type="submit"],
.confirm .btn-main input[type="submit"] {
  align-items: center;
  appearance: none;
  background-color: #06c755;
  border: 0;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.4;
  min-height: 48px;
  padding: 10px 28px;
  width: min(100%, 280px);
}

.contact .line-reservation-button:hover,
.confirm .line-reservation-button:hover {
  opacity: 0.85;
}

.ui-datepicker {
  z-index: 9999 !important;
}

.ui-datepicker .is-closed-weekday span,
.ui-datepicker .is-closed-date span {
  opacity: 0.45;
}

.contact .contact-table .reservation-field-row.is-reservation-hidden {
  display: none;
}

.reservation-schedule-picker {
  margin-top: 16px;
}

.reservation-schedule-launcher {
  margin-top: 12px;
}

.reservation-schedule-open {
  background: #008f5a;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  min-height: 42px;
  padding: 8px 18px;
}

.reservation-schedule-open:hover {
  opacity: 0.85;
}

.reservation-schedule-status {
  color: #333;
  font-size: 13px;
  line-height: 1.6;
  margin: 8px 0 0;
}

.reservation-schedule-selected {
  border: 1px solid #646464;
  color: #222;
  line-height: 1.6;
  margin: 10px 0 0;
  min-height: 42px;
  padding: 8px 10px;
}

body.reservation-schedule-modal-open {
  overflow: hidden;
}

.reservation-schedule-modal {
  background: rgba(0, 0, 0, 0.56);
  box-sizing: border-box;
  display: none;
  height: 100%;
  left: 0;
  padding: 18px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100000;
}

.reservation-schedule-modal.is-open {
  display: flex;
}

.reservation-schedule-modal-panel {
  background: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin: auto;
  max-height: 92vh;
  max-width: 1180px;
  width: 100%;
}

.reservation-schedule-modal-header {
  align-items: center;
  border-bottom: 1px solid #ddd;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 14px 16px;
}

.reservation-schedule-modal-header h2 {
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
}

.reservation-schedule-modal-header p {
  font-size: 13px;
  line-height: 1.5;
  margin: 4px 0 0;
}

.reservation-schedule-close {
  background: #333;
  border: 0;
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 14px;
  padding: 8px 14px;
}

.reservation-schedule-modal-body {
  flex: 1 1 auto;
  min-height: 160px;
  overflow: auto;
}

.reservation-schedule-modal-body .reservation-schedule-scroll {
  border: 0;
  max-height: none;
  padding: 14px 16px 18px;
}

.reservation-schedule-note,
.reservation-schedule-message {
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 10px;
}

.reservation-schedule-scroll {
  border: 1px solid #d6d6d6;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.reservation-schedule-table {
  border-collapse: collapse;
  font-size: 13px;
  min-width: 980px;
  table-layout: fixed;
  width: 100%;
}

.reservation-schedule-table th,
.reservation-schedule-table td {
  border: 1px solid #e1e1e1;
  height: 38px;
  padding: 4px;
  text-align: center;
  vertical-align: middle;
  width: 64px;
}

.reservation-schedule-table thead th {
  background: #f5f5f5;
  color: #222;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 2;
}

.reservation-schedule-time-heading,
.reservation-schedule-time {
  background: #fafafa;
  color: #222;
  font-weight: 700;
  left: 0;
  position: sticky;
  width: 72px;
  z-index: 3;
}

.reservation-schedule-slot {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  height: 26px;
  justify-content: center;
  line-height: 1;
  width: 34px;
}

button.reservation-schedule-slot {
  appearance: none;
  background: #e9f8f1;
  border: 1px solid #008f5a;
  color: #007a4d;
  cursor: pointer;
  padding: 0;
}

button.reservation-schedule-slot:hover,
button.reservation-schedule-slot.is-selected {
  background: #008f5a;
  color: #fff;
}

.reservation-schedule-slot.is-unavailable {
  color: #aaa;
}

@media screen and (max-width: 768px) {
  .contact .contact-line-reservation,
  .confirm .contact-line-reservation {
    margin-top: 28px;
  }

  .reservation-schedule-table {
    font-size: 12px;
    min-width: 920px;
  }

  .reservation-schedule-table th,
  .reservation-schedule-table td {
    width: 58px;
  }

  .reservation-schedule-modal {
    padding: 8px;
  }

  .reservation-schedule-modal-panel {
    max-height: 96vh;
  }

  .reservation-schedule-modal-header {
    align-items: flex-start;
    display: block;
  }

  .reservation-schedule-close {
    margin-top: 10px;
  }
}
