/* RELATION-01 회원가입, 로그인, 내 정보 및 결제 화면 전용 스타일 */
:root {
    --member-night: #090e1a;
    --member-card-bg: #0f172a;
    --member-card-border: rgba(255, 255, 255, 0.14);
    --member-mint: #4ecdc4;
    --member-mint-glow: rgba(78, 205, 196, 0.35);
    --member-violet: #818cf8;
    --member-gold: #d4a359;
    --member-muted: #94a3b8;
}

/* ========================================================
   AUTH PAGES (LOGIN & REGISTER)
======================================================== */
.member-auth-page {
    width: min(1140px, calc(100% - 48px));
    min-height: 640px;
    margin: 60px auto 90px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    border-radius: 28px;
    background: linear-gradient(145deg, #0b1120 0%, #111a33 60%, #0a1f26 100%);
    border: 1px solid var(--member-card-border);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.65), 0 0 40px rgba(78, 205, 196, 0.08);
    overflow: hidden;
    position: relative;
}

.member-auth-copy {
    padding: 70px 60px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.member-kicker {
    display: inline-block;
    color: var(--member-mint);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-bottom: 12px;
}
.member-auth-copy h1 {
    margin: 0 0 20px;
    font-family: 'Gowun Batang', serif;
    font-size: clamp(38px, 4.5vw, 54px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.04em;
    color: #ffffff !important;
}
.member-auth-copy > p {
    max-width: 480px;
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.85;
    margin: 0;
}
.member-auth-copy ul {
    display: grid;
    gap: 14px;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
    color: #cbd5e1;
    font-size: 14px;
}
.member-auth-copy li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.member-auth-copy li:before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(78, 205, 196, 0.18);
    color: var(--member-mint);
    font-size: 11px;
    font-weight: 800;
}

/* Right Form Card - Ultra High Contrast & Readability */
.member-auth-card {
    margin: 30px;
    padding: 44px 38px;
    border-radius: 22px;
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.member-auth-card > span {
    display: inline-block;
    color: var(--member-violet) !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-bottom: 6px;
}
.member-auth-card h2 {
    margin: 0 0 24px;
    font-family: 'Gowun Batang', serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: -0.03em;
}

.member-auth-card .field {
    margin: 18px 0;
}
.member-auth-card .field > span {
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}
.member-auth-card .field small {
    color: #94a3b8 !important;
    font-size: 12px;
    font-weight: 400;
    margin-left: 6px;
}

.member-auth-card input {
    background: #090e1c !important;
    border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    padding: 14px 16px !important;
    border-radius: 10px !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}
.member-auth-card input:focus {
    border-color: var(--member-mint) !important;
    background: #0c1428 !important;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.3) !important;
}

.member-consent {
    margin: 22px 0 26px;
    font-size: 13px;
    color: #cbd5e1 !important;
    display: flex;
    align-items: center;
    gap: 10px;
}
.member-consent input {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    cursor: pointer;
    accent-color: var(--member-mint);
}
.member-consent a {
    color: var(--member-mint) !important;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.member-auth-card .button.primary {
    background: linear-gradient(135deg, var(--member-mint), #2dd4bf) !important;
    color: #04201b !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 16px 24px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(78, 205, 196, 0.4) !important;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.member-auth-card .button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(78, 205, 196, 0.6) !important;
}

.auth-switch {
    margin: 20px 0 0;
    text-align: center;
    color: #94a3b8 !important;
    font-size: 13px;
}
.auth-switch a {
    color: var(--member-mint) !important;
    font-weight: 700;
    text-decoration: none;
    margin-left: 6px;
}
.auth-switch a:hover {
    text-decoration: underline;
}

/* ========================================================
   ACCOUNT & PROFILE MANAGEMENT
======================================================== */
.account-page {
    background: var(--member-night);
    color: #e2e8f0;
}
.account-shell {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.account-hero {
    padding: 70px 0;
    background: linear-gradient(180deg, rgba(14, 22, 41, 0.9) 0%, rgba(9, 14, 26, 0.95) 100%);
    border-bottom: 1px solid var(--member-card-border);
}
.account-hero-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.account-identity {
    display: flex;
    align-items: center;
    gap: 28px;
}
.account-identity img, .avatar-placeholder {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
    border-radius: 32px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    object-fit: cover;
    background: #1a253e;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}
.avatar-placeholder {
    display: grid;
    place-items: center;
    color: var(--member-mint);
    font: 700 52px "Gowun Batang", serif;
}
.account-identity p {
    margin: 0;
    color: var(--member-mint);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
}
.account-identity h1 {
    margin: 8px 0;
    font-family: 'Gowun Batang', serif;
    font-size: clamp(34px, 4.5vw, 48px);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.04em;
}
.account-identity span {
    color: #94a3b8;
    font-size: 13px;
}

.account-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--member-card-border);
    border-radius: 20px;
    background: var(--member-card-bg);
    backdrop-filter: blur(16px);
}
.account-summary > div {
    padding: 24px 30px;
    border-right: 1px solid var(--member-card-border);
}
.account-summary > div:last-child {
    border: 0;
}
.account-summary b {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Cinzel', serif;
}
.account-summary span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 11px;
    letter-spacing: 0.05em;
}

.account-main {
    padding: 40px 0 100px;
}
.account-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--member-card-border);
}
.account-heading {
    max-width: 720px;
    margin-bottom: 35px;
}
.account-heading > span {
    display: inline-block;
    color: var(--member-violet);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-bottom: 8px;
}
.account-heading h2 {
    margin: 0 0 10px;
    font-family: 'Gowun Batang', serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: #ffffff;
}
.account-heading p {
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.8;
}

/* Photo Management */
.photo-panel {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 24px;
    box-sizing: border-box;
    width: 100%;
}
.photo-upload, .photo-current {
    padding: 32px;
    border: 1px solid var(--member-card-border);
    border-radius: 22px;
    background: var(--member-card-bg);
    backdrop-filter: blur(16px);
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

/* Custom Luxury Upload Dropzone */
.upload-drop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 36px 20px;
    border: 1.5px dashed rgba(78, 205, 196, 0.35);
    border-radius: 18px;
    background: rgba(9, 14, 26, 0.6);
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    width: 100%;
    transition: all 0.25s ease;
}
.upload-drop:hover {
    border-color: var(--member-mint);
    background: rgba(9, 14, 26, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(78, 205, 196, 0.15);
}
.upload-drop input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
    overflow: hidden;
    pointer-events: none;
}
.drop-icon {
    font-size: 32px;
    line-height: 1;
    filter: drop-shadow(0 0 12px rgba(78, 205, 196, 0.5));
}
.drop-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.drop-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.drop-hint {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
    word-break: keep-all;
}

/* Goods Consent Card */
.goods-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(129, 140, 248, 0.08);
    border: 1px solid rgba(129, 140, 248, 0.2);
    margin: 18px 0;
    box-sizing: border-box;
    width: 100%;
}
.goods-consent input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
    margin-top: 2px !important;
    accent-color: var(--member-mint);
    cursor: pointer;
}
.goods-consent span {
    font-size: 12.5px;
    color: #cbd5e1;
    line-height: 1.55;
    word-break: keep-all;
}

.upload-btn {
    width: 100%;
    min-height: 50px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Current Photo Sidebar */
.photo-current {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 18px;
}
.current-photo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.current-photo-wrap > img {
    width: 160px;
    height: 160px;
    border-radius: 28px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}
.photo-meta-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 11px;
    letter-spacing: 0.05em;
}
.photo-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.consent-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.btn-subtle {
    min-height: 36px;
    border: 0;
    background: transparent;
    color: var(--member-mint);
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 4px 8px;
}
.btn-subtle.danger {
    color: #fda4af;
}
.empty-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 10px;
}
.empty-icon {
    font-size: 32px;
    color: var(--member-mint);
    filter: drop-shadow(0 0 10px var(--member-mint-glow));
}
.empty-photo strong {
    color: #ffffff;
    font-size: 14px;
}
.empty-photo p {
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    word-break: keep-all;
}

/* Reports & Orders Grid */
.account-list {
    display: grid;
    gap: 16px;
}
.report-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 26px;
    border: 1px solid var(--member-card-border);
    border-radius: 20px;
    background: var(--member-card-bg);
    backdrop-filter: blur(16px);
}
.report-row .report-info {
    flex: 1 1 auto;
    min-width: 240px;
}
.report-row .row-actions {
    flex: 0 0 auto;
}
.report-row.report-row-paid {
    border-color: rgba(56, 189, 248, 0.4);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.05) 0%, rgba(15, 23, 42, 0.8) 100%);
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.1);
}
.report-meta-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}
.report-date {
    color: var(--member-violet);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
}
/* 1인 리포트 뱃지 */
.badge-report-paid {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.35);
    letter-spacing: 0.02em;
}
.badge-report-free {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
/* 커플 리포트 뱃지 */
.badge-couple-unlocked {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
    letter-spacing: 0.02em;
}
.badge-couple-locked {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    letter-spacing: 0.02em;
}
.badge-couple-matched {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
    letter-spacing: 0.02em;
}
.badge-couple-pending {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}
.badge-partner-info {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(129, 140, 248, 0.1);
    color: #c7d2fe;
    border: 1px solid rgba(129, 140, 248, 0.22);
}
.badge-partner-info b {
    color: #ffffff;
    font-weight: 700;
}
.report-row span {
    color: var(--member-violet);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}
.report-row h3 {
    margin: 6px 0;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Gowun Batang', serif;
}
.report-row p {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
}
.row-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.row-actions .button {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    line-height: 1.4;
    border-radius: 8px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.row-actions .button:hover {
    transform: translateY(-1px);
}
/* 커플 해금 버튼 (골드/앰버) */
.button-couple-unlocked {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}
.button-couple-unlocked:hover {
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}
/* 커플 미결제 업그레이드 버튼 (오렌지) */
.button-couple-locked {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25);
}
.button-couple-locked:hover {
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
}
/* 초대 대기 버튼 (골드 아웃라인) */
.button-couple-pending {
    background: rgba(245, 158, 11, 0.08);
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.4);
}
.button-couple-pending:hover {
    background: rgba(245, 158, 11, 0.16);
    border-color: #fbbf24;
}
/* 1인 심층 리포트 버튼 (스카이/인디고) */
.button-paid-view {
    background: linear-gradient(135deg, #0284c7 0%, #4f46e5 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}
.button-paid-view:hover {
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}
/* 1인 기본 리포트 결과보기 버튼 (은은한 그레이 아웃라인) */
.button-free-view {
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.button-free-view:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3);
}
/* 굿즈 제작 서브 버튼 (에메랄드 아웃라인 - 눈 피로도 최소화 및 정돈) */
.button-goods {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.35);
}
.button-goods:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: #34d399;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

/* Order Filter Tabs */
.account-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.filter-pill b {
    font-size: 11px;
    opacity: 0.8;
}
.filter-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}
.filter-pill.active {
    background: rgba(78, 205, 196, 0.15);
    border-color: var(--member-mint);
    color: var(--member-mint);
}

.order-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.order-grid > a, .order-grid > .account-empty {
    display: block;
    padding: 24px 26px;
    border: 1px solid var(--member-card-border);
    border-radius: 20px;
    background: var(--member-card-bg);
    color: inherit;
    text-decoration: none;
    backdrop-filter: blur(16px);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.order-grid > a:hover {
    transform: translateY(-4px);
    border-color: rgba(78, 205, 196, 0.35);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
}
.order-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.order-status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.order-status-badge.ready {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.order-status-badge.paid {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}
.order-status-badge.refunded {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.order-date {
    color: #64748b;
    font-size: 11px;
}
.order-grid > a h3 {
    margin: 6px 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
}
.order-grid > a p {
    color: #94a3b8;
    font-size: 13px;
    margin: 0 0 10px;
}
.order-grid > a p strong {
    color: #ffffff;
}
.order-uid {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-family: monospace;
}

.account-empty {
    padding: 40px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: #64748b;
    text-align: center;
    font-size: 14px;
}

/* Account Pagination */
.account-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 36px;
}
.page-numbers {
    display: flex;
    gap: 6px;
}
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.page-btn:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
}
.page-btn.active {
    background: var(--member-mint);
    border-color: var(--member-mint);
    color: #070b14;
}
.page-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.page-btn.nav-btn {
    padding: 0 14px;
    font-size: 12px;
}

/* ========================================================
   CHECKOUT PAGE
======================================================== */
.checkout-page {
    width: min(1060px, calc(100% - 48px));
    margin: 60px auto 100px;
}
.checkout-copy {
    max-width: 720px;
    margin-bottom: 35px;
}
.checkout-copy h1 {
    margin: 0 0 12px;
    font-family: 'Gowun Batang', serif;
    font-size: clamp(34px, 4.5vw, 50px);
    font-weight: 700;
    color: #ffffff;
}
.checkout-card {
    border: 1px solid var(--member-card-border);
    border-radius: 24px;
    background: var(--member-card-bg);
    backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.checkout-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: rgba(9, 14, 26, 0.8);
    border-bottom: 1px solid var(--member-card-border);
    color: #ffffff;
}
.checkout-status span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #94a3b8;
}
.checkout-status b {
    color: var(--member-mint);
    font-size: 14px;
}
.checkout-card dl {
    margin: 0;
    padding: 20px 32px;
}
.checkout-card dl > div {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.checkout-card dt {
    color: #64748b;
    font-size: 13px;
}
.checkout-card dd {
    margin: 0;
    font-size: 14px;
    color: #cbd5e1;
}
.checkout-total dd {
    font-size: 24px;
    font-weight: 800;
    color: var(--member-gold);
    font-family: 'Cinzel', serif;
}
.payment-roadmap {
    margin: 20px 32px;
    padding: 24px;
    border-radius: 16px;
    background: rgba(9, 14, 26, 0.6);
    border: 1px solid var(--member-card-border);
}
.payment-roadmap b {
    font-size: 14px;
    color: #ffffff;
}
.payment-roadmap ol {
    margin: 12px 0 0;
    padding-left: 20px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.8;
}
.checkout-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 24px 32px;
    border-top: 1px solid var(--member-card-border);
    background: rgba(9, 14, 26, 0.4);
}

/* Account Email Verification Status */
.account-email-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}
.badge-verified {
    font-size: 11px;
    background: rgba(78, 205, 196, 0.15);
    color: var(--member-mint);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
}
.btn-resend-verify {
    font-size: 11px;
    color: #f59e0b;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* ========================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ============================================================ */
@media (max-width: 900px) {
    .member-auth-page {
        grid-template-columns: 1fr;
    }
    .member-auth-copy {
        padding: 50px 40px 20px;
    }
    .member-auth-card {
        margin: 20px;
    }
    .account-hero-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }
    .photo-panel {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .order-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .member-auth-page {
        width: calc(100% - 24px);
        margin: 30px auto 60px;
        border-radius: 20px;
    }
    .member-auth-copy {
        padding: 36px 20px 10px;
    }
    .member-auth-copy h1 {
        font-size: clamp(26px, 6.5vw, 34px);
        word-break: keep-all;
    }
    .member-auth-card {
        margin: 12px;
        padding: 28px 18px;
    }

    /* Account Page Mobile Layout */
    .account-shell {
        width: calc(100% - 28px);
    }
    .account-hero {
        padding: 36px 0 32px;
    }
    .account-identity {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .account-identity img, .avatar-placeholder {
        width: 100px;
        height: 100px;
        border-radius: 24px;
        font-size: 42px;
    }
    .account-identity h1 {
        font-size: clamp(24px, 6.5vw, 30px);
        line-height: 1.3;
        margin: 8px 0;
        word-break: keep-all;
    }
    .account-email-wrap {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Account Summary 3-Grid on Mobile */
    .account-summary {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        border-radius: 16px;
        width: 100%;
        background: rgba(15, 23, 42, 0.7);
    }
    .account-summary > div {
        padding: 16px 8px;
        border-right: 1px solid var(--member-card-border);
        border-bottom: 0;
        text-align: center;
    }
    .account-summary > div:last-child {
        border-right: 0;
    }
    .account-summary b {
        font-size: 19px;
    }
    .account-summary span {
        font-size: 10.5px;
    }

    /* Account Main Sections */
    .account-main {
        padding: 24px 0 70px;
    }
    .account-section {
        padding: 42px 0;
    }
    .account-heading {
        margin-bottom: 24px;
    }
    .account-heading h2 {
        font-size: clamp(20px, 5.5vw, 26px);
        line-height: 1.35;
        word-break: keep-all;
    }
    .account-heading p {
        font-size: 13.5px;
        line-height: 1.65;
        word-break: keep-all;
    }

    /* Photo Upload Panel */
    .photo-upload, .photo-current {
        padding: 22px 18px;
        border-radius: 18px;
    }
    .upload-drop {
        padding: 28px 16px;
    }
    .upload-drop b {
        font-size: 14px;
    }
    .goods-consent {
        padding: 14px;
        font-size: 12px;
        line-height: 1.55;
    }
    .photo-current > img {
        width: 130px;
        height: 130px;
        border-radius: 22px;
    }
    .photo-upload .button.primary {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 14.5px;
    }

    /* Reports & Orders on Mobile */
    .report-row {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px 16px;
        border-radius: 16px;
    }
    .report-row h3 {
        font-size: 18px;
        word-break: keep-all;
    }
    .report-row p {
        font-size: 12.5px;
        line-height: 1.5;
    }
    .row-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        width: 100%;
        justify-content: flex-start;
    }
    .row-actions form {
        width: auto;
        margin: 0;
    }
    .row-actions .button {
        flex: 1 1 auto;
        min-width: calc(33.333% - 6px);
        min-height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 11.5px;
        padding: 6px 8px;
        text-align: center;
        box-sizing: border-box;
        letter-spacing: -0.01em;
        white-space: nowrap;
    }
    @media (max-width: 480px) {
        .row-actions .button {
            min-width: calc(50% - 4px);
        }
    }

    .account-filter-tabs {
        gap: 6px;
    }
    .filter-pill {
        padding: 6px 12px;
        font-size: 12px;
    }

    .order-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .order-grid > a {
        padding: 20px 18px;
        border-radius: 16px;
    }
    .order-grid > a h3 {
        font-size: 17px;
    }

    .withdraw-section form {
        max-width: 100% !important;
    }
    .withdraw-section .button {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }

    .checkout-card dl > div {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .checkout-actions {
        flex-direction: column;
    }
    .checkout-actions .button {
        width: 100%;
    }
}

/* ========================================================
   SMART REFUND MODAL STYLES
======================================================== */
.refund-reason-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
}
.refund-reason-label:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}
.refund-reason-label input[type="radio"] {
    accent-color: var(--member-mint);
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
}
.refund-reason-label span {
    font-size: 13.5px;
    color: #e2e8f0;
    line-height: 1.4;
}
