@charset "utf-8";
/* 기본 CSS 코드이며, 아래의 코드를 참고하여 적용할 페이지의  CSS  코드를 생성여 적용하시면 됩니다. */

/* -------------------------------------------------
   RumiPaging - Accessible Version
   Author: 조정영 (루미집사)
   License: FREE (https://www.suu.kr)
   ------------------------------------------------- */

/* 전체 네비게이션 래퍼 */
.rumi-paging nav[role="navigation"] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 10px 0;
    font-family: "Noto Sans KR", sans-serif;
}

/* 기본 버튼 스타일 (reset + 디자인 통일) */
.rumi-paging button {
    all: unset; /* 브라우저 기본 스타일 제거 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    user-select: none;
    line-height: 1;
}

/* 페이지 번호 간격 */
.rumi-paging .page-num {
    min-width: 28px;
}

/* 기본 버튼 상태 */
.rumi-paging button:hover {
    background-color: #f2f2f2;
}

/* 현재 페이지 강조 */
.rumi-paging .page-current,
.rumi-paging .page-current:hover,
.rumi-paging .page-num[aria-current="page"] {
    background-color: #007aff;
    color: #fff;
    font-weight: 600;
    border-color: #007aff;
    cursor: default;
}

/* 비활성 버튼 */
.rumi-paging button[disabled],
.rumi-paging button[aria-disabled="true"] {
    background-color: #fafafa;
    color: #aaa;
    border-color: #eee;
    cursor: not-allowed;
    opacity: 0.6;
}

/* 아이콘 버튼 (Font Awesome) */
.rumi-paging .page-btn i {
    font-size: 13px;
    pointer-events: none;
}

/* 모바일 전용 버튼 (이전/다음 페이지) */
.rumi-paging .page-btn-mobile {
    display: none;
}

@media (max-width: 600px) {
    .rumi-paging .page-num {
        display: none;
    }
    .rumi-paging .page-btn-mobile {
        display: inline-flex;
        font-size: 13px;
        padding: 0 10px;
    }
}

/* 키보드 포커스 (접근성 강조) */
.rumi-paging button:focus-visible {
    outline: 2px solid #007aff;
    outline-offset: 2px;
    background-color: #e8f0fe;
}

/* 전환 시 애니메이션 */
.rumi-paging button {
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}