body {font-family: sans-serif; background: #f0f2f5; display: flex; justify-content: center; padding: 20px;}

.container {width: 100%; max-width: 600px; background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1);}

.search-box {display: flex; gap: 10px; margin-bottom: 20px; width: 100%;}

input {flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 4px;}

button {padding: 10px 20px; background: #007bff; color: white; border: none; border-radius: 4px; cursor: pointer;}

.weather-card {padding: 15px; background: #e9ecef; border-radius: 4px; text-align: center;}


/* This targets the div wrapper we added for the dropdown */
.search-box > div {
    flex: 1; 
    display: flex;
    flex-direction: column;
}

input {
    width: 100%; /* Forces the input to fill its parent div */
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box; /* Prevents padding from adding to width */
}

button {
    padding: 0 25px;
    height: 45px; /* Matches the height of the input */
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.forecast-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
    overflow-x: auto;
}

.forecast-item {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    flex: 1;
    justify-content: space-around;
    gap: 15px;
    margin-top: 20px;
}
.forecast-item {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}


.suggestions-list {
    position: absolute;
    top: 100%;
    left: 0;

    right: 0;

    background: white;
    border: 1px solid #ddd;
    border-top: none;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    border-radius: 0 0 4px 4px;

    box-shadow: 0 4px 6px rgba(0,0,0,0.1);

}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.suggestion-item:hover {
    background-color: #f0f2f5;
}