/* ==========================================================================
   Her Business Social Share - Decoupled CSS "Freedom" Stylesheet
   ========================================================================== */

/* Container for the freedom share buttons */
.her-share-freedom-wrap {
    display: inline-flex !important;
    gap: 16px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 0 8px !important; /* Margin left 8px on desktop */
    box-sizing: border-box !important;
}

/* Individual button block */
.her-share-freedom-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 0px !important; /* Force completely sharp corners */
    border: 1.5px solid #1f1f1f !important;
    background-color: #ffffff !important;
    color: #1f1f1f !important;
    position: relative !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: transform 0.1s ease, box-shadow 0.1s ease !important;
    text-decoration: none !important;
    outline: none !important;

    /* 8px 3D Retro Shadow */
    box-shadow: 
        -1px 1px 0px #1f1f1f,
        -2px 2px 0px #1f1f1f,
        -3px 3px 0px #1f1f1f,
        -4px 4px 0px #1f1f1f,
        -5px 5px 0px #1f1f1f,
        -6px 6px 0px #1f1f1f,
        -7px 7px 0px #1f1f1f,
        -8px 8px 0px #1f1f1f !important;
}

/* Vector icon sizing & fill */
.her-share-freedom-svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
    color: inherit !important;
    stroke: none !important;
    box-sizing: border-box !important;
}

/* Hover transitions (Desktop Only) */
@media (min-width: 768px) {
    .her-share-freedom-btn:hover {
        transform: translate(-3px, 3px) !important;
        box-shadow: 
            -1px 1px 0px #1f1f1f,
            -2px 2px 0px #1f1f1f,
            -3px 3px 0px #1f1f1f,
            -4px 4px 0px #1f1f1f,
            -5px 5px 0px #1f1f1f !important;
    }
}

/* Active clicked state */
.her-share-freedom-btn:active {
    transform: translate(-8px, 8px) !important;
    box-shadow: 0px 0px 0px #1f1f1f !important;
}

/* Tooltip Alert for Copy Link Button */
.her-copy-link-btn {
    position: relative;
}

.her-share-freedom-tooltip {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background-color: #1f1f1f;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-family: sans-serif;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.her-share-freedom-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #1f1f1f transparent transparent transparent;
}

.her-share-freedom-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Mobile viewport settings (< 767px wide) */
@media (max-width: 767px) {
    .her-share-freedom-wrap {
        margin: 0 0 0 6px !important; /* Margin left 6px on mobile */
    }

    .her-share-freedom-btn {
        width: 44px !important;
        height: 44px !important;

        /* 6px 3D Retro Shadow */
        box-shadow: 
            -1px 1px 0px #1f1f1f,
            -2px 2px 0px #1f1f1f,
            -3px 3px 0px #1f1f1f,
            -4px 4px 0px #1f1f1f,
            -5px 5px 0px #1f1f1f,
            -6px 6px 0px #1f1f1f !important;
    }

    .her-share-freedom-btn:active {
        transform: translate(-6px, 6px) !important;
        box-shadow: 0px 0px 0px #1f1f1f !important;
    }
}
