@charset "utf-8";

/* TimePoint Theme - Real Price Skin CSS */

/* ===== 페이지네이션 스타일 (네이버 뉴스 스타일) ===== */
#realprice_list .pg_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    margin: 2.5rem 0;
    width: 100%;
}

#realprice_list .pg_page,
#realprice_list .pg_current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.875rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: #ffffff;
    color: #374151;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

#realprice_list .pg_page:hover {
    background-color: #f3f4f6;
    border-color: #3b82f6;
    color: #2563eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

#realprice_list .pg_current {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #2563eb;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3), 0 2px 4px -1px rgba(59, 130, 246, 0.2);
}

/* 이전/다음 버튼 스타일 */
#realprice_list .pg_start,
#realprice_list .pg_prev,
#realprice_list .pg_next,
#realprice_list .pg_end {
    text-indent: -9999px;
    overflow: hidden;
    position: relative;
}

#realprice_list .pg_start:after,
#realprice_list .pg_prev:after,
#realprice_list .pg_next:after,
#realprice_list .pg_end:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.5rem;
    height: 0.5rem;
    border-top: 2px solid #6b7280;
    border-right: 2px solid #6b7280;
    text-indent: 0;
}

#realprice_list .pg_prev:after {
    transform: translate(-30%, -50%) rotate(-135deg);
}

#realprice_list .pg_next:after {
    transform: translate(-70%, -50%) rotate(45deg);
}

#realprice_list .pg_start:after {
    border: none;
    content: '<<';
    font-size: 12px;
    color: #6b7280;
    width: auto;
    height: auto;
}

#realprice_list .pg_end:after {
    border: none;
    content: '>>';
    font-size: 12px;
    color: #6b7280;
    width: auto;
    height: auto;
}