

.wa-fc {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  margin: -1px;
  padding: 0;
}

.wa-fc.wa-fc--show {
  position: relative;
  width: 100%;
  height: auto;
  max-width: 300px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  margin: 0.75rem 0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

.wa-fc {
  --altcha-color-base: #ffffff;
  --altcha-color-base-content: #16181d;
  --altcha-color-text: #4b5563;
  --altcha-color-neutral: #e5e7eb;
  --altcha-border-color: #e5e7eb;
  --altcha-color-border: #e5e7eb;
  --altcha-border-width: 1px;
  --altcha-border-radius: 12px;
  --altcha-color-primary: #2563eb;
  --altcha-color-primary-content: #ffffff;
  --altcha-color-success: #16a34a;
  --altcha-color-error: #dc2626;
  --altcha-spinner-color: #2563eb;
  --altcha-checkbox-border-color: #9ca3af;
  --altcha-shadow: none;

  --altcha-max-width: 100%;

  --altcha-padding: 0.875rem;

  --wa-fc-accent: #2563eb;
}

[data-theme*="dark"] .wa-fc {
  --altcha-color-base: #1c1f26;
  --altcha-color-base-content: #e6e8ec;
  --altcha-color-text: #aab1bd;
  --altcha-color-neutral: #2b303a;
  --altcha-border-color: #343b47;
  --altcha-color-border: #343b47;
  --altcha-color-primary: #5b8cff;
  --altcha-spinner-color: #5b8cff;
  --altcha-checkbox-border-color: #5a6472;
  --wa-fc-accent: #5b8cff;
}

@media (prefers-color-scheme: dark) {
  .wa-fc {
    --altcha-color-base: #1c1f26;
    --altcha-color-base-content: #e6e8ec;
    --altcha-color-text: #aab1bd;
    --altcha-color-neutral: #2b303a;
    --altcha-border-color: #343b47;
    --altcha-color-border: #343b47;
    --altcha-color-primary: #5b8cff;
    --altcha-spinner-color: #5b8cff;
    --altcha-checkbox-border-color: #5a6472;
    --wa-fc-accent: #5b8cff;
  }

  [data-theme]:not([data-theme*="dark"]) .wa-fc {
    --altcha-color-base: #ffffff;
    --altcha-color-base-content: #16181d;
    --altcha-color-text: #4b5563;
    --altcha-color-neutral: #e5e7eb;
    --altcha-border-color: #e5e7eb;
    --altcha-color-border: #e5e7eb;
    --altcha-color-primary: #2563eb;
    --altcha-spinner-color: #2563eb;
    --altcha-checkbox-border-color: #9ca3af;
    --wa-fc-accent: #2563eb;
  }
}

.wa-fc .altcha-logo,
.wa-fc .altcha-footer {
  display: none !important;
}

.wa-fc .altcha {
  width: 100%;
  max-width: 100%;
  border: 0;
  background: none;
  padding: 0;
}

.wa-fc__card {
  position: relative;
}

.wa-fc .altcha-main {
  position: relative;
  min-height: 65px;
  justify-content: center;
}

.wa-fc .altcha-checkbox-wrap {
  padding-right: 4.75rem;
}

.wa-fc__side {
  position: absolute;

  top: 50%;
  transform: translateY(-50%);
  right: 0.875rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  max-width: 45%;
  text-align: right;
}

.wa-fc__brand {
  width: 1.5rem;
  height: 1.5rem;
  pointer-events: none;
  display: block;
  color: var(--wa-fc-accent);
}
.wa-fc__brand svg {
  width: 100%;
  height: 100%;
  display: block;
}
.wa-fc__brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;

  max-width: 1.5rem;
  max-height: 1.5rem;
}

.wa-fc__wordmark {
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--altcha-color-base-content);
  text-decoration: none;
  opacity: 0.85;
}
.wa-fc__wordmark:hover {
  opacity: 1;
  color: var(--altcha-color-primary);
}

.wa-fc__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.5625rem;
  line-height: 1.3;
  color: var(--altcha-color-text);
  opacity: 0.9;
}
.wa-fc__foot a {
  color: var(--altcha-color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wa-fc__foot a:hover {
  color: var(--altcha-color-primary);
}
