@font-face {
    font-family: ibm-plex-b;
    src: url('../fonts/IBM_Plex_Sans/IBMPlexSans-Bold.ttf');
}

@font-face {
    font-family: ibm-plex-i;
    src: url('../fonts/IBM_Plex_Sans/IBMPlexSans-Italic.ttf');
}

@font-face {
    font-family: ibm-plex-m;
    src: url('../fonts/IBM_Plex_Sans/IBMPlexSans-Medium.ttf');
}

@font-face {
    font-family: ibm-plex-r;
    src: url('../fonts/IBM_Plex_Sans/IBMPlexSans-Regular.ttf');
}

@font-face {
    font-family: ibm-plex-sb;
    src: url('../fonts/IBM_Plex_Sans/IBMPlexSans-SemiBold.ttf');
}

@font-face {
    font-family: ibm-plex-l;
    src: url('../fonts/IBM_Plex_Sans/IBMPlexSans-Light.ttf');
}

:root {
    --body-bg: #fafafb;
    --box-bg: #ffffff;
    --main-color: #0652dd;
    --text-color: #455560;
    --text-second-color: #72849ab3;
    --border-color: #e9e9e9;
    --menu-item-active-bg: rgba(62, 121, 247, 0.1);
    --box-border-radius: 15px;
    --sidebar-size: 220px;
    --sidebar-logo-img-size: 45px;
    --sidebar-logo-size: 80px;
    --profile-image-size: 45px;
    --main-header-height: 80px;
    --shadow: 0 1px 4px -1px rgb(0 0 0 / 15%);
    --darkmode-toggle-size: 20px;
}

.dark {
    --body-bg: #1a191f;
    --box-bg: #1a191f;
    --border-color: #222028;
    --text-color: #b9b9b9;
}

/* body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    height: auto !important;
    background: linear-gradient(0deg, #23292F 0%, #2C3238 7%, #373D42 17%, #2E3238 30%, #22272B 45%, #1B2023 66%, #191E21 100%) 0% 0% no-repeat padding-box;
    min-height: 100vh !important;
} */

a {
    text-decoration: none;
    color: unset;
    display: inline-block;
}

.sidebar {
    background-color: #3A3D3F;
    position: fixed;
    top: 80px;
    left: 0;
    width: var(--sidebar-size);
    height: 100vh;
    box-shadow: 0px 0px 0px #00000029;
    overflow-y: auto;
    border-radius: 0px 0px 13px 13px;
}

.dark .sidebar {
    border-right: 2px solid var(--border-color);
}

.sidebar-logo {
    height: auto;
    position: relative;
    /* padding: 10px 5px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-logo img {
    height: var(--sidebar-logo-img-size);
    max-width: 100%;
}

.sidebar-close {
    display: none;
}

.sidebar-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

.sidebar-user-info {
    display: flex;
    align-items: center;
}

.main-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
}

.profile-n {
    color: #A19F9F;
    font-size: 30px;
}

.content-wrapper {
    position: absolute;
    top: 90px;
    height: auto;
    width: 82%;
    left: 220px;
    /* width: 100 */
    /* padding: 10px 65px 15px 15px; */
    /* background: transparent linear-gradient(0deg, #23292F 0%, #2C3238 7%, #373D42 17%, #2E3238 30%, #22272B 45%, #1B2023 66%, #191E21 100%) 0% 0% no-repeat padding-box; */
    min-height: 100vh;
}

.sidebar-user-name {
    margin-left: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: capitalize;
}

.profile-image {
    width: var(--profile-image-size);
    height: var(--profile-image-size);
    border-radius: 10px;
}

.btn {
    background-color: transparent;
    border: none;
    outline: none;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--main-color);
    padding: 0.5rem;
    border-radius: 0.25rem;
}

.btn i {
    font-size: 1.25rem;
}

.btn-outline {
    border: 2px solid var(--main-color);
    transition: background-color 0.2s ease-in-out;
}

.btn-outline:hover {
    background-color: var(--main-color);
    color: #fff;
}

.sidebar-menu {
    padding: 0;
    list-style-type: none;
}

.sidebar-menu>li>a {
    width: 100%;
    padding: 15px 15px 15px 20px;
    height: auto;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-family: ibm-plex-b;
    text-transform: capitalize;
    transition: color 0.2s ease-in-out;
    color: #E7EBFD !important;
    text-decoration: none;
    cursor: pointer;
}

.sidebar-menu>li>a.active {
    background-color: #514f4f;
    color: #FFCD00 !important;
    border-left: 4px solid #FFCD00;
}

.sidebar-menu>li>a.img.active {
    background-color: #514f4f;
    color: #FFCD00 !important;
    border-left: 4px solid #FFCD00;
}

.icon-side {
    position: relative;
    right: 10px;
}

.sidebar-menu>li>a>i {
    font-size: 15px;
    margin-right: 10px;
}

.sidebar-menu-dropdown {
    position: relative;
}

.sidebar-menu-dropdown .dropdown-icon {
    position: absolute;
    right: 15px;
}

.dropdown-icon {
    --size: 15px;
    --color: var(--text-color);
    height: var(--size);
    width: var(--size);
    position: relative;
    cursor: pointer;
}

.dropdown-icon::after,
.dropdown-icon::before {
    --height: 2px;
    content: "";
    width: 50%;
    height: var(--height);
    border-radius: 2.5px;
    position: absolute;
    top: calc(50% - var(--height) / 2);
    background-color: var(--color);
    transition: transform 0.3s ease;
}

.dropdown-icon::before {
    left: calc(50% - var(--height) / 3);
    transform-origin: center left;
    transform: rotate(-45deg);
}

.dropdown-icon::after {
    right: calc(50% - var(--height) / 3);
    transform-origin: right;
    transform: rotate(45deg);
}

.dropdown-icon.active::before {
    transform: rotate(45deg);
}

.dropdown-icon.active::after {
    transform: rotate(-45deg);
}

.sidebar-menu>li>a:hover>.dropdown-icon {
    --color: var(--main-color);
}

.sidebar-menu-dropdown-content {
    padding: 0;
    height: 0;
    overflow: hidden;
    transition: height 0.25s ease-in-out;
}

.sidebar-menu-dropdown-content>li>a {
    padding-left: 50px;
}

.darkmode-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.darkmode-switch {
    --height: var(--darkmode-toggle-size);
    --width: calc(var(--height) * 2);
    height: var(--height);
    width: var(--width);
    border-radius: calc(var(--height) / 2);
    background-color: #f5f6fa;
    position: relative;
}

.darkmode-switch::before {
    content: "";
    --height: 20px;
    --main-color: #0652dd;
    width: var(--height);
    height: var(--height);
    position: absolute;
    left: 0;
    border-radius: 50%;
    background-color: var(--main-color);
    transition: left 0.3s ease-in-out;
}

.darkmode-switch.active::before {
    left: 50%;
}

.main-header {
    height: var(--main-header-height);
    display: flex;
    align-items: center;
    padding: 20px;
    background: transparent linear-gradient(to left, #23292F 0%, #2C3238 7%, #373D42 17%, #2E3238 30%, #22272B 45%, #1B2023 66%, #191E21 100%) 0% 0% no-repeat padding-box;
    box-shadow: var(--shadow);
    border-bottom: 1px solid #3A3D3F;
}

.dark .main-header {
    border-bottom: 2px solid var(--border-color);
}

.mobile-toggle {
    display: none;
}

.main-title {
    text-transform: capitalize;
    font-size: 1.5rem;
    color: #fff;
}

.main-content {
    padding: 20px;
}

.box {
    background-color: var(--box-bg);
    padding: 20px;
    border: 0.5px solid var(--border-color);
    border-radius: var(--box-border-radius);
}

.box-hover:hover {
    border-color: var(--main-color);
}

.counter-title {
    margin-bottom: 20px;
    text-transform: capitalize;
}

.counter-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 2rem;
    font-weight: 700;
}

.counter-info i {
    color: var(--main-color);
}

.box-header {
    text-transform: capitalize;
    font-size: 1.25rem;
    font-weight: 700;
}

.box-body {
    padding: 20px 0;
}

.product-list {
    list-style-type: none;
}

.product-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.item-info {
    display: flex;
    align-items: center;
}

.item-info img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-right: 10px;
}

.product-name,
.product-sales {
    font-weight: 600;
    text-transform: capitalize;
}

.product-name {
    margin-bottom: 5px;
}

.product-sales {
    margin-top: 5px;
}

.text-second {
    color: var(--text-second-color);
}

.item-sale-info {
    text-align: right;
}

.f-height {
    height: 100%;
}

table {
    width: 100%;
    /* min-width: 1000px; */
}

.order-owner {
    display: flex;
    align-items: center;
    text-transform: capitalize;
    font-weight: 500;
}

.order-owner img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 15px;
}

table thead tr {
    text-align: left;
}

table th,
table td {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.order-status {
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 500;
}

.order-ready {
    color: #2a59d1;
    background-color: rgba(62, 121, 247, 0.1);
}

.order-shipped {
    color: #00ab6f;
    background-color: rgba(4, 209, 130, 0.1);
}

.payment-status {
    display: flex;
    align-items: center;
}

.payment-status .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
}

.payment-paid .dot {
    background-color: #04d182;
}

.payment-pending .dot {
    background-color: #ffc542;
}

.overflow-scroll {
    overflow-y: auto;
}

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
}


/* .overlay.active {
    display: block;
} */

@media only screen and (max-width: 1280px) {
    .sidebar {
        top: 0px;
    }
    .sidebar-logo {
        height: var(--sidebar-logo-size);
    }
}

@media only screen and (max-width: 1280px) {
    .content-wrapper {
        left: 30px !important;
        padding: 10px 0px;
    }
    .sidebar {
        transition: transform 0.3s ease-in-out;
        max-width: 100%;
        z-index: 99;
        transform: translateX(-100%);
    }
    .sidebar.active {
        transform: translateX(0);
    }
    .main {
        padding-left: 0;
    }
    .mobile-toggle,
    .sidebar-close {
        display: grid;
        place-items: center;
        font-size: 2rem;
        margin-right: 30px;
        cursor: pointer;
        color: #fff;
    }
    .sidebar-close {
        position: absolute;
        right: -15px;
    }
}

.scrollbar
{
	margin-left: 30px;
	float: left;
	height: 300px;
	width: 65px;
	overflow-y: scroll;
	margin-bottom: 25px;
  
}

::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color:#555;
}