body {
    font-family: Arial, sans-serif;
    background-color: "#003366"; /* your theme blue, might not be nessary */
    background: #f5f5f5;
    color: #333;
    padding: 20px;
}

h1, h2 {
    margin-bottom: 10px;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.controls label {
    font-weight: bold;
}

.controls select,
.controls input,
.controls button {
    padding: 6px 8px;
    font-size: 1em;
}

.terminal-name {
    font-size: 1.3em;
    font-weight: bold;
    margin-top: 15px;
}

.service-status {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.terminal-status {
    margin: 0 0 15px 20px;
    padding: 0;
}

.terminal-status li {
    margin-bottom: 5px;
}

.departures {
    margin-top: 20px;
}

.departure {
    background: white;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.dep-letter {
    font-weight: bold;
}

.color {
    margin-right: 5px;
}

#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 20px;
  background: #f0f0f0;
  color: #333;
  padding: 6px 12px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 1000;
}

#back-to-top:hover {
  background: #ddd;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .controls {
        flex-direction: column;
        align-items: stretch;
    }

    .controls label {
        margin-top: 8px;
    }

    .departure {
        font-size: 1rem;
        padding: 8px;
    }
    h1#top {
        /*font-size: 1.9rem;   # smaller main title #OLD SIMPLE*/
        font-size: clamp(1.2rem, 8vw, 2.5rem); /* ment to be more fexable, we will see */
        text-align: left;  /* looks nicer on phones */
    }
}

