﻿/* ── Propiedades vistas: accesos e indicadores ─────────────────────────── */

.ls-off {
    display: none !important;
}

/* Badge con el número */
.ls-badge {
    display: inline-block;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #009344;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

/* Menú escritorio: píldora "Vistas  3" */
.ls-nav {
    display: inline-flex;
    align-items: center;
    margin-left: .5rem;
}

.ls-pill {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 7px 12px !important;
    border-radius: 999px;
    border: 1px solid rgba(0, 147, 68, .35);
    color: #009344 !important;
    font-weight: 600;
    line-height: 1;
}

    .ls-pill:hover {
        background: rgba(0, 147, 68, .08);
    }

/* Menú móvil: ícono con badge encima */
.ls-mobile {
    position: relative;
    display: inline-block;
}

    .ls-mobile .ls-badge {
        position: absolute;
        top: -4px;
        right: -8px;
    }

/* Botón flotante con miniaturas */
.ls-float {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 1040; /* bajo el offcanvas (1045) */
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    border-radius: 999px;
    background: #fff;
    color: #1b1b1b;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
    animation: lsIn .35s ease-out;
}

    .ls-float:hover {
        color: #009344;
    }

.ls-float-thumbs {
    display: flex;
}

    .ls-float-thumbs img {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #fff;
        margin-left: -12px;
        background: #eee;
    }

        .ls-float-thumbs img:first-child {
            margin-left: 0;
        }

.ls-float-text {
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
}

    .ls-float-text strong {
        color: #009344;
        font-size: 16px;
    }

/* "Actividad": pulso cuando se vio una propiedad nueva */
.ls-pulse {
    animation: lsPulse 1.2s ease-out 3;
}

@keyframes lsPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 147, 68, .55);
    }

    100% {
        box-shadow: 0 0 0 14px rgba(0, 147, 68, 0);
    }
}

@keyframes lsIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ls-float, .ls-pulse {
        animation: none;
    }
}
