.confirm-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 24px; border: 0; background: transparent; }
.confirm-dialog[open] { display: grid; place-items: center; }
.confirm-dialog::backdrop { background: rgba(14, 20, 29, .56); backdrop-filter: blur(2px); }
.confirm-dialog-card { width: min(420px, 100%); overflow: hidden; border: 1px solid #e5e8ec; border-radius: 15px; background: #fff; color: #18202b; box-shadow: 0 18px 55px rgba(20, 28, 40, .2); animation: confirm-in .18s ease; }
.confirm-dialog-body { padding: 24px 23px 20px; }
.confirm-dialog-icon { width: 38px; height: 38px; margin-bottom: 15px; border-radius: 11px; display: grid; place-items: center; background: #fff0f1; color: #b93643; font-size: 19px; font-weight: 800; }
.confirm-dialog-card h2 { margin: 0; font-size: 18px; letter-spacing: -.025em; }
.confirm-dialog-card p { margin: 9px 0 0; color: #687281; font-size: 12px; line-height: 1.65; white-space: pre-line; }
.confirm-dialog-actions { min-height: 64px; padding: 12px 18px; border-top: 1px solid #e8eaee; display: flex; justify-content: flex-end; gap: 8px; background: #fbfcfd; }
.confirm-dialog-actions button { min-height: 40px; padding: 0 16px; border: 1px solid #dfe3e8; border-radius: 9px; background: #fff; color: #394352; cursor: pointer; font: inherit; font-weight: 650; }
.confirm-dialog-actions .confirm-dialog-submit { border-color: #c83f49; background: #c83f49; color: #fff; }
.confirm-dialog-actions .confirm-dialog-submit:hover { border-color: #ae313c; background: #ae313c; }
@keyframes confirm-in { from { opacity: 0; transform: translateY(7px) scale(.985); } }

@media (max-width: 560px) {
  .confirm-dialog { padding: 0; }
  .confirm-dialog[open] { align-items: end; }
  .confirm-dialog-card { width: 100%; border-width: 1px 0 0; border-radius: 17px 17px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .confirm-dialog-body { padding: 23px 20px 20px; }
  .confirm-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; padding: 12px 14px; }
  .confirm-dialog-actions button { min-height: 46px; }
}
