/* 遮罩 */
#confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
}

#confirm-overlay.hidden {
  display: none;
}

/* 弹窗主体 */
#confirm-dialog {
  width: 360px;
  padding: 24px 28px;
  border-radius: 16px;

  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);

  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 标题 */
#confirm-title {
  font-size: 20px;
  font-weight: 700;
}

/* 内容文本 */
#confirm-message {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.5em;
}

/* 按钮组合 */
#confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

/* 按钮基础样式 */
#confirm-actions button {
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: 0.15s ease-out;
}

/* 取消按钮 */
.btn-cancel {
  background: #4d4d4d;
  color: #fff;
}
.btn-cancel:hover {
  background: #5d5d5d;
  transform: translateY(-2px);
}

/* 危险按钮 */
.btn-danger {
  background: #d74c4c;
  color: #fff;
}
.btn-danger:hover {
  background: #f25555;
  transform: translateY(-2px);
}
