/* Form Section Styles for Semantic Grouping */

.form-section {
  margin-bottom: 32px;
  padding: 24px;
  background: #fafafa;
  border-radius: 8px;
  border-left: 4px solid #2196f3;
}

.form-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.form-section-icon {
  font-size: 20px;
  color: #2196f3;
}

.form-section-title {
  flex: 1;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.form-section-description {
  margin: 0;
  font-size: 13px;
  color: #666;
  font-style: italic;
}

/* Field with Live Preview */
.field-with-preview {
  margin-bottom: 20px;
}

.field-label-with-hint {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 6px;
}

.field-label-main {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.field-hint {
  font-size: 12px;
  color: #888;
  font-weight: normal;
}

.field-input-wrapper {
  margin-bottom: 8px;
}

.field-preview {
  padding: 10px 14px;
  background: white;
  border-left: 3px solid #4caf50;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.6;
  color: #555;
  font-family: 'Times New Roman', serif;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.field-preview-section {
  display: block;
  font-size: 11px;
  color: #888;
  margin-bottom: 6px;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.field-preview-text {
  white-space: pre-wrap;
}

.field-preview.empty {
  border-left-color: #ddd;
  color: #999;
  font-style: italic;
}

/* Backoffice Section */
.form-section.backoffice {
  background: #fff9e6;
  border-left-color: #ff9800;
}

.form-section.backoffice .form-section-icon {
  color: #ff9800;
}

.backoffice-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff3cd;
  border: 1px solid #ffecb5;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #856404;
}

.backoffice-notice-icon {
  font-size: 16px;
}
