.layui-icon-speaker {
    transform: scaleX(-1); /* 左右翻转 */
}

.marquee-container {
    display: flex; /* 使用Flexbox布局 */
    align-items: center; /* 垂直方向居中对齐 */
    width: 100%;
    overflow: hidden;
    font-size: 15px;
    font-weight: 700;
    color: #ff5722;
}

.label {
    width: auto; /* 标签宽度 */
    box-sizing: border-box;
    text-align: center; /* 可选：使标签内的文字居中 */
    padding: 0 5px 0 30px;
    line-height: 30px;
    font-weight: 700;
}

.marquee-text {
    flex-grow: 1; /* 占据剩余空间 */
    overflow: hidden;
    white-space: nowrap; /* 防止文字换行 */
    position: relative;
    line-height: 30px;
    margin-left: 30px;
}

.marquee-text span {
    display: inline-block;
    padding-left: 100%; /* 初始位置在容器外 */
    animation: marquee 15s linear infinite; /* 动画设置 */
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
