/* Widget Pet Friendly */
.petfriendly-widget {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
    background: #fffbe7;
    border: 3px solid #1e7a8a;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    padding: 12px 18px 12px 12px;
    display: none;
    align-items: center;
    animation: petblink 1s infinite alternate;
}

.petfriendly-widget img {
    height: 80px;
    width: auto;
    display: block;
}

.petfriendly-widget .close-btn {
    background: #ff5252;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 1.3em;
    margin-left: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.petfriendly-widget .close-btn:hover {
    background: #c62828;
}

@keyframes petblink {
    0% {
        box-shadow: 0 0 24px 8px #ffc107, 0 8px 32px rgba(0, 0, 0, 0.18);
    }

    100% {
        box-shadow: 0 0 32px 16px #ff9800, 0 8px 32px rgba(0, 0, 0, 0.18);
    }
}

/* État actif des widgets */
.petfriendly-widget.active,
.weather-widget.active,
.market-widget.active {
    display: flex !important;
}

.weather-widget.active {
    display: block !important;
}

/* Widgets masqués par défaut */
.weather-widget,
.market-widget {
    display: none;
}