.tooltip {
    /*--arrow-color:#333;*/
    position: absolute;
    display: inline-block;
    z-index: 9999;
}
/*:tooltip{*/
/*    --arrow-color:#333*/
/*}*/

/* Tooltip arrow for top position */
.tooltip-top::after {
    bottom: calc(50% + 16px);
    left: 50%;
    transform: translateX(-50%);
    border-color: var(--arrow-color, #333) transparent transparent transparent;
}

/* Tooltip arrow for bottom position */
.tooltip-bottom::after {
    top: calc(50% + 16px);
    left: 50%;
    /*rotate(180deg)*/
    transform: translateX(-50%);
    border-color: transparent transparent var(--arrow-color, #333) transparent;
}

/* Tooltip arrow for left position */
.tooltip-left::after {
    top: 50%;
    right: calc(50% + 16px);
    transform: translateY(-50%);
    border-color: transparent transparent transparent var(--arrow-color, #333);
}

/* Tooltip arrow for right position */
.tooltip-right::after {
    top: 50%;
    right: calc(50% + 16px);
    transform: translateY(-50%);
    border-color: transparent var(--arrow-color, #333) transparent transparent;
}

/* Tooltip arrow */
:root{
    --black-font-color: rgba(51, 51, 51, 1);
    --light-font-color: rgba(102, 102, 102, 1);
}
#tooltip{
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.custom_tooltip::after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 10px;
    width: 0;
    z-index: 9999;
}
.tooltip-content div.user_tooltip{
    padding: 0;
    width: 20rem;
}
.tooltip-content div.user_tooltip .user_tooltip_header{
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    background: var(--card-color-bg4);
    color: var();
}
.tooltip-content .user_tooltip_header a{
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.25rem;
    overflow: hidden;
    flex: none;
}
.tooltip-content .user_tooltip_header a img{
    width: 100%;
    height: 100%;
}
.tooltip-content .user_tooltip_header .user_msg_content{
    width: 140px;

    flex: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-left: 0.625rem;
}
.tooltip-content .user_tooltip_header .user_msg_content .user_name{

    word-break: break-all !important;
    white-space: pre-line !important;
    overflow-wrap: anywhere !important;
    color: var(--black-font-color);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5rem;
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
}
.tooltip-content .user_tooltip_header .user_msg_content .user_phone{
    /*color: rgba(153, 153, 153, 1);*/
    font-size: 0.75rem;
    line-height: 1.125rem;
    margin-top: 0.125rem;
}
.tooltip-content .user_tooltip_header .user_logout{
    /*color: var(--light-font-color);*/
}
.tooltip-content .user_tooltip .pointer_item{
    padding: 0.75rem 1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(229, 230, 235, 1);
    /*border-bottom: 1px solid rgba(229, 230, 235, 1);*/
    box-sizing: border-box;
    position: relative;
}
.tooltip-content .user_tooltip .pointer_item::before{
    content: '';
    position: absolute;
    width: calc(100% - 20px);
    height: 1px;
    background: rgba(229, 230, 235, 1);
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0%);
}
.tooltip-content .user_tooltip .pointer_item .coin{
    flex: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: var(--black-font-color);
}
.tooltip-content .user_tooltip .pointer_item .coin span{
    font-family: var(--theme-global-content-font), sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
    color: #1D2129;
}
.tooltip-content .user_tooltip .pointer_item .coin .point{
    color: #E21C34;
}
.tooltip-content .user_tooltip .pointer_item .coin img{
    width: 2rem;
    height: 2rem;
    position: relative;
    top: -2px;
}
.tooltip-content .user_tooltip .pointer_item a.btn-sign-in{
    flex: none;
    margin-left: 0.625rem;
    /*width: 3rem;*/
    height: 24px;
    padding: 0 5px;
    display: block;
    border-radius: 0.125rem;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    background: var(--button-color-gradient-bg1);
    color: var(--button-color-gradient-text1);
}
.tooltip-content .user_tooltip .pointer_item a.btn-sign-in.sign-up{
    /*background: rgba(153, 153, 153, 1);*/
}
.tooltip-content .user_tooltip .user_menu{
    display: flex;
    flex-direction: row;
    /*justify-content: center;*/
    justify-content: space-evenly;
    /*align-items: center;*/
    align-items: flex-start;
}
.tooltip-content .user_tooltip .user_menu .user_menu_item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 5rem;
    padding: 0.688rem 0;
    cursor: pointer;
}
.tooltip-content .user_tooltip .user_menu .user_menu_item img{
    width: 1.5rem;
    height: 1.5rem;
}
.tooltip-content .user_tooltip .user_menu .user_menu_item span{
    font-size: 0.75rem;
    line-height: 1.125rem;
    margin-top: 0.375rem;
    color: var(--light-font-color);
    text-align: center;
}

