.smart-share-wrapper {
    position: relative;
    display: inline-block;
}

/* Maximal specificitet för knappen */
.smart-share-wrapper button#smartShareBtn.smart-share-btn,
button#smartShareBtn.smart-share-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    background: #f5f5f5 !important;
    background-color: #fff !important;
    background-image: none !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    transition: all 0.2s !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    min-height: auto !important;
    height: auto !important;
    width: auto !important;
    text-shadow: none !important;
}

.smart-share-wrapper button#smartShareBtn.smart-share-btn:hover,
button#smartShareBtn.smart-share-btn:hover {
    background: #e8e8e8 !important;
    background-color: #e8e8e8 !important;
    background-image: none !important;
    border-color: #ccc !important;
}

.smart-share-wrapper button#smartShareBtn.smart-share-btn svg {
    flex-shrink: 0 !important;
    width: 16px !important;
    height: 16px !important;
    display: block !important;
}

.smart-share-wrapper .share-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 180px;
    z-index: 1000;
    overflow: hidden;
}


.smart-share-wrapper .share-item:hover {
    background: #f5f5f5 !important;
    background-color: #f5f5f5 !important;
}

.smart-share-wrapper .share-item:not(:last-child) {
    border-bottom: 1px solid #eee !important;
}

/* Mobil-anpassning */
@media (max-width: 768px) {
    .smart-share-wrapper .share-menu {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        margin: 0;
        border-radius: 16px 16px 0 0;
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .smart-share-wrapper .share-item {
        padding: 14px 20px !important;
        font-size: 15px !important;
    }
}