.pos-swal-popup{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif!important;border-radius:16px!important;padding:28px 24px 20px!important;box-shadow:0 20px 60px rgba(0,0,0,.18),0 4px 16px rgba(0,0,0,.08)!important;border:1px solid rgba(0,0,0,.06)!important;max-width:420px!important}
.pos-swal-popup.pos-swal-plain{padding-top:24px!important}
.pos-swal-popup.pos-swal-plain .swal2-icon{display:none!important}
.pos-swal-popup.pos-swal-plain .swal2-title:empty{display:none!important}
.pos-swal-popup .swal2-icon{margin:0 auto 12px!important;border-width:3px!important;width:56px!important;height:56px!important}
.pos-swal-popup .swal2-icon .swal2-icon-content{font-size:32px!important}
.pos-swal-popup .swal2-icon.swal2-warning{border-color:#f59e0b!important;color:#f59e0b!important}
.pos-swal-popup .swal2-icon.swal2-error{border-color:#ef4444!important;color:#ef4444!important}
.pos-swal-popup .swal2-icon.swal2-success{border-color:#10b981!important;color:#10b981!important}
.pos-swal-popup .swal2-icon.swal2-success .swal2-success-ring{border-color:rgba(16,185,129,.25)!important}
.pos-swal-popup .swal2-icon.swal2-success .swal2-success-line-long,.pos-swal-popup .swal2-icon.swal2-success .swal2-success-line-tip{background-color:#10b981!important}
.pos-swal-popup .swal2-icon.swal2-info{border-color:#3b82f6!important;color:#3b82f6!important}
.pos-swal-popup .swal2-icon.swal2-question{border-color:#6366f1!important;color:#6366f1!important}
.pos-swal-popup .swal2-title{font-size:17px!important;font-weight:600!important;color:#1e293b!important;padding:0 0 4px!important;line-height:1.4!important}
.pos-swal-popup .swal2-html-container{font-size:14px!important;color:#64748b!important;line-height:1.55!important;margin:4px 0 0!important;padding:0 8px!important}
.pos-swal-popup.pos-swal-plain .swal2-html-container{font-size:15px!important;color:#334155!important;margin-top:0!important}
.pos-swal-popup .swal2-actions{margin-top:20px!important;gap:10px!important}
.pos-swal-popup .swal2-styled{font-size:13.5px!important;font-weight:600!important;border-radius:10px!important;padding:10px 28px!important;letter-spacing:.01em!important;transition:all .15s ease!important;box-shadow:0 1px 3px rgba(0,0,0,.08)!important}
.pos-swal-popup .swal2-styled.swal2-confirm{background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%)!important;color:#fff!important;border:none!important}
.pos-swal-popup .swal2-styled.swal2-confirm:hover{background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%)!important;box-shadow:0 4px 12px rgba(37,99,235,.35)!important}
.pos-swal-popup .swal2-styled.swal2-cancel{background:#f1f5f9!important;color:#475569!important;border:1px solid #e2e8f0!important}
.pos-swal-popup .swal2-styled.swal2-cancel:hover{background:#e2e8f0!important;color:#334155!important}
.pos-swal-popup .swal2-input,.pos-swal-popup .swal2-textarea,.pos-swal-popup .swal2-select{border:1.5px solid #e2e8f0!important;border-radius:10px!important;font-size:14px!important;padding:10px 14px!important;color:#1e293b!important;background:#f8fafc!important;transition:border-color .15s ease,box-shadow .15s ease!important;margin:12px auto 0!important;width:calc(100% - 32px)!important;box-sizing:border-box!important}
.pos-swal-popup .swal2-input:focus,.pos-swal-popup .swal2-textarea:focus,.pos-swal-popup .swal2-select:focus{border-color:#3b82f6!important;box-shadow:0 0 0 3px rgba(59,130,246,.15)!important;background:#fff!important;outline:none!important}
.pos-swal-popup .swal2-validation-message{font-size:12.5px!important;background:#fef2f2!important;color:#dc2626!important;border-radius:8px!important;padding:8px 12px!important;margin:8px 16px 0!important}
.pos-swal-backdrop{background:rgba(15,23,42,.4)!important}
/* Bootstrap modal (200050) ve select2/flatpickr üstünde; vae-modern .swal2-container ile aynı sıra */
.swal2-container.pos-swal-backdrop{z-index:200100!important}
.pos-swal-popup .swal2-close{color:#94a3b8!important;font-size:28px!important;top:12px!important;right:14px!important;transition:color .15s!important}
.pos-swal-popup .swal2-close:hover{color:#475569!important}
.pos-swal-popup.pos-swal-warn .swal2-styled.swal2-confirm{background:linear-gradient(135deg,#f59e0b 0%,#d97706 100%)!important}
.pos-swal-popup.pos-swal-warn .swal2-styled.swal2-confirm:hover{background:linear-gradient(135deg,#d97706 0%,#b45309 100%)!important;box-shadow:0 4px 12px rgba(217,119,6,.35)!important}
.pos-swal-popup.pos-swal-ok .swal2-styled.swal2-confirm{background:linear-gradient(135deg,#10b981 0%,#059669 100%)!important}
.pos-swal-popup.pos-swal-ok .swal2-styled.swal2-confirm:hover{background:linear-gradient(135deg,#059669 0%,#047857 100%)!important;box-shadow:0 4px 12px rgba(5,150,105,.35)!important}
.pos-swal-popup.pos-swal-err .swal2-styled.swal2-confirm{background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%)!important}
.pos-swal-popup.pos-swal-err .swal2-styled.swal2-confirm:hover{background:linear-gradient(135deg,#dc2626 0%,#b91c1c 100%)!important;box-shadow:0 4px 12px rgba(220,38,38,.35)!important}
/* Toast bildirimleri (np-dialog.js applyToastDefaults) */
body.swal2-toast-shown .swal2-container.np-toast-container{height:auto!important;width:400px!important;max-width:100%!important;padding:16px!important;background:transparent!important;overflow:visible!important}
body:has(.topbar) .swal2-container.np-toast-container.swal2-top-end,body:has(.topbar) .swal2-container.np-toast-container.swal2-top-right,body:has(.topbar) .swal2-container.np-toast-container.swal2-top{padding-top:72px!important}
.swal2-popup.swal2-toast.np-toast{--np-toast-accent:#3b82f6;--np-toast-tint:#eff6ff;display:grid!important;grid-template-columns:36px minmax(0,1fr) auto!important;column-gap:12px!important;align-items:center!important;align-content:center!important;position:relative!important;width:100%!important;min-height:64px;padding:14px 12px 14px 16px!important;border:1px solid rgba(15,23,42,.08)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 12px 32px -10px rgba(15,23,42,.28),0 2px 6px rgba(15,23,42,.06)!important;overflow:hidden!important;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif!important}
.swal2-popup.swal2-toast.np-toast::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--np-toast-accent)}
.swal2-popup.swal2-toast.np-toast-success{--np-toast-accent:#10b981;--np-toast-tint:#ecfdf5}
.swal2-popup.swal2-toast.np-toast-error{--np-toast-accent:#ef4444;--np-toast-tint:#fef2f2}
.swal2-popup.swal2-toast.np-toast-warning{--np-toast-accent:#f59e0b;--np-toast-tint:#fffbeb}
.swal2-popup.swal2-toast.np-toast-question{--np-toast-accent:#8b5cf6;--np-toast-tint:#f5f3ff}
.swal2-popup.swal2-toast.np-toast>*{grid-column:2!important}
.swal2-popup.swal2-toast.np-toast .swal2-icon{grid-column:1!important;grid-row:1/99!important;align-self:center!important;display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;min-width:36px!important;height:36px!important;margin:0!important;border:0!important;border-radius:10px!important;background:var(--np-toast-tint)!important;color:var(--np-toast-accent)!important;animation:none!important}
.swal2-popup.swal2-toast.np-toast .swal2-icon .swal2-icon-content{display:flex!important;font-size:0!important;line-height:0!important}
.swal2-popup.swal2-toast.np-toast .swal2-icon svg{width:20px;height:20px}
.swal2-popup.swal2-toast.np-toast .swal2-title{margin:0!important;padding:0!important;font-size:14px!important;font-weight:600!important;line-height:1.35!important;color:#0f172a!important;text-align:left!important;word-break:break-word}
.swal2-popup.swal2-toast.np-toast .swal2-html-container{margin:2px 0 0!important;padding:0!important;font-size:13px!important;line-height:1.45!important;color:#475569!important;text-align:left!important;word-break:break-word;overflow:visible!important}
.swal2-popup.swal2-toast.np-toast .swal2-title:empty+.swal2-html-container,.swal2-popup.swal2-toast.np-toast .swal2-title[style*="none"]+.swal2-html-container{margin-top:0!important;color:#1e293b!important;font-weight:500!important}
.swal2-popup.swal2-toast.np-toast .swal2-title[style*="none"]+.swal2-html-container,.swal2-popup.swal2-toast.np-toast .swal2-title:has(+.swal2-html-container[style*="none"]){grid-row:1/99!important;align-self:center!important}
.swal2-popup.swal2-toast.np-toast .swal2-actions{justify-content:flex-start!important;margin:8px 0 0!important;padding:0!important}
.swal2-popup.swal2-toast.np-toast .swal2-close{grid-column:3!important;grid-row:1/99!important;align-self:center!important;position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;width:30px!important;height:30px!important;margin:0!important;border-radius:8px!important;font-size:22px!important;line-height:1!important;color:#94a3b8!important;background:transparent!important;transition:background-color .15s,color .15s!important}
.swal2-popup.swal2-toast.np-toast .swal2-close:hover{background:#f1f5f9!important;color:#334155!important}
.swal2-popup.swal2-toast.np-toast .swal2-close:focus-visible{outline:2px solid var(--np-toast-accent)!important;outline-offset:1px!important;box-shadow:none!important}
.swal2-popup.swal2-toast.np-toast .swal2-timer-progress-bar-container{position:absolute!important;inset:auto 0 0 0!important;height:3px!important;grid-column:auto!important}
.swal2-popup.swal2-toast.np-toast .swal2-timer-progress-bar{height:3px!important;background:var(--np-toast-accent)!important;opacity:.55}
.np-toast-in{animation:np-toast-in .28s cubic-bezier(.21,1.02,.73,1) both!important}
.np-toast-out{animation:np-toast-out .18s ease-in forwards!important}
@keyframes np-toast-in{from{opacity:0;transform:translateX(24px) scale(.98)}to{opacity:1;transform:none}}
@keyframes np-toast-out{to{opacity:0;transform:translateX(24px) scale(.98)}}
body.dark-mode .swal2-popup.swal2-toast.np-toast{background:#1e293b!important;border-color:rgba(255,255,255,.08)!important;box-shadow:0 12px 32px -10px rgba(0,0,0,.6)!important}
body.dark-mode .swal2-popup.swal2-toast.np-toast .swal2-title{color:#f1f5f9!important}
body.dark-mode .swal2-popup.swal2-toast.np-toast .swal2-html-container{color:#cbd5e1!important}
body.dark-mode .swal2-popup.swal2-toast.np-toast .swal2-icon{background:rgba(255,255,255,.06)!important}
body.dark-mode .swal2-popup.swal2-toast.np-toast .swal2-close:hover{background:rgba(255,255,255,.08)!important;color:#e2e8f0!important}
@media (max-width:575.98px){
body.swal2-toast-shown .swal2-container.np-toast-container,body:has(.topbar) .swal2-container.np-toast-container.swal2-top-end,body:has(.topbar) .swal2-container.np-toast-container.swal2-top-right,body:has(.topbar) .swal2-container.np-toast-container.swal2-top{inset:0 0 auto 0!important;transform:none!important;width:100%!important;padding:calc(8px + env(safe-area-inset-top,0px)) 8px 0!important}
.swal2-popup.swal2-toast.np-toast{grid-template-columns:32px minmax(0,1fr) auto!important;column-gap:10px!important;min-height:56px;padding:12px 8px 12px 14px!important;border-radius:12px!important}
.swal2-popup.swal2-toast.np-toast .swal2-icon{width:32px!important;min-width:32px!important;height:32px!important;border-radius:9px!important}
.swal2-popup.swal2-toast.np-toast .swal2-icon svg{width:18px;height:18px}
.swal2-popup.swal2-toast.np-toast .swal2-close{width:36px!important;height:36px!important}
@keyframes np-toast-in{from{opacity:0;transform:translateY(-16px)}to{opacity:1;transform:none}}
@keyframes np-toast-out{to{opacity:0;transform:translateY(-16px)}}
}
@media (prefers-reduced-motion:reduce){.np-toast-in,.np-toast-out{animation-duration:.01ms!important}}
/* Pop-up müşteri notu: kim / ne zaman / tip KPI kartı */
.pos-swal-popup.cn-note-swal{max-width:560px!important;width:min(560px,calc(100vw - 24px))!important;padding:0 0 16px!important;overflow:hidden!important;text-align:left!important}
.pos-swal-popup.cn-note-swal .swal2-html-container{margin:0!important;padding:0!important;color:#1e293b!important;text-align:left!important;overflow:visible!important}
.pos-swal-popup.cn-note-swal .swal2-actions{margin:14px 20px 2px!important;width:auto!important}
.pos-swal-popup.cn-note-swal .cnp{text-align:left}
.pos-swal-popup.cn-note-swal .cnp-progress{height:3px;background:#f1f5f9}
.pos-swal-popup.cn-note-swal .cnp-progress>i{display:block;height:100%;background:linear-gradient(90deg,#f59e0b,#d97706);border-radius:0 2px 2px 0}
.pos-swal-popup.cn-note-swal .cnp-head{display:flex;align-items:flex-start;gap:12px;padding:18px 20px 14px}
.pos-swal-popup.cn-note-swal .cnp-head__icon{flex:0 0 40px;width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#fffbeb;color:#d97706;font-size:20px}
.pos-swal-popup.cn-note-swal .cnp-head__text{min-width:0;flex:1}
.pos-swal-popup.cn-note-swal .cnp-head__kicker{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#d97706}
.pos-swal-popup.cn-note-swal .cnp-head__title{margin-top:2px;font-size:16px;font-weight:700;line-height:1.35;color:#0f172a;overflow-wrap:anywhere}
.pos-swal-popup.cn-note-swal .cnp-step{flex-shrink:0;display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;background:#fef2f2;color:#b91c1c;font-size:11px;font-weight:700}
.pos-swal-popup.cn-note-swal .cnp-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 20px 14px}
.pos-swal-popup.cn-note-swal .cnp-kpi{min-width:0;padding:10px 10px 9px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}
.pos-swal-popup.cn-note-swal .cnp-kpi__label{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:#64748b}
.pos-swal-popup.cn-note-swal .cnp-kpi__label .ti{font-size:13px;color:#94a3b8}
.pos-swal-popup.cn-note-swal .cnp-kpi__value{display:flex;align-items:center;gap:7px;margin-top:6px;font-size:13px;font-weight:700;color:#0f172a;line-height:1.3;overflow-wrap:anywhere}
.pos-swal-popup.cn-note-swal .cnp-kpi__hint{display:block;margin-top:3px;font-size:11px;font-weight:600;color:#94a3b8}
.pos-swal-popup.cn-note-swal .cnp-avatar{flex:0 0 26px;width:26px;height:26px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:10px;font-weight:800;letter-spacing:.02em}
.pos-swal-popup.cn-note-swal .cnp-body{margin:0 20px;padding:12px 14px;border-radius:12px;background:#fff7ed;border:1px solid #ffedd5;color:#1e293b;font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto}
.pos-swal-popup.cn-note-swal .cnp-foot{display:flex;align-items:flex-start;gap:6px;margin:10px 20px 0;font-size:11px;line-height:1.45;color:#94a3b8}
.pos-swal-popup.cn-note-swal .cnp-foot .ti{margin-top:1px;font-size:13px}
@media (max-width:575.98px){
.pos-swal-popup.cn-note-swal{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important}
.pos-swal-popup.cn-note-swal .cnp-kpis{grid-template-columns:1fr 1fr}
.pos-swal-popup.cn-note-swal .cnp-kpi:first-child{grid-column:1/-1}
.pos-swal-popup.cn-note-swal .cnp-head{padding:16px 16px 12px}
.pos-swal-popup.cn-note-swal .cnp-kpis,.pos-swal-popup.cn-note-swal .cnp-body{margin-left:16px;margin-right:16px}
.pos-swal-popup.cn-note-swal .cnp-kpis{padding-left:0;padding-right:0}
.pos-swal-popup.cn-note-swal .cnp-foot{margin-left:16px;margin-right:16px}
.pos-swal-popup.cn-note-swal .swal2-actions{margin-left:16px;margin-right:16px!important}
}
