.notifications {
    display: flex;
    width: 100%;
}

/* LEFT TITLE */
.notifications-header {
    width: 10%;
    background: #AF0000;
    color: #fff;
    padding: 10px;
    font-weight: 600;
    display: flex;
    align-items: center; /* center vertically */
}

/* RIGHT SCROLLER */
.notifications-content {
    width: 90%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center; /* ✅ vertical center */
}

/* MOVING TRACK */
.notifications-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    gap: 50px;
    padding-left: 100%; /* push initial content further right */
    animation: ticker-scroll 40s linear infinite;
}

/* ITEMS */
.notifications-item {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}

.notifications-item i {
    margin-right: 10px;
    color: red;
}

/* PAUSE ON HOVER */
.notifications-content:hover .notifications-track {
    animation-play-state: paused;
}

/* ANIMATION */
@keyframes ticker-scroll {
    0% {
        transform: translateX(0%); /* start from right */
    }
    100% {
        transform: translateX(-50%); /* move to left */
    }
}