:root {
	--blue: #3593ff;
	--black: #14151a;
	--bg: #24242e;
	--bg-dark: #1d1d25;
	--bg-light: #292a36;
	--bg-lighter: #333443;
	--bg-selected: #007bff;
	--bg-hover: #2d3940;
	--border-light: #37444b;
	--app-border: #37444b;
	--input-background: #16161c;
	--text-light: #698390;
	--text-lighter: #586174;
	--text-gray: #a9a9a9;
	--icon: #698390;
	--mobile-menu-height: 52px;
}

* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	outline: 0;
}

html, body {
	direction: ltr;
	max-width: 100%;
	background-color: var(--bg);
	overflow-x: hidden;
}

body {
	margin: 0;
	padding: 0;
	font-family: "Arial", sans-serif;
	font-size: 12px;
	color: #fff;
}

form {
	margin: 0;
	padding: 0;
}

input, textarea {
	font: normal 12px "Arial", sans-serif;
	color: #fff;
}

input, textarea, img, svg, label {
	vertical-align: middle;
}

img {
	border: 0;
}

label {
	cursor: pointer;
}

a:hover {
	text-decoration: none;
}

div.o-h {
	width: 100%;
	overflow: hidden;
}

div.c-b {
	clear: both;
	font-size: 0;
}

/* Theme */
.nohl {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Mobile */
#d-nav {
	display: none;
}

#board {
	position: absolute;
	width: 100%;
	height: 100%;
}

#mt-platform {
	position: relative;
	width: 100%;
	height: 100%;
}

#webterminal {
	position: absolute;
	width: 100%;
	height: 100%;
}

/* Footer Mobile Menu */
#m-menu {
	display: block;
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 10;
	width: 100%;
	height: var(--mobile-menu-height);
	background-color: var(--bg-dark);
}

#m-menu > ul {
	display: block;
	margin: 0;
	padding: 0;
	width: 100%;
	list-style: none;
	overflow: hidden;
}

#m-menu > ul > li {
	width: 33.33333%;
	float: left;
}

#m-menu > ul > li > a {
	display: block;
	padding: 5px 0;
	text-align: center;
	text-decoration: none;
	font-size: 10px;
	line-height: 10px;
	color: #fff;
	cursor: pointer;
}

#m-menu > ul > li > a > .icon {
	position: relative;
	margin-bottom: 6px;
	font-size: 0;
	line-height: 26px;
}

#m-menu > ul > li > a > .icon > svg {
	display: inline-block;
}

/* Mobile User Menu */
#m-user-menu {
	display: none;
	position: fixed;
	right: 20px;
	bottom: 52px;
	z-index: 11;
	width: auto;
	background-color: var(--bg-light);
	margin: 0;
	padding: 0;
	list-style: none;
}

#m-user-menu > li {
	border-bottom: 1px solid var(--app-border);
}

#m-user-menu > li:last-child {
	border: 0;
}

#m-user-menu > li > a {
	display: block;
	padding: 10px 15px;
	text-decoration: none;
	font-size: 12px;
	color: #fff;
}

#m-user-menu > li > a > .icon {
	display: inline-block;
	vertical-align: top;
	margin-right: 8px;
}

#m-user-menu > li > a > .icon > svg {
	fill: #fff;
}

#iframe {
	height: calc(100% - var(--mobile-menu-height));
}

/* Desktops;
 >= md */
@media only screen and (min-width: 992px) {
	/* Scrollbar */
	::-webkit-scrollbar {
		width: 17px;
	}

	::-webkit-scrollbar-track {
		background-color: transparent;
	}

	::-webkit-scrollbar-thumb {
		background-color: #d6dee1;
		background-clip: content-box;
		border: 6px solid transparent;
		border-radius: 17px;
	}

	::-webkit-scrollbar-thumb:hover {
		background-color: #a8bbbf;
	}

	#d-nav {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 10;
		width: 120px;
		height: 100%;
		background-color: var(--bg);
		padding: 30px 20px 10px;
		border-right: 10px solid var(--bg-dark);
	}

	#logo {
		display: block;
		text-align: center;
		padding: 10px 0;
		width: 100%;
	}

	#logo img {
		max-width: 100%;
		max-height: 100px;
	}

	#d-menu {
		display: block;
		position: relative;
		height: calc(100% - 60px);
		margin: 30px 0 0 0;
		padding: 0;
		list-style: none;
	}

	#d-menu > li > a {
		display: block;
		padding: 15px 0;
		text-align: center;
		text-decoration: none;
		font-weight: bold;
		font-size: 12px;
		color: #586174;
		-webkit-transition: all 150ms ease;
		-moz-transition: all 150ms ease;
		-o-transition: all 150ms ease;
		-ms-transition: "all 150ms ease";
		transition: all 150ms ease;
	}

	#d-menu > li > a:hover {
		color: #fff;
	}

	#d-menu > li > a > .icon {
		display: block;
		height: 30px;
		margin-bottom: 5px;
		font-size: 0;
		line-height: 30px;
	}

	#d-menu > li > a:hover > .icon svg path {
		fill: #fff;
		-webkit-transition: all 150ms ease;
		-moz-transition: all 150ms ease;
		-o-transition: all 150ms ease;
		-ms-transition: "all 150ms ease";
		transition: all 150ms ease;
	}

	#board {
		position: fixed;
		top: 0;
		left: 120px;
		width: calc(100% - 120px);
		height: 100%;
	}

	#m-menu {
		display: none;
	}

	#togglePassword {
		z-index: 1000;
		cursor: pointer;
		position: absolute;
		right: 30px; /* Adjust to align with the input */
		transform: translateY(-50%);
		font-size: 18px; /* Adjust size as needed */
		color: #0c0b0b;
	}

	#iframe {
		height: 100%;
	}
}

@media only screen and (max-width: 992px) {
	#togglePassword {
		z-index: 1000;
		cursor: pointer;
		position: absolute;
		right: 30px;
		transform: translateY(-50%);
		font-size: 18px;
		color: #555;
	}
}

@media (max-width: 768px) {
	#togglePassword {
		z-index: 1000;
		cursor: pointer;
		position: absolute;
		right: 30px; /* Adjust to align with the input */
		transform: translateY(-50%);
		font-size: 18px; /* Adjust size as needed */
		color: #555;
	}

	.row > div:nth-child(1){
		padding-top: 50% !important;
	}
}



/*----- Button Sign in  ---------------------------------------*/
.button-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 3rem;
	padding: 1rem;
}
.button-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 150px;
}
/* Gradient Border Button */
.gradient-border-button {
	position: relative;
	padding: 1rem 6rem;
	font-size: 1.1rem;
	color: white;
	background: #1e293b;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.gradient-border-button::before {
	content: '';
	position: absolute;
	inset: -3px;
	background: linear-gradient(45deg, #60a5fa, #a78bfa, #60a5fa);
	border-radius: 10px;
	z-index: -1;
	transition: opacity 0.3s ease;
	animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
	0% { filter: hue-rotate(0deg); }
	100% { filter: hue-rotate(360deg); }
}

.gradient-border-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(96, 165, 250, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
	.button-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.button-wrapper {
		min-height: 120px;
	}
}
/*------------ End Button Sign in --------------*/




/*----------- Inputs section --------------*/
:root {
	--bg: rgb(41, 39, 43);
	--white: rgb(163, 162, 162);
	--primary: rgb(32, 165, 165);
	--placeholder: rgb(232, 229, 234);
}
/* 41, 39, 43 */
.wrapper {
	display: grid;
	align-items: center;

	& > * {
		grid-column: 1;
		grid-row: 1;
		font: 1.1rem futura,helvetica,sans-serif;
		color: var(--white);
	}

	& input {
		position: relative;
		border: 1.5px solid var(--white);
		border-radius: 0.25rem;
		outline: none;
		background-color: white;
		color: rgb(0, 0, 0);
		padding: 1rem;
		z-index: 0;
		transition: border-color 0.5s;

		&:focus { border-color: var(--primary); }

		&:focus ~ span,
		&:not(:placeholder-shown) ~ span {
			transform: translateY(-1.8rem) scale(0.75);
			padding: 0 0.25rem;
			color: white;
		}
	}

	& span {
		width: max-content;
		background-color: transparent;
		margin-left: 1rem;
		color: var(--placeholder);
		transition: transform 0.5s;
	}
}





