.notification-banner {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background-color: var(--sniff-bg-widget, #1A1A1F);
    color: var(--sniff-text-primary, #f0f0f5);
    border: 1px solid var(--sniff-border-color, #2a2a30);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    padding: 15px 40px 15px 20px;
    text-align: center;
    overflow: hidden;
}

.notification-banner.visible {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.notification-content p {
    margin: 0;
    padding: 0;
    font-size: 0.9em;
}

.notification-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: var(--sniff-text-secondary, #a0a0b0);
    font-size: 1.5em;
    line-height: 1;
    cursor: pointer;
    padding: 5px;
}
.notification-close:hover {
    color: #fff;
}

.notification-timer {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: #fff;
    width: 100%;
}

.notification-banner.visible .notification-timer {
    animation: shrink 7s linear forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes shrink {
    from { width: 100%; }
    to { width: 0%; }
}