/* WebTicker Styles */
.webticker {
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    width: 100%;
    min-height: 40px;
}

/* UAT Theme - Yellow */
.webticker.uat-theme {
    background-color: #ffcc00;
    border-bottom: 2px solid #d4a800;
}

/* Production Theme - Blue */
.webticker.prod-theme {
    background-color: #37C9FA;
    border-bottom: 2px solid #2ba8d4;
}

.webticker ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    white-space: nowrap;
    display: inline-block;
    left: 0;
}

.webticker ul li {
    display: inline-block;
    padding: 0 100px 0 0;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

/* RTL Support for ticker items */
html[dir="rtl"] .webticker ul li,
body[dir="rtl"] .webticker ul li {
    padding: 0 0 0 100px;
    direction: rtl;
}

.webticker ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.webticker ul li a:hover {
    color: #d40511;
    text-decoration: underline;
}

.ticker-container {
    width: 100%;
    margin-top: 15px;
    position: relative;
}

/* DHL theme variant */
.webticker.dhl-theme {
    background-color: #d40511;
    border-bottom: 2px solid #a00410;
}

.webticker.dhl-theme ul li,
.webticker.dhl-theme ul li a {
    color: #fff;
}

.webticker.dhl-theme ul li a:hover {
    color: #ffcc00;
}

/* Responsive */
@media (max-width: 768px) {
    .webticker ul li {
        font-size: 14px;
        padding: 0 80px 0 0;
    }
    
    html[dir="rtl"] .webticker ul li,
    body[dir="rtl"] .webticker ul li {
        padding: 0 0 0 80px;
    }
}
