/* ============================= */
/* 🔹 JS 페이지네이션 (alltable-pagination 전용) */
/* ============================= */
.alltable-pagination {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.alltable-pagination ul.page-list {
    display: flex;
    list-style: none;
    gap: 0.375rem;
    padding: 0;
    margin: 0;
    align-items: center;
}

.alltable-pagination li {
    display: inline-block;
}

/* 각 페이지 버튼 */
.alltable-pagination button,
.alltable-pagination a {
    display: block;
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    color: #111;
    background: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.1s ease;
    min-width: 2.15rem;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.alltable-pagination button i {
    font-size: 0.675rem;
}

/* Hover */
.alltable-pagination button:hover:not(:disabled),
.alltable-pagination a:hover:not(.disabled):not(.active) {
    border: 1px solid #4169E1;
    color: #4169E1;
    background-color: #fff;
    text-decoration: none;
}

/* 현재 페이지 */
.alltable-pagination button.active,
.alltable-pagination a.active {
    background-color: #4169E1;
    color: #fff;
    border-color: #4169E1;
    text-decoration: none;
}

/* 비활성 버튼 */
.alltable-pagination button:disabled,
.alltable-pagination a.disabled {
    color: #999;
    background-color: #f5f5f5;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
    text-decoration: none;
}

    /* ✅ 지역 필터 전체 */
    #region-filter {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    /* ✅ 전국 / 지역 선택 버튼 스타일 통일 */
    #region-filter button {
        background: #fff;
        border: 1px solid #3399cc;
        color: #003b5c;
        padding: 10px 16px;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 15px;
        min-width: 95px;
        text-align: center;
        line-height: 1.3;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }

    #region-filter button:hover {
        background: #3399cc;
        color: white;
    }

    #region-filter button.active {
        background: #3399cc;
        color: #fff;
        font-weight: bold;
    }

    /* ✅ 지역 목록 박스 */
    .region-box {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        display: none;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        background: #fff;
        border: 1px solid #3399cc;
        border-radius: 8px;
        padding: 12px;
        width: 90%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 1000;
    }

    /* ✅ 지역 목록 안의 버튼 */
    .region-box .region-item {
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 6px;
        padding: 6px 10px;
        cursor: pointer;
        transition: all 0.2s;
        font-size: 14px;
    }

    .region-box .region-item:hover {
        background: #3399cc;
        color: #fff;
    }

