/**
 * Elementor Share Button Styles
 */

.share-button-wrapper {
    display: inline-block;
    width: 100%;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    outline: none;
    position: relative;
}

.share-button:hover {
    transform: translateY(-2px);
}

.share-button:active {
    transform: translateY(0);
}

.share-button-content {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.share-button-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    vertical-align: middle;
}

.share-button-icon i {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

.share-button-icon svg {
    display: inline-block;
    vertical-align: middle;
}

.share-button-text {
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
}

/* Icon-only button styles */
.share-button.icon-only {
    padding: 12px;
    width: auto;
    height: auto;
}

.share-button.icon-only .share-button-icon {
    margin-right: 0;
}

.share-notification {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

.share-notification::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .share-button {
        font-size: 14px;
    }
    
    .share-notification {
        font-size: 12px;
        padding: 6px 12px;
        top: -35px;
    }
}
