@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

.spp-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999999;
    opacity: 0;
    transform: translateX(-400px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.spp-notification.spp-show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.spp-notification.spp-hide {
    opacity: 0;
    transform: translateX(-400px);
    pointer-events: none;
}

.spp-content {
    backdrop-filter: blur(4px);
    background: #4c4d5599;
    border: 1.5px solid #805ad53b;
    border-radius: 16px;
    align-items: center;
    min-width: 320px;
    max-width: 350px;
    padding: 8px 30px 8px 10px;
}

.spp-close {
    position: absolute;
    top: 4px;
    right: 8px;
    cursor: pointer;
    color: #666;
    font-size: 18px;
    opacity: 0.5;
    transition: opacity 0.2s;
    z-index: 10;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.spp-close {
    color: #78aaff;
    letter-spacing: .01em;
    font-size: 20px;
    font-weight: 700;
}
.spp-close:hover {
    opacity: 1;
}

.spp-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.spp-body {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spp-image {
    flex-shrink: 0;
}

.spp-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.spp-text {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #2d3748;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.spp-user-name {
    font-weight: 600;
    color: #99a1af;
}

.spp-action-text {
    color: #99a1af;
}

.spp-product-name {
    color: #78aaff;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.spp-link:hover .spp-product-name {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .spp-notification {
        left: 10px;
        bottom: 10px;
    }
    
    .spp-content {
        padding: 10px 12px;
    }
    
    .spp-text {
        font-size: 12px;
    }
    
    .spp-image img {
        width: 45px;
        height: 45px;
    }
}