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

.testimonial-section.section-hidden {
  opacity: 0.6;
}

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

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

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

/* Style des groupes de formulaire */
.testimonial-section .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

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

/* Style des inputs */
.testimonial-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;
}

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

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

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
  max-width: 1200px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(
      auto-fit,
      minmax(250px, calc(33.333% - 14px))
    );
  }
}

.testimonial-preview-item {
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial-preview-item blockquote {
  margin: 0 0 15px 0;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

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