body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column; /* Allow content and footer to stack vertically */
    justify-content: space-between; /* Push footer to bottom */
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #e0f2f7;
    color: #333;
    line-height: 1.6;
}

.container {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 550px;
    border: 1px solid #cceeff;
    margin-bottom: 20px; /* Space between container and footer */
}

h1 {
    color: #007bff;
    margin-bottom: 25px;
    font-size: 2.4em;
    font-weight: 600;
}

.city-selection {
    margin-bottom: 25px;
    text-align: left;
}

.city-selection label {
    font-weight: bold;
    color: #555;
    margin-right: 10px;
}

.city-selection select {
    padding: 10px 15px;
    border: 1px solid #add8e6;
    border-radius: 6px;
    font-size: 1em;
    color: #333;
    background-color: #fff;
    cursor: pointer;
    appearance: none; /* Remove default dropdown arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007bff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13.6-6.4H19.6c-4.8%200-9.2%202-12.8%205.6L4.4%2075.8c-3.6%203.6-5.6%208-5.6%2012.8s2%209.2%205.6%2012.8l128%20128c3.6%203.6%208%205.6%2012.8%205.6s9.2-2%2012.8-5.6l128-128c3.6-3.6%205.6-8%205.6-12.8s-2-9.2-5.6-12.8L287%2069.4z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px auto;
    min-width: 150px; /* Ensure dropdown is wide enough */
}

.city-selection select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}


.dog-size-selection {
    margin-bottom: 25px;
    text-align: left;
}

.dog-size-selection label {
    font-weight: bold;
    color: #555;
    margin-right: 10px;
}

.dog-size-selection select {
    padding: 10px 15px;
    border: 1px solid #add8e6;
    border-radius: 6px;
    font-size: 1em;
    color: #333;
    background-color: #fff;
    cursor: pointer;
    appearance: none; /* Remove default dropdown arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007bff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13.6-6.4H19.6c-4.8%200-9.2%202-12.8%205.6L4.4%2075.8c-3.6%203.6-5.6%208-5.6%2012.8s2%209.2%205.6%2012.8l128%20128c3.6%203.6%208%205.6%2012.8%205.6s9.2-2%2012.8-5.6l128-128c3.6-3.6%205.6-8%205.6-12.8s-2-9.2-5.6-12.8L287%2069.4z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px auto;
}

.dog-size-selection select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}


.weather-info {
    background-color: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #b3e0ff;
}

.weather-info p {
    margin: 8px 0;
    font-size: 1.1em;
    color: #555;
}

.weather-info span {
    font-weight: bold;
    color: #007bff;
}

.recommendation h2 {
    font-size: 1.8em;
    color: #007bff;
    margin-bottom: 10px;
}

.recommendation #walkRecommendation {
    display: block;
    font-size: 2em;
    font-weight: bold;
    margin-top: 15px;
}

.recommendation p#reason {
    font-size: 1.1em;
    color: #666;
    margin-top: 15px;
}

/* Specific styles for recommendations */
.recommendation.good #walkRecommendation {
    color: #28a745; /* Green */
}

.recommendation.caution #walkRecommendation {
    color: #ffc107; /* Orange */
}

.recommendation.bad #walkRecommendation {
    color: #dc3545; /* Red */
}

footer {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background-color: #f0f2f5;
    color: #666;
    font-size: 0.9em;
    border-top: 1px solid #e0e0e0;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #007bff;
    text-decoration: none;
    margin: 0 5px;
}

footer a:hover {
    text-decoration: underline;
}
