/**
 * 2026 Labelgrup
 *
 * @author    Labelgrup Networks S.L. <web@labelgrup.com>
 * @copyright 2026 Labelgrup
 * @license   https://opensource.org/license/afl-3-0-php/ Academic Free License (AFL-3.0)
 */

.lblrecaptcha {
  width: 100%;
  margin: 0.75rem 0;
}

.lblrecaptcha:empty {
  display: none;
}

.lblrecaptcha__widget > div {
  max-width: 100%;
}

/* The v2 checkbox is 304px wide: scale it down on very narrow screens */
@media (max-width: 340px) {
  .lblrecaptcha__widget {
    transform: scale(0.85);
    transform-origin: 0 0;
  }
}

.lblrecaptcha__notice {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  opacity: 0.8;
}

.lblrecaptcha-error {
  margin: 0.5rem 0 0;
}

.lblrecaptcha-error[hidden] {
  display: none;
}

/* Allowed by Google only when the notice above is displayed */
.lblrecaptcha-hide-badge .grecaptcha-badge {
  visibility: hidden;
}
