/* weath_style.css */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.weather-container {
    max-width: 900px;
    margin: 0 auto;
}

.weather-header {
    text-align: center;
    margin-bottom: 2rem;
}

.weather-header h1 {
    font-size: 2.5rem;
    color: #111827;
    margin: 0 0 0.5rem 0;
}

.weather-header p {
    font-size: 1.1rem;
    color: #4b5563;
}

.card {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

/* Main Current Weather Card */
.current-weather-card {
    padding: 2rem;
    background: linear-gradient(to right, #f9fafb, #f3f4f6);
}

.current-weather-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.current-weather-info {
    text-align: left;
}

.current-weather-info .location {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.current-weather-info .temperature {
    font-size: 5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.current-weather-info .conditions {
    font-size: 1.25rem;
    color: #374151;
    margin-top: 0.5rem;
    text-transform: capitalize;
}

.current-weather-icon-container .weather-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.05);
}

/* Forecast Section */
.forecast-card {
    padding: 1.5rem;
}

.forecast-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

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

.forecast-day-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
}
.forecast-day-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.07), 0 4px 6px -2px rgba(0,0,0,0.05);
    transform: translateY(-3px);
}


.forecast-day-card .day-name {
    font-weight: 600;
    font-size: 1rem;
    color: #1f2937;
}

.forecast-day-card .weather-icon {
    width: 50px;
    height: 50px;
    margin: 0.5rem auto;
}

.forecast-day-card .temps {
    font-size: 1.1rem;
    font-weight: 600;
}
.forecast-day-card .temps .low {
    color: #6b7280;
    margin-left: 0.5rem;
}

.forecast-day-card .conditions {
    font-size: 0.8rem;
    color: #4b5563;
    margin-top: 0.25rem;
}

.loading-indicator {
    text-align: center;
    font-size: 1.2rem;
    color: #4b5563;
    padding: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .current-weather-content {
        flex-direction: column;
        text-align: center;
    }
    .current-weather-info {
        text-align: center;
        margin-bottom: 2rem;
    }
    .forecast-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}