* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #4B5320, #3A4020);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

#location-input {
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    width: 300px;
    transition: border-color 0.3s;
}

#location-input:focus {
    outline: none;
    border-color: #4B5320;
}

#search-btn {
    padding: 10px 20px;
    background: #4B5320;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

#search-btn:hover {
    background: #3A4020;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.tab-btn {
    padding: 10px 20px;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.tab-btn.active {
    background: #4B5320;
    color: white;
}

.tab-pane {
    display: none;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tab-pane.active {
    display: block;
}

.weather-card {
    text-align: center;
    padding: 20px;
}

.forecast-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.forecast-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.forecast-item:hover {
    transform: translateY(-5px);
}

.weather-icon {
    width: 50px;
    height: 50px;
    margin: 10px 0;
}

.temperature {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

.weather-description {
    color: #666;
    margin-bottom: 10px;
}

.weather-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.selected-day {
    border: 2px solid #4B5320;
    box-shadow: 0 0 8px #4B532033;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .search-container {
        flex-direction: column;
        align-items: center;
    }

    #location-input {
        width: 100%;
        max-width: 300px;
    }

    .tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1;
        min-width: 100px;
    }

    .forecast-container {
        grid-template-columns: 1fr;
    }
} 