/* header */
.header {
    border-bottom: 1px solid var(--border-color);
}
.btn-icon {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: calc(1rem + 1.5em + 2px);
    width: calc(1rem + 1.5em + 2px);
    padding: 0;
}

.app-search .form-control {
    border: none;
    height: 38px;
    padding-left: 40px;
    padding-right: 30px;
    background: var(--bg-light);
    color: var(--text-i);
    -webkit-box-shadow: none;
    box-shadow: none;
}
.header-item {
    height: 70px;
    display: flex;
    align-items: center;
}
.header .btn-topbar {
    height: 42px;
    width: 42px;
    color: var(--text-c);
    transition: all 0.5s ease;
}
.header .btn-topbar.active,
.header .btn-topbar:active,
.header .btn-topbar:focus,
.header .btn-topbar:hover {
    background-color: #3577f11f;
}

.bg-pattern {
    background: url("../images/bg/modal-bg.png") #fff;
}
.dropdown-head .nav-tabs-custom {
    border: 0;
}
.waves-effect {
    position: relative;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.dropdown-head .nav-tabs-custom .nav-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}
.nav-tabs-custom .nav-item .nav-link {
    border: none;
    font-weight: 500;
}
.dropdown-head .nav-tabs-custom .nav-link.active {
    background-color: #fff;
}
.nav-tabs-custom .nav-item .nav-link.active {
    color: var(--bg-primary);
}
[data-simplebar] {
    position: relative;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
}
.simplebar-wrapper {
    overflow: hidden;
    width: inherit;
    height: inherit;
    max-width: inherit;
    max-height: inherit;
}
.simplebar-height-auto-observer-wrapper {
    box-sizing: inherit !important;
    height: 100%;
    width: 100%;
    max-width: 1px;
    position: relative;
    float: left;
    max-height: 1px;
    overflow: hidden;
    z-index: -1;
    padding: 0;
    margin: 0;
    pointer-events: none;
    flex-grow: inherit;
    flex-shrink: 0;
    flex-basis: 0;
}
.simplebar-mask {
    direction: inherit;
    position: absolute;
    overflow: hidden;
    padding: 0;
    margin: 0;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: auto !important;
    height: auto !important;
    z-index: 0;
}
.simplebar-offset {
    direction: inherit !important;
    -webkit-box-sizing: inherit !important;
    box-sizing: inherit !important;
    resize: none !important;
    position: absolute;
    top: 0;
    left: 0 !important;
    bottom: 0;
    right: 0 !important;
    padding: 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
}
.simplebar-content-wrapper {
    direction: inherit;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    position: relative;
    display: block;
    height: 100%;
    width: auto;
    visibility: visible;
    overflow: auto;
    max-width: 100%;
    max-height: 100%;
    scrollbar-width: none;
    padding: 0 !important;
}
.notification-item {
    padding: 0.75rem 1rem;
    white-space: inherit;
    position: relative;
}
.avatar-xs {
    height: 2rem;
    width: 2rem;
}
.avatar-title {
    align-items: center;
    background-color: var(--bg-primary);
    color: #fff;
    display: flex;
    font-weight: 500;
    height: 100%;
    justify-content: center;
    width: 100%;
}
.simplebar-placeholder {
    max-height: 100%;
    max-width: 100%;
    width: 100%;
    pointer-events: none;
}
.simplebar-track {
    z-index: 1;
    position: absolute;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}
.simplebar-track.simplebar-horizontal {
    left: 0;
    height: 11px;
}
.simplebar-scrollbar {
    position: absolute;
    right: 2px;
    width: 6px;
    min-height: 10px;
}
.simplebar-track.simplebar-horizontal .simplebar-scrollbar {
    right: auto;
    left: 0;
    top: 2px;
    height: 7px;
    min-height: 0;
    min-width: 10px;
    width: auto;
}
.simplebar-track.simplebar-vertical {
    top: 0;
    width: 11px;
}
.simplebar-scrollbar:before {
    position: absolute;
    content: "";
    background: #a2adb7;
    border-radius: 7px;
    left: 0;
    right: 0;
    opacity: 0;
    -webkit-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
}
.simplebar-track.simplebar-vertical .simplebar-scrollbar:before {
    top: 2px;
    bottom: 2px;
}
.header .topbar-head-dropdown .notification-actions {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 7px;
    border-top: 1px solid var(--border-color);
}
.notification-item .form-check-input {
    position: relative;
    z-index: 2;
}
.form-check .form-check-input {
    cursor: pointer;
}
.header-profile-user {
    height: 32px;
    width: 32px;
}
.navbar-header .user-name-text {
    color: var(--text-i);
}
.navbar-header .user-name-sub-text {
    color: var(--text-c);
}
/* menu */
.navbar-menu {
    position: fixed;
    margin-top: 70px;
    top: 0;
    width: 100%;
    left: 0;
    box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12);
    z-index: 100;
    bottom: auto;
    padding: 0 calc(1.5rem * 0.5);
}
.navbar-menu .navbar-nav .nav-link {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #6d7080;
    padding: 0.75rem 1.5rem;
    gap: 10px;
}
.menu-dropdown {
    position: absolute;
    min-width: 13rem;
    padding: 0.5rem 0;
    box-shadow: 0 0 5px rgba(15, 34, 58, 0.15);
    animation-name: DropDownSlide;
    animation-duration: 0.3s;
    animation-fill-mode: both;
    margin: 0;
    z-index: 1000;
    background-color: #fff;
    background-clip: padding-box;
    border: 0 solid var(--border-color);
    border-radius: 0.3rem;
    display: none;
}
#ASorders {
    min-width: 15rem;
}
.navbar-nav .nav-item:hover > .menu-dropdown {
    display: block;
    height: auto !important;
}
.navbar-nav .nav-item:hover > .menu-dropdown .nav-link {
    font-size: 14px;
    padding: 0.75rem;
}
.navbar-nav .nav-item:hover > .nav-link {
    color: var(--bg-primary);
}
.navbar-menu .navbar-nav .nav-link[data-bs-toggle="collapse"]::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: block;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: inherit;
    transition: transform 0.2s ease;
    right: 0;
}
@keyframes DropDownSlide {
    100% {
        margin-top: -1px;
    }

    0% {
        margin-top: 8px;
    }
}
.nav-link.active{
    color: var(--bg-primary) !important;
}
@media (min-width: 768px) {
    .topbar-user {
        background-color: var(--bg-light);
    }
}
@media (max-width: 1024px) {
    .navbar-menu {
        display: none;
    }
}
@media (min-width: 600px) {
    .dropdown-menu-lg {
        width: 320px;
    }
}
@media (max-width: 600px) {
    .header .dropdown {
        position: static;
    }
    .header .dropdown .dropdown-menu {
        width: 100%;
    }
}
@media (max-width: 360px) {
    .header .btn-topbar {
        height: 36px;
        width: 36px;
    }
}
