.why-choose-section {
  background: var(--color-gray-15);
  border-radius: 8px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.why-choose-section.section-hidden {
  opacity: 0.6;
}

.why-choose-section.section-hidden .form-layout-content {
  display: none;
}

.why-choose-section.section-hidden .form-layout-header {
  border-bottom: none;
}

/* Layout principal */
.why-choose-section .form-layout-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

/* Sections */
.why-choose-section .form-section {
  background: var(--color-lightest);
  border-radius: 8px;
  padding: 20px;
}

/* Style des groupes de formulaire */
.why-choose-section .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
}

.why-choose-section .form-group:last-child {
  margin-bottom: 0;
}

.why-choose-section .form-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-darkest);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Style des inputs */
.why-choose-section .form-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--color-gray);
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.why-choose-section textarea.form-input {
  min-height: 100px;
  resize: vertical;
}

.why-choose-preview {
  padding: 20px;
  margin-top: 20px;
  border-radius: 8px;
}

.why-choose-content {
  max-width: 800px;
  margin: 0 auto;
}

.why-choose-content h2 {
  margin-bottom: 16px;
}

.why-choose-text {
  color: var(--color-darkest);
}

/* Style pour le contenu HTML */
.why-choose-text div {
  margin-bottom: 1em;
}

.why-choose-text span {
  background-color: transparent !important;
  color: var(--color-darkest) !important;
}

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

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