/**
 * BWA Altcha - Styles du widget
 */

altcha-widget {
    display: block;
    margin: 12px 0;
    font-family: inherit;
}

/* Mode visible : ne pas casser les rangées inline (bloc newsletter du footer) */
.block_newsletter altcha-widget:not([auto]),
.input__wrapper altcha-widget:not([auto]) {
    flex: 0 0 100%;
    width: 100%;
    margin: 8px 0 0;
}

/* Champ leurre (honeypot) : jamais visible, jamais cliquable.
   Le masquage est aussi posé en inline par le JS : cette règle n'est qu'un filet. */
.bwaaltcha-hp {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Mode invisible : masqué visuellement mais toujours fonctionnel */
altcha-widget[auto] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    margin: 0;
}
