:root {
    --whatsapp-color: #25D366;
    --facebook-color: #1877F2;
    --messenger-color: #0084FF;
    --copy-color: #6c757d;
    --hover-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    --btn-radius: 50px;
}

.social-sharing-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 auto;
    /* Removed vertical margin for preview centering */
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    /* Ensure it takes width in flex container */
    box-sizing: border-box;
}

.share-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid #eee;
    min-width: 60px;
}

.share-count-number {
    font-size: 20px;
    font-weight: 800;
    color: #2d3748;
    line-height: 1;
}

.share-count-label {
    font-size: 11px;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    font-weight: 600;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--btn-radius);
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.share-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
    color: white;
}

.share-button:hover svg {
    transform: scale(1.1);
}

.share-button:active {
    transform: translateY(0);
}

.whatsapp-share {
    background: var(--whatsapp-color);
}

.whatsapp-share:hover {
    background: #1ebc57;
}

.facebook-share {
    background: var(--facebook-color);
}

.facebook-share:hover {
    background: #166fe5;
}

.messenger-share {
    background: var(--messenger-color);
}

.messenger-share:hover {
    background: #0078e7;
}

.copy-link-btn {
    background: var(--copy-color);
}

.copy-link-btn:hover {
    background: #5a6268;
}

.copy-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.copy-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 600px) {
    .social-sharing-container {
        flex-direction: row;
        padding: 15px 10px;
        gap: 8px;
        justify-content: space-evenly;
    }

    .share-count {
        margin-right: 5px;
        padding-right: 10px;
        border-right: 1px solid #eee;
    }

    .share-count-number {
        font-size: 16px;
    }

    .share-count-label {
        font-size: 10px;
    }

    .share-button {
        padding: 0;
        width: 44px;
        height: 44px;
        border-radius: 50%;
    }

    .share-button span {
        display: none;
    }

    .share-button svg {
        width: 22px;
        height: 22px;
        margin: 0;
    }
}