/* WhatsApp Screen */
.widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.widget-container.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.widget-content {
    background-color: #ffffff;
    width: 320px;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
    text-align: center;
    position: relative;
}

.widget-content h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.5rem;
}

.widget-content p {
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.close-button {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.close-button:hover {
    color: #333;
}

.form-group {
    margin-bottom: 1rem;
}

#phone-number {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.9rem;
    box-sizing: border-box;
}

.cta-button {
    width: 100%;
    padding: 12px;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cta-button:hover {
    background-color: #1EBE57;
}

/* Ajustes para telas menores (Responsividade) */
@media (max-width: 400px) {
    .widget-container {
        bottom: 10px;
        right: 10px;
        left: 10px;
    }

    .widget-content {
        width: 100%;
    }
}