﻿.ticker-wrapper {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between; /* left/right alignment */
    align-items: center;
    background-color: #1e1e1e;
    color: white;
    padding: 5px 10px;
    border-top: 1px solid #444;
    z-index: 9999;
    font-family: "Segoe UI", sans-serif;
}

.ticker-container {
    flex: 1; /* take the rest of the space */
    overflow: hidden;
    white-space: nowrap;
}

/*.ticker-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #1e1e1e;
    color: white;
    overflow: hidden;
    white-space: nowrap;
    padding: 5px 0;
    z-index: 9999;
    border-top: 1px solid #444;
    font-family: "Segoe UI", sans-serif;
}*/

.ticker-content {
    display: inline-block;
    padding-left: 100%;
}

.ticker-item {
    display: inline-flex; /* change from inline-block */
    align-items: center; /* vertically center content */
    margin-right: 50px;
    font-weight: 500;
    gap: 5px; /* optional spacing between image and text */
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
    /* scroll half the width since we duplicated content */
}





    .status-dot {
        font-size: 16px;
    }
    .online {
        color: green;
    }
    .offline {
        color: red;
    }


@keyframes blink {
    0% {
        background-color: rgba(0, 255, 0, 0.2);
    }

    50% {
        background-color: transparent;
    }

    100% {
        background-color: rgba(0, 255, 0, 0.2);
    }
}

@keyframes blink-red {
    0% {
        background-color: rgba(255, 0, 0, 0.2);
    }

    50% {
        background-color: transparent;
    }

    100% {
        background-color: rgba(255, 0, 0, 0.2);
    }
}

.blink-green {
    animation: blink 1s ease-in-out 10;
    border-radius: 6px;
}

.blink-red {
    animation: blink-red 1s ease-in-out 10;
    border-radius: 6px;
}

