/* Dynamic FAQ Manager — front-end accordion styles */

.dfm-faq-wrapper {
  max-width: 660px;
  font-family: Arial, Helvetica, sans-serif;
}

.dfm-faq-item {
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.dfm-faq-item.active {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.dfm-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}

.dfm-faq-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-left: 16px;
  position: relative;
}

.dfm-faq-icon:before,
.dfm-faq-icon:after {
  content: "";
  position: absolute;
  background: #333;
  transition: transform 0.2s ease;
}

.dfm-faq-icon:before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.dfm-faq-icon:after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.dfm-faq-item.active .dfm-faq-icon:after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.dfm-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.dfm-faq-answer-inner {
  padding: 0 24px 24px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #6b6b6b;
}

.dfm-faq-item.active .dfm-faq-answer {
  max-height: 1000px;
}

@media (max-width: 767px) {
  .dfm-faq-question {
    padding: 16px 18px;
    font-size: 15px;
  }

  .dfm-faq-answer-inner {
    padding: 0 18px 18px 18px;
    font-size: 14px;
  }
}
