/**Layer 86: Notifications*/
.notification-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px
}

.notification {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    animation: slideIn .3s ease;
    position: relative;
    border-left: 4px solid #3b82f6
}

.notification-info {
    border-left-color: #3b82f6
}

.notification-success {
    border-left-color: #10b981
}

.notification-warning {
    border-left-color: #f59e0b
}

.notification-error {
    border-left-color: #ef4444
}

.notification-live {
    border-left-color: #ef4444;
    animation: slideIn .3s ease, pulse 2s infinite
}

.notification-goal {
    border-left-color: #10b981;
    animation: slideIn .3s ease, shake .5s
}

.notification-news {
    border-left-color: #8b5cf6
}

.priority-critical {
    box-shadow: 0 4px 16px rgba(239, 68, 68, .4)
}

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0
}

.notification-content {
    flex: 1;
    min-width: 0
}

.notification-title {
    font-weight: 700;
    font-size: .875rem;
    margin-bottom: .25rem
}

.notification-message {
    font-size: .75rem;
    color: #6b7280;
    line-height: 1.4
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color .2s
}

.notification-close:hover {
    color: #374151
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0
    }

    to {
        transform: translateX(0);
        opacity: 1
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0)
    }

    25% {
        transform: translateX(-10px)
    }

    75% {
        transform: translateX(10px)
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .8
    }
}

@media (max-width:768px) {
    .notification-container {
        left: 1rem;
        right: 1rem;
        max-width: none
    }
}