html,
body {
	margin: 0;
	padding: 0;
	height: 100%;
	background-color: #eee;
	color: rgba(0, 0, 0, 0.87);
	font-family: 'Work Sans', sans-serif;
	overscroll-behavior: none;
	--color-primary: #7562f3;
	--color-light: rgba(0, 0, 0, 0.1);
}

* {
	box-sizing: border-box;
}

[v-cloak] {
	display: none !important;
}

/* ========================================================================== */

::-webkit-scrollbar {
	width: 7px;
	height: 7px;
	background-color: rgba(0, 0, 0, 0.15);
}

::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	background-color: rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:hover {
	background-color: rgba(0, 0, 0, 0.7);
}

::-webkit-scrollbar-corner {
	background-color: rgba(255, 255, 255, 0.3);
}

::placeholder,
.placeholder {
	color: inherit;
	opacity: 0.8;
	font-style: italic;
}

#app {
	height: 100%;
}

.loader-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: radial-gradient(circle at 20% 20%, #111827, #020617 70%);
	color: rgba(255, 255, 255, 0.87);
}

.loader {
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url(../images/loader.svg);
}

.clear-style {
	background: none;
	border: none;
	color: inherit;
	font: inherit;
	resize: none;
	text-decoration: none;
	text-align: inherit;
}

.clear-style[type=number] {
	-moz-appearance: textfield;
}

.clear-style[type=number]::-webkit-outer-spin-button,
.clear-style[type=number]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.noselect {
	-webkit-touch-callout: none;
	/* iOS Safari */
	-webkit-user-select: none;
	/* Safari */
	-khtml-user-select: none;
	/* Konqueror HTML */
	-moz-user-select: none;
	/* Firefox */
	-ms-user-select: none;
	/* Internet Explorer/Edge */
	user-select: none;
	/* Non-prefixed version, currently supported by Chrome and Opera */
}

.btn {
	display: inline-block;
	padding: 8px 12px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-weight: bold;
}

.btn-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	font-size: 22px;
}

.btn-primary {
	background-color: var(--color-primary);
	color: rgba(255, 255, 255, 0.87);
}

.btn-primary:hover {
	background-color: #8271f4;
}

.btn-white {
	background-color: rgba(255, 255, 255, 0.9);
	color: var(--color-primary);
}

.btn-white:hover {
	background-color: rgba(255, 255, 255, 0.7);
}

.btn-danger {
	background-color: #d33;
	color: rgba(255, 255, 255, 0.87);
}

.btn-danger:hover {
	background-color: #bc2020;
}

.color-default {
	color: rgba(0, 0, 0, 0.87);
}

.color-primary {
	color: var(--color-primary);
}

.color-danger {
	color: #d33;
}

.btn.color-danger:hover {
	color: #bc2020;
}

.divider {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.d-flex {
	display: flex;
}

.a-center {
	align-items: center;
}

.j-center {
	justify-content: center;
}

.w-100 {
	width: 100%;
}

.h-100 {
	height: 100%;
}

.m-0 {
	margin: 0;
}

.ml-5 {
	margin-left: 5px;
}

.mt-5 {
	margin-top: 5px;
}

.p-20 {
	padding: 20px;
}

.p-10 {
	padding: 10px;
}

.py-10 {
	padding-top: 10px;
	padding-bottom: 10px;
}

.o-auto {
	overflow: auto;
}

.italic {
	font-style: italic;
}

.container {
	max-width: 720px;
	margin: 0 auto;
}

.bg-primary {
	background-color: var(--color-primary);
	color: rgba(255, 255, 255, 0.87);
}

.icon-toggle_off {
	opacity: 0.5;
}

.icon-toggle_on {
	color: var(--color-primary);
	opacity: 0.9;
}

.btn-toggle-icon {
	font-size: 28px;
	display: inline-block;
	vertical-align: middle;
}

.btn-toggle-icon.icon-toggle_off:hover {
	opacity: 0.6;
}

.btn-toggle-icon.icon-toggle_on:hover {
	opacity: 1;
}

/* ========================================================================== */

.sidemenu {
	width: 270px;
	height: 100%;
	overflow: auto;
	flex: 0 0 auto;
	font-size: 16px;
	background-color: #ddd;
	box-shadow: 1px 0px 4px 1px rgba(0, 0, 0, 0.2);
}

.sidemenu .logo {
	padding: 14px;
	color: var(--color-primary);
	display: flex;
	align-items: center;
	gap: 5px;
}

.sidemenu .logo h2 {
	margin: 0;
}

.sidemenu .title {
	margin: 0;
	padding: 14px;
	font-size: inherit;
	color: var(--color-primary);
}

.sidemenu .title h3 {
	margin: 0;
	font-size: inherit;
}

.sidemenu .btn {
	padding: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
}

.sidemenu .link {
	background: none;
	border: none;
	text-decoration: none;
	text-align: inherit;
	font: inherit;
	color: inherit;
	display: block;
	padding: 14px;
	cursor: pointer;
	overflow: hidden;
	width: 100%;
	text-overflow: ellipsis;
}

.sidemenu .link.disabled {
	opacity: 0.6;
}

.sidemenu .link:hover {
	background-color: rgba(0, 0, 0, 0.1);
}

.sidemenu .link.active {
	/* background-color: #03a9f4; */
	background-color: rgba(0, 0, 0, 0.2);
	font-weight: bold;
}

.sidemenu .btn-config {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.sidemenu .btn-side {
	padding: 14px;
	cursor: pointer;
}

.sidemenu .btn-side:hover {
	background-color: rgba(0, 0, 0, 0.1);
}

.sidemenu .project:empty:before {
	content: 'No title';
	opacity: 0.5;
	font-style: italic;
}

.content-wrapper {
	width: 100%;
	overflow: auto;
}

.sidemenu .btn-menu {
	position: absolute;
	bottom: 0;
	right: 0;
	font-size: 24px;
	padding: 13px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 720px) {
	.hide-sm {
		display: none !important;
	}

	.sidemenu-overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		opacity: 0;
		background-color: rgba(0, 0, 0, 0.3);
		z-index: 9;
		visibility: hidden;
		transition: opacity 0.3s, visibility 0.3s;
	}

	.sidemenu {
		position: fixed;
		left: 0;
		top: 0;
		transform: translateX(-223px);
		border-radius: 0 0 25px 0;
		z-index: 10;
		height: 48px;
		overflow: hidden;
		transition: transform 0.3s;
	}

	.sidemenu .btn-menu {
		width: 48px;
		height: 48px;
		background-color: var(--color-primary);
	}

	.sidemenu-open .sidemenu-overlay {
		visibility: visible;
		opacity: 1;
	}

	.sidemenu-open .sidemenu {
		transform: translateX(0);
		border-radius: 0;
		height: 100%;
		overflow: auto;
	}

	.sidemenu-open .sidemenu .btn-menu {
		bottom: auto;
		top: 0;
		width: 56px;
		height: 56px;
	}

	.content-wrapper {
		padding-top: 48px;
	}
}

@media (min-width: 721px) {
	.hide-md {
		display: none !important;
	}

	.sidemenu {
		position: relative;
		transition: margin-left 0.3s;
	}

	.sidemenu-open .sidemenu {
		margin-left: calc(32px - 270px);
		border-radius: 0;
		overflow: visible;
	}

	.sidemenu-open .sidemenu> :not(.btn-menu) {
		display: none;
	}

	.sidemenu .btn-menu {
		bottom: auto;
		top: 0;
		width: 56px;
		height: 56px;
		border-left: 1px solid var(--color-light);
		transition: width 0.3s, height 0.3s, background-color 0.3s;
	}

	.sidemenu .btn-menu>* {
		transition: transform 0.3s;
	}

	.sidemenu-open .sidemenu .btn-menu {
		width: 32px;
		height: 32px;
		border: none;
		background-color: var(--color-primary);
		color: rgba(255, 255, 255, 0.87);
	}

	.sidemenu-open .sidemenu .btn-menu>* {
		transform: rotate(180deg);
	}
}

/* ========================================================================== */

.modal {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.modal-body {
	position: relative;
	background-color: #ddd;
	padding: 20px;
	border-radius: 5px;
	width: 100%;
	max-width: 400px;
	box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.2);
	max-height: 100%;
	overflow: auto;
}

/* ========================================================================== */

.input-group {
	margin-bottom: 15px;
	min-width: 200px;
}

.input-group:last-child {
	margin-bottom: 0;
}

.input-group label {
	font-size: 12px;
	text-transform: uppercase;
	font-weight: bold;
}

@media (min-width: 721px) {
	.input-group.input-group-inline {
		display: flex;
		align-items: center;
		margin-bottom: 8px;
	}

	.input-group.input-group-inline label {
		width: 200px;
		flex: 0 0 auto;
	}
}

/* ========================================================================== */

.theme-dark {
	--color-light: rgba(255, 255, 255, 0.1);
	background-color: #181b20;
	color: rgba(255, 255, 255, 0.87);
	color-scheme: dark;
}

.theme-dark .color-default {
	color: rgba(255, 255, 255, 0.87);
}

.theme-dark .sidemenu {
	background-color: #1f232e;
}

.theme-dark .divider {
	border-color: rgba(255, 255, 255, 0.1);
}

.theme-dark .modal-body {
	background-color: #1e1e1e;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-dark .input-group select {
	background-color: #222;
}