body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Code for Header and Footer is in shared.css, it is common for all the pages of this application */
/* header {
    background-color: #3498db;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
}
nav ul {
    list-style-type: none;
    display: flex;
    gap: 1rem;
}
nav ul {
    padding: 0;
    margin: 0;
}
nav li {
    background-color: #3498db;
}
nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
nav a:hover {
    background-color: rgba(255,255,255,0.2);
} */


main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#newTripForm, #tripList {
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

input, button {
    margin-bottom: 10px;
    padding: 8px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

.savedtrips ul {
    list-style-type: none;
    padding: 0;
}

.savedtrips li {
    background-color: #ffffff;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
}