/* Estilos do widget PoW e overlay DevTools — Dark Frosted Glass CheckerVega (CSP style-src 'self'). */
.prot-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  background: rgba(6, 8, 15, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #eef2f8;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.prot-overlay-card {
  max-width: 420px;
  padding: 26px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(16, 20, 32, 0.85);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

.prot-overlay-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #f87171;
}

.prot-overlay-msg {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #b4c0d4;
}

.prot-honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.prot-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(12, 16, 28, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #e2e8f0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  transition: border-color .18s, background .18s;
}

.prot-box-ok {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.10);
}

.prot-box-erro {
  border-color: rgba(239, 68, 68, 0.55);
  background: rgba(239, 68, 68, 0.11);
}

.prot-status-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.prot-spinner {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: #818cf8;
  border-radius: 50%;
  animation: prot-spin 0.8s linear infinite;
}

@keyframes prot-spin {
  to { transform: rotate(360deg); }
}

.prot-check-ico {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #22c55e;
  color: #052e16;
  font-size: 11px;
  font-weight: 800;
}

.prot-manual-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  color: #e2e8f0;
}

.prot-manual-check {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #6366f1;
}

.prot-slider-wrap,
.prot-hold-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.prot-track {
  position: relative;
  height: 40px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  user-select: none;
  touch-action: none;
}

.prot-track-ok {
  border-color: rgba(34, 197, 94, 0.55);
}

.prot-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background: rgba(99, 102, 241, 0.25);
  pointer-events: none;
}

.prot-track-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 44px;
  text-align: center;
  font-size: 12.5px;
  color: #cbd5e1;
  pointer-events: none;
}

.prot-handle {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #6366f1;
  color: #fff;
  font-weight: 700;
  cursor: grab;
  touch-action: none;
}

.prot-handle:active {
  cursor: grabbing;
}

.prot-handle-ok {
  background: #22c55e;
  color: #052e16;
  cursor: default;
}

.prot-hold-btn {
  position: relative;
  width: 100%;
  height: 40px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #eef2f8;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  touch-action: none;
}

.prot-hold-btn-text {
  position: relative;
  z-index: 1;
}

.prot-retry-btn {
  margin-left: 6px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #a5b4fc;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.prot-badge {
  flex-shrink: 0;
  font-size: 10px;
  color: #7e8ba3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
