/* Wrapper aligns label + icons horizontally */
.accessible-share-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Remove list bullets + default spacing */
.accessible-share-buttons .share-list {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Each list item does nothing fancy */
.accessible-share-buttons .share-item {
    margin: 0;
    padding: 0;
}

/* Anchor wraps the icon nicely */
.accessible-share-buttons .share-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    text-decoration: none;
    border-radius: 6px;

    transition: background-color 0.2s ease, transform 0.15s ease;
}

/* Ensure icon is at least 26px */
.accessible-share-buttons .share-icon {
    font-size: 26px;
    line-height: 1;
}

/* Hover + keyboard focus */
.accessible-share-buttons .share-item a:hover,
.accessible-share-buttons .share-item a:focus-visible {
    background-color: #f2f2f2;
    outline: none;
    transform: translateY(-2px);
}

/* Optional: style the label slightly */
.accessible-share-buttons .share-label {
    font-weight: 600;
    font-size: 16px;
}

.copy-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    background: none;
    border: none;
    cursor: pointer;
    border-radius: 6px;
}

.copy-link-button:focus-visible,
.copy-link-button:hover {
    background-color: #f2f2f2;
    outline: none;
}

.copy-wrapper {
    position: relative;
}

.copy-feedback {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);

    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #d60000;

    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.copy-feedback.show {
    opacity: 1;
}