/* Social Share Buttons Widget Styles */

.dcs-social-share {
    margin: 20px 0;
}

.dcs-share-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
}

.dcs-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dcs-social-share.layout-vertical .dcs-share-buttons {
    flex-direction: column;
    align-items: flex-start;
}

.dcs-social-share.layout-horizontal .dcs-share-buttons {
    flex-direction: row;
}

.dcs-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: #007aff;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.dcs-share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0.9;
}

.dcs-share-button:active {
    transform: translateY(0);
}

.dcs-share-button i {
    font-size: 16px;
}

/* Icon Only Style */
.dcs-social-share.style-icon-only .dcs-share-button {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

.dcs-social-share.style-icon-only .dcs-share-button i {
    margin: 0;
}

/* Text Only Style */
.dcs-social-share.style-text-only .dcs-share-button i {
    display: none;
}

/* Specific Network Colors (already inline, but for override) */
.dcs-share-facebook {
    background-color: #1877f2;
}

.dcs-share-twitter {
    background-color: #1da1f2;
}

.dcs-share-linkedin {
    background-color: #0077b5;
}

.dcs-share-whatsapp {
    background-color: #25d366;
}

.dcs-share-telegram {
    background-color: #0088cc;
}

.dcs-share-reddit {
    background-color: #ff4500;
}

.dcs-share-pinterest {
    background-color: #e60023;
}

.dcs-share-email {
    background-color: #7f7f7f;
}

.dcs-share-copy {
    background-color: #6c757d;
}

.dcs-share-copy.copied {
    background-color: #28a745 !important;
}

.dcs-share-copy.copied i::before {
    content: "\f00c";
    /* FontAwesome check icon */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .dcs-social-share.layout-horizontal .dcs-share-buttons {
        justify-content: center;
    }

    .dcs-share-button {
        font-size: 13px;
        padding: 8px 12px;
    }

    .dcs-social-share.style-icon-only .dcs-share-button {
        width: 36px;
        height: 36px;
    }
}

/* Animation */
@keyframes shareButtonPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.dcs-share-button.copied {
    animation: shareButtonPulse 0.3s ease;
}