.bus-board {
    background: #000;
    color: #ff9900;
    font-family: 'Courier New', Courier, monospace;
    padding: 15px;
    border-radius: 8px;
    border: 4px solid #222;
    margin: 20px auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 5px #ff9900;
}
.bus-board h3 {
    text-align: center;
    color: #ff9900;
    margin-top: 0;
    border-bottom: 2px dashed #ff9900;
    padding-bottom: 10px;
    font-size: 1.1rem;
    text-shadow: 0 0 5px #ff9900;
}
.bus-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #333;
    font-size: 0.95rem;
}
.bus-row:last-child {
    border-bottom: none;
}
.bus-service {
    width: 60px;
    color: #ffaa00;
}
.bus-dest {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
}
.bus-time {
    text-align: right;
    min-width: 60px;
}
.bus-error {
    text-align: center;
    padding: 15px;
    color: #ff3333;
    text-shadow: 0 0 5px #ff3333;
}

/* Marquee styles for header */
.bus-marquee-container {
    background: #000;
    color: #ff9900;
    font-family: 'Courier New', Courier, monospace;
    padding: 5px 10px;
    border-radius: 4px;
    border: 2px solid #222;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 5px #ff9900;
    display: flex;
    align-items: center;
    width: 400px; /* Fixed width for the header slot */
}
.bus-marquee-label {
    margin-right: 10px;
    color: #fff;
    text-shadow: 0 0 5px #fff;
    flex-shrink: 0;
}
.bus-marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
}
.bus-marquee-item {
    display: inline-block;
    margin-right: 30px;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

