@media (max-width: 768px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .location-btn span {
        display: none;
    }
    
    .location-btn::after {
        content: '📍';
    }
    
    .city-name {
        font-size: 1.5rem;
    }
    
    .temperature-display {
        font-size: 3rem;
    }
    
    .forecast-container {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

@media (min-width: 769px) {
    .current-weather {
        max-width: 600px;
        margin: 0 auto 2rem;
    }
    
    .hourly-forecast .forecast-container {
        grid-template-columns: repeat(8, 1fr);
    }
    
    .daily-forecast .forecast-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .location-controls {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    
    .search-container {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .city-input {
        min-width: 0;
        flex: 1;
    }
    
    .location-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .city-input {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .search-btn,
    .close-search-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}