.sidebar {
    display: flex;
    flex-direction: column;
    flex: 0.30;
    width: 30%;
    position: relative;
    background-color: white;
    border-right: 1px solid lightgrey;
    background-color: #d2f7ff ;
}

.sidebar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    padding-right: 0;
    background-color: #d2f7ff ;
}

.sidebar__header--left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 64%;
}

.sidebar__header--left h4 {
    margin-left: 10px;
    font-size: 15px;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
}

.sidebar__header--right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 120px;
}

.sidebar__header--right .MuiButtonBase-root {
    padding: 8px;
}

.sidebar__header--right .MuiButtonBase-root:first-child {
   /* color: #ff4c30;*/
}

.sidebar__header--right .MuiSvgIcon-root {
    margin-right: 0;
    font-size: 24px !important;
}

.sidebar__search {
    display: flex;
    align-items: center;
    background-color: #d2f7ff;
    padding: 10px;
}

.sidebar__search--container {
    display: flex;
    align-items: center;
    background-color: white;
    width: 100%;
    height: 45px;
    box-shadow: 0px 0px 8px 0px #00000016;
    /*border: 1px solid #00000016;*/
    border-radius: 26px;
    padding-right: 13px;
}

.sidebar__search--container>.MuiSvgIcon-root {
    color: grey;
    padding: 10px;
    box-sizing: content-box;
}

.sidebar__search--container>input {
    font-family: Roboto;
    font-size: 16px;
    font-weight: 400;
    border: none;
    margin-left: 0px;
    width: 100%;
}

.sidebar__search--container>input:focus {
    outline: none;
}

.sidebar__menu {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #d2f7ff;
    margin-bottom: 20px;
    margin-top: 10px;
    padding: 0px 10px;
}

.sidebar__menu > a {
    border-radius: 17px;
    background-color: transparent;
    box-shadow: 0px 0px 0px 0px #00000016; 
    transition: background-color 200ms ease-out, box-shadow 200ms ease-out ;
}

.sidebar__menu>a, .sidebar__menu>div {
    flex: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.sidebar__menu div {
    width: 100%;
    display: grid;
    place-items: center;
    padding: 2px 0px;
    border-radius: 17px;
    background-color: transparent;
    box-shadow: 0px 0px 0px 0px #00000016; 
    transition: background-color 200ms ease-out, box-shadow 200ms ease-out ;
}

.sidebar__menu div>.MuiSvgIcon-root {
    fill: #0000008a;
}

.sidebar__menu div>.sidebar__menu--line {
    opacity: 0;
    width: 100%;
    height: 3px;
    background: #0000008a;
    margin-top: 5px;
}

.sidebar__menu > .sidebar__menu--selected {
    border-radius: 17px;
    background-color: white;
    box-shadow: 0px 0px 8px 0px #00000016; 
}

.sidebar__menu>.sidebar__menu--selected>div>.sidebar__menu--line {
    opacity: 0;
}

.sidebar__chat--container {
    flex: 1;
    background-color: white;
    overflow: scroll;
    position: relative;
    scrollbar-width: none;
    border-radius: 25px 25px 0px 0px;
}

.side {
    transform: scale(1) translateZ(0px) !important;
}

@keyframes slected-menu {
    from {
        background-color: transparent;
        box-shadow: 0px 0px 0px 0px #00000016; 
    }

    to {
        background-color: white;
        box-shadow: 0px 0px 8px 0px #00000016;  
    }
}

@media (max-width: 760px) {
    .sidebar {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        /*transform: scale(1.2) translateZ(0px);
        transition: transform 300ms cubic-bezier(0.25, 1, 0.5, 1) !important;
        will-change: transform;*/
    }

    .sidebar__header {
        border: none;
    }

    .sidebar__search {
        border: none;
    }

    .sidebar__menu {
        border: none;
    }
}

@media (min-width: 950px) {
    .sidebar__header--right .MuiButtonBase-root {
        padding: 10px;
    }
}

@media (max-width: 340px) {
    .sidebar__header--right .MuiButtonBase-root {
        padding: 4px;
    }
}