/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #025683;
    color: white;
    padding: 20px;
    text-align: center;
}

/* General link styles */
a {
    text-decoration: none;
    color: #ffffff; /* Change font color to white for better contrast */
    font-weight: bold;
    transition: color 0.3s ease;
}

a:hover {
    color: #EBF6FF; /* Light blue hover effect */
    text-decoration: underline;
}

/* Auth links specific styles */
.auth-links {
    position: absolute; /* Position it at the top-right corner */
    top: 20px;
    right: 20px;
    display: flex;
    gap: 15px; /* Adds spacing between the links */
}

.auth-links a {
    font-size: 16px;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    gap: 20px; /* Adds spacing between the form and the map */
}

.trip-form {
    flex: 1;
    max-width: 30%; /* Restrict the form to a maximum of 30% of the container width */
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

form label, form input {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
}

input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

button {
    padding: 10px 20px;
    background-color: #025683;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

button:hover {
    background-color: #01579b;
}

#map {
    flex: 2;
    width: 100%;
    height: 400px;
    border-radius: 8px;
}

/* Weather Info */
#weather-info {
    max-width: 800px;
    margin: 30px auto;
    text-align: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#trip-info {
    max-width: 800px;
    margin: 30px auto;
    text-align: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #025683;
    color: white;
}

/* Responsive layout */
/*@media screen and (max-width: 1024px) {*/
/*    .container {*/
/*        flex-direction: column;*/
/*    }*/

/*    .trip-form, #map {*/
/*        max-width: 100%;*/
/*        margin-bottom: 20px;*/
/*    }*/

/*    #map {*/
        height: 300px; /* Adjust map height on smaller screens */
/*    }*/
/*}*/

@media screen and (max-width: 768px) {
    #map {
        height: 250px; /* Further adjust map height on smaller screens */
    }
}
