﻿.tt-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.tt-popup.is-open {
  display: block;
}

.tt-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.tt-popup-dialog {
  position: relative;
  max-width: 760px;
  margin: 5vh auto;
  background: #ffffff;
  color: #1a1a1a;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  overflow: auto;
}

.tt-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid #ddd;
  background: #fff;
  padding: 4px 8px;
  cursor: pointer;
}

.tt-popup-content h2 {
  margin-top: 0;
}

.tt-section {
  margin: 16px 0;
}

.tt-section ul {
  padding-left: 18px;
}

.tt-booking-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.tt-field label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}

.tt-field input,
.tt-field select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.tt-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05em;
  border-top: 1px solid #eee;
  padding-top: 12px;
}

.tt-inline-error {
  color: #b00020;
  min-height: 1.2em;
}

.tt-submit {
  background: #0b6ef3;
  color: #ffffff;
  border: 0;
  padding: 12px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
}

.tt-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.tt-book-now {
  cursor: pointer;
}

.tt-loading {
  padding: 24px 0;
}

.tt-error {
  color: #b00020;
  padding: 16px 0;
}

body.tt-popup-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .tt-popup-dialog {
    width: calc(100% - 24px);
    margin: 6vh auto;
    padding: 18px;
  }
}
