
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

a {
	text-decoration: none;
}

li {
	list-style: none;
}

:root {
	--background: #ffffff;
	--foreground: #171717;
	--poppins: 'Poppins', sans-serif;
	--lato: 'Lato', sans-serif;

	--light: #F9F9F9;
	--blue: #3C91E6;
	--light-blue: #CFE8FF;
	--green: #5fb962;
	--grey: #eee;
	--dark-grey: #AAAAAA;
	--dark: #342E37;
	--red: #DB504A;
	--yellow: #FFCE26;
	--light-yellow: #FFF2C6;
	--orange: #FD7238;
	--light-orange: #FFE0D3;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}
html {
	overflow-x: hidden;
}

body.dark {
	--light: #0C0C1E;
	--grey: #060714;
	--dark: #FBFBFB;
}

body {
	background: var(--grey);
	overflow-x: hidden;
}

.sample-form {
    background-color: var(--light);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    width: 100%;
}

.sample-form .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sample-form .head h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
}

.form-container {
    display: flex;
    flex-direction: column;
}

.btn-submit {
    background-color: var(--blue);
    color: var(--light);
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #337ab7;
}

#sidebar {
	position: fixed;
	top: 0;
	left: 0;
	width: 220px;
	height: 100%;
	background: #3C91E6;
	z-index: 2000;
	font-family: var(--lato);
	transition: .3s ease;
	overflow-x: hidden;
	scrollbar-width: none;
}
#sidebar::--webkit-scrollbar {
	display: none;
}
#sidebar.hide {
	width: 60px;
}
#sidebar .brand {
	font-size: 30px;
	font-weight: 600;
	height: 56px;
	display: flex;
	align-items: center;
	color: #fff;
	position: sticky;
	top: 0;
	left: 0;
	background: #3C91E6;
	z-index: 500;
	padding-top: 10px;
	padding-bottom: 10px;
	box-sizing: content-box;
}
#sidebar .brand .bx {
	min-width: 60px;
	display: flex;
	justify-content: center;
}
#sidebar .side-menu {
	width: 100%;
	margin-top: 25px;
}
#sidebar .side-menu li {
	height: 48px;
	background: transparent;
	margin-left: 6px;
	border-radius: 48px 0 0 48px;
	padding: 4px;
}
#sidebar .side-menu li.active {
	background: #ecf0f5;
	position: relative;
}
#sidebar .side-menu li.active::before {
	content: '';
	position: absolute;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	top: -40px;
	right: 0;
	box-shadow: 20px 20px 0 var(--grey);
	z-index: -1;
}
#sidebar .side-menu li.active::after {
	content: '';
	position: absolute;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	bottom: -40px;
	right: 0;
	box-shadow: 20px -20px 0 var(--grey);
	z-index: -1;
}
#sidebar .side-menu li a {
	width: 100%;
	height: 100%;
	background: #3C91E6;
	display: flex;
	align-items: center;
	border-radius: 48px;
	font-size: 16px;
	color: #fff !important;
	white-space: nowrap;
	overflow-x: hidden;
}
#sidebar .side-menu.top li.active a {
	color: #fff !important;
	background: #3C91E6;
}
#sidebar.hide .side-menu li a {
	width: calc(48px - (4px * 2));
	transition: width .3s ease;
}
#sidebar .side-menu li a.logout {
	color: var(--red);
}
#sidebar .side-menu.top li a:hover {
	color: var(--blue);
}
#sidebar .side-menu li a .bx {
	min-width: calc(60px  - ((4px + 6px) * 2));
	display: flex;
	justify-content: center;
}

#sidebar .side-menu.bottom li:nth-last-of-type(-n+2) { 
  position: absolute; 
  bottom: 0; 
  left: 0;
  right: 0;
  text-align: center;
}

#sidebar .side-menu.bottom li:nth-last-of-type(2) {
  bottom: 50px; 
}

#content {
	position: relative;
	width: calc(100% - 220px);
	left: 220px;
}

#sidebar.hide ~ #content {
	width: calc(100% - 60px);
	left: 60px;
	margin-top: 56px;
	
}

#sidebar.show ~ #content {
	width: calc(100% - 220px);
	left: 220px;
	position: sticky;
	margin-top: 0px;
}

#sidebar.show ~ #content nav {
	width: calc(100%);
	position: sticky;
	right: 0;
}

#content nav {
	height: 56px;
	background: var(--light);
	padding: 0 15px;
	display: flex;
	align-items: center;
	grid-gap: 15px;
	font-family: var(--lato);
	width: calc(100% - 60px);
	position: fixed;	
	z-index: 1000;
	top: 0;
	-webkit-box-shadow: 0 0 25px rgb(0 0 0 / 5%);
    box-shadow: 0 0 10px rgb(0 0 0 / 25%);
}


#content nav .bx.bx-menu {
	cursor: pointer;
	color: var(--dark);
}
#content nav .nav-link {
	font-size: 16px;
	transition: .3s ease;
}
#content nav .nav-link:hover {
	color: var(--blue);
}

.categories-menu {
    display: none;
    position: absolute;
    top: 56px;
    left: 60px;
    background: var(--light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    width: 250px;
    z-index: 9999;
    font-family: var(--lato);
	opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
	max-height: 75vh;
    overflow-x: auto;
}

.categories-menu ul {
    list-style: none;
    padding: 10px;
    margin: 0;
}

.categories-menu li {
    padding: 10px;
    border-bottom: 1px solid var(--grey);
}

.categories-menu li:hover {
    background-color: var(--light-blue);
}

.categories-menu li a {
    color: var(--dark);
    font-size: 16px;
    text-decoration: none;
}
.categories-menu li a i {
    margin-right: 10px;
}
.categories-menu li:hover a {
    color: var(--blue);
}

.categories-menu li:hover a i {
    color: var(--blue);
}
.categories-menu li:hover a span {
    color: var(--blue);
	font-weight: 600;
}

.categories-menu.show {
    display: block;
	opacity: 1;
    visibility: visible;
}

#content nav span {
	max-width: 400px;
	margin-right: auto;
}
#content nav span .form-input {
	display: flex;
	align-items: center;
	height: 36px;
}
#content nav span .form-input input {
	flex-grow: 1;
	padding: 0 16px;
	height: 100%;
	border: none;
	background: var(--grey);
	border-radius: 36px 0 0 36px;
	outline: none;
	width: 100%;
	color: var(--dark);
}
#content nav span .form-input button {
	width: 36px;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--blue);
	color: var(--light);
	font-size: 18px;
	border: none;
	outline: none;
	border-radius: 0 36px 36px 0;
	cursor: pointer;
}
#content nav .notification {
	font-size: 20px;
	position: relative;
}
#content nav .notification .num {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--light);
    background: var(--red);
    color: var(--light);
    font-weight: 700;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Notification Dropdown */
#content nav .notification-menu {
    display: none;
    position: absolute;
    top: 56px;
    right: 0;
    background: var(--light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    width: 250px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999;
    font-family: var(--lato);
}

#content nav .notification-menu ul {
    list-style: none;
    padding: 10px;
    margin: 0;
}

#content nav .notification-menu li {
    padding: 10px;
    border-bottom: 1px solid var(--grey);
	color: var(--dark);
}

#content nav .notification-menu li:hover {
    background-color: var(--light-blue);
	color: var(--dark);
}
#content nav .notification-menu li:hover a{
    background-color: var(--dark-grey);
	color: var(--light);
}
body.dark #content nav .notification-menu li:hover {
    background-color: var(--light-blue);
	color: var(--light);
}
body.dark #content nav .notification-menu li a{
    background-color: var(--dark-grey);
	color: var(--light);
}
#content nav .profile img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#content nav .profile-menu {
    display: none;
    position: absolute;
    top: 56px;
    right: 0;
    background: var(--light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    width: 200px;
    z-index: 9999;
    font-family: var(--lato);
}

#content nav .profile-menu ul {
    list-style: none;
    padding: 10px;
    margin: 0;
}

#content nav .profile-menu li {
    padding: 10px;
    border-bottom: 1px solid var(--grey);
}

#content nav .profile-menu li:hover {
    background-color: var(--light-blue);
	color: var(--dark);
}
#content nav .profile-menu li a {
    color: var(--dark);
    font-size: 16px;
}
body.dark #content nav .profile-menu li:hover a {
    color: var(--light);
}
body.dark #content nav .profile-menu li a {
    color: var(--dark);
}
#content nav .profile-menu li:hover a {
    color: var(--blue);
	font-weight: 600;
}
/* Active State for Menu */
#content nav .notification-menu.show,
#content nav .profile-menu.show {
    display: block;
}

#content nav .switch-mode {
	display: block;
	min-width: 50px;
	height: 25px;
	border-radius: 25px;
	background: var(--grey);
	cursor: pointer;
	position: relative;
}
#content nav .switch-mode::before {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	bottom: 2px;
	width: calc(25px - 4px);
	background: var(--blue);
	border-radius: 50%;
	transition: all .3s ease;
}
#content nav #switch-mode:checked + .switch-mode::before {
	left: calc(100% - (25px - 4px) - 2px);
}


#content nav .swith-lm {
	background-color:  var(--grey);
	border-radius: 50px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 3px;
	position: relative;
	height: 21px;
	width: 45px;
	transform: scale(1.5);
}

#content nav .swith-lm .ball {
	background-color: var(--blue);
	border-radius: 50%;
	position: absolute;
	top: 2px;
	left: 2px;
	height: 18px;
	width: 18px;
	transform: translateX(0px);
	transition: transform 0.3s ease, background-color 0.3s ease;
}

#content nav .checkbox:checked + .swith-lm .ball {
	transform: translateX(22px);
	 background-color: var(--orange);
}
.bxs-moon {
	color: var(--yellow);
}

.bx-sun {
	color: var(--orange);
	animation: shakeOn .7s;
}

#content main .head-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	grid-gap: 16px;
	flex-wrap: wrap;
}
#content main .head-title .left h1 {
	font-size: 36px;
	font-weight: 600;
	margin-bottom: 10px;
	color: var(--dark);
}
#content main .head-title .left .breadcrumb {
	display: flex;
	align-items: center;
	grid-gap: 16px;
}
#content main .head-title .left .breadcrumb li {
	color: var(--dark);
}
#content main .head-title .left .breadcrumb li a {
	color: var(--dark-grey);
	pointer-events: none;
}
#content main .head-title .left .breadcrumb li a.active {
	color: var(--blue);
	pointer-events: unset;
}
#content main .head-title .btn-download {
	height: 36px;
	padding: 0 16px;
	border-radius: 36px;
	background: var(--blue);
	color: var(--light);
	display: flex;
	justify-content: center;
	align-items: center;
	grid-gap: 10px;
	font-weight: 500;
}




#content main .box-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	grid-gap: 24px;
	margin-top: 36px;
}
#content main .box-info li {
	padding: 24px;
	background: var(--light);
	border-radius: 20px;
	display: flex;
	align-items: center;
	grid-gap: 24px;
}
#content main .box-info li .bx {
	width: 80px;
	height: 80px;
	border-radius: 10px;
	font-size: 36px;
	display: flex;
	justify-content: center;
	align-items: center;
}
#content main .box-info li:nth-child(1) .bx {
	background: var(--light-blue);
	color: var(--blue);
}
#content main .box-info li:nth-child(2) .bx {
	background: var(--light-yellow);
	color: var(--yellow);
}
#content main .box-info li:nth-child(3) .bx {
	background: var(--light-orange);
	color: var(--orange);
}
#content main .box-info li .text h3 {
	font-size: 24px;
	font-weight: 600;
	color: var(--dark);
}
#content main .box-info li .text p {
	color: var(--dark);	
}





#content main .table-data {
	display: flex;
	flex-wrap: wrap;
	grid-gap: 24px;
	margin-top: 24px;
	width: 100%;
	color: var(--dark);
}
#content main .table-data > div {
	border-radius: 20px;
	background: var(--light);
	padding: 24px;
	overflow-x: auto;
}
#content main .table-data .head {
	display: flex;
	align-items: center;
	grid-gap: 16px;
	margin-bottom: 24px;
}
#content main .table-data .head h3 {
	margin-right: auto;
	font-size: 24px;
	font-weight: 600;
}
#content main .table-data .head .bx {
	cursor: pointer;
}

#content main .table-data .order {
	flex-grow: 1;
	flex-basis: 500px;
}
#content main .table-data .order table {
	width: 100%;
	border-collapse: collapse;
}
#content main .table-data .order table th {
	padding-bottom: 12px;
	font-size: 13px;
	text-align: left;
	border-bottom: 1px solid var(--grey);
}
#content main .table-data .order table td {
	padding: 16px 0;
}
#content main .table-data .order table tr td:first-child {
	align-items: center;
    position: relative;
	grid-gap: 12px;
	padding-left: 6px;
	object-fit: cover;
}
#content main .table-data .order table tr td:last-child {
	align-items: center;
    position: relative;
	grid-gap: 12px;
	padding-left: 6px;
	object-fit: cover;
}
#content main .table-data .order table td img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}
#content main .table-data .order table tbody tr:hover {
	background: var(--grey);
}
#content main .table-data .order table tr td .status {
	font-size: 10px;
	padding: 6px 16px;
	color: var(--light);
	border-radius: 20px;
	font-weight: 700;
}
#content main .table-data .order table tr td .status.completed {
	background: var(--blue);
}
#content main .table-data .order table tr td .status.process {
	background: var(--yellow);
}
#content main .table-data .order table tr td .status.pending {
	background: var(--orange);
}

#content main .todo-filters button {
	padding: 8px;
	border-radius: 8px;
	border: none;
	background: none;
	cursor: pointer;
	margin-right: 10px;
	color: var(--foreground);
	background: var(--background);
}
#content main .todo-filters button.completed {
	background: var(--blue);
}
#content main .todo-filters button.pending {
	background: var(--orange);
}
#content main .table-data .todo {
	flex-grow: 1;
	flex-basis: 300px;
}
#content main .table-data .todo .todo-list {
	width: 100%;
}
#content main .table-data .todo .todo-list li {
	width: 100%;
	margin-bottom: 16px;
	background: var(--grey);
	border-radius: 10px;
	padding: 24px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#content main .table-data .todo .todo-list li .bx {
	cursor: pointer;
}

#content main .table-data .todo .todo-list li.completed {
    border-left: 10px solid var(--blue);
    position: relative;
}

#content main .table-data .todo .todo-list li.not-completed {
    border-left: 10px solid var(--orange);
    position: relative;
}

#content main .table-data .todo .todo-list li::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: var(--progress-width, 100%);
    height: 3px;
    background-color: #ddd;
}

#content main .table-data .todo .todo-list li.completed::before {
    background-color: var(--blue);
}

#content main .table-data .todo .todo-list li.not-completed::before {
    background-color: var(--orange);
}

#content main .table-data .todo .todo-list li span {
    position: absolute;
    bottom: 0;
    left: 0;
	padding-left: -30px;
}
#content main .table-data .todo .todo-list li.not-completed span {
    position: absolute;
    bottom: 0;
    left: 0;
	padding-left: -30px;
}

#content main .table-data .todo .todo-list li:last-child {
	margin-bottom: 0;
}
/* MAIN */
/* CONTENT */
.menu-icon {
    position: relative;
    cursor: pointer;
}

dl.content-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--light);
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    width: 150px;
}

dt.menu-item {
    padding: 10px;
}

dt.menu-item a {
    text-decoration: none;
    display: block;
}
dt.menu-item a, dt.menu-item {
	background: var(--light);
	color: var(--dark);
    
}	
dt.menu-item a:hover, dt.menu-item:hover *{
    background-color: var(--light-blue);
	color: var(--light);
}


dt.menu-icon:hover dt.content-menu {
    display: block;
}

/* Media Query for Smaller Screens */
@media screen and (max-width: 768px) {
    /* Reduce width of notification and profile menu */
    #content nav .notification-menu,
    #content nav .profile-menu {
        width: 180px;
    }
	#sidebar {
		width: 200px;
	}

	#content {
		width: calc(100% - 60px);
		left: 200px;
	}

	#content nav .nav-link {
		display: none;
	}
	.categories-menu {
        left: 20px; 
        width: 180px; 
    }
}


@media screen and (max-width: 576px) {
    #content nav .notification-menu,
    #content nav .profile-menu {
        width: 150px;
    }
	#content nav span .form-input input {
		display: none;
	}

	#content nav span .form-input button {
		width: auto;
		height: auto;
		background: transparent;
		border-radius: none;
		color: var(--dark);
	}

	#content nav span.show .form-input input {
		display: block;
		width: 100%;
	}
	#content nav span.show .form-input button {
		width: 36px;
		height: 100%;
		border-radius: 0 36px 36px 0;
		color: var(--light);
		background: var(--red);
	}

	#content nav span.show ~ .notification,
	#content nav span.show ~ .profile {
		display: none;
	}

	#content main .box-info {
		grid-template-columns: 1fr;
	}

	#content main .table-data .head {
		min-width: 420px;
	}
	#content main .table-data .order table {
		min-width: 420px;
	}
	#content main .table-data .todo .todo-list {
		min-width: 420px;
	}
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) {
    .user-notification {
        display: none;
    }
	
	#content nav span .form-input button {
        display: none;
    }
	
	#sidebar .brand {
    font-size: 25px;
    font-weight: 600;
}
}


.menu {
    display: block;
	margin-bottom: 0;
	color: #fff;
}

.menu li {
    display: inline-block;
    position: relative;
    z-index: 100;
}

.menu li:first-child {
    margin-left: 0;
}

.menu li a {
    font-weight: 600;
    text-decoration: none;
    padding: 15px 10px;
    display: block;
    color: #fff;
    transition: all 0.2s ease-in-out 0s;
}

.menu li a:hover, .menu li:hover>a {
    color: #fff;
    background: #3C91E6;
}

.menu ul li a:hover {
    color: #fff;
    background: #3C91E6;
}


.menu ul {
    visibility: hidden;
    opacity: 0;
    margin: 0;
    padding: 0;
    width: 250px;
    position: absolute;
    left: 0px;
    background: #ddd;
    z-index: 99;
    transform: translate(0,20px);
    transition: all 0.2s ease-out;
}

.menu ul:after {
    bottom: 100%;
    left: 20%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #fff;
    border-width: 6px;
    margin-left: -6px;
}

.menu ul li {
    display: block;
    float: none;
    background: none;
    margin: 0;
    padding: 0;
}

.menu ul li a {
    font-size: 16px;
    font-weight: normal;
    display: block;
    background: #fff;
	color: #342E37;
}

.menu li:hover>ul {
    visibility: visible;
    opacity: 1;
	color: #fff;
    transform: translate(0,0);
	-webkit-box-shadow: 0 0 25px rgb(0 0 0 / 5%);
    box-shadow: 0 0 25px rgb(0 0 0 / 20%);
}

.menu ul ul {
    left: 250px;
    top: 0px;
    visibility: hidden;
    opacity: 0;
    transform: translate(20px,20px);
    transition: all 0.2s ease-out;
}

.menu ul ul:after {
    left: -6px;
    top: 10%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0);
    border-right-color: #fff;
    border-width: 6px;
    margin-top: -6px;
}

.menu li>ul ul:hover {
    visibility: visible;
    opacity: 1;
	color: #fff !important;
    transform: translate(0,0);
	-webkit-box-shadow: 0 0 25px rgb(0 0 0 / 5%);
    box-shadow: 0 0 25px rgb(0 0 0 / 20%);
}

.weight-600 {
    font-weight: 600;
}
.font-20 {
    font-size: 20px;
    line-height: 1.5em;
}

.mb-10 {
    margin-bottom: 10px;
}
.text-capitalize {
    text-transform: capitalize !important;
}

.font-16 {
    font-size: 16px;
    line-height: 1.62em;
}

.card-box, .da-card {
    background-color: #fff;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 28px rgb(0 0 0 / 8%);
    box-shadow: 0 0 28px rgb(0 0 0 / 8%);
}
.device-manage-progress-chart ul li, .mb-30 {
    margin-bottom: 30px;
}
.pd-20 {
    padding: 20px;
}

.fdiv {
padding: 0px !important; 
position: fixed !important; 
bottom: 0px !important; 
background-color: #f5f5f5 !important; 
border-top: solid 1px #ddd !important;
border-bottom: solid 1px #ddd !important;
}