/* =========================================================
   Pixell.bg — Google reCAPTCHA V2
   Version: 1.0.0
   Не променя вътрешния Google widget.
   Оформя само контейнера около него.
========================================================= */

body.pixell-site .contact-recaptcha-field {
    display: grid;
    gap: 8px;
}

body.pixell-site .contact-recaptcha-label {
    color: var(--contact-dark);
    font-size: 12px;
    font-weight: 900;
}

body.pixell-site .contact-recaptcha-label span {
    color: var(--contact-coral);
}

body.pixell-site .contact-recaptcha-shell {
    position: relative;
    display: flex;
    min-height: 92px;
    padding: 12px;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(255, 229, 143, 0.24),
            transparent 125px
        ),
        linear-gradient(
            145deg,
            #fbfcff,
            #fffdf8
        );
    border: 1px solid #dfe6ef;
    border-radius: 15px;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

body.pixell-site .contact-recaptcha-shell:focus-within {
    background: #ffffff;
    border-color: rgba(109, 169, 207, 0.75);
    box-shadow:
        0 0 0 4px rgba(169, 217, 240, 0.22);
}

body.pixell-site .contact-recaptcha-shell::after {
    position: absolute;
    top: -34px;
    right: -34px;
    width: 92px;
    height: 92px;
    content: "";
    pointer-events: none;
    background: rgba(204, 239, 220, 0.35);
    border-radius: 50%;
}

body.pixell-site .contact-recaptcha-widget {
    position: relative;
    z-index: 2;
    width: 304px;
    max-width: 100%;
    transform-origin: left center;
}

body.pixell-site .contact-recaptcha-note {
    margin: 0;
    color: var(--contact-text);
    font-size: 10px;
    line-height: 1.5;
}

@media (max-width: 420px) {
    body.pixell-site .contact-recaptcha-shell {
        min-height: 84px;
        padding: 10px;
    }

    body.pixell-site .contact-recaptcha-widget {
        width: 304px;
        transform: scale(0.84);
    }

    body.pixell-site .contact-recaptcha-shell {
        height: 84px;
    }
}

@media (max-width: 360px) {
    body.pixell-site .contact-recaptcha-widget {
        transform: scale(0.76);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.pixell-site .contact-recaptcha-shell {
        transition: none;
    }
}

.contact-recaptcha-widget {
    position: relative;
    z-index: 2;
    display: block;
    min-height: 78px;
}

.contact-recaptcha-widget > div,
.contact-recaptcha-widget iframe {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-recaptcha-load-error {
    margin: 12px 0 0;
    color: #a94e55;
    font-size: 14px;
    line-height: 1.5;
}

.contact-recaptcha-load-error[hidden] {
    display: none !important;
}
