* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #74b9ff, #045a9b);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 90%;
    margin: 2rem;
}

.search-container {
    display: flex;
    gap: 10px;
    margin: 1.5rem 0;
}

#cityInput {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

#searchBtn, #saveBtn {
    padding: 12px 20px;
    background: #0984e3;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

#searchBtn:hover, #saveBtn:hover {
    background-color: #6e6d6d;
    transform: scale(1.05);
}

.weather-display {
    text-align: center;
    margin: 2rem 0;
}

.error-message {
    color: #e74c3c;
    text-align: center;
    margin: 1rem 0;
    display: none;
}

.savedLocations {
    margin-top: 20px;
}

.saved-location {
    cursor: pointer;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.saved-location {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    cursor: pointer;
}

.saved-location:hover {
    background-color: #f0f0f0;
}

.delete-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s, transform 0.1s;
}

.delete-btn:hover {
    background-color: #ffe5e5;
    transform: scale(1.1);
}

.delete-btn:active {
    transform: scale(0.95);
}

#savedLocationsList {
    list-style: none;
    padding: 0;
    margin: 0;
}