.atipanel-wrapper {
    position: relative;
    display: flex;
    flex: 1;
}
.atipanel-menu {
  overflow: hidden;
  width: 300px;
  transition: width 0.6s ease;
  display: flex;
}
.atipanel-menu-wrapper{
    background: var(--base-bg);
    min-width: 100%;
    width: max-content;
    height: 100%;
    font-size: .9rem;
}
.atipanel-menu-items {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-weight: 500;
    --tw-font-weight: 500;
} 

.atipanel-menu-item {
    display: flex;
    align-items: center;
    border-radius: var(--border-radius);
    line-height: 2;
    height: 45px;
    padding: 8px 12px;
    color: var(--menu-color);
}

.atipanel-menu-item-active, .atipanel-menu-item:hover, .atipanel-menu-item:active, .atipanel-menu-item:focus {
    box-shadow: inset 0 0 15px 0px var(--box-shadow);
}
.atipanel-menu-item-icon {
    width: 35px;
    display: flex;
    justify-items: center;
}
.atipanel-menu-item-text {
    flex: 1;
}
.atipanel-menu-item-icon .ati-icon {
    width: 24px;
}
.atipanel-menu-header{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 98.39px;
}
.atipanel-menu-icon svg {
    transform: rotate(180deg);
    cursor: pointer;
    width: 1.9rem !important;
    height: 1.9rem !important;
    margin-top: 10px;
}
.atipanel-menu-item-title-label{
    display:flex;
    flex: 1;  
    position: relative;
    align-items: center;
}
.atipanel-menu-item-title {
    flex: 1;
}
.atipanel-menu-item-label {
    min-height: 1.1rem;
    height: 1.1rem;
    padding: 0 5px;
    padding-inline: .50rem;
    font-size: .7rem;
    border-radius: var(--border-radius);
    display: flex;
    min-width: 2rem;
    justify-content: center;
    text-transform: uppercase;
}
.atipanel-container{
    display: flex;
    flex: 1;
    flex-direction: column;
}

.atipanel-container-header{
    background: var(--base-bg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 10px;
    justify-content: space-between;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 99;
}

.atipanel-container-header-m {
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
}
.atipanel-container-header-m img{
    cursor: pointer;
}
.atipanel-container-header-r {
    z-index:999999;
}
.atipanel-container-header-l{
    display: flex;
    place-items: center;
    gap: 10px;
    justify-content: flex-end;
}
.atipanel-container-header-l > span {
    display: grid;
    place-items: center;
    border-radius: 50%;
    cursor: pointer;
    width: 32px;
    height: 32px;
    box-shadow: 0 0 0px 1px #ffffff2b;
}
.atipanel-container-header-l > span:hover {
    box-shadow: var(--hover-shadow);
}
.atipanel-container-header-l img{
    border-radius: 50%;
}
.atipanel-container-header .ati-icon{
    width: 1.6rem;
    height: 1.6rem;
}

.atipanel-avatar-wrapper {
  display: inline-block;
  position: relative;
}
.atipanel-avatar-wrapper::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    bottom: 2.4px;
    right: 1.5px;
    box-shadow: 0 0 0 1px #fff;
}
.atipanel-avatar-wrapper.online::after {
  background: #00c853;
}
.atipanel-avatar-wrapper.offline::after {
  background: #b00000;
}
.atipanel-avatar-wrapper::before { 
    content: attr(data-status);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 0px 5px 0px;
    border-radius: 4px;
    font-size: 8px;
    white-space: nowrap;
    margin-top: 1px;
    display: grid;
    place-items: center;
    opacity: 1;
    pointer-events: none;
    transition: none;
}
.atipanel-avatar-wrapper.online::before {
    background: #00c853; /* green */
}

.atipanel-avatar-wrapper.offline::before {
    background: #b00000 /* red */
}
.atipanel-popup-content {
    display: none;
}
.atipanel-popup-content .atipanel-menu-item-title {
    opacity: unset !important;
}
.atipanel-popup-content .atipanel-menu-item-icon {
    width: 30px!important;
}
.atipanel-popup-content.show {
    display: flex;
}
#atiPaneluserMenu {
    left: -1px;
    top: 47px;
    flex-direction: column;
    position: absolute;
    width: 205px;
    gap: 5px;
    background: var(--base-bg);
    padding: 5px;
    border-radius: var(--border-radius);
}
.atipanel-content {
    font-size: .9rem;
    display: flex;
    flex: 1;
    padding: 0 10px;
    flex-direction: column;
    gap: 10px;
    background: var(--primary-bg);
    box-shadow: inset 0 0 15px 0px var(--box-shadow);
    overflow: auto;
}
.atipanel-content > *:not(:empty):not(.atipanel-content-loading-wrapper) {
    margin: 0;
    padding: 10px;
}
.atipanel-content >*:empty {
    display: none;
}
.atipanel-content-breadcrumb { 
    width: 100%;
    display: flex;
    gap: 10px;
    margin-top: 8px !important;
    height: 50px;
    align-items: center;
}
.atipanel-content-breadcrumb .ati-icon{ 
    width: 24px;
}
#atipanelBreadcrumbTitle { 
    display: flex;
    height: 30px;
    padding: 0 20px 0 35px;
    clip-path: polygon(100% 0%, 90% 50%, 100% 100%, 25% 100%, 10% 50%, 25% 0%);
    align-items: center;
    background: var(--base-bg);
    font-weight: 500;
    min-width: fit-content;
}
.atipanel-content-loading-wrapper { 
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    height: 100%;
    overflow: auto;
}
.atipanel-content-loading-wrapper > *:not(:empty) {
    margin: 0;
    padding: 10px;
    border-radius: var(--border-radius);
}
.atipanel-loading {
    flex: 1;
    display: flex;
    place-items: center;
    z-index: 99999999;
    align-items: center;
    font-size: 30px;
    color: var(--color-light);
    justify-content: center;
}
.atipanel-loading svg{
    width: 2rem;
    height: 2rem;
}
.atipanel-menu-content *{
    background: #f5bbd600;
    background-color: #f5bbd600;
    color: var(--color-base);
}
.atipanel-menu-content {
    display: none;
}
.atipanel-menu-content form input{
    margin: 5px 0px;
    height: 43px !important;
    width: 100% !important;
    border-radius: 8px;
    border: unset;
    padding: 10;
    position: relative;
    outline-style: unset;
    outline-width: unset;
}
/* responsive start*/
.atipanel-footer {
    text-align: center;
    background: var(--base-bg);
    z-index: 999;
}
.atipanel-footer > p{
    margin: 10px;
}
/* loader start */
.atipanel-loader {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--color-base);
    border-radius: 50%;
    animation: atispin 0.7s linear infinite;
}
@keyframes atispin {
  100% {
    transform: rotate(360deg);
  }
}

/* loader end */
@media (max-width: 800px) {
    .atipanel-menu {
        width: 0px;
        position: absolute;
        top: 0;
        bottom: 0;
        z-index: 9;
        background: var(--base-bg);
    }
    .atipanel-menu-header{
        transition: transform 0.3s ease, opacity 0.3s ease;
        width: 100%;
        opacity: 0;
    }
    .atipanel-menu-header, .atipanel-container-header{
        background: var(--base-bg);
        box-shadow: 0 0 0px 0.5px #ffffff5c;
    }
    .atipanel-content {
        box-shadow: unset;
    }
    .atipanel-menu-items {
        margin-top: 30px;
    }
}
/*responsive end*/