/* =========================================================
   VOXLY COMPOSER AUTOCOMPLETE v0.18.18.1
   ========================================================= */

.composer {
    position: relative;
}


.voxly-composer-autocomplete {
    position: absolute;

    left: 20px;
    right: 20px;

    bottom:
        calc(100% - 12px);

    z-index: 12000;

    max-height: 330px;

    overflow-x: hidden;
    overflow-y: auto;

    padding: 6px;

    border:
        1px solid
        rgba(255, 255, 255, .10);

    border-radius: 10px;

    background:
        #191c23;

    box-shadow:
        0 16px 45px
        rgba(0, 0, 0, .48);

    box-sizing:
        border-box;
}


.voxly-composer-autocomplete[hidden] {
    display: none !important;
}


button.voxly-autocomplete-item {
    appearance: none;

    width: 100%;
    height: auto !important;
    min-height: 0 !important;

    display: grid;

    grid-template-columns:
        38px minmax(0, 1fr) auto;

    align-items: center;

    gap: 10px;

    margin: 0;
    padding: 8px 10px;

    border: 0;
    border-radius: 7px;

    background:
        transparent;

    color:
        #f2f4f8;

    text-align:
        left;

    cursor:
        pointer;

    box-sizing:
        border-box;
}


button.voxly-autocomplete-item:hover,
button.voxly-autocomplete-item.selected {
    background:
        rgba(
            101,
            116,
            255,
            .16
        );
}


.voxly-autocomplete-avatar {
    position:
        relative;

    width:
        36px;

    height:
        36px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    overflow:
        visible;

    border-radius:
        50%;

    background:
        #303646;

    color:
        white;

    font-size:
        11px;

    font-weight:
        850;
}


.voxly-autocomplete-avatar > img {
    width:
        36px;

    height:
        36px;

    display:
        block;

    border-radius:
        50%;

    object-fit:
        cover;
}


.voxly-autocomplete-online {
    position:
        absolute;

    right:
        -1px;

    bottom:
        -1px;

    width:
        10px;

    height:
        10px;

    border:
        2px solid
        #191c23;

    border-radius:
        50%;

    background:
        #36c978;

    box-sizing:
        border-box;
}


.voxly-autocomplete-copy {
    min-width: 0;

    display:
        flex;

    flex-direction:
        column;

    gap:
        2px;
}


.voxly-autocomplete-name {
    overflow:
        hidden;

    color:
        #ffffff;

    font-size:
        13px;

    font-weight:
        750;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;
}


.voxly-autocomplete-handle {
    overflow:
        hidden;

    color:
        rgba(
            255,
            255,
            255,
            .54
        );

    font-size:
        11px;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;
}


.voxly-autocomplete-role {
    padding:
        3px 6px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .08
        );

    border-radius:
        5px;

    color:
        rgba(
            255,
            255,
            255,
            .55
        );

    font-size:
        9px;

    font-weight:
        800;

    text-transform:
        uppercase;
}


.voxly-autocomplete-empty {
    padding:
        12px;

    color:
        rgba(
            255,
            255,
            255,
            .55
        );

    font-size:
        12px;

    text-align:
        center;
}


@media (max-width: 700px) {

    .voxly-composer-autocomplete {
        left:
            12px;

        right:
            12px;
    }


    .voxly-autocomplete-role {
        display:
            none;
    }
}
