/* Booking Panel Pop-up Styles */
.booking-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.booking-panel-overlay.active {
  opacity: 1;
  visibility: visible;
}

.booking-panel-container {
background: #f3f3f3;
  border-radius: 0; /* make popup rectangular */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.booking-panel-container.active {
  transform: scale(1) translateY(0);
}

.booking-panel-header {
  flex-shrink: 0;
background: #f3f3f3;
  padding: 2rem 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.booking-panel-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0; /* square close button */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  color: #374151;
}

.booking-panel-close:hover {
  background: rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.booking-panel-logo {
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
}

.booking-panel-title {
  font-size: 1.875rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
  font-family: 'Cormorant Garamond', serif;
}

.booking-panel-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 1rem 0;
}

.booking-panel-content {
  flex: 1;
  padding: 0 2rem 2rem;
  overflow-y: auto;
}

.booking-form-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.booking-form-group {
  display: flex;
  flex-direction: column;
}

.booking-form-label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.booking-form-input {
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0; /* rectangular inputs */
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
background: #f3f3f3;
}

.booking-form-input:focus {
  outline: none;
  border-color: #1f2937;
  box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.1);
}

.booking-form-input::placeholder {
  color: #9ca3af;
}

.booking-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0; /* rectangular submit button */
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.booking-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(31, 41, 55, 0.3);
}

.booking-submit-btn:active {
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .booking-panel-overlay {
    padding: 1rem;
  }
  
  .booking-panel-container {
    max-width: 100%;
    max-height: 95vh;
  }
  
  .booking-panel-header {
    padding: 1.5rem 1rem 1rem;
  }
  
  .booking-panel-logo {
    width: 100px;
  }
  
  .booking-panel-title {
    font-size: 1.875rem;
  }
  
  .booking-panel-content {
    padding: 0 1rem 1.5rem;
  }
  
  .booking-form-grid {
    gap: 1rem;
  }
}

/* md breakpoint (~768px): match Tailwind md:text-4xl */
@media (min-width: 768px) {
  .booking-panel-title {
    font-size: 2.25rem;
  }
}
