﻿/* Share Modal */
.share-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(16, 24, 40, 0.6);
    backdrop-filter: saturate(140%) blur(2px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1000;
}

    .share-modal-overlay.active {
        display: flex;
    }

.share-modal {
    width: 100%;
    max-width: 470px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    position: relative;
    padding: 22px 22px 16px;
    animation: pop-in .18s ease-out;
}

@keyframes pop-in {
    from {
        transform: translateY(6px) scale(.98);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.share-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    font-weight: 500;
}

    .share-close:hover {
        background: #f9fafb;
        color: #111827;
    }

.share-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.share-sub {
    color: #6b7280;
    font-size: .95rem;
    margin-top: 4px;
}

.share-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.share-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    transition: transform .12s ease, box-shadow .12s ease, opacity .2s;
}

    .share-chip:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0,0,0,.15);
    }

    .share-chip:active {
        transform: translateY(0);
    }

    .share-chip.fb {
        background: #1877f2;
    }

    .share-chip.tw {
        background: #0f1419;
    }

    .share-chip.li {
        background: #0a66c2;
    }

    .share-chip.mail {
        background: #d93025;
    }

    .share-chip.copy {
        background: #64748b;
    }

    .share-chip.wa {
        background: #25d366;
    }

    .share-chip.ig {
        background: radial-gradient( 100% 100% at 70% 0%, #f9ce34 0%, #ee2a7b 60%, #6228d7 100% );
    }

.copy-toast {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 66px;
    background: #111827;
    color: #fff;
    padding: 8px 12px;
    font-size: .875rem;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

    .copy-toast.show {
        opacity: 1;
        transform: translate(-50%, -4px);
    }