* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f5f5f5;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
}

header {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.search-bar {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-bar input {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 250px;
}

.refresh-btn {
    background: #4B9CE9;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
}

.unit-toggle {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.unit-toggle button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.unit-toggle button.active {
    background: #333;
    color: #fff;
}

.weather-info {
    background: #4B9CE9;
    padding: 2rem;
    border-radius: 20px;
    color: white;
    text-align: center;
}

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

.temperature {
    font-size: 4rem;
    font-weight: 600;
    margin: 1rem 0;
}

.date, .weather-desc, .rain-chance {
    margin: 0.5rem 0;
}

.location {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.content-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
}

.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab {
    padding: 0.5rem 2rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    border-bottom: 2px solid transparent;
}

.tab.active {
    border-bottom-color: #4a90e2;
    color: #4a90e2;
}

.highlights h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.highlight-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.highlight-card h3 {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.highlight-card .value {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
}

.highlight-card .status {
    margin-top: 0.5rem;
    color: #666;
}

.sun-times {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
}

.weekly-forecast {
    display: none;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.forecast-day {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.forecast-day .day {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #666;
}

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

.forecast-temp {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.forecast-desc {
    color: #666;
    font-size: 0.9rem;
    text-transform: capitalize;
}

@media (max-width: 768px) {
    .container {
        margin: 0;
        border-radius: 0;
        padding: 1rem;
    }
    
    .weather-info {
        grid-column: 1 / -1;
    }
    
    .search-bar input {
        width: 100%;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}
