.sdm-capture-host {
  position: relative !important;
}

.sdm-capture-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2147483000;
  min-width: 148px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 10px;
  background: linear-gradient(135deg, #16d7cd, #07877f);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .32);
  color: #fff !important;
  font: 700 14px/1.2 "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -42%) scale(.94);
  transition: opacity .16s ease, transform .16s ease, background .16s ease;
}

.sdm-capture-host:hover > .sdm-capture-button,
.sdm-capture-button:focus-visible,
.sdm-capture-button[data-state="waiting"],
.sdm-capture-button[data-state="error"] {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.sdm-capture-button[data-state="loading"] {
  opacity: 1;
  pointer-events: none;
  background: #334155;
  transform: translate(-50%, -50%) scale(1);
}

.sdm-capture-button[data-state="waiting"] {
  background: #0f766e;
}

.sdm-capture-button[data-state="error"] {
  background: #c62828;
}

.sdm-detail-capture-button {
  min-width: 172px;
  min-height: 48px;
  font-size: 15px;
}

.sdm-batch-panel {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 2147483600;
  width: 232px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 14px;
  background: rgba(18, 27, 43, .94);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .28);
  color: #fff;
  font: 13px/1.45 "Microsoft YaHei", Arial, sans-serif;
  backdrop-filter: blur(12px);
}

.sdm-batch-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.sdm-batch-button {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #ffc400, #ff8a00);
  color: #1c2433;
  font-weight: 800;
  cursor: pointer;
}

.sdm-batch-button:disabled {
  opacity: .65;
  cursor: wait;
}

.sdm-batch-status {
  min-height: 18px;
  margin-top: 7px;
  color: #cbd5e1;
  font-size: 11px;
}
