/* frontend/css/accordion.css */

.accordion {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
}

.accordion-item {
  border-bottom: 1px solid #e0e0e0;
}
.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #fff;
  transition: background-color 0.3s;
}

.accordion-header:hover {
  background-color: #f1f1f1;
}

.accordion-header h3 {
  margin: 0;
  color: #1e3c72;
  font-size: 1.2rem;
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2a5298;
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #f8f9fa;
}

.accordion-content .content-inner {
    padding: 25px 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}
