.pk-custom-alert-popup-bg{position:fixed;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.35);backdrop-filter:saturate(120%) blur(2px);z-index:9998;}
.pk-custom-alert-popup{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:440px;max-width:calc(100% - 40px);background:#fff;border-radius:18px;padding:26px 22px;z-index:9999;box-shadow:0 16px 48px rgba(0,0,0,.18);text-align:center;}
.pk-alert-ico{display:flex;justify-content:center;align-items:center;margin-bottom:10px;}
.pk-alert-msg{font-size:15px;line-height:1.55;color:#222;white-space:pre-line;margin-bottom:18px;}
.pk-alert-btns{display:flex;justify-content:center;gap:6px;}
.pk-alert-btn{display:inline-flex;align-items:center;justify-content:center;min-width:120px;height:42px;border-radius:12px;border:1px solid #d7d7d7;background:#fff;color:#111;font-size:14px;cursor:pointer;}
.pk-btn-ok{border:0;background:#111;color:#fff;}
.pk-btn-ok:hover{opacity:.92;}
.pk-btn-cancel:hover{background:#f5f5f5;}
.pk-alert-success .pk-btn-ok{background:#0b6b3a;}
.pk-alert-error .pk-btn-ok{background:#b42318;}
.pk-alert-warning .pk-btn-ok{background:#b54708;}
.pk-alert-info .pk-btn-ok{background:#1d4ed8;}

.pk-toast-wrap{position:fixed;left:50%;top:18px;transform:translateX(-50%);width:520px;max-width:calc(100% - 24px);display:flex;flex-direction:column;gap:8px;z-index:10000;pointer-events:none;}
.pk-toast{display:flex;align-items:flex-start;gap:10px;background:rgba(17,17,17,.92);color:#fff;border-radius:14px;padding:12px 14px;box-shadow:0 14px 40px rgba(0,0,0,.22);transform:translateY(-8px);opacity:0;transition:transform .18s ease,opacity .18s ease;pointer-events:auto;cursor:pointer;}
.pk-toast.is-on{transform:translateY(0);opacity:1;}
.pk-toast.is-off{transform:translateY(-8px);opacity:0;}
.pk-toast-ico{display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;}
.pk-toast-msg{font-size:14px;line-height:1.45;white-space:pre-line;}
.pk-toast-success{background:rgba(11,107,58,.94);}
.pk-toast-error{background:rgba(180,35,24,.94);}
.pk-toast-warning{background:rgba(181,71,8,.94);}
.pk-toast-info{background:rgba(29,78,216,.94);}

@media (max-width:520px){
.pk-custom-alert-popup{width:calc(100% - 30px);padding:22px 18px;border-radius:16px;}
.pk-alert-btns{flex-direction:column;gap:8px;}
.pk-alert-btn{width:100%;min-width:0;height:44px;border-radius:14px;}
.pk-toast-wrap{top:auto;bottom:16px;width:calc(100% - 24px);}
.pk-toast{border-radius:16px;}
}