/* ========================================
   SOCIAL SHARE BUTTONS
   ======================================== */

.social-share-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.social-share-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.social-share-buttons {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.social-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.social-share-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.social-share-btn:hover::before {
    width: 300px;
    height: 300px;
}

.social-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.social-share-btn:active {
    transform: translateY(0);
}

.social-share-btn span {
    position: relative;
    z-index: 1;
}

.social-share-btn svg,
.social-share-btn .icon {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
}

/* Twitter/X */
.social-share-btn.twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
}

.social-share-btn.twitter:hover {
    box-shadow: 0 8px 16px rgba(29, 161, 242, 0.4);
}

/* Facebook */
.social-share-btn.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0d5dbf 100%);
}

.social-share-btn.facebook:hover {
    box-shadow: 0 8px 16px rgba(24, 119, 242, 0.4);
}

/* LinkedIn */
.social-share-btn.linkedin {
    background: linear-gradient(135deg, #0A66C2 0%, #084d92 100%);
}

.social-share-btn.linkedin:hover {
    box-shadow: 0 8px 16px rgba(10, 102, 194, 0.4);
}

/* WhatsApp */
.social-share-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1da851 100%);
}

.social-share-btn.whatsapp:hover {
    box-shadow: 0 8px 16px rgba(37, 211, 102, 0.4);
}

/* Telegram */
.social-share-btn.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

.social-share-btn.telegram:hover {
    box-shadow: 0 8px 16px rgba(0, 136, 204, 0.4);
}

/* Email */
.social-share-btn.email {
    background: linear-gradient(135deg, #EA4335 0%, #c5341e 100%);
}

.social-share-btn.email:hover {
    box-shadow: 0 8px 16px rgba(234, 67, 53, 0.4);
}

/* Copy Link */
.social-share-btn.copy {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.social-share-btn.copy:hover {
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.4);
}

.social-share-btn.copy.copied {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

/* Compact Style */
.social-share-buttons.compact .social-share-btn {
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.social-share-buttons.compact .social-share-btn span {
    display: none;
}

/* Icon Only Style */
.social-share-btn.icon-only {
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.social-share-btn.icon-only span {
    display: none;
}

/* Large Style */
.social-share-btn.large {
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.social-share-btn.large svg,
.social-share-btn.large .icon {
    width: 20px;
    height: 20px;
}

/* Floating Share Button */
.floating-share {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.floating-share-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #a78bfa 100%);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-share-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.6);
}

.floating-share-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-sm);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.floating-share-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-share-menu .social-share-btn {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
}

.floating-share-menu .social-share-btn:last-child {
    margin-bottom: 0;
}

/* Share Modal */
.share-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.share-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.share-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.share-modal-overlay.active .share-modal {
    transform: scale(1);
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.share-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.share-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.share-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.share-modal-content {
    margin-bottom: var(--spacing-md);
}

.share-url-container {
    display: flex;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
}

.share-url-input {
    flex: 1;
    padding: 0.75rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
}

.share-url-copy {
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #6366f1 0%, #a78bfa 100%);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-url-copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .social-share-buttons {
        justify-content: center;
    }

    .social-share-btn {
        flex: 1;
        min-width: 120px;
    }

    .floating-share {
        bottom: 1rem;
        right: 1rem;
    }

    .floating-share-toggle {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .share-modal {
        width: 95%;
        padding: var(--spacing-md);
    }
}

/* Print - Hide share buttons */
@media print {

    .social-share-container,
    .floating-share,
    .share-modal-overlay {
        display: none !important;
    }
}