/* ── Social Snap – Frontend CSS ─────────────────────────────── */
/* Your exact design, unchanged, plus copy-link tooltip support  */

/* Container */
.social-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Label (no extra DOM) */
.social-share::before {
    content: "Share via:";
    font-size: 14px;
    color: #333;
    margin-right: 6px;
    font-weight: 700;
}

.social-share.has-custom-label::before {
    display: none;
}

/* Links & button */
.social-share a,
.social-share button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Ace icon alignment */
.social-share .ace-icon {
    width: 32px;
    height: 32px;
    display: inline-block;
    line-height: 1;
}

/* Platform colors */
.social-share [data-network="facebook"] {
    background-color: #1877f2;
}
.social-share [data-network="x"] {
    background-color: #000;
}
.social-share [data-network="linkedin"] {
    background-color: #0a66c2;
}
.social-share [data-network="whatsapp"] {
    background-color: #25d366;
}
.social-share [data-network="pinterest"] {
    background-color: #e60023;
}
.social-share [data-network="reddit"] {
    background-color: #ff4500;
}
.social-share [data-network="telegram"] {
    background-color: #26a5e4;
}
.social-share [data-network="email"] {
    background-color: #6c757d;
}
.social-share [data-network="copy"] {
    background-color: #495057;
}

/* Hover */
.social-share a:hover,
.social-share button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Focus (accessible) */
.social-share a:focus-visible,
.social-share button:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* ── Copy-link tooltip ─────────────────────────── */
/* Shown briefly after the copy button is clicked   */
.social-share [data-network="copy"] {
    position: relative;
}
.social-share [data-network="copy"]::after {
    content: "Copied!";
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #212529;
    color: #fff;
    font-size: 11px;
    font-family: inherit;
    white-space: nowrap;
    padding: 3px 8px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.social-share [data-network="copy"].ssnap-copied::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
