.meeting-template-modal-content {
  width: 92%;
  max-width: 1200px;
}

.meeting-template-preview-modal-content {
  width: 92%;
  max-width: 1100px;
}

.meeting-template-preview-content {
  overflow-x: auto;
  padding-top: 8px;
}

.meeting-template-preview-content .alignment_table {
  margin: 0 auto;
}

.meeting-template-preview-actions {
  justify-content: flex-end;
  margin-top: 12px;
}

.meeting-template-toolbar,
.meeting-template-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.meeting-template-toolbar select {
  min-width: 320px;
}

.meeting-template-editor-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(420px, 1.4fr);
  gap: 18px;
}

.meeting-template-fields {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.meeting-template-fields textarea {
  min-height: 70px;
  resize: vertical;
}

.meeting-template-fields input[type="text"] {
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
}

.meeting-template-fields select[multiple] {
  min-height: 145px;
}

.meeting-template-steps-panel {
  min-width: 0;
}

.meeting-template-steps-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.meeting-template-steps {
  max-height: 430px;
  overflow-y: auto;
  border: 1px solid #c7c7c7;
  padding: 6px;
  margin-bottom: 8px;
}

.meeting-template-step {
  display: grid;
  grid-template-columns: 24px minmax(120px, 1fr) 80px minmax(120px, 0.8fr);
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
}

.meeting-template-error {
  color: #a40000;
  min-height: 22px;
}

@media (max-width: 800px) {
  .meeting-template-editor-grid {
    grid-template-columns: 1fr;
  }
  .meeting-template-toolbar {
    flex-wrap: wrap;
  }
  .meeting-template-toolbar select {
    min-width: 0;
    flex: 1;
  }
}
