.weather-widget {
    display: flex;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
    transition: all 0.3s ease;
    animation: weatherChange 0.5s ease-out;
}

.weather-widget.horizontal {
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.weather-widget.vertical {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.weather-widget-icon {
    font-size: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weather-widget-icon img {
    width: 64px;
    height: 64px;
}

.weather-widget-details {
    flex: 1;
}

.weather-widget-location {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 5px;
}

.weather-widget-description {
    font-size: 1.1em;
    margin-bottom: 5px;
    text-transform: capitalize;
}

.weather-widget-temp {
    font-size: 1.8em;
    font-weight: 600;
    margin: 5px 0;
}

.weather-widget-humidity,
.weather-widget-wind {
    font-size: 0.9em;
    margin: 3px 0;
    opacity: 0.8;
}

.weather-widget-updated {
    font-size: 0.8em;
    opacity: 0.6;
    margin-top: 10px;
}

.weather-widget-error {
    padding: 15px;
    background-color: #ffebee;
    color: #c62828;
    border-radius: 4px;
    text-align: center;
}

.weather-simple-widget {
    position: relative;
}

.weather-simple-status {
    width: max-content;
    min-width: 125px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    justify-content: center;
}

.weather-simple-tempbox {
    padding: 18px 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-size: 2.2em;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

.weather-simple-tempbox.show {
    transform: translateY(10px);
    opacity: 1;
    visibility: visible;
}

.weather-simple-widget i {
    font-size: 1.5em;
}

.weather-simple-tempbox i {
    font-size: 1.3em;
}

.weather-simple-tempbox svg {
    width: 2em;
    height: 2em;
}

/* Responsive adjustments */
@media screen and (max-width: 767px) {
    .weather-simple-tempbox {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .weather-widget.horizontal {
        flex-direction: column;
        text-align: center;
    }

    .weather-widget-icon {
        margin-bottom: 10px;
    }

    .weather-widget-temp {
        font-size: 1.5em;
    }
}

/* Animation for weather changes */
@keyframes weatherChange {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}