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

:root {
	--sidebar-width: 260px;
}

/**
  * Main CSS
**/
.feather {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
	vertical-align: sub;
}

/* Loading state for buttons used with x-btn-loading */
.btn--loading {
	position: relative;
	pointer-events: none;
}

.btn--loading > * {
	opacity: 0;
}

.btn--loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 1rem;
	height: 1rem;
	margin-top: -0.5rem;
	margin-left: -0.5rem;
	border: 0.125rem solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: spinner-border .75s linear infinite;
}

/* Custom modal styles */
.modal-md-wide .modal-dialog {
	max-width: 750px;
}

/**
 *  Rating star
 */
.ratingStar {
	text-align: left;
	font-style: normal;
	display: inline-block;
	position: relative;
	unicode-bidi: bidi-override;
}

.ratingStar::before {
	display: block;
	content: "★★★★★";
	color: #eee;
}

.ratingStar::after {
	white-space: nowrap;
	position: absolute;
	top: 0;
	left: 0;
	content: "★★★★★";
	width: 0;
	color: orange;
	overflow: hidden;
	height: 100%;
}

.ratingStar[data-star^="1"]::after {
	width: 20%;
}

.ratingStar[data-star^="2"]::after {
	width: 40%;
}

.ratingStar[data-star^="3"]::after {
	width: 60%;
}

.ratingStar[data-star^="4"]::after {
	width: 80%;
}

.ratingStar[data-star^="5"]::after {
	width: 100%;
}

.l-content {
	min-height: 50vh;
}

/* Footer */
.footer-link {
	color: #ffffff;
}

/* Auth */
.auth-divider {
	position: relative;
	text-align: center;
}

.auth-divider::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	border-top: 1px solid #d1d5db;
	transform: translateY(-50%);
}

.auth-divider span {
	position: relative;
	background-color: #fff;
	padding: 0 12px;
	color: #6b7280;
	font-size: 0.875rem;
}

/* Site false positive */
.fp-form textarea.form-control {
	min-height: 160px;
	resize: vertical;
}

.fp-info {
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	background: #f9fafb;
}
