
/* Live Notifications Container */
.live-notifications-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    pointer-events: none;
}

.live-notification {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 320px;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transform: translateX(450px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: all;
    position: relative;
    overflow: hidden;
}

.live-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366F1, #8B5CF6, #EC4899);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.live-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-wallet {
    font-size: 0.875rem;
    color: #94A3B8;
    font-family: 'Courier New', monospace;
    margin-bottom: 4px;
    font-weight: 600;
}

.notification-action {
    font-size: 0.95rem;
    color: #F1F5F9;
    font-weight: 500;
}

.notification-amount {
    color: #10B981;
    font-weight: 700;
    font-size: 1.05rem;
}

.notification-close {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #F1F5F9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .live-notifications-container {
        bottom: 10px;
        right: 10px;
        left: 10px;
    }

    .live-notification {
        min-width: auto;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .live-notifications-container {
        bottom: 8px;
        right: 8px;
        left: 8px;
    }

    .live-notification {
        padding: 12px;
        gap: 10px;
    }

    .notification-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .notification-wallet {
        font-size: 0.8rem;
    }

    .notification-action {
        font-size: 0.875rem;
    }

    .notification-amount {
        font-size: 0.95rem;
    }
}

/* Notification entrance animation variants */
@keyframes slideInBounce {
    0% {
        transform: translateX(450px);
        opacity: 0;
    }
    60% {
        transform: translateX(-10px);
        opacity: 1;
    }
    80% {
        transform: translateX(5px);
    }
    100% {
        transform: translateX(0);
    }
}

.live-notification.show {
    animation: slideInBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Pulse effect for new notifications */
@keyframes pulse {
    0% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    }
    50% {
        box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
    }
    100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    }
}

.live-notification.show {
    animation: slideInBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55), 
               pulse 2s ease-in-out 3;
}
