.progress_bar {
	position: relative;
	overflow: hidden;
}

.progress_bar>* {
	z-index: 1;
}

.progress_bar::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;

	width: calc(var(--progress, 0) * 1%);
	height: 100%;

	background-color: var(--bs-success);
	transition: 100ms ease width;
}

.file_uploader.form-control {
	color: black;
	background: white;
	min-height: 150px;
	height: fit-content;
}

.file_uploader__name {
	padding: 10px;
}

.file_uploader__subtitle {
	color: gray;
	font-size: smaller;
}

.file_uploader__files {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding-block: 5px;
}

.file_wrapper.progress_bar::before {
	top: unset;
	bottom: 0;
	height: 5px;
}

.file_wrapper {
	width: 100%;
	display: flex;
	align-items: center;
	border-radius: 5px;
	border: 1px solid #0002;
	/* padding-bottom: 5px; */
}

.file_wrapper__body {
	display: flex;
	flex-direction: column;

	padding-inline-start: 10px;
}

.file_wrapper__error {
	color: var(--bs-danger);
	font-size: smaller;
}

:is(.file_wrapper__icon, .file_wrapper__delete)::before {
	font-size: 1rem;
}

.file_wrapper__icon {
	color: #333;
}

.file_wrapper__leading--loaded>.circular_progress {
	display: none;
}

.file_wrapper__leading--loading>.file_wrapper__icon {
	display: none;
}

.file_wrapper__leading {
	display: grid;
	padding: 10px;
	place-items: center;
	width: 25px;
	height: 25px;
	background: #eeeeee;
	box-sizing: content-box;
}

.file_wrapper__leading>.circular_progress {
	--back: #eeeeee;
	--in: #a7a7a7;
	--left: #c7c7c7;
}

.circular_progress {
	display: grid;
	place-items: center;
    width: 2em;
    height: 2em;

	border-radius: 50px;
	overflow: hidden;
	background-image: conic-gradient(var(--in) var(--progress), var(--left) var(--progress));
	transition: 100ms ease background-image;
}

.circular_progress::before {
	content: '';
	width: 51%;
	height: 51%;
	border-radius: inherit;
	background-color: var(--back);
}

.file_wrapper__delete {
	display: grid;
	width: 25px;
	height: 25px;
	padding: 10px;
	box-sizing: content-box;
	margin-left: auto;
	place-items: center;
	color: var(--bs-danger);
	border-radius: 50px;
	cursor: pointer;
	--_size: 1rem;
	transition: 100ms ease box-shadow, 150ms ease scale;
}

.file_wrapper__delete:hover {
	background: var(--bs-danger);
	color: #343f52;

	box-shadow: 0px 4px 10px #000a;
	/* scale: 1.2; */
}

.uil {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 1em;
	width: 1em;
}

.uil-file:before {
	content: "\eb13";
}

[class*=" uil-"],
[class^="uil-"] {
	font-family: Unicons !important;
}

[class*=" icn-"],
[class*=" uil-"],
[class^="icn-"],
[class^="uil-"] {
	speak: none;
	font-style: normal;
	font-weight: 400;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	word-spacing: normal;
}

@font-face {
	font-family: Unicons;
	src: url(https://renaissance-translations.com/template/fonts/unicons/Unicons.woff2) format("woff2"), url(https://renaissance-translations.com/template/fonts/unicons/Unicons.woff) format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: block;
}