.notify-banner {
    background: #ffecec;
    border: 1px solid #ffb7b7;
    padding: 8px 40px 8px 45px;
    margin: 15px auto 0;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    white-space: nowrap;
    color: black;
}

.notification-banner-message-separator {
    display: inline-block;
    margin: 0 30px;
    color: #6B6B6B;
    font-weight: 500;
}

.notify-icon {
    width: 28px;
    height: 28px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.notify-inner {
    width: 100%;
    overflow: hidden;
}

.notify-content {
    display: inline-flex;
    animation: marquee 60s linear infinite;
    pointer-events: auto;
}

/* Mỗi wrapper flex-shrink:0 để giữ kích thước, tổng = 2 bản → translateX(-50%) = scroll đúng 1 bản → loop liền mạch */
.notify-content .notification-banner-message-wrapper {
    display: inline-flex;
    flex-shrink: 0;
    white-space: nowrap;
}

.notify-banner:hover .notify-content {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.notify-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #a00;
    pointer-events: auto;
}

.notification-banner-message-item {
    padding: 0 20px;
    font-size: 0.9rem;
}

.notification-banner-message-item a {
    color: #d00;
    font-weight: bold;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

@media (max-width: 768px) {
    .notify-banner {
        padding: 6px 35px 6px 40px;
        font-size: 14px;
        width: 96%;
    }

    .notify-icon {
        width: 24px;
        height: 24px;
    }
}
