body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

#locationInput {
    padding: 0.8rem;
    width: 300px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

#searchBtn {
    padding: 0.8rem 1.5rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

#searchBtn:hover {
    background-color: #45a049;
}

.weather-display {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.current-weather {
    margin-bottom: 2rem;
}

.weather-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.weather-icon {
    font-size: 4rem;
}

.temperature {
    font-size: 3rem;
    font-weight: bold;
}

.description {
    font-size: 1.5rem;
    text-transform: capitalize;
}

.details {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.details div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.forecast-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.forecast-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}

.forecast-date {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.forecast-icon {
    font-size: 2rem;
    margin: 0.5rem 0;
}

.forecast-temp {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    #locationInput {
        width: 100%;
    }
    
    .forecast-cards {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}