/* Nascondi badge reCAPTCHA */
.grecaptcha-badge {
    visibility: hidden !important;
}

#whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#whatsapp-icon img {
    width: 40px;
    height: 40px;
}

#chat-widget {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 999;
}

#chat-header {
    background-color: #25D366;
    color: white;
    padding: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#close-chat {
    cursor: pointer;
    font-size: 20px;
}

#chat-body {
    height: 300px;
    background-color: #ECE5DD;
    padding: 15px;
    overflow-y: auto;
}

#chat-input-container {
    display: flex;
    border-top: 1px solid #ccc;
}

#chat-input {
    flex-grow: 1;
    padding: 15px;
    border: none;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#send-button {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
}

.message {
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    max-width: 80%;
}

#preview-message {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 250px;
    z-index: 998;
    display: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

#close-preview {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #888;
}

#jumping-dots {
    position: fixed;
    bottom: 100px;
    right: 20px;
    display: none;
    z-index: 997;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #25D366;
    margin-right: 5px;
    animation: jump 1s infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes jump {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}
