/* Share Modal Styles */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.share-modal.active {
    opacity: 1;
    visibility: visible;
}

.share-modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.share-modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.share-modal.active .share-modal__content {
    transform: translate(-50%, -50%) scale(1);
}

.share-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.share-modal__header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.share-modal__close {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #64748b;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.share-modal__close:hover {
    background: #f1f5f9;
    color: #475569;
}

.share-modal__body {
    padding: 1.5rem;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}

.share-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.share-option--facebook {
    background: #1877f2;
}

.share-option--facebook:hover {
    background: #166fe5;
}

.share-option--twitter {
    background: #1da1f2;
}

.share-option--twitter:hover {
    background: #1a91da;
}

.share-option--linkedin {
    background: #0077b5;
}

.share-option--linkedin:hover {
    background: #006ba1;
}

.share-option--whatsapp {
    background: #25d366;
}

.share-option--whatsapp:hover {
    background: #22c55e;
}

.share-option--copy {
    background: #6b7280;
    color: white;
    grid-column: 1 / -1;
}

.share-option--copy:hover {
    background: #4b5563;
}

.share-option i {
    font-size: 1.125rem;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .share-modal__content {
        width: 95%;
        max-width: 380px;
    }
    
    .share-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .share-option {
        padding: 0.875rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .share-option i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .share-modal__content {
        width: 95%;
        margin: 0.5rem;
        border-radius: 12px;
    }
    
    .share-options {
        grid-template-columns: 1fr;
        gap: 0.625rem;
    }
    
    .share-option {
        padding: 1rem 0.875rem;
        font-size: 0.875rem;
        border-radius: 8px;
    }
    
    .share-option--copy {
        grid-column: 1;
        margin-top: 0.25rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 1.125rem;
    }
    
    .share-modal__header,
    .share-modal__body {
        padding: 1rem;
    }
    
    .share-modal__header h3 {
        font-size: 1.125rem;
    }
    
    .share-modal__close {
        padding: 0.375rem;
    }
}