/*
    ARQUIVO: weather.css
    DESCRIÇÃO: Estilos visuais para o widget de clima com fidelidade e profundidade sutil.
    VERSÃO: 1.8.2
*/

.weather-footer {
    width: 588px;
    padding: 16px 24px;
    margin-top: 18px;
    background: #0000001a;
    border-radius: 8px;
    border: 1px solid #00000080;
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 160px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #ffffff;
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.6);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); /* Profundidade 3D */
}

.weather-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.weather-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.weather-location {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
}

.weather-main {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.weather-icon {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.3)); /* Sombra 3D no ícone */
    transition: transform 0.3s ease;
}

.weather-footer:hover .weather-icon {
    transform: scale(1.1) translateY(-5px);
}

.weather-temp-current {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.weather-temp-value {
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
}

.weather-details {
    display: flex;
    justify-content: space-around;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.weather-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.weather-detail-label {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.weather-detail-value {
    font-size: 14px;
    font-weight: 600;
}

/* MODO ESCURO */
body.dark-mode .weather-footer {
    border: 1px solid #ffffff80;
}

body.dark-mode .weather-details {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* MOBILE */
@media (max-width: 600px) {
    .weather-footer {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        padding: 16px 2px;
        min-height: auto;
        position: fixed;
        bottom: 10px;
        z-index: 999;
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }
}
