/**
 * v7/help/point-guideline.css
 *
 * 게시판 별 포인트 안내 페이지 전용 스타일.
 * Web Awesome Pro + 커스텀 CSS 사용. Bootstrap 미사용.
 * 보더리스 디자인 — 영역 구분은 연한 배경색으로.
 */

/* 페이지 컨테이너 */
.point-guideline-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 0;
}

/* 페이지 헤더 */
.pg-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.pg-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--wa-color-brand-95, #e7f5ff);
    color: var(--wa-color-brand-50, #3178c0);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pg-header-text h1 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    color: var(--wa-color-neutral-10, #1e293b);
}

.pg-header-text p {
    font-size: 0.82rem;
    color: var(--wa-color-neutral-60, #64748b);
    margin: 0.15rem 0 0;
}

/* 포인트 범례 */
.pg-legend {
    display: flex;
    gap: 1.25rem;
    font-size: 0.8rem;
    color: var(--wa-color-neutral-50, #475569);
}

.pg-legend-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.pg-legend-item i {
    font-size: 0.5rem;
}

/* 포인트 색상 */
.point-earned {
    color: #16a34a;
    font-weight: 600;
}

.point-deducted {
    color: #dc2626;
    font-weight: 600;
}

.point-none {
    color: #9ca3af;
}

/* 테이블 래퍼 — 반응형 스크롤 */
.pg-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 테이블 — 보더리스 디자인 */
.pg-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.pg-table thead tr {
    background: #f8fafc;
}

.pg-table th {
    padding: 0.7rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--wa-color-neutral-60, #64748b);
    border: none;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pg-table td {
    padding: 0.65rem 1rem;
    border: none;
    border-bottom: 1px solid #f1f5f9;
}

.pg-table tbody tr:hover {
    background: #f8fafc;
}

/* 짝수 행 미세 배경 — 가독성 향상 */
.pg-table tbody tr:nth-child(even) {
    background: #fcfcfd;
}

.pg-table tbody tr:nth-child(even):hover {
    background: #f8fafc;
}

/* 포인트 컬럼 — 가운데 정렬, 고정 너비 */
.pg-col-point {
    text-align: center;
    width: 15%;
    min-width: 90px;
}

/* 게시판 이름 링크 */
.pg-board-name a {
    color: var(--wa-color-neutral-20, #334155);
    text-decoration: none;
    font-weight: 500;
}

.pg-board-name a:hover {
    color: var(--wa-color-brand-50, #3178c0);
    text-decoration: underline;
}

/* 데이터 없음 */
.pg-empty {
    text-align: center;
    color: var(--wa-color-neutral-60, #94a3b8);
    padding: 2.5rem 1rem !important;
    background: #f8fafc;
}

.pg-empty i {
    margin-right: 0.5rem;
}

/* wa-callout 간격 */
.point-guideline-page wa-callout {
    font-size: 0.85rem;
}

.point-guideline-page wa-callout a {
    color: var(--wa-color-brand-50, #3178c0);
    text-decoration: none;
    font-weight: 500;
}

.point-guideline-page wa-callout a:hover {
    text-decoration: underline;
}

/* 모바일 반응형 */
@media (max-width: 991.98px) {
    .point-guideline-page {
        padding: 1rem 0.75rem;
        gap: 1.25rem;
    }

    .pg-header-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .pg-header-text h1 {
        font-size: 1.05rem;
    }

    .pg-legend {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .pg-table th,
    .pg-table td {
        padding: 0.5rem 0.65rem;
        font-size: 0.8rem;
    }

    .pg-col-point {
        min-width: 70px;
    }
}
