/**
 * Styles pour les accordéons KS Laundry
 */

/* Container des accordéons */
.accordion-items-container {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Item d'accordéon */
.accordion-item {
  position: relative;
}

/* Bouton de l'accordéon */
.accordion-item__click-target {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-item__click-target:hover {
  opacity: 0.8;
}

.accordion-item__click-target:focus {
  outline: 2px solid rgba(0, 0, 0, 0.2);
  outline-offset: 2px;
}

/* Titre de l'accordéon */
.accordion-item__title {
  flex: 1;
  text-align: left;
  font-weight: 600;
}

/* Icône de l'accordéon */
.accordion-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.accordion-icon-container[data-is-open="true"] {
  transform: rotate(180deg);
}

.arrow-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow {
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

/* Dropdown de l'accordéon */
.accordion-item__dropdown {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* Description de l'accordéon */
.accordion-item__description {
  padding-top: 0;
}

/* Divider entre les items */
.accordion-divider {
  width: 100%;
  background-color: currentColor;
}

