*{margin:0;padding:0;box-sizing:border-box;}
body{
    font-family:"Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    background:#ffffff; /* ★ 전체 배경을 순백색 유지 */
    color:#222;
    line-height:1.5;
}

/* 전체 래퍼 */
.wrap{
    max-width:1200px;
    margin:0 auto;
}

/* 상단 이미지 */
.cs-hero{
    width:100%;
    height:150px;
    background:url("img/center.png") center/cover no-repeat; /* ← 여기 변경 */
    position:relative;
    overflow:hidden;
}
.cs-hero::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.25);
}
.cs-hero-title{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:1;
    font-size:40px;
    font-weight:700;
    color:#fff;
    text-shadow:0 2px 8px rgba(0,0,0,0.25);
    letter-spacing:5px;
}

.page-wrap {
        max-width: 1080px;
        margin: 0 auto;
        padding: 32px 16px 40px;
    }

    /* 상단 헤더 */
    .page-header {
        margin-bottom: 20px;
    }
    .page-badge {
        font-size: 11px;
        letter-spacing: 0.12em;
        color: #2563eb;
        font-weight: 700;
        margin-bottom: 6px;
    }
    .page-title {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 4px;
    }
    .page-desc {
        font-size: 13px;
        color: #6b7280;
        text-align: center;
    }

    /* 카드 공통 */
    .card {
        background: #ffffff;
        border-radius: 18px;
        padding: 18px 18px 20px;
        border: 1px solid #e5e7eb;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
        margin-bottom: 18px;
    }
    .card-header {
        margin-bottom: 12px;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 8px;
    }
    .card-title {
        font-size: 15px;
        font-weight: 700;
        color: #111827;
        margin-bottom: 2px;
    }
    .card-sub {
        font-size: 12px;
        color: #9ca3af;
    }

    /* 상단 요약 카드 */
    .summary-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-top: 4px;
    }
    .summary-item {
        background: #f9fafb;
        border-radius: 14px;
        padding: 12px 12px 10px;
        border: 1px solid #e5e7eb;
    }
    .summary-label {
        font-size: 11px;
        color: #6b7280;
        margin-bottom: 4px;
    }
    .summary-value {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 2px;
    }
    .summary-tag {
        display: inline-block;
        padding: 2px 8px;
        border-radius: 999px;
        font-size: 11px;
        background: #eff6ff;
        color: #2563eb;
        margin-top: 2px;
    }
    .summary-value strong {
        font-size: 20px;
    }

    /* 이용중 상품 카드 리스트 */
    .pass-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
    .pass-card {
        border-radius: 16px;
        border: 1px solid #e5e7eb;
        padding: 12px 12px 12px;
        background: #f9fafb;
    }
    .pass-badge {
        font-size: 11px;
        color: #2563eb;
        font-weight: 700;
        letter-spacing: 0.08em;
        margin-bottom: 4px;
    }
    .pass-name {
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 4px;
    }
    .pass-meta {
        font-size: 12px;
        color: #6b7280;
        margin-bottom: 6px;
    }
    .pass-meta span + span::before {
        content: "·";
        margin: 0 4px;
    }
    .pass-usage {
        font-size: 12px;
        color: #111827;
        margin-bottom: 4px;
    }
    .pass-usage strong {
        color: #2563eb;
    }
    .pass-status {
        display: inline-block;
        margin-top: 2px;
        padding: 2px 7px;
        border-radius: 999px;
        font-size: 11px;
        background: #ecfdf3;
        color: #15803d;
        font-weight: 600;
    }
    .pass-status.expired {
        background: #fef2f2;
        color: #b91c1c;
    }

    /* 탭 (전체 / 이용중 / 만료) – 실제 기능은 나중에 JS로 추가 가능 */
    .tab-row {
        display: flex;
        gap: 8px;
        margin-bottom: 8px;
    }
    .tab {
        padding: 6px 12px;
        border-radius: 999px;
        font-size: 12px;
        border: 1px solid #e5e7eb;
        background: #f9fafb;
        color: #6b7280;
        cursor: default;
    }
    .tab.active {
        background: #2563eb;
        border-color: #2563eb;
        color: #ffffff;
        font-weight: 600;
    }

    /* 이용 내역 테이블 */
    .table-wrap {
        width: 100%;
        overflow-x: auto;
        border-radius: 14px;
        border: 1px solid #e5e7eb;
        background: #ffffff;
    }
    table {
        width: 100%;
        border-collapse: collapse;
        min-width: 720px;
        font-size: 13px;
    }
    thead {
        background: #f9fafb;
    }
    th, td {
        padding: 9px 10px;
        text-align: left;
        border-bottom: 1px solid #e5e7eb;
        white-space: nowrap;
    }
    th {
        font-size: 12px;
        color: #6b7280;
        font-weight: 600;
    }
    tbody tr:last-child td {
        border-bottom: none;
    }
    tbody tr:nth-child(even) {
        background: #fafafa;
    }

    .td-name {
        font-weight: 600;
        color: #111827;
    }
    .td-status {
        font-size: 12px;
        font-weight: 600;
    }
    .status-using {
        color: #15803d;
    }
    .status-used {
        color: #2563eb;
    }
    .status-expired {
        color: #b91c1c;
    }

    .badge-chip {
        display: inline-block;
        padding: 2px 7px;
        border-radius: 999px;
        font-size: 11px;
        background: #eff6ff;
        color: #2563eb;
        margin-left: 4px;
    }

    /* 페이지네이션(형식만) */
    .pagination {
        margin-top: 10px;
        display: flex;
        justify-content: flex-end;
        gap: 4px;
        font-size: 12px;
    }
    .page-btn {
        min-width: 26px;
        height: 26px;
        border-radius: 999px;
        border: 1px solid #e5e7eb;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        cursor: default;
        color: #4b5563;
    }
    .page-btn.active {
        background: #2563eb;
        border-color: #2563eb;
        color: #ffffff;
        font-weight: 600;
    }

    @media (max-width: 860px) {
        .summary-grid,
        .pass-list {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }
    @media (max-width: 640px) {
        .page-wrap {
            padding: 24px 12px 32px;
        }
        .summary-grid,
        .pass-list {
            grid-template-columns: 1fr;
        }
    }
.view-btn {
    padding: 6px 14px;
    background: #1f5fff;
    color: #fff;
    font-size: 13px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.view-btn:hover {
    background: #174acc;
}
