
/* Share Modal Styles */
.share-preview {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #007bff !important;
}

.share-url-input {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.social-share-buttons .btn {
    border-radius: 8px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
    justify-content: center;
}

.social-share-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Mobile specific share styles */
@media (max-width: 768px) {
    .social-share-buttons .btn {
        min-width: calc(50% - 0.5rem);
        font-size: 0.8rem;
    }
    
    .share-modal .modal-dialog {
        margin: 0.5rem;
    }
}

/* Copy button animation */
.copy-url-btn {
    transition: all 0.3s ease;
}

/* Native share button enhancement */
.share-btn {
    position: relative;
    overflow: hidden;
}

.share-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.share-btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}
/* Share button loading state */
.share-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.share-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Share modal improvements */
.share-preview {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #28a745 !important;
    border-radius: 8px;
}

.social-share-buttons .btn {
    border-radius: 8px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
    justify-content: center;
}

.social-share-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

