/**
 * ============================================================
 * ROSCOE IMÓVEIS - ESTILOS VISUAIS PARA FORMULÁRIOS & LEADS
 * ============================================================
 */

/* Honeypot invisível */
.roscoe-hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* Spinner de Envio */
.roscoe-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: roscoe-spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes roscoe-spin {
    to { transform: rotate(360deg); }
}

/* Mensagem de Erro */
.roscoe-form-error {
    display: none;
    background-color: #fde8e8;
    color: #9b1c1c;
    border: 1px solid #f8b4b4;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Bloco de Sucesso Pós-Submissão */
.roscoe-form-success {
    display: none;
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 8px;
    animation: roscoe-fade-in 0.4s ease-out forwards;
}

.roscoe-form-success.is-active {
    display: block !important;
}

.roscoe-success-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #def7ec;
    color: #0e9f6e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.roscoe-success-icon-wrap svg {
    width: 32px;
    height: 32px;
}

.roscoe-success-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
}

.roscoe-success-desc {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.roscoe-btn-whatsapp-direct {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #25D366;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 4px 6px -1px rgba(37, 211, 102, 0.2), 0 2px 4px -1px rgba(37, 211, 102, 0.1);
}

.roscoe-btn-whatsapp-direct:hover {
    background-color: #20ba59;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.roscoe-btn-whatsapp-direct svg {
    width: 20px;
    height: 20px;
}

@keyframes roscoe-fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
