/* Страница бронирования в том же стиле, что и сайт */

/* Общий фон */
.booking-page {
  min-height: 100vh;
  padding: 0; /* убираем отступы сверху и снизу */
  background: color#9f6945;

  display: flex;
  justify-content: center; /* центрируем панель по ширине */
}

/* Карточка */
.booking-hero {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;

  /* панель тянется по высоте экрана */
  min-height: 100vh;

  background: radial-gradient(circle at top, #442d22 0%, #120c09 75%);
  display: flex;
}
.booking-inner {
  position: relative;
  padding: 40px clamp(24px, 5vw, 48px);
  border-radius: 32px;
  background: radial-gradient(
    circle at top left,
    #2a1b19 0%,
    #160e0b 55%,
    #120c09 100%
  );
  border: 1px solid rgba(210, 176, 120, 0.16);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;

  margin: 0; /* убираем внешние отступы */
  border-radius: 0; /* если хочешь полностью прямые углы */
  height: 100%; /* растянуть */
  min-height: 100%; /* защита */
  padding: 60px 50px; /* оставим приятный внутренний отступ */
}

/* маленький блур-свет */
.booking-inner::before {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: 0.22;
  background: radial-gradient(
      circle at top left,
      rgba(210, 176, 120, 0.2),
      transparent 60%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(145, 96, 60, 0.3),
      transparent 60%
    );
  pointer-events: none;
}

/* контент сверху слоя */
.booking-inner > * {
  position: relative;
  z-index: 1;
}

/* Заголовки */
.booking-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 3.4vw, 2.8rem);
  margin: 0 0 0.8rem;
  color: #f6f1e7;
}

.booking-intro {
  font-size: 0.98rem;
  line-height: 1.8;
  max-width: 60ch;
  color: #d6c2ac;
  margin-bottom: 1.8rem;
}

/* Stepper */
.booking-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.7);
}

.booking-steps li {
  position: relative;
  padding-left: 22px;
}

.booking-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid rgba(210, 176, 120, 0.6);
  transform: translateY(-50%);
}

.booking-steps li:first-child::before {
  background: rgba(210, 176, 120, 0.9);
}

/* Форма */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.booking-row {
  display: block;
}

.booking-row.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem 2rem;
}

/* Поля */
.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.75);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(210, 176, 120, 0.25);
  background: rgba(8, 4, 2, 0.9);
  color: #f6f1e7;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 0.96rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    transform 0.1s ease;
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

/* placeholder */
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(214, 194, 170, 0.6);
}

/* hover/focus */
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(210, 176, 120, 0.4);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #dfc28b;
  box-shadow: 0 0 0 1px rgba(223, 194, 139, 0.6),
    0 0 18px rgba(223, 194, 139, 0.45);
  background: rgba(10, 6, 4, 0.98);
  transform: translateY(-1px);
}

/* Кнопка submit */
.booking-submit {
  margin-top: 0.5rem;
  align-self: flex-start;
  background: linear-gradient(180deg, #dfc28b 0%, #caa765 100%);
  color: #1b1311 !important;
  padding: 13px 30px;
  border-radius: 18px;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.booking-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  filter: brightness(1.03);
}

.booking-submit:active {
  transform: translateY(0);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
}

/* Доп. текст */
.booking-small {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: rgba(214, 194, 170, 0.8);
}

.booking-small a {
  color: #dfc28b;
  text-decoration: underline;
}

.booking-alt {
  margin-top: 1.8rem;
  font-size: 0.9rem;
  color: rgba(246, 241, 231, 0.85);
}

.booking-alt a {
  color: #dfc28b;
  text-decoration: none;
}

.booking-alt a:hover {
  text-decoration: underline;
}

/* Адаптив */
@media (max-width: 900px) {
  .booking-page {
    padding-top: 90px;
  }

  .booking-inner {
    padding: 28px 18px 32px;
    border-radius: 24px;
  }

  .booking-row.two {
    grid-template-columns: 1fr;
  }

  .booking-submit {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* --- КАСТОМИЗАЦИЯ FLATPICKR ПОД СТИЛЬ --- */

.flatpickr-calendar {
  background: #1b120f;
  border: 1px solid rgba(210, 176, 120, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
  color: #f6f1e7;
}

.flatpickr-months .flatpickr-month {
  background: transparent;
  color: #f6f1e7;
}

.flatpickr-weekdays {
  background: transparent;
}

span.flatpickr-weekday {
  color: rgba(246, 241, 231, 0.7);
}

.flatpickr-day {
  color: #f6f1e7;
}

.flatpickr-day:hover {
  background: rgba(210, 176, 120, 0.18);
  border-color: rgba(210, 176, 120, 0.3);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover {
  background: #dfc28b;
  border-color: #dfc28b;
  color: #1b1311;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  color: #f6f1e7;
}
/* -------- TIME PICKER ELEGANTE -------- */

.time-picker {
  margin-top: 4px;
}

.time-picker .field-label {
  /* чтобы не конфликтовать с другими label */
  display: block;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: rgba(246, 241, 231, 0.7);
}

.time-group {
  margin-bottom: 1.2rem;
}

.time-group-title {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.55);
  margin-bottom: 0.3rem;
}

/* сетка кнопок */
.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 2fr));
  gap: 8px;
}

/* прячем радио */
.time-slot input {
  display: none;
}

/* вид кнопки */
.time-slot span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  border-radius: 999px;

  background: rgba(8, 4, 2, 0.92);
  border: 1px solid rgba(223, 194, 139, 0.45);

  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: #f6f1e7;

  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

/* hover */
.time-slot:hover span {
  background: linear-gradient(135deg, #f0d9a5 0%, #d7b276 100%);
  color: #1b1311;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}

/* выбранное время */
.time-slot input:checked + span {
  background: linear-gradient(135deg, #dfc28b 0%, #c79f5f 100%);
  color: #1b1311;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 230, 190, 0.6);
}

/* mobile – чуть крупнее и свободнее */
@media (max-width: 600px) {
  .time-grid {
    gap: 10px;
  }

  .time-slot span {
    padding: 9px 4px;
    font-size: 0.95rem;
  }
}
