/* ============================================
   Library Page - Custom Filter Dropdown
   ============================================ */
.custom-filter-dropdown {
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

.custom-filter-dropdown .dropdown-trigger {
    border: 1px solid #72C59A;
    border-radius: 8px;
    padding: 8px 12px;
    background: #fff;
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    user-select: none;
}

.custom-filter-dropdown .dropdown-menu-custom {
    display: none;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
}

.custom-filter-dropdown.open .dropdown-menu-custom {
    display: block;
}

.custom-filter-dropdown.open .dropdown-trigger {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 1px solid transparent;
}

.dropdown-menu-custom .dropdown-header-item {
    background-color: #2b7a9f;
    color: #fff;
    padding: 7px 12px;
    font-weight: 500;
    font-size: 13px;
}

.dropdown-menu-custom .dropdown-option {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    cursor: pointer;
    transition: background 0.2s;
    margin: 0;
    font-size: 13px;
}

.dropdown-menu-custom .dropdown-option:hover {
    background-color: #f5f5f5;
}

.dropdown-menu-custom .dropdown-option input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

/* ============================================
   Library Page - Custom Pagination
   ============================================ */
.custom-pagination nav .d-none.flex-sm-fill {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.custom-pagination .small.text-muted {
    font-family: 'Montserrat', sans-serif;
    color: #000 !important;
    font-size: 14px;
}

.custom-pagination .pagination {
    margin: 0;
    gap: 5px;
}

.custom-pagination .page-item .page-link {
    border: 1px solid #000;
    color: #000;
    border-radius: 0 !important;
    padding: 5px 10px;
    font-size: 14px;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}

.custom-pagination .page-item.active .page-link {
    background-color: #2b7a9f;
    border-color: #2b7a9f;
    color: #fff;
}

.custom-pagination .page-item.disabled .page-link {
    color: #ccc;
    border-color: #ccc;
}
