/* ============================================================
   개인정보 처리방침 모달 (예약/회원가입 폼에서 호출)
   ============================================================ */
.pm-overlay {
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: none;
    align-items: center; justify-content: center;
    z-index: 9999;
    padding: 20px;
}
.pm-overlay.open { display: flex; animation: pmFadeIn 0.18s ease-out; }
@keyframes pmFadeIn { from { opacity: 0; } to { opacity: 1; } }

.pm-dialog {
    background: #fff;
    width: 100%;
    max-width: 920px;
    max-height: 86vh;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    display: flex; flex-direction: column;
    overflow: hidden;
    animation: pmSlideUp 0.22s ease-out;
}
@keyframes pmSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.pm-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid #e5e7eb;
    background: #fafbfc;
    flex-shrink: 0;
}
.pm-header h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
}
.pm-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 6px;
    transition: background 0.15s;
}
.pm-close:hover { background: #e5e7eb; color: #111; }

.pm-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 22px 22px;
    background: #fff;
}
.pm-body .container { max-width: none !important; padding: 0; }
.pm-body .pp-section { padding: 0; }
.pm-body .pp-toc ol { columns: 1; }
.pm-body .pp-block { margin: 12px 0; }

.pm-loading, .pm-error {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}
.pm-error a { color: var(--color-sub-accent, #b89468); text-decoration: underline; }

@media (max-width: 600px) {
    .pm-overlay { padding: 0; }
    .pm-dialog { max-width: 100%; max-height: 100vh; border-radius: 0; }
    .pm-body { padding: 14px; }
}
