/* Gildner Captcha for Fluent Forms */

.gffc-captcha {
    margin-bottom: 8px;
}

.gffc-captcha__challenge {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 40px;
}

.gffc-captcha__image {
    display: block;
    max-width: 100%;
    height: auto;
    image-rendering: auto;
    user-select: none;
    -webkit-user-drag: none;
}

.gffc-captcha__text {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1.25em;
    letter-spacing: 0.15em;
}

.gffc-captcha__placeholder {
    opacity: 0.7;
    font-size: 0.9em;
}

.gffc-is-error .gffc-captcha__placeholder {
    opacity: 1;
    color: #b00020;
}

.gffc-captcha__refresh {
    background: none;
    border: 1px solid currentColor;
    border-radius: 4px;
    color: inherit;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 4px 8px;
    opacity: 0.75;
}

.gffc-captcha__refresh:hover,
.gffc-captcha__refresh:focus-visible {
    opacity: 1;
}

.gffc-is-loading .gffc-captcha__refresh {
    pointer-events: none;
    opacity: 0.4;
}

.gffc-captcha__hint {
    margin: 4px 0 0;
    font-size: 0.85em;
    opacity: 0.8;
}

.gffc-captcha__noscript {
    color: #b00020;
    font-size: 0.9em;
}

/* Honeypot: moved off-screen rather than display:none so naive bots still see it. */
.gffc-captcha__hp {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
