/* 페이스튜디오 모바일 — 결제 상세 (정보 + 환불) */
.pm-od { padding: 16px; display: flex; flex-direction: column; gap: 13px; }

/* 상단 요약 */
.pm-od__top {
    background: var(--pm-card);
    border-radius: 16px;
    padding: 22px 18px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(31, 41, 51, .05);
}
.pm-od__badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 11px; margin-bottom: 11px; }
.pm-od__badge.is-done { color: var(--pm-green); background: var(--pm-soft); }
.pm-od__badge.is-cancel { color: var(--pm-danger); background: #fdeced; }
.pm-od__name { font-size: 15px; font-weight: 500; color: var(--pm-sub); margin-bottom: 6px; }
.pm-od__amount { font-size: 30px; font-weight: 700; letter-spacing: -1px; }
.pm-od__amount span { font-size: 17px; font-weight: 500; margin-left: 2px; }
/* 하이드레이션용 금액 숫자 span은 '원'(작은 span) 스타일을 받지 않고 본래 크기 유지 */
.pm-od__amount .pm-od__amount-num { font-size: 30px; font-weight: 700; letter-spacing: -1px; margin-left: 0; }

/* 정보 카드 */
.pm-od__card {
    background: var(--pm-card);
    border-radius: 16px;
    padding: 6px 18px;
    box-shadow: 0 2px 10px rgba(31, 41, 51, .05);
}
.pm-od__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--pm-line2); }
.pm-od__row:last-child { border-bottom: none; }
.pm-od__row dt { font-size: 13px; color: var(--pm-sub); flex: none; }
.pm-od__row dd { font-size: 14px; font-weight: 500; text-align: right; word-break: break-all; }
.pm-od__row--total dd { color: var(--pm-green); font-weight: 700; }
.pm-od__row--memo { flex-direction: column; align-items: stretch; gap: 7px; }
.pm-od__row--memo dd { text-align: left; font-weight: 400; color: var(--pm-text); line-height: 1.5; white-space: pre-wrap; }
.pm-od__row--refund dd { color: var(--pm-danger); font-weight: 700; }

/* 영수증 섹션 (승인 정보 / 취소 정보) */
.pm-od__sec { display: flex; flex-direction: column; gap: 8px; }
.pm-od__sec-head { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--pm-green); padding: 2px 2px 0; }
.pm-od__sec-head i { font-size: 17px; }
.pm-od__sec-head--cancel { color: var(--pm-danger); }
.pm-od__sec-head--fail { color: var(--pm-danger); }

/* 액션 */
.pm-od__actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 4px;
}
.pm-od__share-btn {
    width: 100%;
    height: 52px;
    border-radius: 13px;
    border: none;
    color: #fff;
    background: var(--pm-green);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 6px 15px rgba(17, 163, 115, .22);
}
.pm-od__share-btn i { font-size: 19px; }
.pm-od__share-btn:active { background: var(--pm-green-d); }
.pm-od__retry-btn {
    width: 100%;
    height: 52px;
    border-radius: 13px;
    border: none;
    color: #fff;
    background: var(--pm-green);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 6px 15px rgba(17, 163, 115, .22);
}
.pm-od__retry-btn i { font-size: 19px; }
.pm-od__retry-btn:active { background: var(--pm-green-d); }
.pm-od__cancel-btn {
    width: 100%;
    height: 52px;
    border-radius: 13px;
    border: 1px solid var(--pm-danger);
    color: var(--pm-danger);
    background: var(--pm-card);
    font-size: 16px;
    font-weight: 600;
}
.pm-od__cancel-btn:active { background: #fdeced; }
.pm-od__notice { text-align: center; font-size: 13px; color: var(--pm-sub); padding: 10px 0; line-height: 1.5; }

/* 환불 시트 내용 */
.pm-cancel__max {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--pm-bg);
    border-radius: 12px;
    padding: 13px 16px;
}
.pm-cancel__max span { font-size: 13px; color: var(--pm-sub); }
.pm-cancel__max strong { font-size: 16px; font-weight: 700; color: var(--pm-green); }
.pm-cancel__input,
.pm-cancel__textarea {
    width: 100%;
    border: 1px solid var(--pm-line);
    border-radius: 11px;
    padding: 13px 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--pm-text);
    background: var(--pm-card);
}
.pm-cancel__input { height: 48px; }
.pm-cancel__textarea { resize: none; line-height: 1.5; }
.pm-cancel__input.is-locked { background: var(--pm-bg); color: var(--pm-sub); }

/* 전액 환불 토글 버튼 */
.pm-cancel__amount-head { display: flex; align-items: center; justify-content: space-between; }
.pm-cancel__all { font-size: 12px; font-weight: 600; color: var(--pm-green); background: var(--pm-soft); padding: 5px 11px; border-radius: 8px; }
.pm-cancel__all.is-on { background: var(--pm-green); color: #fff; }
.pm-cancel__input:focus, .pm-cancel__textarea:focus { outline: none; border-color: var(--pm-green); }
.pm-cancel__submit {
    width: 100%;
    height: 52px;
    border-radius: 13px;
    background: var(--pm-danger);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 6px 15px rgba(226, 75, 74, .3);
}
