/* 90s Studio Booking – public form styles */

.studio-booking-wrapper {
  background: #f6fff8;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #cce3de;
  max-width: 1000px;
  margin: 0 auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.studio-booking-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.studio-booking-form,
.studio-booking-summary {
  flex: 1 1 280px;
}

.studio-booking-form label {
  display: block;
  font-weight: 600;
  margin: 0.5rem 0 0.25rem;
}

.studio-booking-form input,
.studio-booking-form select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #cce3de;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.studio-date-hint {
  display: block;
  margin-top: -0.4rem;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  color: #6b9080;
}

.studio-slots-wrapper {
  max-height: 200px;
  border-radius: 10px;
  border: 1px solid #cce3de;
  padding: 0.5rem;
  overflow-y: auto;
  margin-bottom: 0.75rem;
}

.studio-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 0.4rem;
}

.studio-slot-button {
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
  border: none;
  background-color: #eaf4f4;
  color: #345e4c;
  font-size: 0.8rem;
  cursor: pointer;
}

.studio-slot-button--active {
  background-color: #6b9080;
  color: #ffffff;
}

.studio-slots-empty {
  font-size: 0.85rem;
  color: #6b9080;
}

.studio-phone-wrapper {
  display: flex;
  gap: 0.5rem;
}

.studio-phone-wrapper select {
  flex: 0 0 140px;
}

.studio-phone-wrapper input {
  flex: 1 1 auto;
}

.studio-booking-summary {
  background: #eaf4f4;
  border-radius: 12px;
  padding: 1.5rem;
}

.studio-booking-summary h3 {
  margin-top: 0;
  color: #6b9080;
}

.studio-booking-summary ul {
  padding-left: 1.1rem;
  margin: 0.5rem 0 0;
}

.studio-booking-summary li {
  margin-bottom: 0.25rem;
}

.studio-booking-button {
  margin-top: 0.75rem;
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: #6b9080;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;
  box-shadow: 0 8px 18px rgba(107, 144, 128, 0.35);
}

.studio-booking-button:disabled {
  background: #a4c3b2;
  box-shadow: none;
  cursor: not-allowed;
}

.studio-booking-button:not(:disabled):hover {
  background: #567466;
  transform: translateY(-1px);
}


/* Terms and Conditions Modal */
.studio-modal {
  display: none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999999;
  overflow-y: auto;
}

.studio-modal.show,
.studio-modal[style*="display: block"] {
  display: block !important;
}

.studio-modal-dialog {
  position: relative;
  width: auto;
  margin: 1.75rem auto;
  max-width: 500px;
}

.studio-modal-lg {
  max-width: 800px;
}

.studio-modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  outline: 0;
}

.studio-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #cce3de;
  background-color: #6b9080;
  border-radius: 12px 12px 0 0;
}

.studio-modal-title {
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
}

.studio-modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: opacity 0.2s ease;
}

.studio-modal-close:hover {
  opacity: 0.7;
}

.studio-modal-body {
  padding: 1.5rem;
  max-height: 60vh;
  overflow-y: auto;
}

.studio-modal-body p {
  margin-bottom: 1rem;
}

.studio-modal-body ul {
  list-style-type: disc;
  padding-right: 1.5rem;
  margin: 1rem 0;
}

.studio-modal-body li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.studio-checkbox-wrapper {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #eaf4f4;
}

.studio-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.studio-checkbox-col-auto {
  flex: 0 0 auto;
}

.studio-checkbox-col {
  flex: 1 1 auto;
}

.studio-checkbox-wrapper input[type='checkbox'] {
  width: auto;
  margin: 0;
  cursor: pointer;
  width: 1.2rem;
  height: 1.2rem;
}

.studio-checkbox-wrapper label {
  margin: 0;
  cursor: pointer;
  user-select: none;
}

.studio-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  border-top: 1px solid #cce3de;
  gap: 0.5rem;
}

.studio-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  font-size: 1rem;
}

.studio-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.studio-btn-warning {
  background-color: #ffc107;
  color: #000;
}

.studio-btn-warning:hover:not(:disabled) {
  background-color: #e0a800;
  transform: translateY(-1px);
}

.studio-btn-warning:active:not(:disabled) {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .studio-booking-wrapper {
    padding: 1.5rem;
  }

  .studio-modal-dialog {
    margin: 0.5rem;
  }

  .studio-modal-lg {
    max-width: calc(100% - 1rem);
  }

  .studio-modal-header,
  .studio-modal-body,
  .studio-modal-footer {
    padding: 1rem;
  }
}


