/* Google Fonts Import Link */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Poppins", sans-serif;
}
body {
	overflow: hidden;
}
.sidebar {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 260px;
	background: var(--bs-primary);
	z-index: 100;
	transition: all 0.5s ease;
}
.sidebar.close {
	width: 78px;
}
.sidebar .logo-details {
	height: 60px;
	width: 100%;
	display: flex;
	align-items: center;
}
.sidebar .logo-details img {
	font-size: 30px;
	color: var(--bs-white);
	height: 50px;
	min-width: 78px;
	text-align: center;
	line-height: 50px;
}
.sidebar .logo-details .logo_name {
	font-size: 22px;
	color: var(--bs-white);
	font-weight: 600;
	transition: 0.3s ease;
	transition-delay: 0.1s;
}
.sidebar.close .logo-details .logo_name {
	transition-delay: 0s;
	opacity: 0;
	pointer-events: none;
}
.sidebar .nav-links {
	height: 100%;
	padding: 30px 0 150px 0;
	overflow: auto;
}
.sidebar.close .nav-links {
	overflow: visible;
}
.sidebar .nav-links::-webkit-scrollbar {
	display: none;
}
.sidebar .nav-links li {
	position: relative;
	list-style: none;
	transition: all 0.4s ease;
}
.sidebar .nav-links li .active {
	background: var(--bs-white);
}
.sidebar .nav-links li .active i {
	color: var(--bs-primary);
}
.sidebar .nav-links li .active a .link_name {
	color: var(--bs-primary);
}
.active {
	font-weight: bold;
}

.sidebar .nav-links li:hover {
	background: var(--bs-white);
}
.sidebar .nav-links li:hover i {
	color: var(--bs-primary);
}
.sidebar .nav-links li:hover a .link_name {
	color: var(--bs-primary);
}
.sidebar .nav-links li .iocn-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.sidebar.close .nav-links li .iocn-link {
	display: block;
}
.sidebar .nav-links li i {
	height: 50px;
	min-width: 78px;
	text-align: center;
	line-height: 50px;
	color: var(--bs-white);
	font-size: 20px;
	cursor: pointer;
	transition: all 0.3s ease;
}
.logout-sidenav {
	cursor: pointer;
	color: var(--bs-primary) !important;
	transition: all 0.3s ease;
}

.logout-sidenav:hover {
	color: var(--bs-primary-hover) !important;
}
.sidebar .nav-links li.showMenu i.arrow {
	transform: rotate(-180deg);
}
.sidebar.close .nav-links i.arrow {
	display: none;
}
.sidebar .nav-links li a {
	display: flex;
	align-items: center;
	text-decoration: none;
}
.sidebar .nav-links li a .link_name {
	font-size: 18px;
	font-weight: 400;
	color: var(--bs-white);
	transition: all 0.4s ease;
}
.sidebar.close .nav-links li a .link_name {
	opacity: 0;
	pointer-events: none;
}
.sidebar .nav-links li .sub-menu {
	padding: 6px 6px 14px 80px;
	margin-top: -10px;
	margin-bottom: 0px;
	background: var(--bs-white);
	display: none;
}
.sidebar .nav-links li.showMenu {
	background: var(--bs-white) !important;
}
.sidebar .nav-links li.showMenu i {
	color: var(--bs-primary);
}
.sidebar .nav-links li.showMenu a .link_name {
	color: var(--bs-primary);
}
.sidebar .nav-links li.showMenu .sub-menu {
	display: block;
}
.sidebar .nav-links li .sub-menu a {
	color: var(--bs-primary);
	font-size: 15px;
	padding: 5px 0;
	white-space: nowrap;
	opacity: 0.6;
	transition: all 0.3s ease;
}
.sidebar .nav-links li .sub-menu a:hover {
	opacity: 1;
}
.sidebar.close .nav-links li .sub-menu {
	position: absolute;
	left: 100%;
	top: -10px;
	margin-top: 0;
	padding: 10px 20px;
	border-radius: 0 6px 6px 0;
	opacity: 0;
	display: block;
	pointer-events: none;
	transition: 0s;
}
.sidebar.close .nav-links li:hover .sub-menu {
	top: 0;
	opacity: 1;
	pointer-events: auto;
	transition: all 0.4s ease;
}
.sidebar .nav-links li .sub-menu .link_name {
	display: none;
}
.sidebar.close .nav-links li .sub-menu .link_name {
	font-size: 18px;
	opacity: 1;
	display: block;
}
.sidebar .nav-links li .sub-menu.blank {
	opacity: 1;
	pointer-events: auto;
	padding: 3px 20px 6px 16px;
	opacity: 0;
	pointer-events: none;
}
.sidebar .nav-links li:hover .sub-menu.blank {
	top: 50%;
	transform: translateY(-50%);
}
.sidebar .profile-details {
	position: fixed;
	bottom: 0;
	width: 260px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--bs-white);
	padding: 12px 0;
	transition: all 0.5s ease;
}
.sidebar.close .profile-details {
	background: none;
}
.sidebar.close .profile-details {
	width: 78px;
}
.sidebar .profile-details .profile-content {
	display: flex;
	align-items: center;
}
.sidebar .profile-details img {
	height: 52px;
	width: 52px;
	object-fit: contain;
	border-radius: 16px;
	margin: 0 14px 0 12px;
	background: var(--bs-white);
	transition: all 0.5s ease;
}
.sidebar.close .profile-details img {
	padding: 10px;
}
.sidebar .profile-details .profile_name,
.sidebar .profile-details .job {
	color: var(--bs-primary);
	font-size: 18px;
	font-weight: 500;
	white-space: nowrap;
}
.sidebar.close .profile-details i,
.sidebar.close .profile-details .profile_name,
.sidebar.close .profile-details .job {
	display: none;
}
.sidebar .profile-details .job {
	font-size: 12px;
}
.content-wrapper {
	position: relative;
	background: #e4e9f7;
	height: 100vh;
	left: 260px;
	width: calc(100% - 260px);
	transition: all 0.5s ease;
	padding: 12px;
}
.sidebar.close ~ .content-wrapper {
	left: 78px;
	width: calc(100% - 78px);
}
.content {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
}
.content-wrapper .content .menu-burger,
.content-wrapper .content .text {
	color: #11101d;
	font-size: 25px;
}
.content-wrapper .content .menu-burger {
	cursor: pointer;
	margin-right: 10px;
}
.content-wrapper .content .text {
	font-size: 26px;
	font-weight: 600;
}

@media screen and (max-width: 400px) {
	.sidebar {
		width: 240px;
	}
	.sidebar.close {
		width: 0px;
	}
	.sidebar .profile-details {
		width: 240px;
	}
	.sidebar.close .profile-details {
		background: none;
	}
	.sidebar.close .profile-details {
		width: 0px;
	}
	.content-wrapper {
		left: 240px;
		width: calc(100% - 240px);
	}
	.sidebar.close ~ .content-wrapper {
		left: 0px;
		width: calc(100% - 0px);
	}
	.sidebar.close .nav-links {
		display: none;
	}
	.sidebar.close .logo-details {
		display: none;
	}
}

main {
	margin-top: 1.5rem;
}

.chooseServer {
	background-color: var(--bs-primary);
	padding: 0.5rem 1rem;
	color: white;
	border-radius: 2rem;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.2s;
}

.chooseServer:hover {
	opacity: 0.8;
}

#endpointList div {
	padding: 0.5rem 1rem;
	background-color: var(--bs-gray-300);
	margin-bottom: 1rem;
	color: var(--bs-gray-500);
	border-radius: 2rem;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.2s;
}

#endpointList .active {
	background-color: var(--bs-primary) !important;
	color: var(--bs-white);
}

.loading {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.3);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1030;
}

.loading-child {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: column;
	width: 13rem;
	height: 13rem;
	z-index: 1031;
	background-color: rgba(0, 0, 0, 0.6);
	border-radius: 1rem;
}

.lds-text {
	padding-left: 1rem;
	padding-right: 1rem;
	position: absolute;
	bottom: 1.5rem;
	text-align: center;
	margin-top: 1rem;
}

.lds-ring {
	display: flex;
	justify-content: center;
	position: relative;
	top: 1.5rem;
}

.lds-ring div.logo-loading {
	width: 4rem;
	height: 4rem;
	position: absolute;
	background-color: var(--bs-primary);
	border-radius: 100%;
	top: 1.5rem;
}

.lds-ring .logo-loading img {
	width: 90%;
	height: 90%;
}

.lds-ring div.lds-ring-child {
	box-sizing: border-box;
	display: block;
	position: absolute;
	width: 6rem;
	height: 6rem;
	margin: 8px;
	border: 8px solid var(--bs-primary);
	border-radius: 50%;
	animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	border-color: var(--bs-primary) transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
	animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
	animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
	animation-delay: -0.15s;
}
@keyframes lds-ring {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
