/* Condivisione Sociale - Public Styles */

.cs-social-buttons {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.cs-social-buttons.cs-style-horizontal {
    flex-direction: row;
    flex-wrap: wrap;
}

.cs-social-buttons.cs-style-vertical {
    flex-direction: column;
}

.cs-social-button {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #333;
}

.cs-social-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.cs-social-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    border-radius: 4px;
}

.cs-social-label {
    font-size: 14px;
    font-weight: 500;
}

/* Size variations */
.cs-size-small .cs-social-icon {
    width: 20px;
    height: 20px;
    margin-right: 6px;
}

.cs-size-small .cs-social-label {
    font-size: 12px;
}

.cs-size-small .cs-social-button {
    padding: 6px 10px;
}

.cs-size-large .cs-social-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.cs-size-large .cs-social-label {
    font-size: 16px;
}

.cs-size-large .cs-social-button {
    padding: 12px 16px;
}

/* Specific social media colors */
.cs-whatsapp:hover {
    background-color: #25d366;
    color: white;
    border-color: #25d366;
}

.cs-messenger:hover {
    background-color: #0084ff;
    color: white;
    border-color: #0084ff;
}

.cs-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: #bc1888;
}

.cs-facebook:hover {
    background-color: #1877f2;
    color: white;
    border-color: #1877f2;
}

.cs-telegram:hover {
    background-color: #0088cc;
    color: white;
    border-color: #0088cc;
}

/* Floating buttons */
.cs-floating-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.cs-floating-buttons .cs-social-buttons {
    margin: 0;
    gap: 8px;
}

.cs-floating-buttons .cs-social-button {
    justify-content: center;
    padding: 8px;
    margin: 0;
    min-width: 40px;
}

.cs-floating-buttons .cs-social-label {
    display: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .cs-social-buttons.cs-style-horizontal {
        justify-content: center;
    }
    
    .cs-floating-buttons {
        right: 10px;
        padding: 8px;
    }
    
    .cs-floating-buttons .cs-social-button {
        min-width: 36px;
        padding: 6px;
    }
    
    .cs-floating-buttons .cs-social-icon {
        width: 18px;
        height: 18px;
    }
}

/* Hide labels on very small screens */
@media (max-width: 480px) {
    .cs-social-buttons.cs-style-horizontal .cs-social-label {
        display: none;
    }
    
    .cs-social-buttons.cs-style-horizontal .cs-social-button {
        padding: 8px;
        min-width: 40px;
        justify-content: center;
    }
    
    .cs-social-buttons.cs-style-horizontal .cs-social-icon {
        margin-right: 0;
    }
}

/* Auto-added content styles */
.cs-auto-added {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.cs-auto-added .cs-social-buttons {
    justify-content: center;
}

