/* HubS Social Auto Post - Share Buttons */

.hsap-share-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    margin: 20px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.hsap-share-label {
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    margin-right: 4px;
}

/* Base button style */
.hsap-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.hsap-share-btn svg {
    flex-shrink: 0;
}

/* Colored style (default) */
.hsap-style-colored .hsap-share-btn {
    background: var(--hsap-btn-color);
    color: #fff !important;
}

.hsap-style-colored .hsap-share-btn:hover {
    filter: brightness(0.85);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hsap-style-colored .hsap-share-copy {
    background: #f3f4f6;
    color: #374151 !important;
}

.hsap-style-colored .hsap-share-copy:hover {
    background: #e5e7eb;
    filter: none;
}

/* Outline style */
.hsap-style-outline .hsap-share-btn {
    background: transparent;
    color: var(--hsap-btn-color) !important;
    border: 1.5px solid var(--hsap-btn-color);
}

.hsap-style-outline .hsap-share-btn:hover {
    background: var(--hsap-btn-color);
    color: #fff !important;
    transform: translateY(-1px);
}

/* Minimal style */
.hsap-style-minimal .hsap-share-btn {
    background: #f3f4f6;
    color: #374151 !important;
    padding: 8px 12px;
}

.hsap-style-minimal .hsap-share-btn:hover {
    background: var(--hsap-btn-color);
    color: #fff !important;
}

/* Icon-only on small screens */
@media (max-width: 600px) {
    .hsap-share-text {
        display: none;
    }

    .hsap-share-btn {
        padding: 10px;
    }

    .hsap-share-label {
        width: 100%;
        margin-bottom: 4px;
    }
}

/* Floating style variation */
.hsap-share-floating {
    position: fixed;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    border: none;
    background: #fff;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    margin: 0;
    gap: 4px;
}

.hsap-share-floating .hsap-share-label {
    display: none;
}

.hsap-share-floating .hsap-share-text {
    display: none;
}

.hsap-share-floating .hsap-share-btn {
    padding: 10px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .hsap-share-floating {
        position: fixed;
        bottom: 0;
        left: 0;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        width: 100%;
        border-radius: 12px 12px 0 0;
        padding: 10px 16px;
        gap: 8px;
    }
}
