html, body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #ffffff;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

.container {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    min-height: 100vh;
    box-sizing: border-box;
    overflow-x: hidden;
}

h1 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.transport-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.option {
    padding: 10px 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    cursor: pointer;
}

.option:hover {
    background-color: #e9ecef;
}

.debug-panel {
    margin: 0;
    padding: 15px;
    background-color: #2a2a2a;
    border-bottom: 1px solid #333;
}

.debug-panel h3 {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 1em;
}

.time-setter {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.time-setter input[type="time"] {
    padding: 5px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    width: auto;
    max-width: 100%;
}

.time-setter button {
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.time-setter button:hover {
    background-color: #0056b3;
}

.time-setter input[type="number"] {
    padding: 5px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    width: 60px;
}

.current-debug-time {
    margin-top: 10px;
    color: #666;
    font-size: 0.9em;
}

#current-debug-time {
    color: #4a9eff;
    font-weight: bold;
}

.train-list {
    margin-top: 10px;
}

.train-list-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 10px;
    padding: 10px;
    background-color: #2a2a2a;
    border-radius: 5px;
    font-weight: bold;
    color: #ffffff;
}

.train-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
    transition: background-color 0.5s ease;
}

.train-info:hover {
    background-color: #2a2a2a;
}

.train-info:last-child {
    border-bottom: none;
}

.station-name {
    font-weight: bold;
    color: #ffffff;
    padding: 5px 15px;
    letter-spacing: 1px;
    width: 100%;
    box-sizing: border-box;
    font-size: 1.8em;
    font-family: 'DSEG7Classic-Bold', monospace;
    overflow: hidden;
    text-overflow: ellipsis;
}

.transport-time-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 8px 15px;
    width: calc(100% - 30px);
    box-sizing: border-box;
}

.transport-time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.transport-info {
    font-size: 2.0em;
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 3px;
    min-height: 30px;
    display: flex;
    align-items: center;
    flex: 1;
    font-weight: normal;
    font-family: 'DSEG7Classic-Bold', monospace;
}

.transport-time {
    font-size: 0.7em;
    margin-left: 3px;
    color: #cccccc;
    font-weight: bold;
}

.transport-time-row .time-info {
    text-align: center;
    padding: 5px 10px;
    border-radius: 3px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.5s ease;
    min-width: 80px;
    font-size: 2.2em;
    font-weight: bold;
    font-family: 'DSEG7Classic-Bold', monospace;
}

.time-info.animate {
    animation: timePulse 2s ease infinite;
}

.time-info.warning {
    color: #ffd700;
    animation: blinkWarning 1s infinite;
}

.time-info.danger {
    color: #ff0000;
    animation: blinkDanger 1s infinite;
}

@keyframes timePulse {
    0% {
        background-color: #2a2a2a;
    }
    50% {
        background-color: #4a9eff;
    }
    100% {
        background-color: #2a2a2a;
    }
}

@keyframes blinkWarning {
    0% { color: #ffd700; }
    50% { color: #ffffff; }
    100% { color: #ffd700; }
}

@keyframes blinkDanger {
    0% { color: #ff0000; }
    50% { color: #ffffff; }
    100% { color: #ff0000; }
}

.bus-time-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin: 5px 0;
    width: 100%;
    box-sizing: border-box;
}

.bus-time-row .time-info {
    text-align: center;
    padding: 5px 10px;
    border-radius: 3px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.5s ease;
    min-width: 80px;
    font-size: 2.5em;
    font-weight: bold;
    font-family: 'DSEG7Classic-Bold', monospace;
}

.next-bus-time {
    font-size: 1.6em;
    color: #cccccc;
    font-family: 'DSEG7Classic-Bold', monospace;
}

.footer {
    width: 100%;
    text-align: center;
    padding: 8px;
    background-color: #1a1a1a;
    color: #666;
    font-size: 0.8em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.footer:hover {
    background-color: #2a2a2a;
} 