/**
 * WBSP Social Share - frontend styles
 */

.wbsp-share {
    position: absolute;
    /* top/left se definen inline desde la configuración del plugin */
    z-index: 20;
}

.wbsp-share__toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--wbsp-primary, #1a1a1a);
    font-size: 1rem;
    padding: 5px;
    line-height: 1;
}

.wbsp-share__popup {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    flex-direction: row;
    gap: 5px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 8px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.wbsp-share__popup.is-open {
    display: flex;
}

.wbsp-share__link {
    color: var(--wbsp-primary, #1a1a1a);
    padding: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: inherit;
    line-height: 1;
    transition: color 0.2s;
}

.wbsp-share__link:hover,
.wbsp-share__link:focus {
    color: var(--wbsp-secondary, #555);
}

.wbsp-share__link--copy.is-copied {
    color: var(--wbsp-secondary, #2e7d32);
}
