/* Visual override for the pinned mCaptcha widget; its DOM and PoW remain unchanged. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Inter-Regular.woff2') format('woff2');
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/Inter-SemiBold.woff2') format('woff2');
}

html {
  color-scheme: dark;
}

html body {
  margin: 0;
  min-width: 0;
  color: #ecf3ef;
  background: #0c1511;
  font: 400 14px/1.5 Inter, sans-serif;
}

html body * {
  box-sizing: border-box;
  font-family: inherit;
}

body .widget__container {
  width: 100%;
  position: relative;
  min-height: 52px;
  height: 52px;
  overflow: hidden;
  margin: 0;
  border: 1px solid #3b5145;
  border-radius: 12px;
  background: #0c1511;
}

body .widget__inner-container {
  flex: 1;
  height: auto;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 3px 15px;
  border: 0;
  border-radius: 12px;
  background: transparent;
}

body .widget__verification-container {
  width: 100%;
  min-height: 44px;
  gap: 10px;
  justify-content: flex-end;
  padding: 0;
  color: #ecf3ef;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

body #widget__verification-text {
  flex: 1;
  overflow-wrap: anywhere;
}

body .widget__verification-checkbox {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: #34d399;
  cursor: inherit;
}

body .widget__verification-checkbox:disabled {
  opacity: .5;
}

body .widget__verification-container:has(:disabled),
body .widget__verification-container:has([aria-valuetext="Processing..."]) {
  color: #9ca3af;
  cursor: progress;
}

body .widget__verification-container:has(:checked) {
  color: #6ee7b7;
}

body .widget__verification-container:has([aria-valuetext="Something went wrong"]),
body .widget__noscript-warning {
  color: #fca5a5;
}

body .widget__container:has([aria-valuetext="Something went wrong"]) {
  border-color: #f87171;
}

body .widget__mcaptcha-details {
  display: none;
}

body .widget__source-code {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0;
  color: #9ca3af;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body .widget__source-code:hover {
  color: #6ee7b7;
}

body a:focus-visible,
body .widget__verification-checkbox:focus-visible {
  outline: 2px solid #6ee7b7;
  outline-offset: 3px;
  border-radius: 4px;
}

body .widget__noscript-container {
  height: auto;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 12px;
}

body .progress__bar {
  position: absolute;
  inset: auto 12px 0;
  width: calc(100% - 24px);
  height: 2px;
  margin: 0;
  background: transparent;
}

body .progress__fill {
  max-width: 100%;
  background: #34d399;
  transition: width .12s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  body .progress__fill {
    transition: none;
  }
}
