/* Kontener odpowiedzi - kluczowy dla Twojego JS */
.faq-answer-content {
    max-height: 0; /* JS będzie to zmieniał na scrollHeight */
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* Stan gdy element jest otwarty (dodawany przez JS) */
.faq-item-modern.is-open .faq-answer-content {
    opacity: 1;
}

/* Stylizacja ikony statusu (obracanie plusa) */
.faq-status-icon {
    position: relative;
    width: 14px;
    height: 14px;
    transition: transform 0.4s ease;
}

.faq-status-icon::before,
.faq-status-icon::after {
    content: '';
    position: absolute;
    background: #ec8088;
    border-radius: 2px;
}

/* Pozioma kreska */
.faq-status-icon::before {
    top: 6px; left: 0;
    width: 100%; height: 2px;
}

/* Pionowa kreska */
.faq-status-icon::after {
    left: 6px; top: 0;
    width: 2px; height: 100%;
    transition: transform 0.4s ease, opacity 0.3s;
}

/* Animacja ikony przy otwarciu */
.faq-item-modern.is-open .faq-status-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item-modern.is-open .faq-status-icon {
    transform: rotate(180deg);
}
