/* =========================================================
   VOXLY NAVIGATION FOUNDATION v0.12.1
   ========================================================= */

.communities {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 8px;

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

.voxly-community-rail-list {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 8px;

    width: 100%;
}

.voxly-community-divider {
    width: 30px;
    height: 1px;

    background:
        rgba(255,255,255,0.10);
}

.community-logo {
    flex: 0 0 auto;
}

.voxly-dm-home {
    font-size: 10px;
    font-weight: 800;
}

.voxly-add-community {
    margin-top: 2px;

    font-size: 22px;
    font-weight: 400;

    opacity: 0.45;
}

.voxly-add-community:disabled {
    cursor: default;
}

.voxly-dm-home-row {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 8px;

    border: 0;
    border-radius: 5px;

    padding:
        7px
        7px;

    cursor: pointer;

    text-align: left;

    background: transparent;
    color: inherit;
}

.voxly-dm-home-row:hover {
    background:
        rgba(255,255,255,0.06);
}

.voxly-dm-home-row.voxly-dm-active {
    background:
        rgba(255,255,255,0.10);
}

.voxly-dm-home-avatar {
    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 10px;
    font-weight: 700;

    background:
        rgba(255,255,255,0.08);
}

.voxly-dm-home-text {
    min-width: 0;
    flex: 1;

    display: flex;
    flex-direction: column;
}

.voxly-dm-home-name {
    overflow: hidden;

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.voxly-dm-home-preview {
    overflow: hidden;

    margin-top: 1px;

    font-size: 10px;

    white-space: nowrap;
    text-overflow: ellipsis;

    opacity: 0.48;
}

.voxly-dm-home-empty {
    padding: 10px 7px;

    font-size: 11px;

    opacity: 0.48;
}

.voxly-dm-home-row .voxly-dm-badge {
    margin-left: auto;
}

/* =========================================================
   VOXLY DM RAIL BADGE v0.12.2
   ========================================================= */

.voxly-dm-home {
    position: relative;
}

.voxly-dm-rail-badge {
    position: absolute;

    top: -3px;
    right: -3px;

    margin: 0;

    pointer-events: none;
}

/* =========================================================
   VOXLY BADGE CLIPPING FIX v0.18.13
   ========================================================= */

.voxly-dm-home .voxly-dm-rail-badge {
    top: 2px !important;
    right: 2px !important;

    z-index: 20;
}
