body {
    margin: 0;
    overflow: hidden;
}

#container {
    width: 100vw;
    height: 100vh;
}

#controls-container {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-family: sans-serif;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 240px;
    box-sizing: border-box;
}

#controls-container input,
#controls-container button {
    font-family: inherit;
    font-size: 13px;
}

#station-selector {
    position: relative;
}

#station-search {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #555;
    border-radius: 3px;
    background-color: #333;
    color: white;
    box-sizing: border-box;
}

#station-search::placeholder {
    color: #999;
}

#station-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 250px;
    overflow-y: auto;
    background-color: #222;
    border: 1px solid #555;
    border-top: none;
    border-radius: 0 0 3px 3px;
    z-index: 1000;
}

.station-option {
    padding: 6px 8px;
    cursor: pointer;
    font-size: 12px;
    border-bottom: 1px solid #333;
}

.station-option:hover,
.station-option.highlighted {
    background-color: #444;
}

.station-option .station-meta {
    color: #999;
    font-size: 11px;
}

#date-picker {
    width: 100%;
    background-color: #333;
    color: white;
    border: 1px solid #555;
    border-radius: 3px;
    padding: 6px 8px;
    box-sizing: border-box;
}

#time-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

#time-row #time-display,
#time-row #pause-button {
    flex: 1 1 0;
    min-width: 0;
}

#time-row #time-display {
    text-align: center;
}

#pause-button {
    padding: 6px 8px;
    border: 1px solid #555;
    border-radius: 3px;
    background-color: #333;
    color: white;
    cursor: pointer;
}

#pause-button:hover {
    background-color: #444;
}

#status-emoji {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 50px;
}

#info-toggle {
    position: absolute;
    top: 10px;
    right: 70px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    padding: 0;
}

#info-container {
    position: absolute;
    top: 195px;
    left: 10px;
    width: 250px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-family: sans-serif;
    font-size: 12px;
}

#info-container.hidden {
    display: none;
}

#info-container p {
    margin: 0 0 8px 0;
}

#info-container p:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    #controls-container {
        width: 170px;
        max-width: calc(100vw - 80px);
        padding: 8px;
    }

    #status-emoji {
        font-size: 36px;
    }

    #info-container {
        top: auto;
        bottom: 80px;
        left: 10px;
        right: 10px;
        width: auto;
        max-height: 50vh;
        overflow-y: auto;
    }

    #timeline-container {
        width: calc(100% - 20px);
    }
}

#timeline-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 800px;
    font-family: sans-serif;
    color: white;
}

#timeline-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 5px;
}

#timeline-bar-wrapper {
    position: relative;
    width: 100%;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    border: 1px solid white;
}

#timeline-canvas {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

#timeline-markers {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 100%;
}

.timeline-marker {
    position: absolute;
    transform: translateX(-50%);
    font-size: 12px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2px 4px;
    border-radius: 3px;
    white-space: nowrap;
} 