:root {
    --mw-primary: #1e88e5;
    --mw-secondary: #7c4dff;
    --mw-success: #43a047;
    --mw-info: #00acc1;
    --mw-warning: #ffa000;
    --mw-danger: #e53935;
    --mw-light: #f5f5f5;
    --mw-dark: #212121;
    --mw-gradient-start: #1e88e5;
    --mw-gradient-end: #7c4dff;
}

.mod-meto-weather {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.weather-city {
    margin: 0 0 20px 0;
    padding: 0;
}

/* Forecast Styles */
.weather-forecast {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.weather-layout-vertical {
    flex-direction: column;
}

.weather-layout-horizontal {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
}

.weather-layout-horizontal .weather-day {
    flex: 1;
    min-width: 0; /* Allow shrinking below min-width */
    width: 0; /* Force equal width distribution */
}

.weather-layout-vertical .weather-day {
    width: 100%;
}

.weather-day {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.2s ease;
    cursor: pointer;
    color: #ffffff;
}

.weather-day:hover {
    transform: translateY(-5px);
}

/* Weather condition gradients */
.weather-day[data-condition="Clear"] {
    background: linear-gradient(135deg, #ff9d00, #ff7300);
}

.weather-day[data-condition="Clouds"] {
    background: linear-gradient(135deg, #8e9eab, #6c7789);
}

.weather-day[data-condition="Rain"] {
    background: linear-gradient(135deg, #4a90e2, #357abd);
}

.weather-day[data-condition="Snow"] {
    background: linear-gradient(135deg, #b8d3e6, #86a9c7);
}

.weather-day[data-condition="Thunderstorm"] {
    background: linear-gradient(135deg, #485563, #29323c);
}

/* Current weather specific styles */
.weather-day.weather-current {
    order: -1; /* Ensures it's always first */
}

.weather-date {
    font-weight: bold;
    margin-bottom: 10px;
}

.weather-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
}

.weather-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.weather-temp {
    font-size: 2em;
    font-weight: bold;
    margin: 10px 0 5px;
}

.weather-minmax {
    font-size: 2em;
    margin: 10px 0;
    padding: 0;
}

.temp-max {
    color: #fff;
    font-weight: 500;
}

.temp-min {
    color: rgba(255, 255, 255, 0.8);
}

h3.weather-minmax {
    font-size: 2em;
    font-weight: bold;
    margin: 10px 0 5px;
}

.weather-details {
    margin-top: 10px;
}

.weather-description {
    font-size: 1.2em;
    margin-bottom: 8px;
    font-weight: 500;
}

.weather-humidity,
.weather-wind,
.weather-precipitation,
.current-feels-like {
    font-size: 0.9em;
    margin: 4px 0;
    opacity: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

@media (max-width: 768px) {
    .weather-layout-horizontal {
        flex-direction: column;
    }

    .weather-layout-horizontal .weather-day {
        width: 100%;
    }
} 