/* mt_reusedcounter - bulle flottante */

.mt-reused-bubble {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
    box-sizing: border-box;
    width: 140px;
    height: 140px;
    padding: 0 10px;
    border-radius: 50%;
    background: #2b6c3f;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    transition: width .35s ease, height .35s ease, border-radius .35s ease, padding .35s ease;
    animation: mt-reused-float 3s ease-in-out infinite;
}

.mt-reused-icon {
    line-height: 0;
    margin-bottom: 6px;
}

.mt-reused-icon-img {
    display: block;
    height: 34px;
    width: auto;
    transition: height .35s ease;
}

.mt-reused-value {
    font-weight: 700;
    font-size: 22px;
    line-height: 1.1;
    white-space: nowrap;
}

.mt-reused-sub {
    margin-top: 2px;
    font-size: 13px;
    font-weight: 400;
}

.mt-reused-expanded {
    display: none;
    width: 100%;
}

/* --- etat agrandi --- */
.mt-reused-bubble.is-open {
    width: 360px;
    height: 360px;
    padding: 28px;
    border-radius: 24px;
    animation: none;
}

.mt-reused-bubble.is-open .mt-reused-collapsed {
    display: none;
}

.mt-reused-bubble.is-open .mt-reused-expanded {
    display: block;
}

.mt-reused-bubble.is-open .mt-reused-icon-img {
    height: 112px;
    animation: rotate 3s linear infinite;
}

.mt-reused-line {
    margin-top: 20px;
}

.mt-reused-line-label {
    display: block;
    margin-top: 4px;
    font-size: 15px;
    font-weight: 400;
    opacity: .85;
}

.mt-reused-line-value {
    display: block;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.15;
    white-space: nowrap;
}

@keyframes mt-reused-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
