/*.pagination-container {
	display: flex;
    justify-content: center;
}
.pagination-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-family: sans-serif;
    flex-wrap: wrap; 
}

.page-info {
    font-size: 14px;
    color: #555;
    height: 36px;
    display: flex;
    align-items: center; 
}

.page-btn {
	margin: 0;
    padding: 6px 12px;
    border: none;
    background-color: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    height: 36px;
}

.page-btn:hover {
    background-color: #e0e0e0;
}

.page-btn.active {
    background-color: white;
    border: 2px solid #444;
    font-weight: bold;
}*/

/* 分頁外框 */
.table-collection__foot .paging {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

/* "Showing page X of Y" 文字 */
.paging__text {
    font-size: 14px;
    color: #555;
    margin: 0;
}

/* 分頁列表區 */
.paging__list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: center;
}

.paging__item {
    list-style: none;
}

/* 所有分頁按鈕 */
.paging__link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 35px;
    font-size: 16px;
    color: #111;
    background: white;
    border: none;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    cursor: pointer;
}

/* 滑鼠懸停效果 */
.paging__link:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* 當前頁碼樣式 */
.paging__item.is-active .paging__link,
.paging__item.active .paging__link {
    border: 2px solid #111;
}

/* 頁數狀態（例如 1 / 12） */
.page-current {
    width: auto;
    padding: 0 8px;
    text-align: center;
    font-size: 14px;
    color: #555;
}

/* -------- 手機板樣式 -------- */
@media (max-width: 768px) {
    .paging__link {
        width: 32px;
        height: 32px;
        font-size: 14px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .paging__list {
        gap: 8px;
    }

    .paging__text {
        font-size: 13px;
    }

    .page-current {
        width: auto;
        padding: 0 5px;
        font-size: 13px;
    }
}

/*======================================================*/
.pagination-wrap {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0;
    list-style: none;
}

.pagination li {
    display: inline-block;
}

.pagination .page-link {
    display: block;
    padding: 10px 20px;
    color: #333;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination .page-link:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #fff;
}

.pagination .page-item.active .page-link,
.pagination .page-item.active .page-link:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #fff;
    border-color: rgba(0, 0, 0, 0.1);
    cursor: default;
}

/* 修正第一顆與最後一顆按鈕圓角被 Bootstrap 覆蓋的情況 */
.pagination .page-item:first-child .page-link {
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
}

.pagination .page-item:last-child .page-link {
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
}

/* 當作純文字資訊使用的 page-current 樣式 */
.pagination .page-current {
    background-color: #e9ecef !important;
    color: #495057 !important;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px 20px;
}