/* ================= PRIVACY POLICY MODAL ================= */
.privacy-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;background:rgba(11,33,73,.72);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;z-index:999999;padding:16px;opacity:0;pointer-events:none;transition:opacity .25s ease}
.privacy-modal-overlay.show{opacity:1;pointer-events:auto}
.privacy-modal-card{width:100%;max-width:680px;height:86vh;max-height:86vh;background:#fff;border-radius:20px;box-shadow:0 25px 50px -12px rgba(0,0,0,.35);display:flex;flex-direction:column;overflow:hidden;transform:translateY(20px) scale(.97);transition:transform .25s ease}
.privacy-modal-overlay.show .privacy-modal-card{transform:translateY(0) scale(1)}
.privacy-modal-header{padding:16px 20px;background:#fff;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}
.privacy-header-left{display:flex;align-items:center;gap:12px}
.privacy-header-icon{width:38px;height:38px;border-radius:10px;background:#eff6ff;color:#2563eb;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.privacy-header-titles h3{margin:0;font-size:17px;font-weight:800;color:#0f172a}
.privacy-header-titles p{margin:2px 0 0;font-size:11.5px;color:#64748b}
.privacy-close-btn{width:34px;height:34px;border-radius:50%;border:none;background:#f1f5f9;color:#64748b;font-size:16px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s,color .15s}
.privacy-close-btn:hover{background:#e2e8f0;color:#0f172a}
.modal-tab-switcher{display:flex;background:#f1f5f9;padding:3px;border-radius:10px;margin:10px 20px 0;gap:4px;flex-shrink:0}
.modal-tab-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 12px;border:none;border-radius:8px;background:transparent;color:#64748b;font-size:12.5px;font-weight:800;cursor:pointer;transition:all .18s ease}
.modal-tab-btn:hover{color:#1e293b}
.modal-tab-btn.active{background:#fff;color:#2563eb;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.modal-tab-btn svg{flex-shrink:0}
.privacy-progress-track{width:100%;height:4px;background:#f1f5f9;flex-shrink:0;margin-top:10px}
.privacy-progress-fill{height:100%;width:0%;background:linear-gradient(90deg,#3b82f6,#0ca872);transition:width .1s linear}
.privacy-modal-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:22px 24px;color:#334155;font-size:13.5px;line-height:1.65;background:#fff}
.privacy-modal-body h4{color:#0f172a;font-size:15px;margin:18px 0 8px;font-weight:800}
.privacy-modal-body p{margin:0 0 10px}
.privacy-modal-body ul{margin:6px 0 14px 20px;padding:0}
.privacy-modal-body li{margin-bottom:4px}
.privacy-intro-box{background:#f8fafc;border-left:4px solid #2563eb;padding:12px 14px;border-radius:6px;margin-bottom:16px;font-size:12.5px;color:#1e293b}
.privacy-end-box{margin-top:24px;padding:18px;background:#f0fdf4;border:1.5px dashed #0ca872;border-radius:12px;text-align:center}
.privacy-end-box .end-check{width:36px;height:36px;border-radius:50%;background:#0ca872;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:18px;font-weight:900;margin-bottom:8px}
.privacy-end-box h4{margin:0 0 4px;color:#065f46}
.privacy-end-box p{margin:0;font-size:12px;color:#047857}
.privacy-modal-footer{padding:14px 20px;background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;flex-direction:column;gap:10px;flex-shrink:0}
.privacy-scroll-status{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:700;color:#64748b}
.privacy-status-text{display:flex;align-items:center;gap:6px}
.pulse-indicator{width:8px;height:8px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 0 rgba(245,158,11,.7);animation:pulseGlow 1.5s infinite}
@keyframes pulseGlow{0%{transform:scale(.95);box-shadow:0 0 0 0 rgba(245,158,11,.7)}70%{transform:scale(1);box-shadow:0 0 0 6px rgba(245,158,11,0)}100%{transform:scale(.95);box-shadow:0 0 0 0 rgba(245,158,11,0)}}
.btn-accept-policy{width:100%;height:48px;border:none;border-radius:12px;background:#94a3b8;color:#fff;font-size:14.5px;font-weight:800;cursor:not-allowed;display:flex;align-items:center;justify-content:center;gap:8px;transition:all .25s ease}
.btn-accept-policy.unlocked{background:linear-gradient(90deg,#0ca872,#059669);cursor:pointer;box-shadow:0 4px 14px rgba(12,168,114,.35)}
.btn-accept-policy.unlocked:hover{box-shadow:0 6px 18px rgba(12,168,114,.45);transform:translateY(-1px)}
.btn-accept-policy.unlocked:active{transform:scale(.98)}
@media(max-width:680px){
.privacy-modal-overlay{padding:8px}
.privacy-modal-card{height:92vh;max-height:92vh;border-radius:16px}
.privacy-modal-header{padding:12px 14px}
.privacy-header-titles h3{font-size:15px}
.privacy-header-titles p{font-size:10.5px}
.privacy-modal-body{padding:16px 14px;font-size:12.5px}
.privacy-modal-footer{padding:12px 14px;gap:8px}
.btn-accept-policy{height:44px;font-size:13.5px}
}

/* Styles for embedded terms-and-conditions and privacy-policy */
.privacy-modal-body .intro{background:#f8fafc;border-left:4px solid #2563eb;padding:14px 16px;border-radius:8px;margin-bottom:20px;font-size:13px;line-height:1.6}
.privacy-modal-body .section{margin-bottom:26px}
.privacy-modal-body .section h3{font-size:16px;color:#0f172a;margin-bottom:8px;font-weight:800}
.privacy-modal-body .section p{font-size:13.5px;color:#334155;margin-bottom:8px;line-height:1.65}
.privacy-modal-body .section ul,.privacy-modal-body .section ol{padding-left:22px;margin:8px 0 12px}
.privacy-modal-body .section li{font-size:13px;color:#334155;margin-bottom:5px;line-height:1.55}
.privacy-modal-body .company-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:14px;margin-top:10px;font-size:13px}
.privacy-modal-body .notice{background:#fff7ed;border-left:4px solid #f97316;padding:12px 14px;border-radius:8px;margin-top:10px;font-size:13px}
.privacy-modal-body .acceptance{background:linear-gradient(135deg,#eff6ff,#f8fafc);border:1.5px dashed #3b82f6;padding:18px;border-radius:12px;margin-top:24px;text-align:center}
.privacy-modal-body .acceptance h3{font-size:16px;color:#1e3a8a;margin-bottom:6px}
.privacy-modal-body .acceptance p{font-size:13px;color:#1e40af;margin-bottom:10px}
.open-external-page-btn{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;color:#2563eb;text-decoration:none;font-weight:700;padding:4px 8px;border-radius:6px;background:#eff6ff;margin-right:8px}
.open-external-page-btn:hover{background:#dbeafe}


.privacy-modal-card { font-family: Arial, "Segoe UI", sans-serif; }
