* {
	padding: 0px;
	margin: 0px;
}

*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: #fff;
	font-family: "Rubik, Open Sans", sans-serif;
	font-size: 1rem;
	color: #505050;
	fill: #505050;
	font-weight: 100;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

/* main {
	padding: 70px 10px;
} */

section {
	padding: 80px 15px;
}

section.centered {
	max-width: 800px;
	height: 100%;
	margin: 0px auto;
}

svg {
	height: inherit;
	width: inherit;
	fill: inherit;
	stroke: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Poppins", sans-serif;
}

p {
	font-size: 18px;
	font-weight: 400;
	margin-top: 10px;
	line-height: 1.6;
	color: #666;
	fill: #666;
}

a {
	text-decoration: none;
	cursor: pointer;
	color: inherit;
	display: inline-flex;
}

i {
	display: inline-flex;
}

button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 30px;
	font-weight: bold;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
	border: 2px solid #1f99ff;
	background-color: #fff;
	color: #1f99ff;
	fill: #1f99ff;
	border-radius: 8px;
}

.button-round {
	position: fixed;
	bottom: 15px;
	right: 15px;
	padding: 0;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	z-index: 1;
}

.round {
	padding: 0;
	border-radius: 50%;
}

button.red {
	border-color: #e74c3c;
	color: #e74c3c;
	fill: #e74c3c;
}

button.red:hover {
	background-color: #e74c3c;
}

button.green {
	border-color: #27ae60;
	color: #27ae60;
	fill: #27ae60;
}

button.green:hover {
	background-color: #27ae60;
}

button:hover {
	background-color: #1f99ff;
	color: #fff;
	fill: #fff;
}

/* [session] {
	display: none;
} */

/* [session="on"],
[session="idle"] {
	display: block;
}

#admin {
	display: none;
}

#admin[session="on"][admin="true"],
#admin[session="idle"][admin="true"] {
	display: block;
} */

.alt-section:nth-of-type(even) {
	background-color: #f5f5f5;
}

.alt-section:nth-of-type(odd) {
	background-color: #fff;
}

footer {
	padding: 80px 15px;
	color: #fff;
	fill: #fff;
	text-align: center;
}

footer p {
	color: inherit;
	fill: inherit;
}

[hidden],
.hidden {
	display: none !important;
}

[template] {
	display: none;
}

.show[selected] {
	display: block !important;
}

nav {
	display: flex;
	align-items: center;
	gap: 15px;
	background: transparent;
	padding: 10px 15px;
	/* z-index: 7; */
	will-change: transform;
	transition: transform 0.5s cubic-bezier(0.694, 0.048, 0.335, 1);
	/* transform: translateY(-100%); */
	transform: translateY(0);
}

nav.hide {
	transform: translateY(-100%);
	/* transform: translateY(0); */
}

.sticky-nav {
	position: sticky !important;
	background: inherit;
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
	height: auto;
	right: 0;
	top: -1;
	transform: translateY(0);
	z-index: 1;
}

sidenav {
	position: fixed;
	top: 0px;
	overflow: hidden;
	background: whitesmoke;
	height: 100vh;
}

sidenav .header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	/* background: whitesmoke; */
}

sidenav ul h3 {
	overflow: hidden;
	margin: 50px 0px 5px 0px;
}

sidenav ul li {
	display: flex;
	justify-content: space-between;
	width: 100%;
	height: 40px;
	overflow: hidden;
	white-space: nowrap;
}

sidenav ul li:hover {
	background: #1f99ff;
}

sidenav ul li a {
	display: flex;
	align-items: center;
}

sidenav .icon {
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 50px;
}

sidenav .name {
	padding-left: 1px;
}

.avatar {
	--avatar-size: 50px;
	width: var(--avatar-size);
	height: var(--avatar-size);
	background-color: #1f99ff;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	position: relative;
}

.avatar.round,
.avatar.round > .avatar-image {
	border-radius: 50%;
}

.avatar-image * {
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: transparent;
	border-color: transparent;
}

.avatar > .avatar-image {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 2;
	overflow: hidden;
}

.avatar > .avatar-image > img:not([src]) {
	display: none;
}

.avatar > .avatar-name {
	z-index: 1;
	writing-mode: vertical-rl;
	text-orientation: upright;
	text-transform: uppercase;
	overflow: hidden;
	text-overflow: clip;
	white-space: nowrap;
	height: 20px;
	width: 20px;
	letter-spacing: 1em;
}

.avatar-status {
	position: absolute;
	right: 0px;
	bottom: 0px;
	display: flex;
	height: 12px;
	width: 12px;
	border: 2px solid #f7f7f7;
	border-radius: 50%;
	z-index: 3;
	background-color: #e74c3c;
	transform: translate(-10%, 0%);
}

.avatar-status.on {
	background-color: #4caf50;
}

.avatar-status.off {
	background-color: #e74c3c;
}

[menu-icon] {
	display: block;
	min-width: 30px;
	cursor: pointer;
}

[menu-icon] span {
	position: relative;
	display: block;
	height: 2px;
	width: 100%;
	margin-top: 6px;
	margin-bottom: 6px;
	transition: all 0.25s;
	background-color: #333;
}

[menu-icon="active"] span:first-child {
	transform: rotate(45deg) translate(-1px, 6px);
}

[menu-icon="active"] span:nth-child(2) {
	display: none;
}

[menu-icon="active"] span:last-child {
	transform: rotate(-45deg) translate(-1px, -6px);
}

.bg {
	background: radial-gradient(
		circle at 50% 50%,
		rgba(6, 102, 219, 0.07) 0%,
		rgba(6, 102, 219, 0.07) 33.333%,
		rgba(6, 102, 219, 0.21) 33.333%,
		rgba(6, 102, 219, 0.21) 66.666%,
		rgba(6, 102, 219, 0.35) 66.666%,
		rgba(6, 102, 219, 0.35) 99.999%
	);
}

.pricing-table {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: center;
}

.pricing-table th {
	background-color: #f4f4f4;
}

.pricing-table td {
	background-color: #fafafa;
	font-weight: 400;
}

.pricing-table tr:nth-child(even) td {
	background-color: #eee;
}

.flex-form {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.flex-form > floating-label {
	flex-grow: 1;
}

.input-icon {
	width: calc(100% - 18px) !important;
}

.floating-icon {
	display: flex;
	position: absolute;
	top: 11px;
	right: 8px;
	font-size: 18px;
}

.datatable-container {
	overflow: auto;
}

.datatable-container table {
	width: 100%;
	border-collapse: collapse;
}

.datatable-container tr {
	border-bottom: 1px solid darkgray;
}

.datatable-container .header tr {
	position: sticky;
	top: 0;
	background-color: #fff;
}

.datatable-container tr.selected {
	background-color: #222;
}

.datatable-container td {
	padding: 10px;
}

.datatable-container .header td {
	padding: 10px 0px;
	padding-right: 10px;
	min-width: 150px;
}

.datatable-container .header td:last-child {
	padding-right: 0px;
}

.card {
	background-color: whitesmoke;
	/* border: 1px solid #333; */
}

.hide-preview .playground-preview {
	display: none;
}

.hide-code .playground-code {
	display: none;
}

.hide-preview .playground-code {
	height: 100% !important;
}

/* Firefox browsers */
* {
	scrollbar-width: thin;
	/* Options: auto, thin, none */
	scrollbar-color: rgba(0, 0, 0, 0.09) rgba(0, 0, 0, 0.03);
	/* Thumb color, Track color */
}

::-webkit-scrollbar {
	width: 5px;
	height: 5px;
}

::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.09);
}

::-webkit-scrollbar-thumb:hover {
	background: #3790ff;
	opacity: 0.08;
}

::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.03);
	width: 5px;
	height: 5px;
}

::-webkit-scrollbar-track:hover {
	background: rgba(0, 0, 0, 0.06);
}

@media (max-width: 575px) {
	nav,
	main,
	footer {
		margin-left: 0px !important;
	}
}

@media (prefers-color-scheme: dark) {
	body {
		background-color: #333;
		color: #e0e0e0;
		fill: #e0e0e0;
	}

	.sticky-nav {
		box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
	}

	sidenav {
		background-color: #222;
	}

	/* sidenav .header {
		background-color: #222;
	}
 */
	header {
		background-color: #333;
	}

	p {
		color: #e0e0e0;
		fill: #e0e0e0;
	}

	footer {
		background-color: #145a8b;
	}

	button {
		background-color: #333;
	}

	.alt-section:nth-of-type(even) {
		background-color: #333;
	}

	.alt-section:nth-of-type(odd) {
		background-color: #444;
	}

	.card {
		background-color: #1e1e1e;
		border: 1px solid #333;
	}

	.button {
		background-color: #333;
		color: #e0e0e0;
		border: 1px solid #555;
	}

	[menu-icon] span {
		background-color: #fff;
	}

	.pricing-table th {
		background-color: #555;
		color: #fff;
	}

	.pricing-table td {
		background-color: #333;
		color: #fff;
	}

	.pricing-table tr:nth-child(even) td {
		background-color: #444;
	}

	code[class*="language-"],
	pre[class*="language-"] {
		background: #222 !important;
	}

	.avatar-status {
		border-color: #333;
	}

	.datatable-container .header tr {
		background-color: #333;
	}
}

.cocreate-badge {
	display: inline-block;
	background-color: #777;
	font-size: 14px;
	font-weight: 600;
	height: fit-content;
	min-width: fit-content;
	padding: 0.1em 0.4em;
	text-align: center;
	transition: opacity 0.3s linear 0s;
	-webkit-transition: opacity 0.3s linear 0s;
	-ms-transition: opacity 0.3s linear 0s;
	-moz-transition: opacity 0.3s linear 0s;
	-o-transition: opacity 0.3s linear 0s;
	vertical-align: middle;
	visibility: visible;
	white-space: nowrap;
}

/* Success: Muted Green */
.success {
	background-color: #27ae60; /* Muted green */
	color: white; /* High contrast white text */
}

/* Warning: Muted Golden Orange */
.warning {
	background-color: #f39c12; /* Muted orange */
	color: black; /* High contrast black text */
}

/* Danger: Muted Red */
.danger,
.failed {
	background-color: #e74c3c; /* Muted red */
	color: white; /* High contrast white text */
}
