﻿.accordion .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

    .accordion .card-header h2 {
        font-size: 1.25rem;
        margin-bottom: 0;
        flex-grow: 1;
    }

.accordion .btn-link {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    width: 100%;
    text-align: left;
    padding-right: 1.5rem; /* extra space for the arrow */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .accordion .btn-link:hover {
        text-decoration: none;
        color: #007bff;
    }

    .accordion .btn-link .fas {
        transition: transform 0.2s;
    }

    .accordion .btn-link[aria-expanded="true"] .fas {
        transform: rotate(90deg); /* rotate to the right */
    }
