/* ================= E-BROCHURE ONLY ================= */

/* Layout */
/* LEFT FILTER PANEL */
/*.filters {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
}*/

.filters .filter-box {
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 0px 18px rgb(129 129 129 / 12%);
    /*width: 70vh;*/
}

.filter-header {
    background: #f9f6ef;
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 600;
}

.filter-body {
    padding: 6px 10px 12px;
}

.checkbox-list div {
    padding: 6px 0;
    font-size: 14px;
}

/* RIGHT RESULTS PANEL */
/*.results {
    flex: 1; 
    min-width: 0; 
}*/

.results .college-card {
    border-radius: 10px;
    margin-bottom: 18px;
    box-shadow: inset 0 0px 80px rgb(215 230 255);
    border-left: 6px solid #0a4191;
}


    .college-card h3 {
        margin: 0 0 6px;
        font-size: 16px;
    }

    .college-card a {
        color: #0a4191;
        text-decoration: none;
        font-weight: 600;
    }

        .college-card a:hover {
            text-decoration: underline;
        }

    .college-card .address {
        font-size: 13px;
        color: #666;
        margin-bottom: 10px;
    }

/* Tabs */
.tabs {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #555;
    border-bottom: 3px solid transparent;
}

    .tab-btn.active {
        color: #0a4191;
        border-bottom-color: #0a4191;
    }

.tab-content {
    display: none;
    padding-top: 10px;
    font-size: 14px;
}

    .tab-content.active {
        display: block;
    }

/* Pills */
.pill {
    display: inline-block;
    background: #eeeeee;
    padding: 6px 10px;
    border-radius: 8px;
    margin: 5px 5px 0 0;
    font-size: 13px;
}

    .pill.green {
        background: #cfe8cf;
    }

/* Map Modal */
/*.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

    .modal-overlay.active {
        display: flex;
    }

.modal-box {
    background: #ffffff;
    width: 720px;
    max-width: 95%;
    padding: 20px 22px;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.modal-close {
    font-size: 22px;
    cursor: pointer;
}

#mapFrame {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 8px;
}*/
/* College row layout */
.college-row {
    margin-bottom: 6px;
}

/* Title row */
.college-title {
    font-size: 16px;
    font-weight: 600;
    color: #0a4191;
}

.college-id {
    margin-right: 8px;
}

/* Meta row */
.college-meta {
    font-size: 14px;
    color: #555;
    display: flex;
    gap: 20px;
}

/* Courses */
.college-courses {
    font-size: 14px;
}

.course-list {
    margin-top: 6px;
}

.course-pill {
    display: inline-block;
    background: #eef1f5;
    padding: 4px 8px;
    border-radius: 6px;
    margin: 4px 6px 0 0;
    font-size: 12px;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
}



/* Filter search + scrolling */
.filter-search {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 8px;
}

.checkbox-list {
    max-height: 50vh; /* 50% of screen height */
    overflow-y: auto;
    padding-right: 5px;
}

.checkbox-item {
    font-size: 13px;
    padding: 4px 0;
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 20px 0;
}

    .pagination button {
        padding: 6px 12px;
        border: 1px solid #ccc;
        background: #fff;
        cursor: pointer;
        border-radius: 6px;
    }

        .pagination button.active {
            background: #0a4191;
            color: #fff;
            border-color: #0a4191;
        }

/* checkbox list scrolling */
#courseList,
#districtList {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 6px;
}
/*.college-name {
    cursor: pointer;
    text-decoration: none;
}

    .college-name:hover {
        text-decoration: underline;
    }
*/

/* MAP MODAL */
.map-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: none;
    z-index: 9999;
}

    .map-modal-overlay.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.map-modal-box {
    background: #fff;
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.map-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #f7f2e8;
    border-bottom: 1px solid #ddd;
}

    .map-modal-header h5 {
        margin: 0;
        font-weight: 600;
    }

.map-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}
.college-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.college-title {
    max-width: calc(100% - 70px);
}

.college-district {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

    .college-district i {
        margin-right: 4px;
        color: #b38728;
    }


.college-logo img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 6px;
}
.college-right {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.college-meta-right {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
}

.meta-pill {
    display: flex;
    align-items: flex-start; /* important */
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid #e3e8f1;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    min-height: 60px;
}

    .meta-pill:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }

    /* click effect */
    .meta-pill:active {
        transform: scale(0.98);
    }
.meta-label {
    flex: 1;
    color: #5a6a85;
    line-height: 1.3;
}

.meta-separator {
    width: 1px;
    background: #d5dbe7;
    margin: 0 12px;
    align-self: center;
    height: 22px;
}

.meta-value {
    font-weight: 700;
    color: #1f2d3d;
    flex: 1;
    line-height: 1.3;
}

#pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 20px;
}

    #pagination button {
        min-width: 38px;
    }
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

    .pagination .active {
        background: #b38728;
        color: #fff;
    }

.pagination-dots {
    padding: 6px 10px;
    color: #888;
}
.subtype-pill {
    background: #e6f0ff;
    color: #1b3a8a;
}

/* ===== MOBILE FILTER OVERLAY ===== */
.mobile-filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 1060;
    display: none;
}

.mobile-filter-panel {
    background: #fff;
    height: 100%;
    overflow-y: auto;
    padding: 16px;
}

.mobile-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
}

    .mobile-filter-header button {
        background: none;
        border: none;
        font-size: 22px;
    }

@media (max-width: 575px) {
    .college-top {
        flex-direction: column;
    }
    .course-pill {
        white-space: normal !important;
    }
}

.college-left {
    display: flex;
    gap: 15px;
}

.college-location {
    max-width: 280px;
    text-align: right;
}

.direction-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 1px 10px;
    background: #ffffff;
    color: #d60000;
    border: 2px solid #d60000;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    animation: blinkPulse 1.2s infinite;
}

/* Soft blink effect (not ugly flash) */
@keyframes blinkPulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.direction-btn:hover {
    background: #d60000;
    color: #ffffff;
}


.status-pill {
    background: #f9fafc;
}

.status-yes {
    color: #1e7e34;
    font-weight: 700;
}

.status-no {
    color: #c82333;
    font-weight: 700;
}

.status-row {
    display: flex;
}

    .status-row > [class*="col-"] {
        display: flex;
    }

    .status-row .meta-pill {
        flex: 1;
    }



.status-row .status-pill {
    flex: 1;
    min-height: 85px;
    display: flex;
    align-items: flex-start;
}


.video-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 1px 10px;
    background: #fff;
    color: #28cb26;
    border: 2px solid #0a4191;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    animation: blinkPulse 1.2s infinite;
}

/* Soft blink effect (not ugly flash) */
@keyframes blinkPulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.video-pill:hover {
    background: #0a4191;
    color: #ffffff;
}

