/* Estilos customizados para hCaptcha - Exchange do Bem */

/* Container do hCaptcha */
.h-captcha {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5em 0;
}

/* Ajustes para o iframe do hCaptcha */
.h-captcha iframe {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos para Toastify customizados */
.toastify {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    z-index: 2147483647 !important;
    position: fixed !important;
    pointer-events: auto !important;
}

.toastify.on {
    opacity: 1 !important;
    z-index: 2147483647 !important;
}

/* Toast de sucesso */
.toastify-success {
    background: linear-gradient(135deg, #A8CF45 0%, #54BED6 100%) !important;
    z-index: 2147483647 !important;
}

/* Toast de erro */
.toastify-error {
    background: linear-gradient(135deg, #f44336 0%, #e91e63 100%) !important;
    z-index: 2147483647 !important;
}

/* Garantir que o container do toast esteja sempre por cima */
.toastify-container {
    z-index: 2147483647 !important;
    position: fixed !important;
}

/* Responsivo para mobile */
@media only screen and (max-width: 667px) {
    .h-captcha {
        transform: scale(0.85);
        transform-origin: center;
    }
    
    .toastify {
        font-size: 14px !important;
        padding: 12px 20px !important;
        max-width: 90% !important;
        margin: 0 auto !important;
    }
}

/* Ajustes para o formulário com hCaptcha */
.form-tenho-interesse-24 .h-captcha {
    margin-bottom: 1.5em;
}

/* Loading state para o botão de envio */
.form-tenho-interesse-24 input[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Animação de fade in para o hCaptcha */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.h-captcha {
    animation: fadeIn 0.3s ease-in-out;
}
