/* --- Contenedor principal --- */
.weather-widget {
    position: relative;
    width: 100%;
    height: auto;
    min-width: 220px;
    padding: 15px;
    border-radius: 5px;
    font-size: 11px;
    font-family: "Roboto", sans-serif;
    color: #fff;
    box-sizing: border-box;

    background: linear-gradient(
        0deg,
        rgb(104, 170, 201) 0%,
        rgb(30, 124, 174) 46%,
        rgb(20, 115, 162) 60%
    );
}

/* --- Fecha y ciudad --- */
.date_weather {
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: #c7deea;
}

.weather-widget-date {
    font-size: 1rem;
    color: var(--text-gray);
}

.weather-widget-city {
    font-size: 1.2rem;
    padding: 3px 0;
    text-transform: uppercase;
    font-family: "Roboto Flex", sans-serif;
    display: flex;
    align-items: center;
}

/* --- Temperatura principal --- */
.weather-widget-temp {
    display: flex;
    align-items: flex-end;
}

.weather-widget-grades {
    font-size: 4.4rem;
    font-family: "Roboto", serif;
    font-weight: 600;
    color: #fff;
}

/* --- Temperaturas máximas y mínimas --- */
.min_max {
    display: grid;
}

.max_weather,
.min_weather {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weather-maxmin {
    width: 25%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.weather-max {
    color: #ff0000;
}

.weather-min {
    color: #006eec;
}

.weather-min img,
.weather-max img {
    width: 12px;
    height: 18px;
}

/* --- Icono del clima --- */
.img_weather img {
    /* width: 100px; */
    position: absolute;
    top: 50px;
    left: 135px;
}

/* --- Filas y secciones --- */
.row_weather {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.units {
    border-top: 1px dashed #73cefd;
    padding-top: 15px;
}

/* --- Descripción del clima --- */
.weather_desc {
    font-family: "Roboto Flex", sans-serif;
    display: flex;
    align-items: center;
}

/* --- Unidades e íconos pequeños --- */
.unit {
    display: flex;
    align-items: center;
}

.unit img {
    width: 22px;
    padding-right: 5px;
}
