/****************************
    ALERT BAR
*****************************/
.alert-bar {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    z-index: 10;
}

.alert-slide {
    position: absolute;
    width: 100%;
    padding: 10px 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
}

.alert-slide.active {
    opacity: 1;
    position: relative;
}

.alert-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.alert-link {
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    white-space: nowrap;
    flex-shrink: 0;
}

.alert-link:hover {
    opacity: 0.85;
}

/* Small screens: stack message and link vertically */
@media ( max-width: 768px ) {
    .alert-slide {
        flex-direction: column;
        gap: 4px;
        padding: 10px 16px;
    }

    .alert-text,
    .alert-link {
        font-size: 13px;
    }
}
