body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #333;
    color: #fff;
    padding: 1em;
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2em;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5em 1em;
    border-radius: 5px;
}

nav ul li a:hover {
    background-color: #555;
}

main {
    margin: 2em;
}

h2 {
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

label {
    font-weight: bold;
}

input, button {
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #333;
    color: #fff;
    cursor: pointer;
}

button:hover {
    background-color: #555;
}

.hidden {
    display: none;
}

#train-list div {
    margin: 1em 0;
    padding: 1em;
    background-color: #fff;
    border: 1px solid #ccc;
    cursor: pointer;
}

#train-list div:hover {
    background-color: #f0f0f0;
}
