.sinmido-booking-root {
  box-sizing: border-box;
  max-width: 900px !important;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem 1rem;
  font-family: "arial", "helvetica", "sans-serif";
  color: #66686f;
}
.sinmido-booking-root *,
.sinmido-booking-root *::before,
.sinmido-booking-root *::after {
  box-sizing: border-box;
}

.sinmido-booking-root .sb-form-choices {
  display: grid;
  gap: 22px;
  padding: 11px 0;
}
.sinmido-booking-root .sb-form-choices label {
  flex: auto !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.sinmido-booking-root .sb-form input[type="checkbox" i],
.sinmido-booking-root .sb-form input[type="radio" i] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid #9ca3af;
  background: #fff;
  display: inline-grid;
  place-content: center;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.sinmido-booking-root .sb-form input[type="checkbox" i] {
  border-radius: 4px;
}

.sinmido-booking-root .sb-form input[type="checkbox" i]:checked {
  border-color: #4664a0;
  background-color: #4664a0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.sinmido-booking-root .sb-form input[type="radio" i] {
  border-radius: 999px;
}

.sinmido-booking-root .sb-form input[type="radio" i]:checked {
  border-color: #4664a0;
  background-color: #4664a0;
  box-shadow: inset 0 0 0 4px #fff;
}

.sinmido-booking-root .sb-form input[type="checkbox" i]:focus-visible,
.sinmido-booking-root .sb-form input[type="radio" i]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(70, 100, 160, 0.22);
}

.sb-loading,
.sb-error,
.sb-success {
  padding: 0.75rem 0;
  text-align: center;
}
.sb-error {
  color: #b91c1c;
}
.sb-success {
  color: #66686f;
}

.sb-inquiry-notice {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  color: #92400e;
  font-size: 0.875rem;
}

.sb-description {
  margin-top: 1rem;
  padding: 1.4rem;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-size: 0.775rem;
  color: #4b5563;
  white-space: pre-wrap;
  background: #f8f8f8;
}

.sb-booking-calendar {
  background: transparent;
}
.sb-booking-shortcode-heading {
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  padding: 10px 14px;
  max-width: 900px;
  margin: 0 auto;
}
.sb-calendar-header {
  padding: 1rem;
  display: flex;
  background: #2d2d2d;
  border-radius: 8px 8px 0 0;
  align-items: center;
  justify-content: space-between;
}
.sb-calendar-title {
  font-weight: 600;
  font-size: 18px;
  color: #fff;
}
.sb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 5px;
  font-size: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
  color: #00040f;
  cursor: pointer;
}
.sb-btn:hover:not(:disabled) {
  background: rgba(98, 145, 216, 0.9);
}
.sb-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #e6e6e7;
}
.sb-calendar-grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 16px;
  background: #fefefe;
}
.sb-calendar-grid th {
  width: 14.2857%;
  padding: 10px 20px;
  text-align: center;
}
.sb-calendar-grid td {
  width: 14.2857%;
  border: 1px solid #c9c9c9;
  padding: 14px;
  text-align: center;
}
@media (max-width: 768px) {
  .sinmido-booking-root .sb-slots-table th:nth-child(3),
  .sb-slots-table td:nth-child(3) {
    padding-right: 1rem !important;
  }
  .sb-calendar-grid {
    font-size: 12px !important;
  }
  .sb-day-amount-reservation {
    font-size: 10px !important;
  }
  .sinmido-booking-root {
    padding: 0;
  }
  .sb-slots-section {
    padding: 4px !important;
  }
  .sb-slots-table th,
  .sb-slots-table td {
    font-size: 12px !important;
  }
  .sb-btn-book {
    font-size: 11px !important;
    padding: 16px 20px !important;
  }
  .sb-calendar-grid th {
    padding: 5px 6px;
  }
  .sb-calendar-grid td {
    padding: 5px 5px;
  }
  .sb-form .sb-form-row {
    flex-direction: column;
    gap: 4px !important;
    align-items: start !important;
    padding: 0 0 1.6rem;
  }
  .sb-form .sb-form-row label {
    flex: 0 0 45% !important;
    gap: 0 !important;
  }
  .sb-form .sb-form-row input,
  .sb-form .sb-form-row textarea,
  .sb-form .sb-form-row select {
    width: 100%;
  }
  .sb-second-pref-picker {
    flex-direction: column;
  }
}
.sb-form-row.sb-privacy-consent .sb-privacy-consent-label {
  margin: 0 auto;
}
.sb-calendar-grid th {
  color: #66686f;
  font-weight: 600;
  border: 1px solid #c9c9c9;
  background-color: #f4f4f4;
}
.sb-calendar-grid thead th:first-child {
  color: #e64c30;
}
.sb-calendar-grid thead th:last-child {
  color: #3d90dd;
}
.sb-day {
  position: relative;
  min-width: 2.5rem;
}
.sb-day-other {
  background: #f9fafb;
  color: #9ca3af;
}
.sb-day-past {
  background: #fdfdfd;
  color: #66686f;
}
.sb-day-today {
  background: rgba(47, 168, 181, 0.102);
}
.sb-day-past .sb-day-symbol {
  color: transparent;
}
.sb-day-clickable {
  cursor: pointer;
}
.sb-day-clickable:hover {
  background: #eff6ff;
}
.sb-day-available .sb-day-symbol {
  color: #66686f;
}
.sb-day-available .sb-day-amount-reservation {
  color: #66686f;
}
.sb-day-few {
  background: #fefce8;
}
.sb-day-few .sb-day-symbol {
  color: #a16207;
}
.sb-day-few .sb-day-amount-reservation {
  color: #a16207;
}
.sb-day-closed {
  cursor: default;
  pointer-events: auto;
}
.sb-day-selected {
  outline: 2px solid #6e96d2e6;
  outline-offset: -2px;
  position: relative;
  z-index: 1;
}
.sb-day-num {
  display: block;
}
.sb-day-symbol {
  display: block;
  font-size: 14px;
  margin-top: 4px;
}
.sb-day-amount-reservation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1;
  margin-top: 8px;
}
.sb-day-amount-label {
  font-size: 1.1rem;
  font-weight: 600;
}
.sb-day-amount-value {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
@media (max-width: 768px) {
  .sb-day-amount-label {
    font-size: 9px;
  }
  .sb-day-amount-value {
    font-size: 13px;
  }
}
.sb-legend {
  padding: 10px 20px;
  font-size: 14px;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.sb-legend span {
  white-space: nowrap;
}

.sb-slots-wrap {
  display: none;
  margin-bottom: 2rem;
}
.sb-slots-section {
  background: #fff;
  margin-top: 2rem;
}
.sb-slots-title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #374151;
}
.sb-slots-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  table-layout: fixed;
}
.sb-slots-table th,
.sb-slots-table td {
  font-size: 16px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.75rem;
  text-align: left;
  text-align: center;
}
.sb-slots-table th:nth-child(1),
.sb-slots-table td:nth-child(1) {
  width: 25%;
}
.sb-slots-table th:nth-child(2),
.sb-slots-table td:nth-child(2) {
  width: 25%;
}
.sb-slots-table th:nth-child(3),
.sb-slots-table td:nth-child(3) {
  width: 50%;
  text-align: right;
  padding-right: 5rem;
}
.sb-slots-table th {
  background: #f4f4f4;
  font-weight: 500;
  font-size: 18px;
  color: #14283c;
}
.sb-slot-symbol {
  font-size: 14px;
}
.sb-btn-book {
  background: #fff;
  color: #788cc8;
  border: 1px solid #788cc8;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  cursor: pointer;
  font-weight: 600;
  padding: 12px 30px;
  font-size: 13px;
}
.sb-btn-book:hover:not(:disabled) {
  background: #eff6ff;
}
.sb-btn-book:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}
.sb-disclaimer {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: #6b7280;
}

.sb-form-wrap {
  display: none;
  margin-bottom: 2rem;
}
.sb-reservation-form {
  background: #fff;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1.5rem;
  border: none;
}
.sb-form-title {
  margin: 0 0 0.25rem;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
}
.sb-form-subtitle {
  margin: 0 0 1.75rem;
  font-size: 18px;
  text-align: center;
}
.sb-form .sb-form-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}
.sb-form .sb-form-row:last-of-type {
  border-bottom: none;
}
.sb-form .sb-form-row label {
  flex: 0 0 13rem;
  font-size: 14px;
  font-weight: 600;
  color: #2d2d2d;
  margin: 0;
  line-height: 1.4;
  gap: 0.8rem !important;
}
.sb-form .sb-form-row textarea {
  align-self: flex-start;
}
.sb-people-count {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.sb-people-count select {
  width: auto;
  min-width: 80px;
  flex: 0 0 auto;
}
.auto-filled input {
  cursor: not-allowed;
}

.sb-form input[type="text"],
.sb-form input[type="email"],
.sb-form input[type="tel"],
.sb-form input[type="date"],
.sb-form textarea,
.sb-form select {
  flex: 1;
  min-width: 0;
  padding: 15px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 14px;
  color: #2d2d2d;
  box-sizing: border-box;
}
.sb-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2366686f' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M1 1.5L6 6.5L11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 12px 8px;
  padding-right: 2.2rem;
}
.sb-form input[type="text"],
.sb-form input[type="email"],
.sb-form input[type="tel"],
.sb-form input[type="date"],
.sb-form textarea,
.sb-form select:focus {
  outline: none;
}
.sb-form input::placeholder,
.sb-form textarea::placeholder {
  color: #9e9e9e;
}
.sb-form input[readonly] {
  background: #fff;
  color: #4a4a4a;
  border-color: transparent;
}
.sb-form textarea {
  min-height: 240px;
  resize: vertical;
}
.sb-second-pref-picker {
  display: flex;
  gap: 8px;
  width: 100%;
}
.sb-second-pref-picker input[type="date"],
.sb-second-pref-picker select {
  flex: 1 1 0;
}
.sb-required {
  display: inline-block;
  padding: 0.45em 0.6em;
  font-size: 0.7rem;
  font-weight: 600;
  background: #d80000;
  color: #fff;
  border-radius: 4px;
  margin-left: 1rem;
  vertical-align: middle;
  line-height: 1;
}
.sb-form-actions {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  text-align: center;
}
.sb-form .sb-form-row.sb-privacy-consent {
  align-items: flex-start;
  padding-top: 1rem;
}
.sb-form .sb-form-row.sb-privacy-consent .sb-privacy-consent-label {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
}
.sb-form .sb-form-row.sb-privacy-consent .sb-privacy-consent-label a {
  color: #2f5ea8;
  text-decoration: underline;
}
.sb-form .sb-form-row.sb-privacy-consent .sb-required {
  margin-left: 0.5rem;
}
.sb-btn-primary {
  padding: 16px 48px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: #788cc8;
  border: 1px solid #788cc8;
  border-radius: 50px;
  background: #fff;
}
.sb-btn-primary:hover:not(:disabled) {
  background: #eff6ff;
}

.sb-address-fields {
  width: 100%;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sb-address-fields input.sb-address-postal {
  width: 210px;
}
input.sb-address-main {
  width: 100%;
}

input.sb-address-building {
  width: 100%;
}
