@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
	font-weight: 200;
}

h1, h2 {
    font-weight: 800;
	font-family: 'Poppins', sans-serif;
}

aside {
    font-weight: 200;
	font-family: 'Poppins', sans-serif;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

.main {
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #f6f9ff;
}

#sidebar {
    max-width: 264px;
    min-width: 264px;
    transition: all 0.35s ease-in-out;
    background-color: #383c54;
    display: flex;
    flex-direction: column;
	z-index: 1;
}

#sidebar.collapsed{
    margin-left: -264px;
}

.sidebar-link.active {
	background-color: #f9f6f630;
}

.toggler-btn {
    background-color: transparent;
    cursor: pointer;
    border: 0;
}

.toggler-btn i {
    font-size: 1.75rem;
    color: #000;
    font-weight: 1000;
}

header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    padding-left: 20px;
}

.nav-profile img {
    max-height: 36px;
}

.ms-auto {
    margin-left: auto !important;
}

.dropdown, .dropdown-center, .dropend, .dropstart, .dropup, .dropup-center {
    position: relative;
}

.d-block {
    display: block !important;
}

header .nav-icon {
    font-size: 22px;
    color: #012970;
    margin-right: 25px;
    position: relative;
}

header .badge-number {
    position: absolute;
    inset: -2px -5px auto auto;
    font-weight: normal;
    font-size: 12px;
    padding: 3px 6px;
}

header .notifications .notification-item {
    display: flex;
	padding: 10px 5px;
    align-items: center;
    transition: 0.3s;
}

header .notifications .notification-item i {
    margin: 0 10px 0 10px;
    font-size: 24px;
}

header .notifications .notification-item h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}

header .notifications .notification-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

header .notifications .notification-item .updated-time {
    font-size: 10px;
}

header .messages .message-item {
    padding: 10px 5px;
    transition: 0.3s;
}

header .messages .message-item img {
    margin: 0 20px 0 10px;
    max-height: 40px;
}

header .messages .message-item h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444444;
}

header .messages .message-item a {
    display: flex;
}

header .messages .message-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

header .messages .message-item .updated-time {
    font-size: 10px;
}

header .message-item:hover {
    background-color: #eaeaea;
}

header .notification-item:hover {
    background-color: #eaeaea;
}

header .profile .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

header .profile .dropdown-item {
    font-size: 14px;
    transition: 0.3s;
}

header .dropdown-menu .dropdown-divider {
    color: #a5c5fe;
    margin: 0;
}

header .dropdown-menu .dropdown-header, .dropdown-menu .dropdown-footer {
    font-size: 13px;
    padding: 5px 15px;
	width: 250px;
	text-align: center;
}

header .header-profile {
	width: 200px;
	text-align: center;
	word-wrap: break-word;
	font-size: 12px;
}

header .header-profile h6 {
    margin-left: 5px;
    margin-right: 5px;
}

header .dropdown-menu-arrow::before {
	content: "";
	width: 13px;
	height: 13px;
	background: #fff;
	position: absolute;
	top: -7px;
	right: 4px;
	transform: rotate(45deg);
	border-top: 1px solid #eaedf1;
	border-left: 1px solid #eaedf1;
}

.sidebar-nav {
    flex: 1 1 auto;
}

.sidebar-scroll {
	height: 100vh;
	overflow-y: auto !important;
	scrollbar-width: none;
	scrollbar-color: rgb(170, 183, 207) transparent;
}

.sidebar-header-bg {
	background-color: #383D58;
	box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
}

.sidebar-logo {
    padding: 1.15rem 1.5rem;
    text-align: center;
	height: 60px;
}

.sidebar-logo a {
    color: #FFF;
    font-weight: 800;
    font-size: 1.5rem;
}

.sidebar-header {
    color: #FFF;
    font-size: .75rem;
    padding: 1.5rem 1.5rem .375rem;
}

a.sidebar-link {
    padding: .625rem 1.625rem;
    color: #FFF;
    position: relative;
    transition: all 0.35s;
    display: block;
    font-size: 15px;
	font-weight: 300;
}

#sidebar i{
	font-size: 20px;
	margin-right: 10px;
}

a.sidebar-link.sidebar-subitems {
    padding: .625rem 2.625rem;
}

a.sidebar-link:hover {
    background-color: #f9f6f630;
}

.sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

.sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}

.card {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-body {
    padding: 0 20px 20px 20px;
	overflow: hidden;
}

.card-title {
    padding: 20px 0 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: #012970;
    font-family: "Poppins", sans-serif;
}

.card-title span {
    color: #899bbd;
    font-size: 14px;
    font-weight: 400;
}

.dashboard .info-card {
    padding-bottom: 10px;
}

.ps-3 {
    padding-left: 1rem !important;
}

.dashboard .filter {
    position: absolute;
    right: 0px;
    top: 15px;
}

.dashboard .filter .icon {
    color: #aab7cf;
    padding-right: 20px;
    padding-bottom: 5px;
    transition: 0.3s;
    font-size: 16px;
}

.dashboard .info-card h4 {
    font-size: 28px;
    color: #012970;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.dashboard .dropdown-menu .dropdown-item {
    font-size: 12px;
    transition: 0.3s;
	font-weight: 400;
}

.dashboard .dropdown-menu h6{
    font-size: 13px;
}

.dashboard .dropdown-menu {
    border-radius: 4px;
    padding: 10px 0;
    animation-name: dropdown-animate;
    animation-duration: 0.2s;
    animation-fill-mode: both;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dashboard .card-icon {
    font-size: 32px;
    line-height: 0;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    flex-grow: 0;
	background: #fafafe;
}

.dashboard .activity-feed {
	padding: 15px;
	list-style: none;
	font-size: 14px;		
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgb(170, 183, 207) transparent;
	height: 390px;
	
  .feed-item {
    position: relative;
    padding-bottom: 20px;
    padding-left: 30px;
    border-left: 2px solid #e4e8eb;

    &:last-child {
      border-color: transparent;
    }

    &::after {
      content: "";
      display: block;
      position: absolute;
      top: 0;
      left: -6px;
      width: 10px;
      height: 10px;
      border-radius: 6px;
      background: #fff;
      border: 1px solid #6fd96f;
    }

    .date {
      display: block;
      position: relative;
      top: -5px;
      color: #8c96a3;
      text-transform: uppercase;
      font-size: 12px;
    }
    .text {
    color: #888;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 64px;
    }
  }
}

.dashboard .table {	
	width: 100%;
	overflow-x: auto;
	scrollbar-width: thin;
	scrollbar-color: rgb(170, 183, 207) transparent;
}

footer {
    text-align: center;
	position: fixed;
	bottom: 0;
	box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
	z-index: 0;
	color: #012970;
}

footer .small {
	color: #012970;
}

.sidebar-footer{
	position: fixed;
	width: 263.99px;
	bottom: 0;
	background-color: #383D58;
	transition: all 0.5s ease;	
}

.card .icon-bg-success {
	background: #edf8f1;
}

.card .icon-bg-info {
	background: #fafafe;
}
.card .icon-bg-warning {
	background: #fff4e5;
}

.card .icon-bg-danger {
	background: #fdecec;
}

/* Screen size less than 768px */

@media (max-width:768px) {

    .sidebar-toggle {
        margin-left: -264px;
    }

    #sidebar.collapsed {
        margin-left: 0;
    }
}

@media (max-width:576px) {

    .sidebar-toggle {
        margin-left: -264px;
    }

    #sidebar.collapsed {
        margin-left: 0;
    }
}

/* Styling horizontal scrollbar for Firefox */
.dataTables_scrollBody {
	scrollbar-width: thin; /* Set scrollbar to be thin */
	scrollbar-color: rgb(170, 183, 207) transparent; /* Color for the scrollbar thumb and track */
}

#devices {
  font-size: 14px;
}

#devices tr td {
  border: none; /* Removes border from rows */
}

div.dt-buttons {
  float: none !important;
  text-align: right;
  margin-bottom: 10px;
}

.dataTables_wrapper .dataTables_paginate {
  text-align: right;
  padding-top: .25em;
  font-size: 14px;   /* Change font size */
}

.dataTables_wrapper .dataTables_length {
  float: left;
  font-size: 14px;   /* Change font size */
}

.dataTables_wrapper .dataTables_info {
  font-size: 14px;
}

.dataTables_wrapper .dataTables_filter {
  font-size: 14px;
}

button.dt-button, div.dt-button, a.dt-button, input.dt-button {
  padding: 0 2px; /* Adjust the padding as needed */
  font-size: 10px !important;   /* Change font size */
  border-radius: 4px; /* Adjust border radius */
}
/* Preloader styles */
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.8); /* White background with transparency */
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999; /* Make sure preloader is on top */
}

.spinner {
	border: 16px solid #f3f3f3; /* Light gray */
	border-top: 16px solid #3498db; /* Blue */
	border-radius: 50%;
	width: 60px; /* Size of the spinner */
	height: 60px; /* Size of the spinner */
	animation: spin 2s linear infinite; /* Animation */
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Hide preloader by default */
#preloader.hidden {
	display: none;
}

.circle {
  width: 20px; /* Size of the circles */
  height: 20px;
  margin: 0 5px; /* Space between circles */
  border-radius: 50%;
  background-color: #4154f1;
  animation: fade 1s infinite alternate; /* Animation applied */
}

.circle:nth-child(2) {
  animation-delay: 0.4s; /* Stagger the animations */
}

.circle:nth-child(3) {
  animation-delay: 0.8s; /* Stagger the animations */
}

@keyframes fade {
  0% {
      opacity: 1; /* Fully visible */
  }
  100% {
      opacity: 0.1; /* Faded out */
  }
}