.accordion-controls-header {
    background-color: #f4f4f4; /* #eee */
    font-size: 20px;
    color: #1c437d;
    cursor: pointer;
    padding: 12px;
    width: 100%;
    text-align: left;
    border: 1px solid #ccc; /* Add border to header */
    outline: none;
    /* transition: 0.4s; */
    position: relative;
    /*margin-top: 12px; */ /* Add space between accordions */
}
.accordion-controls.btn-group.accordion-custom-js {
    float: inline-end;
    margin-bottom: 12px;
}

.accordion-controls-header[aria-expanded="true"]:after {
    transform: rotate(180deg);
}

.accordion-controls-header:after {
    content: '\f078';  /* Unicode character for "plus" sign (+) */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    float: right;
    margin-left: 5px;
    /*transition: transform 0.4s;*/
    top: 50%;
    right: 16px;
    transform: rotate(0deg);
    transform-origin: center; /* pivot at center */
    transition: transform 0.3s ease;
    pointer-events: none;
}

/* Show delete button ONLY inside Froala editor */
#froala-editor .accordion-delete-btn.btn.btn-outline-danger {
    display: inline-block;
}

.accordion-controls-header.px-4.py-2.open {
    background-color: #1c437d;
    color: #fff;
}

.accordion-controls-header.px-4.py-2:hover {
    color: #000;
    background-color: #fff;
}

.accordion-controls-body {
    padding: 0 18px;
    background-color: #f4f4f485;
    border: 1px solid #ccc; /* Add border to panel */
    border-top: none; /* Remove top border to merge with header */
    overflow: hidden;
    display: none; /* Panels are hidden by default */
}

.accordion-controls-body.open {
    display: block;
}

.accordion-btn-expandall {
    background: none;
    border: none;
    color: #1C437D;
    text-decoration: underline;
    font-weight: 600;
    padding-right: 2px;
}

.accordion-btn-collapseall {
    background: none;
    border: none;
    color: #1C437D;
    text-decoration: underline;
    font-weight: 600;
    padding-left: 2px;
}

.accordionbtn-sep {
    font-size: 18px;
}

.border-l-primary {
    border-left-color: #1C437D;
}

.border-l-4 {
    border-left-width: 4px;
}