/* Collapsible Cards Styles */

/* Collapsible header */
.info-header.collapsible {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.info-header.collapsible:hover {
    background-color: rgba(162, 12, 51, 0.05);
}

/* Toggle icon animation */
.toggle-icon {
    transition: transform 0.3s ease;
    margin-left: auto;
}

/* Rotate icon when expanded */
.info-header[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

/* Smooth collapse animation */
.collapse {
    transition: height 0.35s ease;
}

.collapsing {
    transition: height 0.35s ease;
}

/* Card styles when collapsed */
.info-card {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Header styles */
.info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.info-header h3 {
    margin: 0;
    font-size: 1.1rem;
    flex-grow: 1;
}

.info-header i:first-child {
    color: #A20C33;
    font-size: 1.2rem;
}

/* Content padding */
.info-content {
    padding: 1.5rem;
}


/* Visual indicator for collapsed state */
.info-header[aria-expanded="false"] {
    border-bottom: none;
}

.info-header[aria-expanded="true"] {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
}