.booking-script-section {
  background-color: var(--color-lighter);
  border-radius: 8px;
  margin-bottom: 20px;
  transition: opacity 0.3s ease;
  overflow: hidden;
}

.booking-script-section.section-hidden {
  opacity: 0.6;
}

.booking-script-section.section-hidden {
  border-bottom: none;
}

.service-category {
  margin-bottom: 24px;
}

.service-category h4 {
  margin-bottom: 16px;
}

.service-item {
  background: var(--color-light);
  border-radius: 4px;
  margin-bottom: 12px;
}

.service-item.booking-scripts {
  background: var(--color-light);
  padding: 10px;
}

.service-info {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.service-title {
  font-weight: 500;
  color: var(--color-darkest);
}

.script-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}

.script-type {
  margin-bottom: 8px;
}

.script-options {
  display: flex;
  gap: 24px;
  margin-bottom: 12px;
}

.script-config {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.custom-script-input {
  margin-top: 8px;
  padding-top: 12px;
}

.custom-script-input textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px;
  border: 1px solid var(--color-light);
  border-radius: 4px;
  background-color: var(--color-lightest);
  font-family: monospace;
  font-size: 13px;
  resize: vertical;
}

.custom-script-input textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-layout-header {
  padding: 20px;
  border-bottom: 1px solid var(--color-gray-25);
}

.form-layout-content {
  padding: 0 20px 20px;
}

.booking-script-section .form-layout-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booking-script-section .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booking-script-section .form-help-text {
  color: var(--color-gray);
  font-size: 0.9em;
  margin: 0;
}

.booking-script-section textarea {
  min-height: 100px;
  resize: vertical;
}

.booking-script-section .form-layout-title {
  flex: 1;
}

.booking-script-section .form-layout-title h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--color-darkest);
}

.booking-script-section .form-layout-options {
  display: flex;
  align-items: center;
  gap: 16px;
}

.booking-script-section input[type="text"],
.booking-script-section textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--color-gray-25);
  border-radius: 4px;
  background-color: var(--color-lightest);
  color: var(--color-darkest);
}

.booking-script-section input[type="text"]:focus,
.booking-script-section textarea:focus {
  outline: none;
  border-color: var(--color-gray);
  box-shadow: 0 0 0 2px var(--color-gray-15);
}

.booking-script-section .form-layout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-gray-25);
}

.edit-section-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.edit-section-button:disabled {
  background: var(--color-gray);
}
