.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(3px);
  animation: fadeIn 0.12s ease;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  width: 400px;
  max-width: 90vw;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.15s ease;
  overflow: hidden;
}

.header {
  padding: 18px 20px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
}

.body {
  padding: 10px 20px 18px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
  white-space: pre-line;
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface2);
}

.cancelBtn {
  background: none;
  border: 1px solid var(--border2);
  border-radius: 6px;
  color: var(--text-2);
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  transition: all 0.12s;
}
.cancelBtn:hover {
  color: var(--text);
  border-color: var(--text-3);
  background: var(--surface3);
}

.confirmBtn {
  background: var(--green);
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--sans);
  cursor: pointer;
  transition: opacity 0.12s;
}
.confirmBtn:hover { opacity: 0.85; }

.confirmBtn.danger {
  background: var(--red);
  color: #fff;
}

@keyframes fadeIn  { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }
