.confirm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 16px;
}
.confirm-backdrop.open { display: flex; }

.confirm-dialog {
  width: min(92vw, 360px);
  background: #fff;
  border-radius: 16px;
  padding: 20px 20px 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line, #eee);
}
.confirm-dialog-title {
  font-size: 16px;
  font-weight: 800;
  color: #333;
  margin-bottom: 10px;
}
.confirm-dialog-message {
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  margin-bottom: 18px;
  word-break: break-word;
}
.confirm-dialog-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 18px;
  padding: 10px 12px;
  border: 1.5px solid var(--line, #eee);
  border-radius: 10px;
  font-size: 14px;
  color: #333;
  background: #fff;
}
.confirm-dialog-input:focus {
  outline: none;
  border-color: var(--accent, #ff8fb1);
  box-shadow: 0 0 0 2px var(--focus-ring, rgba(255, 143, 177, 0.25));
}
.confirm-dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.confirm-dialog-actions .tbtn.danger {
  background: #e53935;
  color: #fff;
  border: none;
}
.confirm-dialog-actions .tbtn.danger:hover {
  background: #d32f2f;
}
body.confirm-open { overflow: hidden; }
