.antx-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.antx-confirm-modal.is-open {
  display: flex;
}

.antx-confirm-card {
  width: min(380px, 100%);
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2), 0 4px 16px rgba(15, 23, 42, 0.08);
}

.antx-confirm-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
  font-family: "Manrope", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.antx-confirm-text {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
}

.antx-confirm-check {
  display: block;
  margin: 0 0 16px;
  font-size: 12.5px;
  color: #64748b;
}

.antx-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.antx-confirm-cancel {
  background: #f1f5f9;
  color: #475569;
  border: 0;
  border-radius: 9px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.antx-confirm-cancel:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.antx-confirm-delete {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  border: 0;
  border-radius: 9px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.4);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.antx-confirm-delete:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.5);
  transform: translateY(-1px);
}

@keyframes antx-spin {
  to {
    transform: rotate(360deg);
  }
}

