.ccw-container {
    position: fixed;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: slideIn 0.5s ease-in-out;
}

.ccw-container.bottom-right {
    right: 20px;
}

.ccw-container.bottom-left {
    left: 20px;
}

.ccw-widget {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    text-decoration: none;
    border-radius: 50%;
    font-size: 28px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, #007bff, #00c6ff);
}

.ccw-widget img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.ccw-widget:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Tooltip (only shows if title attribute exists) */
.ccw-widget[title]::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    margin-bottom: 10px;
}

.ccw-widget[title]:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Specific widget styles */
.ccw-whatsapp {
    background: linear-gradient(135deg, #25D366, #20c15a);
}

.ccw-phone {
    background: linear-gradient(135deg, #28a745, #34d058);
}

.ccw-email {
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
}

.ccw-facebook {
    background: linear-gradient(135deg, #3b5998, #4c70ba);
}

.ccw-instagram {
    background: linear-gradient(135deg, #e1306c, #f77737);
}
.ccw-youtube {
    background: linear-gradient(135deg, #fc0000, #fc0000);
}
.ccw-link, .ccw-custom {
    background: linear-gradient(135deg, #6f42c1, #9b59b6);
}

/* Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .ccw-widget {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .ccw-widget img {
        width: 24px;
        height: 24px;
    }
}