
/* RemisX PWA - FIX DEFINITIVO BADGES MAPA v1.1.4 */

/*
 * No usamos flex ni dependemos de .nearby-pill.
 * Cada badge tiene una coordenada vertical propia.
 */
.car-status-badges{
    position:absolute !important;
    top:86px !important;
    right:14px !important;
    left:auto !important;
    bottom:auto !important;

    display:block !important;
    width:230px !important;
    height:100px !important;

    margin:0 !important;
    padding:0 !important;

    z-index:720 !important;
    pointer-events:none !important;
}

.car-status-badges #nearbyPill,
.car-status-badges #occupiedPill{
    position:absolute !important;

    right:0 !important;
    left:auto !important;
    bottom:auto !important;

    display:inline-flex !important;
    align-items:center !important;

    width:max-content !important;
    max-width:220px !important;
    min-height:38px !important;

    margin:0 !important;
    transform:none !important;

    white-space:nowrap !important;
    box-sizing:border-box !important;
}

/* DISPONIBLES: arriba */
.car-status-badges #nearbyPill{
    top:0 !important;
}

/* OCUPADOS: 52px debajo */
.car-status-badges #occupiedPill{
    top:52px !important;

    color:#ffd9db !important;
    border-color:rgba(255,77,87,.36) !important;
    background:rgba(28,10,13,.94) !important;
}

/* El punto de ocupado debe ser rojo */
.car-status-badges #occupiedPill::before{
    background:#ff4d57 !important;
    box-shadow:
        0 0 0 4px rgba(255,77,87,.10),
        0 0 13px rgba(255,77,87,.42) !important;
}

/* Disponible verde */
.car-status-badges #nearbyPill::before{
    background:#35d07f !important;
}

@media (max-width:480px){
    .car-status-badges{
        top:82px !important;
        right:10px !important;
        width:220px !important;
    }

    .car-status-badges #occupiedPill{
        top:50px !important;
    }
}
