/* PosNerd modern alerts: restyles SweetAlert (v1, .sweet-alert) and SweetAlert2 (.swal2-popup)
   on every screen. White card, round icon on top, big black buttons with green letters. */

/* ---------- SweetAlert v1 ---------- */
.sweet-overlay{background:rgba(5,6,5,.55)!important;backdrop-filter:blur(3px)}
.sweet-alert{font-family:"Poppins","Segoe UI",Arial,sans-serif!important;background:#fff!important;border-radius:20px!important;
  box-shadow:0 24px 60px rgba(0,0,0,.35)!important;padding:30px 28px 24px!important;width:400px!important;max-width:calc(100vw - 32px)!important;
  margin-left:0!important;transform:translateX(-50%)!important;left:50%!important}
.sweet-alert h2{font-size:21px!important;font-weight:600!important;color:#111!important;margin:0 0 6px!important;line-height:1.3!important}
.sweet-alert p{font-size:14.5px!important;color:#6b7280!important;line-height:1.5!important;margin:0 0 22px!important;font-weight:400!important}
/* round icons (the old drawn ones are hidden) */
.sweet-alert .sa-icon{width:62px!important;height:62px!important;border:0!important;border-radius:50%!important;margin:0 auto 14px!important;
  background-repeat:no-repeat!important;background-position:center!important;background-size:30px 30px!important;animation:none!important}
.sweet-alert .sa-icon>*{display:none!important}
.sweet-alert .sa-icon.sa-error{background-color:#fef2f2!important;box-shadow:0 0 0 8px #fff5f5!important;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23dc2626%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22/%3E%3Cpath%20d%3D%22M12%207.5v5.5M12%2016.5h.01%22/%3E%3C/svg%3E")!important}
.sweet-alert .sa-icon.sa-warning{background-color:#fffbeb!important;box-shadow:0 0 0 8px #fffdf3!important;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23d97706%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22/%3E%3Cpath%20d%3D%22M12%207.5v5.5M12%2016.5h.01%22/%3E%3C/svg%3E")!important}
.sweet-alert .sa-icon.sa-info{background-color:#eff6ff!important;box-shadow:0 0 0 8px #f5f9ff!important;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22/%3E%3Cpath%20d%3D%22M12%2011v5.5M12%207.5h.01%22/%3E%3C/svg%3E")!important}
.sweet-alert .sa-icon.sa-success{background-color:#ecfdf3!important;box-shadow:0 0 0 8px #f4fdf7!important;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2316a34a%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012.5l4.5%204.5L19%207.5%22/%3E%3C/svg%3E")!important}
.sweet-alert .sa-icon.sa-info::before,.sweet-alert .sa-icon.sa-info::after,.sweet-alert .sa-icon.sa-success::before,.sweet-alert .sa-icon.sa-success::after{display:none!important}
/* an alert with no type ("Alert!") gets the red icon too */
.sweet-alert:not(:has(.sa-icon[style*="block"])) h2::before{content:"";display:block;width:62px;height:62px;border-radius:50%;margin:0 auto 14px;
  background:#fef2f2 url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23dc2626%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22/%3E%3Cpath%20d%3D%22M12%207.5v5.5M12%2016.5h.01%22/%3E%3C/svg%3E") no-repeat center/30px 30px;box-shadow:0 0 0 8px #fff5f5}
/* buttons */
.sweet-alert .sa-button-container{display:flex!important;gap:10px!important;flex-direction:row!important}
.sweet-alert .sa-confirm-button-container{flex:1!important;display:block!important}
.sweet-alert button{height:50px!important;border-radius:12px!important;border:0!important;margin:0!important;padding:0 18px!important;width:100%!important;
  font:500 16px "Poppins","Segoe UI",Arial,sans-serif!important;box-shadow:none!important;cursor:pointer}
.sweet-alert button.confirm{background:#0b0b0b!important;color:#22c55e!important}
.sweet-alert button.confirm:hover{background:#1a1a1a!important}
.sweet-alert button.cancel{flex:1!important;background:#f3f4f6!important;color:#111!important}
.sweet-alert button.cancel:hover{background:#e5e7eb!important}
.sweet-alert fieldset input{border-radius:10px!important;border:1px solid #d1d5db!important;height:46px!important;font-size:15px!important;box-shadow:none!important}

/* ---------- SweetAlert2 (kitchen / bar / waiter screens) ---------- */
.swal2-container.swal2-backdrop-show{background:rgba(5,6,5,.55)!important}
.swal2-popup{font-family:"Poppins","Segoe UI",Arial,sans-serif!important;border-radius:20px!important;padding:30px 28px 24px!important;
  box-shadow:0 24px 60px rgba(0,0,0,.35)!important;width:400px!important;max-width:calc(100vw - 32px)!important}
.swal2-title{font-size:21px!important;font-weight:600!important;color:#111!important;padding:0!important}
.swal2-html-container,.swal2-content{font-size:14.5px!important;color:#6b7280!important}
.swal2-actions{width:100%!important;gap:10px;flex-wrap:nowrap!important}
.swal2-actions button{flex:1;height:50px!important;border-radius:12px!important;margin:0!important;font:500 16px "Poppins","Segoe UI",Arial,sans-serif!important;box-shadow:none!important}
.swal2-confirm{background:#0b0b0b!important;color:#22c55e!important}
.swal2-cancel,.swal2-deny{background:#f3f4f6!important;color:#111!important}
