/* -------------------- Title Style -------------------- */
.section-title {
    text-align: center;
    margin-top: 30px;
    font-size: 28px;
    font-weight: bold;
}

/* -------------------- Brain Region Grid -------------------- */
.brain-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns per row */
    gap: 20px;
    max-width: 1200px; /* Max width suitable for laptops */
    margin: 30px auto;
}

/* -------------------- Brain Region Card -------------------- */
.brain-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.brain-card:hover {
    transform: scale(1.05);
}

/* -------------------- Brain Region Image -------------------- */
.brain-card img {
    width: 150px;
    height: auto; /* Maintain aspect ratio */
    object-fit: cover;
    border-radius: 5px;
}

/* -------------------- Table Container -------------------- */
.table-container {
    max-width: 1200px; /* Match width with brain grid */
    margin: 40px auto;
    display: block; /* Displayed by default, you can toggle as needed */
}

/* -------------------- Accordion Buttons -------------------- */
.accordion-button {
    background-color: #4A6FA5 !important; /* Blue-gray background */
    color: white !important;
    font-weight: bold;
    border-radius: 5px;
}

.accordion-button:not(.collapsed) {
    background-color: #3C4B7F !important; /* Darker blue when expanded */
    color: white !important;
}

/* Remove default focus outline */
.accordion-button:focus {
    box-shadow: none !important;
}

/* -------------------- Accordion Content -------------------- */
.accordion-body {
    background-color: #ffffff; /* White background */
    color: #333333; /* Black text */
    border: 1px solid #cfd8dc; /* Light gray border */
}

/* Spacing between accordion sections */
.accordion-item {
    margin-bottom: 15px;
}

/* -------------------- Table Style -------------------- */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th {
    width: 20%;
    background-color: #D9E2F3; /* Light blue-gray header */
    font-weight: bold;
    color: #1E3A5F;
    padding: 10px;
    text-align: left;
    line-height: 1.2;
}

.info-table td {
    padding: 5px;
    border-bottom: 1px solid #d1e3f5;
    line-height: 1.2;
}

/* ----------- Base Filter Styling ----------- */
#diseaseFilter,
#regionFilter,
#subtypeFilter,
#cellTypeFilter {
    list-style: none;
    padding-left: 0;
}

#diseaseFilter li,
#regionFilter li,
#subtypeFilter li,
#cellTypeFilter li {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Default: normal weight and color */
#diseaseFilter label,
#regionFilter label,
#subtypeFilter label,
#cellTypeFilter label {
    font-weight: normal;
    color: inherit;
}

/* Only selected radio's label: bold + dark blue */
#diseaseFilter input[type="radio"]:checked + label,
#regionFilter input[type="radio"]:checked + label,
#subtypeFilter input[type="radio"]:checked + label,
#cellTypeFilter input[type="radio"]:checked + label {
    font-weight: bold;
    color: #3C4B7F; /* or any blue you prefer */
}

