/* Aviso de Caps Lock - template de login EzyColor */
.ezy-aviso-caps-lock {
    display: none;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 8px 0 2px;
    padding: 9px 11px;
    border: 1px solid rgba(245, 176, 65, 0.72);
    border-radius: 5px;
    background: rgba(152, 89, 11, 0.32);
    color: #fff1ce;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    text-align: left;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}
.ezy-aviso-caps-lock.ativo {
    display: flex;
}
.ezy-aviso-caps-lock svg {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    stroke: #f6bd5f;
}

/* reCAPTCHA - template de login EzyColor */
.ezy-recaptcha-box {
    overflow: hidden;
    margin: 4px 0 14px;
    border: 1px solid rgba(224, 141, 40, 0.56);
    border-radius: 6px;
    background: rgba(12, 14, 19, 0.66);
    box-shadow: 0 5px 13px rgba(0, 0, 0, 0.22);
}

.ezy-recaptcha-cabecalho {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    padding: 5px 8px 5px 10px;
    border-bottom: 1px solid rgba(224, 141, 40, 0.42);
    background: linear-gradient(90deg, rgba(58, 73, 98, 0.98), rgba(42, 51, 69, 0.98));
}

.ezy-recaptcha-titulo {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 6px;
    color: #f3f6fb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.32px;
    line-height: 14px;
    text-transform: uppercase;
}

.ezy-recaptcha-titulo svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    stroke: #f5a23a;
}

.ezy-recaptcha-conteudo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 94px;
    padding: 8px 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
}

.ezy-recaptcha-widget {
    width: 304px;
    max-width: 100%;
    min-height: 78px;
}

.ezy-recaptcha-widget .g-recaptcha {
    transform-origin: left center;
}

.ezy-btn-atualizar-recaptcha {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 98px;
    height: 24px;
    flex: 0 0 auto;
    padding: 0 8px;
    border: 1px solid rgba(245, 185, 97, 0.90);
    border-radius: 14px;
    background: rgba(12, 17, 25, 0.34);
    color: #fff3dc;
    cursor: pointer;
    font-family: inherit;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.24px;
    line-height: 22px;
    text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.ezy-btn-atualizar-recaptcha:hover {
    border-color: #ffbf62;
    background: rgba(232, 132, 28, 0.30);
    color: #ffffff;
}

.ezy-btn-atualizar-recaptcha:focus {
    outline: 2px solid rgba(255, 193, 107, 0.74);
    outline-offset: 2px;
}

.ezy-btn-atualizar-recaptcha:disabled {
    cursor: wait;
    opacity: 0.65;
}

.ezy-btn-atualizar-recaptcha.ativo svg {
    animation: ezy-recaptcha-girar 0.75s linear infinite;
}

.ezy-btn-atualizar-recaptcha svg {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    stroke: currentColor;
}

.ezy-recaptcha-mensagem {
    display: none;
    margin: -6px 0 10px;
    padding: 8px 10px;
    border: 1px solid rgba(224, 93, 93, 0.55);
    border-radius: 5px;
    background: rgba(144, 34, 34, 0.25);
    color: #ffc3c3;
    font-size: 11px;
    font-weight: 600;
    line-height: 15px;
}

.ezy-recaptcha-mensagem.ativo {
    display: block;
}

@keyframes ezy-recaptcha-girar {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 390px) {
    .ezy-recaptcha-cabecalho {
        padding-right: 6px;
        padding-left: 8px;
    }

    .ezy-recaptcha-titulo {
        gap: 4px;
        font-size: 9px;
        letter-spacing: 0.18px;
    }

    .ezy-btn-atualizar-recaptcha {
        min-width: 88px;
        padding: 0 6px;
        font-size: 8px;
    }
}

@media (max-width: 340px) {
    .ezy-recaptcha-conteudo {
        min-height: 78px;
        padding: 7px 5px;
    }

    .ezy-recaptcha-widget {
        width: 274px;
        min-height: 70px;
    }

    .ezy-recaptcha-widget .g-recaptcha {
        transform: scale(0.90);
    }
}
