/**
 * 管理后台语义化按钮：同名按钮在各页面颜色与风格一致。
 * 配合 admin-buttons.js 的 classFor(label) 使用。
 */
button.btn-edit,
button.btn-publish {
  background: #16a34a;
  color: #fff;
}

button.btn-delete,
button.danger {
  background: #dc2626;
  color: #fff;
}

button.btn-save {
  background: #2563eb;
  color: #fff;
}

button.btn-add {
  background: #059669;
  color: #fff;
}

button.btn-view,
button.btn-cancel,
button.secondary {
  background: var(--secondary, #64748b);
  color: var(--secondary-text, #fff);
}

button.btn-archive {
  background: #ea580c;
  color: #fff;
}

button.btn-revert {
  background: #64748b;
  color: #fff;
}

button.btn-restore {
  background: #0d9488;
  color: #fff;
}

button.btn-freeze {
  background: #0ea5e9;
  color: #fff;
}

button.btn-unfreeze {
  background: #0d9488;
  color: #fff;
}

button.btn-toggle {
  background: #6366f1;
  color: #fff;
}

button.success,
button.btn-publish {
  background: #16a34a;
  color: #fff;
}

button.linkish {
  background: var(--linkish-bg, #e2e8f0);
  color: var(--linkish-text, #334155);
}

button.btn-edit:disabled,
button.btn-delete:disabled,
button.btn-save:disabled,
button.btn-add:disabled,
button.btn-publish:disabled,
button.btn-freeze:disabled,
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
