#uba-whatsapp-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}
.uba-whatsapp-trigger {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.trigger-icon {
    width: 60px;
    height: 60px;
    background-color: #0074FF;
    color: #F9FCFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}
.trigger-icon:hover { transform: scale(1.1); }

.trigger-tooltip {
    background-color: white;
    padding: 8px 15px;
    border-radius: 8px;
    margin-right: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s;
    white-space: nowrap; 
}

/* Animação do tooltip ao passar o mouse (hover) */
.uba-whatsapp-trigger:hover .trigger-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.trigger-tooltip.show-initial {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}


.uba-whatsapp-form-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}
.uba-whatsapp-form-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.form-header {
    background-color: #0074FF;
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.form-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}
.form-body { padding: 15px; }
#uba-whatsapp-form input, #uba-whatsapp-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}
#uba-whatsapp-form button {
    width: 100%;
    padding: 12px;
    font-size: 16px!important;
    border: none;
    background-color: #0074FF;
    color: #F9FCFF;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

button.form-close {
    border: none !important;
}

#uba-whatsapp-form input, #uba-whatsapp-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

#uba-whatsapp-form button {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: #0074FF;
    color: #F9FCFF;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    position: relative; 
    transition: all 0.3s ease; 
}

/* Adiciona a seta usando um pseudo-elemento ::after */
#uba-whatsapp-form button::after {
    content: '\f061'; 
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

/* Efeito de hover */
#uba-whatsapp-form button:hover {
    background-color: #064A86;
    color: #F9FCFF;
    padding-right: 40px; 
}

#uba-whatsapp-form button:hover::after {
    opacity: 1; /* Mostra a seta no hover */
}