/* COMPONENTS */
.v-btn-ai {
	width: 3.25em;
	height: 3.25em;

	display: flex;
	align-items: center;
	justify-content: center;

	--bs-btn-border-width: 2px;
	--bs-btn-border-radius: 1em;
	--bs-btn-padding-x: 0.1em;
	--bs-btn-padding-y: 0.1em;


	--bs-btn-color: var(--vitta-green);
	--bs-btn-bg: var(--bg-0);
	--bs-btn-border-color: var(--vitta-green);

	--bs-btn-hover-color: var(--vitta-white);
	--bs-btn-hover-bg: var(--vitta-green);
	--bs-btn-hover-border-color: var(--vitta-green);

	--bs-btn-active-color: var(--vitta-white);
	--bs-btn-active-bg: var(--vitta-green);
	--bs-btn-active-border-color: var(--vitta-green);

	--bs-btn-disabled-color: var(--bg-0);
	--bs-btn-disabled-bg: var(--vitta-green);
	--bs-btn-disabled-border-color: var(--vitta-green);
}

.v-btn-ai img {
	filter: brightness(1);
}

.v-btn-ai:hover img {
	filter: brightness(10);
}

/* AI INDEX PAGE CONTENT */
.ide-navbar {
	justify-content: space-between;
}

#feature-not-available {
	z-index: 1051 !important;
}

.ai-index-section {

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0 0 2em 0;
}

.ai-index-section h2 {
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--text-0);
	text-align: center;
	margin: 0 2em;
}

.data-type-selection-list {
	display: flex;
	justify-content: center;
	gap: 4em;
	flex-wrap: wrap;
	margin: 1em 0;
}

.data-type-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 15em;
	box-shadow: 0px 0px 10px var(--vitta-shadow-color);
	border-radius: 10px;
	padding: 1em;
	text-decoration: auto;
	transition: all 0.2s ease-in-out;

}

.data-type-card:hover {
	cursor: pointer;
	box-shadow: 0px 0px 10px var(--vitta-green);
}

.data-type-card img {
	width: 10em;
}

.theme-light .image-light {
	display: block;
}

.theme-dark .image-light {
	display: none;
}

.theme-dark .image-dark {
	display: block;

}

.theme-light .image-dark {
	display: none;
}

.theme-dark .data-type-card img {
	filter: invert(1) hue-rotate(180deg);
}

.image-dark {
	filter: none !important;
}



.data-type-card h3 {
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--vitta-green);
	margin: 0.5rem 0;
	text-align: center;
}

.data-type-card p {
	text-align: center;
	color: var(--text-1);
}

.ai-index-model-search {
	width: 80%;
	margin: 1em 0 0 0;
}

#cols-section .row>div:not(:last-child) {
	border-right: 1px solid var(--vitta-grey);
}

.preview-features {
	margin: auto;
	width: 100%;
	flex-direction: row !important;
	justify-content: center !important;
}

.canvas-for-prediction {
	width: 100%;
}
.canvas-for-hands {
	position: absolute;
	z-index: 10;
}
.copy-canvas-for-hands {
	position: absolute;
	left: 0;
	width: 3rem;
	height: 3rem;
}
.ai-hand-prediction-canvas {

	width: 100%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1 / 1;
    position: absolute;
    top: 0px;
    z-index: 902;
    pointer-events: none;

}

.shepherd-cancel-icon {
	height: 35px;
	width: 35px;
	border-radius: 20px;
	position: absolute;
	right: 0%;
	top: 0%;
	transform: translate(35%, -35%);
	line-height: 1;
	background-color: var(--vitta-green) !important;
	color: white !important;
	display: flex;
	justify-content: center;
	font-size: 1.5em;

	--bs-btn-padding-x: 0.15em;
	--bs-btn-padding-x: 0.15em;
	--bs-btn-focus-box-shadow: 0px 0px 10px var(--vitta-blue);
	--bs-btn-border-radius: 50%;

	--bs-btn-color: var(--bg-0);
	--bs-btn-bg: var(--bg-1);

	--bs-btn-hover-color: var(--text-1);
	--bs-btn-hover-bg: var(--bg-3);

	--bs-btn-active-color: var(--text-2);
	--bs-btn-active-bg: var(--bg-3);

}

.shaperd-mobile {
	width: 80% !important;
}

/* universcience */
.hideForUniverscience #usage,
.hideForUniverscience #verify-data-button,
.hideForUniverscience #visualization-button,
.hideForUniverscience #preview-dataset-button,
.hideForUniverscience #preview-upload-button,
.hideForUniverscience #preview-camera-button,
.hideForUniverscience .switch-hidden,
.hideForUniverscience .ide-dropdown button,
.hideForUniverscience #ai-image-tuto,
.hideForUniverscience #preview-setting,
.hideForUniverscience .preview-camera-selector,
.hideForUniverscience .preview-webcam-header,
.hideForUniverscience .project-data,
.hideForUniverscience #training-setting-button,
.hideForUniverscience #category-select {
	display: none;
}

.hideForUniverscience #gradcam-filter-form {

	&,
	& * {
		display: none;
	}
}

.hideForUniverscience #preview {
	overflow-y: hidden;
}

.hideForUniverscience .ai-ide-container {
	grid-template-columns: 2fr 1.2fr minmax(300px, 2fr);
	overflow-y: hidden;
}

.hideForUniverscience .rgpd-info-right-section img {
	visibility: hidden;
}

.hideForUniverscience #go-home,
.hideForUniverscience #ai-image-tuto-universcience {
	display: block !important;
	color: var(--text-0);
}

.hideForUniverscience .preview-webcam-container {
	min-width: 60%;
}

.hideForUniverscience #train-model-button,
.hideForUniverscience h2,
.mobilenet h2 {
	font-size: 24px !important;
}

.hideForUniverscience .training-area-buttons img {
	width: 3.5rem;
	height: 3.5rem;
}

.hideForUniverscience .preview-area {
	min-height: calc(100% - 2rem - 1.4em);
	overflow-y: hidden;
}

.universcience span,
.universcience .v-text {
	font-size: 1.3rem !important;

}

.universcience {
	max-width: 620px !important;
	margin: 10px !important;
}

.universcience .shepherd-text {
	padding: 1.2em;
}

.info-additon {
	margin-top: 5px;
}

.universcience .shepherd-cancel-icon span {
	font-size: 2rem !important;
}

.v-text {
	font-weight: bold;
}

.shepherd-text .btn:hover,
.shepherd-text .btn:focus {
	cursor: default;
	background-color: var(--vitta-white);
	box-shadow: 0px 0px 0px var(--vitta-green);
}

.shepherd-text .btn:hover>img,
.shepherd-text .btn:focus>img {
	filter: brightness(1) invert(0);

}

#preview-universcience {
	display: none;
}

.category-prediction-name-universcience {
	color: var(--vitta-green-dark);
	font-weight: 600;
	max-width: 22ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: xx-large !important;
	line-height: initial;
}

.category-prediction-name-universcience-en {
	color: var(--vitta-grey);
	font-size: x-large;
}

.universcience-step-1 {
	transform: translate(738px, 120px) !important;
}

.universcience-step-2 {
	transform: translate(738px, 240px) !important;
}

.universcience-step-3 {
	transform: translate(738px, 275px) !important;
}

/* mobilnet */
.mobilenet .category-prediction {
	gap: 2em;
	width: 96%;
}

.mobilenet .category-prediction-progress-container {
	height: 2.2em;
	width: 9rem;
}

.mobilenet .category-prediction-text {
	font-size: xx-large;
}

.mobilenet #usage,
.mobilenet #data,
.mobilenet #training,
.mobilenet #preview,
.mobilenet .global-notifications-area,
.mobilenet #verify-data-button,
.mobilenet #visualization-button,
/* .mobilenet #preview-dataset-button,
.mobilenet #preview-camera-button,
.mobilenet #preview-upload-button, */
.mobilenet .switch-hidden,
.mobilenet .ide-dropdown button,
.mobilenet #ai-image-tuto,
/* .mobilenet .preview-camera-selector, */
.mobilenet .project-data,
/* .mobilenet #gradcam-filter-form, */
.mobilenet #category-select {
	display: none !important;
}

.mobilenet .preview-area {

	&,
	& * {
		display: none !important;
	}
}

#preview-camera-button-universcience .btn:hover,
#preview-camera-button-universcience .btn:focus {
	cursor: default;
	background-color: var(--vitta-white);
	box-shadow: 0px 0px 0px var(--vitta-green);
}

.mobilenet #preview-universcience {
	width: 100% !important;
	overflow-y: hidden !important;
	height: 100% !important;
	display: grid;
	grid-template-columns: 3.5fr 4fr 4.5fr;
	grid-template-rows: 170px auto;
	padding: 1em 1em;
}

.mobilenet .preview-webcam-header {
	margin: auto !important;
	justify-content: center;
}

.mobilenet .categories-prediction-list {
	margin: auto;
	width: 96% !important;
	display: flex;
	justify-content: space-between;

}

.white-grid-cell {
	background-color: var(--bg-0);
	text-align: center;
	width: 100%;
}

.grey-grid-cell {
	text-align: center;
}

.preview-webcam-universcience {
	width: 100%;
}

.mobilenet .preview-webcam-container {
	width: 90%;
	margin: auto;
}

.mobilenet .global-notifications-area {
	height: 0px;
}

.mobilenet .ai-ide-container {
	display: block;
}

.winner {
	background-color: var(--vitta-orange) !important;
}

.mobilenet .card {
	display: flex;
	flex-direction: row;
	padding: 10px;
	width: 90%;
	margin: 10px;

}

.mobilenet .card>img {
	aspect-ratio: 1/1;
	width: 100px;
	height: 100px;
	padding: 10px;
}

.mobilenet .mobilenet-results {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.mobilenet-results span {
	font-size: large;
}

.mobilenet-instruction,
.mobilenet-results {
	background-color: var(--bg-0);
	height: 100%;
	margin: auto;
}

.mobilenet-instruction p {
	width: 90%;
	text-align: center;
	font-size: 30px;
	line-height: 1.5;
}

.mobilenet .preview-webcam-header .v-btn-ai.selected {
	background-color: var(--vitta-white);
	transform: scaleX(-1);
}

.mobilenet .preview-webcam-header .v-btn-ai.selected>img {
	filter: brightness(1) invert(0);
}

.mobilenet .preview-webcam-header .v-btn-ai.selected:focus>img {
	filter: brightness(1) invert(0);
}

@media (max-width: 992px) {
	#cols-section .row>div:not(:last-child) {
		border-right: none;
	}

	#preview-setting {
		flex-direction: row;
		max-height: 30px;
	}

	.ide-btn-right {
		border-end-end-radius: 15px !important;
		border-start-end-radius: 15px !important;
	}

	.ide-btn-left {
		border-start-start-radius: 15px !important;
		border-end-start-radius: 15px !important;
	}

	body.buddy-app #manage-button-panel .ide-btn-left {
		border-start-start-radius: unset !important;
		border-end-start-radius: unset !important;
	}

	body.buddy-app #manage-button-panel .ide-btn-right {
		border-radius: 0px 0px 5px 5px !important;
	}

	#exitPreview {
		display: block;
	}
}

@media (max-width: 768px) {
	#cols-section .row>div:not(:last-child) {
		border-bottom: 1px solid var(--vitta-grey);
	}

	.ide-btn-right {
		border-end-end-radius: 15px;
		border-start-end-radius: 15px;
	}

	.ide-btn-left {
		border-start-start-radius: 15px;
		border-end-start-radius: 15px;
	}

	.shepherd-header {
		padding: 0px !important;
	}

	.shepherd-text {
		line-height: 1.1em !important;

	}
}

.section-big-icon {
	--size: 4rem;
	margin-bottom: calc(var(--size) / 4);
}

.section-big-icon i {
	font-size: var(--size)
}

.section-big-icon img {
	height: var(--size);
	width: auto;

	object-fit: contain;
}

#edu-up-section {
	background: var(--bg-1);
	margin-top: 4rem;
	border-radius: 4em 0px 0px 0px;
	filter: drop-shadow(0px 0px 15px var(--vitta-shadow-color));
	z-index: 5;
	position: relative;
	padding-inline: 2em;
}

#edu-up-section .img-fluid {
	padding: 1em;
	border-radius: 0.5em;
	background-color: var(--vitta-white);
	max-width: 300px;
	height: 100%;
	flex-shrink: 0;
}

#edu-up-section::before {
	--section-color: var(--bg-1-rgb);
	content: "";
	position: absolute;
	top: -50px;
	right: 0;
	left: calc(100% - 50px);
	height: 50px;
	background: radial-gradient(farthest-side at top left, transparent 98%, rgb(var(--section-color)) 100%) 0 / 50px no-repeat;
}


#youtube-videos-container a {
	font-size: 1.1rem;
	font-weight: 800;
	text-decoration: none;
	text-align: start;

	max-width: min-content;
	text-overflow: ellipsis;
	position: relative;
}

#youtube-videos-container img {
	width: 280px;
	height: 160px;

	aspect-ratio: 16 / 9;
	border-radius: 0.5em;
	margin-bottom: 0.5em;

	box-shadow: 0px 0px 10px var(--vitta-shadow-color);
	object-fit: cover;

}

#youtube-videos-container a::before {
	/* display contents of data-length in the bottom left corner of the img */
	content: attr(data-length);
	position: absolute;
	top: calc(160px - calc(1.2rem + 0.5em));
	right: 0.2em;
	padding: 0.1em 0.3em;
	background-color: rgba(0, 0, 0, 0.5);
	color: var(--vitta-white);
	font-size: 0.8rem;
	border-radius: 0.5em;


}
.left-section {
	border-radius: 4rem 0px 0px 4rem !important;
}

#ia-kit-section.left-section {
	--ia-kit-color: 204, 97, 86;
	color: var(--bg-3)
}

.left-section .btn {
	background-color: #C2372D;
	border: none;
}
.left-section .kit-name {
	color: #C2372D;
}
.left-section::before {
	background: radial-gradient(farthest-side at top left, transparent 98%, rgb(var(--section-color)) 100%) 0/50px no-repeat !important;
	left: calc(100% - 50px) !important;
}

.left-section::after {
	background: none !important;
}


/* AI INTERFACES PAGE CONTENT */

.global-overlay {
	top: 0;
	left: 0;
	position: absolute;
	width: 100vw;
	max-width: 100%;
	height: 100vh;
	max-height: 100%;
	background-color: #000;
	opacity: 0.8;
	display: none;
	z-index: 1050;
}

.image-zoom-wrapper {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	max-width: 100%;
	height: 100vh;
	max-height: 100%;
	align-items: center;
	justify-content: center;
	z-index: 1051;
	flex-direction: row;
}

.image-zoom {
	width: 50vw;
	height: 50vw;
	display: flex;
	align-items: center;
}
.image-and-canvas-zoomed-wrapper {
	position: relative;
	width: 100%;
}
.image-and-canvas-zoomed-wrapper .hand-image-zoomed{
	position: absolute;
	left : 0;
	top: 0;
	z-index: 11;
}

#arrow-left,
#arrow-right {
	width: 50px;
	height: 50px;
	color: (var(--vitta-grey));
	background-color: rgba(245, 245, 245, 0.5);
	border-radius: 50px;
	margin: 10px;

}

#arrow-left:hover,
#arrow-right:hover {
	cursor: pointer;
	filter: brightness(1.5);
	color: white;
	box-shadow: 0px 0px 15px var(--vitta-green-dark);
}

.image-zoom img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

#modal-personal-data .vitta-modal-header {
	justify-content: center;
}

#modal-personal-data .vitta-modal-title {
	text-transform: uppercase;
}

.personal-data-icon {
	position: relative;
}

.personal-data-icon::before {
	content: "";
	width: 1.3em;
	height: 1.3em;
	position: absolute;
	background-image: url(/ia/assets/images/icon-personal-data.svg);
	left: -1.3em;
	top: 0em;
	background-repeat: no-repeat;
}

.personal-data-column-left {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 30%;
}

.personal-data-column-right {
	width: 70%;
}

.personal-data-tips-area {
	width: 100%;
	border: 2px solid var(--vitta-orange-light);
	border-radius: 0.5em;
	margin: 1em auto;
}

.personal-data-tips-title {
	display: flex;
	justify-content: center;
	color: var(--vitta-red);
	font-weight: 700;
	margin: 0.5em 0em 1em 0em;
}

.personal-data-modal-cancel {
	display: none;
}

.camera-blocked-intro {
	font-size: 1.3rem;
}

.camera-blocked-list {
	list-style-type: none;
	margin: 0;
	color: var(--vitta-green);
	font-size: 2rem;
}

.camera-blocked-list p {
	margin: 0;
}

.camera-blocked-ordered-list {
	margin: 0em 0em 2em 0em;
	color: var(--text-0);
	font-size: 1.3rem;
}


.notification-save-export-wrapper {
	margin-top: 3rem;
}

.notification-save-export-form label {
	display: block;
}

.notification-save-export-section {
	margin: 0 0 2rem 10px;
	box-shadow: 0px 0px 10px #0000004D;
	border-radius: 20px;
	padding: 1.5rem;
	user-select: none;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.notification-save-export-orange-text {
	color: var(--vitta-red);
}

.notification-save-export-section:hover,
.export-model-section:hover {
	box-shadow: 0px 0px 10px var(--vitta-green);
	cursor: pointer;
}

.notification-save-export-section.checked-radio,
.export-model-section.checked-radio {
	box-shadow: 0px 0px 10px var(--vitta-green);
}

.notification-save-export-section-title,
.export-model-section-title {
	font-weight: 800;
}

.export-model-section {
	margin: 0 0 1rem 10px;
	box-shadow: 0px 0px 10px #0000004D;
	border-radius: 20px;
	padding: 1rem;
	user-select: none;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.notification-save-export-section p {
	margin: 0;
	padding: 0;
}

.notification-save-export-section input[type="radio"] {
	min-width: 1em;
}

.orange-pictogram {
	color: var(--vitta-orange-light);
}

.example-dataset-button {
	display: inline-flex;
	pointer-events: none;
	width: 2em;
	height: 2em;
	border-radius: 0.6em;
}

.example-dataset-button img {
	width: 80%;
}

.detected-face-slider {
	position: relative;
	height: 10em;
	width: 10em;
	background-color: var(--vitta-grey);
	flex: 0 0 10em;
	margin: 1em 0em;
	overflow: hidden;
}

.detected-face-images-list {
	display: flex;
	transition: transform 0.2s ease;
}

.detected-face-images-slide {
	position: relative;
	flex: 0 0 100%;
}

.detected-face-images-slide img {
	width: 100%;
}

.detected-face-images-slide canvas {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
}

.detected-face-images-controls {
	display: flex;
	justify-content: space-between;
	position: absolute;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
}

.detected-face-images-control {
	flex: 0 0 15%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--vitta-white);
}

.detected-face-images-control:hover {
	cursor: pointer;
	background-color: rgba(128, 128, 128, 0.5);
}

.grey-trashbin {
	filter: brightness(0.5);
	margin: 0em 0.2em 0em 0em;
	height: 1.2em;
	top: -0.1em;
	position: relative;
}

#ai-ide {
	display: flex;
	flex-direction: column;
	flex: 1;
	height: 100%;
}

.span-region {
	display: block;
	color: black;
	font-size: 0.8em;
	font-weight: 600;
	position: relative;
	top: 90px;
	text-align: center;
}

.ai-ide-container {
	display: grid;
	grid-template-columns: 2fr 1.2fr minmax(300px, 2fr) 0.5fr;
	height: 100%;
	overflow-x: auto;
	border-top: rgba(128, 128, 128, 0.5) 3px solid;
	padding: 0;
}



@media (min-width: 940px) {

	#manage-button-panel button span,
	.ide-btn-group-mode button span {
		display: none;
	}
	.preview-features {
		justify-content: center !important;
	}

}

#ai-ide.viewer-mode .ai-ide-container {
	width: 100%;
	grid-template-columns: 80vw 1fr;
}

#ai-ide.viewer-mode .ai-ide-container #data,
#ai-ide.viewer-mode .ai-ide-container #training {
	display: none;
}

#ai-ide-container>section {

	padding: 1em 1em;
}


#ai-ide section h2 {
	font-size: 0.8rem;
	text-transform: uppercase;
	font-weight: bold;
	color: var(--text-0);
	margin: 0.7em auto;
	width: fit-content;
}

.ide-mode-toggler-wrapper {
	margin: 0 auto;
}

.ide-mode-active {
	background-color: var(--vitta-green);
	color: var(--vitta-white);
}

.preview-area-visualization {
	margin-top: 5px;
}

#data,
#preview {
	position: relative;
	background-color: var(--bg-3);
	overflow-y: auto;
	max-height: 100%;

}

#training {
	min-width: 290px;
	height: 100%;
}

.preview {
	background-color: var(--bg-5);
	height: 30px !important;
	padding: 0px !important;
	white-space: normal !important;
}

.padding-left {
	margin: auto;
}

.preview img,
.preview i {
	max-height: 15px !important;
}


.trainingSetting {
	max-width: 90px;
}

.training-area-buttons-container {
	position: relative
}

#training-setting-button {
	text-align: center;
	position: absolute;
	right: -1em;
	top: -50%;

	--bs-btn-border-color: transparent;
	--bs-btn-hover-border-color: transparent;
	--bs-btn-active-border-color: transparent;
	--bs-btn-disabled-border-color: transparent;
}

#training-setting {
	background-color: var(--bg-0);
	padding: 5px;
	border-radius: 10px;
	border: 1px solid var(--vitta-orange);
	background-color: #f7e8c59e;
	color: var(--vitta-orange-dark);
}

#training-setting input[type=number] {
	color: var(--vitta-orange);
	border-color: var(--vitta-orange-light);
}

.training-setting-area-close {
	text-align: end;
}

.training-setting-area-close img {
	width: 0.8em;
	margin: 0.2em;
	filter: brightness(0) saturate(100%) invert(65%) sepia(65%) saturate(1384%) hue-rotate(-21deg) brightness(103%) contrast(92%);
}

@media (min-width: 940px) and (max-width: 1200px) {
	.ai-ide-container {
		grid-template-columns: 36ch 1fr minmax(300px, 2fr) auto;
	}

	/* .category-body{
		flex-direction: column;
		gap: 10px;
	}
	.category-buttons-collapsed{
		justify-content: center;
	} */
}

/* mobile mode */
@media (max-width: 940px) {
	.ai-ide-container {
		grid-template-columns: auto !important;
		width: min-content;
	}

	#ai-ide-container>section {
		height: max-content;
		/* min-height: 85vh; */
		margin-bottom: 5px;
	}

	.export-area {
		flex-direction: row !important;
	}

	.category-container {
		padding-right: 10px !important;
	}

	#preview {
		width: 100vw;
	}

	.preview-webcam-container {
		min-width: 90% !important;
		max-height: 95% !important;
	}

	#preview>h2>i {
		margin: 10px;
		width: 30px;
	}

	.category-body {
		gap: 10px;
		max-width: 100% !important;
	}

	.category-buttons-collapsed {
		justify-content: center;
	}

	.gradcam-info-right {
		width: 100% !important;
	}

	.gradcam-info-wrapper {
		flex-direction: column;
		align-items: center;
	}

}


.no-category {
	display: flex;
	padding: 0em 1em;
	margin: 0em 0em 2em 0em;
}

.category-buttons-collapsed {
	display: flex;
	gap: 0.5em;
}

.category-buttons-collapsed button img {
	height: 1rem;
}

.category-container {
	transition: opacity 0.5s ease-out;
	margin-bottom: 2rem;
	position: relative;
}

.category-header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.category-name-display-container {
	display: none;
	gap: 0.5em;
	cursor: pointer;
}

.category-name-display-container img {
	filter: brightness(0);
}

.category-name-display-container:hover span,
.category-name-display-container:hover img {
	filter: brightness(0.7);
	color: var(--text-2);
}

.category-name-display {
	font-weight: 700;
	color: var(--text-0);
}

.category-body,
.preview-webcam-container {
	display: flex;
	justify-content: flex-start;
	position: relative;
	background-color: var(--bg-0);
	border: 2px solid var(--vitta-green);
	border-radius: 1em;
	padding: 0.5em;
	box-shadow: 3px 3px 10px var(--vitta-shadow-color);
	margin: 0.5em 0em;
	/* max-width: 500px; */
}

.preview-webcam-container {
	flex-direction: column;
	height: max-content;
	max-height: 100%;
	min-width: 70%;
	max-width: 90%;
	width: max-content;
}

.audio-player {
	width: 100%;
}

#categories-list {
	transition: height 0.2s ease;
}

.category-camera-panel {
	display: none;
}

.category-camera-panel-header,
.category-upload-image-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.category-camera-select {
	width: 10em;
	max-width: 10em;
}

.category-camera-panel-close-button,
.category-upload-image-panel-close-button {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: transparent;
	border: none;
	width: 1rem;
	padding: 0;
}

.category-camera-panel-body,
.category-upload-image-panel-body {
	padding-top: 0.5em;
	display: flex;
	flex-direction: column;
	gap: 0.5em;
}

.category-camera-panel-close-button:hover img,
.category-upload-image-panel-close-button:hover img {
	opacity: 0.7;
}

.category-camera-panel-close-button img {
	width: 100%;
}

.category-camera-video {
	border: 1px solid var(--text-3);
	width: 12em;
	height: 12em;
	background-color: var(--bg-2);
	transform: scale(-1, 1);

}

.ai-pose-camera {
	/* display: contents; */
	width: 224px;
	height: 224px;
}


.ai-pose-camera canvas {
	transform: inherit !important;
	position: absolute;
	z-index: 100;
}

#waveform {
	border: 1px solid var(--text-3);
	width: 15em;
	height: 7em;
	background-color: var(--bg-2);


}

.category-camera-video-record-button {
	padding: .2rem .1rem;
	font-size: 0.7rem;
}

.category-camera-video-record-button[disabled] {
	cursor: not-allowed;
}

/* CAPTURE SETTING */

.capture-settings{
	top: calc(0% + 5px);
}
.card-for-capture-settings {
	border: 1px solid #ccc;
	border-radius: 10px;
	padding: 16px;
	width: 230px;
	background: #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.select-input-container label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
}

.card-for-capture-settings select,
.card-for-capture-settings button,
.select-input-container input {
	margin-top: 4px;
	font-size: 0.9rem;
	border-radius: 6px;
	border: 1px solid #aaa;
	padding: 4px 6px;
}

.mode-btns {
	display: flex;
	gap: 8px;
	margin-top: 4px;
}

.mode-btns button {
	flex: 1;
	border: none;
	padding: 6px 0;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	background: #eee;
}

.mode-btns button.active {
	background: #2ecc71;
	color: white;
}

/* Time Information */
.time-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1em;
	position: absolute;
	width: auto;
	height: 200px;
	aspect-ratio: 1 / 1;
	background-repeat: no-repeat;
	background-size: 100%;
	z-index: 903;
	color: var(--vitta-white);
	user-select: none;
	cursor: pointer;

}

.time-label {
	font-size: 3rem;
	color: var(--vitta-white);
	background-color: rgba(128, 128, 128, 0.5);
	border-radius: 50px;
	width: 70px;
	height: 70px;
	text-align: center;
}
.image-number {
	position: absolute;
    z-index: 903;
	font-size: 1rem;
	color: var(--vitta-white);
	background-color: var(--vitta-grey);
	border-radius: 10px;
	padding: 5px 10px;

}
.ai-pose-camera .time-wrapper,
.ai-pose-camera .image-number {
	transform: scaleX(-1);
}


.category-upload-image-panel {
	display: none;
}

.categoryLoadingText {
	position: absolute;
	z-index: 5;
	height: 3rem;
	border-radius: 0.25rem;
	background-color: var(--bg-0);
	color: var(--bg-5);

}


.upload-image-drop-area {
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid var(--text-3);
	width: 12em;
	height: 12em;
	background-color: var(--bg-2);
	transition: all 0.5s ease;
	font-size: 1.2rem;
	font-weight: 900;
	text-align: center;
}
.sound {
	width: 14em;
	background-color: var(--bg-2);
	height: 7em !important;
}

.upload-image-drop-area.drag-over {
	background-color: var(--vitta-blue);
	border: 2px solid var(--vitta-blue-dark);
	opacity: 0.5;
	cursor: not-allowed;
}

.upload-image-button {
	padding: .2rem .5rem;
	font-size: 0.7rem;
}

.upload-image-button img {
	width: 1rem;
	filter: brightness(10);
}

.image-file-input {
	display: none;
}

.add-category-button-area {
	padding-bottom: 2rem;
	padding-top: 2rem;
	display: flex;
	justify-content: center;
}

.category-right-section {
	margin-left: 1rem;
	overflow-x: auto;
}

.category-images-list {
	padding: 0;
	display: flex;
	min-width: min-content;
	list-style-type: none;
}

.image-wrapper {
	width: 3rem;
	height: 3rem;
	margin: 0 1rem 0 0;
	position: relative;
	transition: opacity 0.3s ease;
}

.image-wrapper img.image-thumbnail {
	width: 3rem;
	height: 3rem;
	border-radius: 0.25rem;
	object-fit: cover;
	transition: filter 0.3s ease, border-color 0.3s ease;
}

.image-wrapper img.image-thumbnail:hover {
	cursor: pointer;
	border: 2px solid var(--vitta-blue-dark);
	filter: brightness(1.5);
}

.image-wrapper:hover .image-delete-button {
	display: flex;
}

.canvas-waveform {
	width: 3rem;
	height: 3rem;
	border-radius: 0.25rem;

	box-shadow: 3px 3px 10px var(--vitta-shadow-color);
	border: 2px solid var(--vitta-white);


}

.canvas-waveform:hover {
	cursor: pointer;
	border: 2px solid var(--vitta-green-dark);
	filter: brightness(1.5);
}

.image-delete-button {
	position: absolute;
	display: none;
	margin: 0;
	padding: 0;
	right: -0.5em;
	top: 0em;
	width: 1.5em;
	height: 1.5em;
	border-radius: 50%;
	border: none;
	background: var(--bg-5);
	justify-content: center;
	align-items: center;
	z-index: 100;
	transition: background-color 0.3s ease;
}

.image-delete-button img {
	width: 70%;
}

.image-delete-button:hover {
	background-color: var(--text-1);
	cursor: pointer;
}

.active-right-section {
	overflow-y: auto;
}

.active-right-section .category-images-list {
	min-height: min-content;
	flex-wrap: wrap;
	margin-top: 2rem;
}

.active-right-section .image-delete-button {
	right: -0.5em;
	top: -0.5em;
}

.active-right-section .image-wrapper {
	margin-bottom: 1rem;
}

.category-images-counter {
	position: absolute;
	width: 100%;
	text-align: center;
	bottom: -1.5em;
	color: var(--text-3);
}

.rgpd-info-tooltip {
	position: sticky;
	display: flex;
	width: calc(100% - 4em);
	top: calc(100%);
	margin: auto;
	background: #EDFFF7;
	border: 1px solid #43875A;
	border-radius: 13px;
	color: #43875A;
	opacity: 1;
	transition: opacity 1s ease, filter 0.5s ease;
}

.rgpd-info-tooltip:hover {
	filter: brightness(0.9);
	cursor: pointer;
}

.rgpd-info-left-section {
	display: flex;
	align-items: center;
	margin: 1em;
}

.rgpd-info-left-section i {
	font-size: 1.5em;
}

.rgpd-info-center-section {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1em 0em;
	overflow: hidden;
}

.rgpd-info-center-section p {
	margin: 0;
}

.rgpd-info-title {
	font-weight: 800;
}

.rgpd-info-right-section {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.rgpd-info-right-section img {
	width: 0.8em;
	margin: 0.5em;
	filter: brightness(0) saturate(100%) invert(48%) sepia(13%) saturate(1384%) hue-rotate(87deg) brightness(92%) contrast(92%);
}

.rgpd-chevron-rotated {
	transform: rotate(180deg);
}

.train-model-button-area,
.export-area {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	height: calc(100% - 0.8rem - 1.4em);
}

.train-model-edge-button-area {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 70%;
	gap: 0.5rem;
}

.train-model-button-area>div,
.train-model-edge-button-area>div {
	width: 100%;
	max-width: 30ch;
	margin-inline: auto;
}

.preview-area {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	position: relative;
	min-height: calc(100% - 1rem - 1.4em);
	/* overflow-y: auto;  */
	overflow-x: hidden;
}

.item-preview-webcam {
	max-width: 100%;
	aspect-ratio: 1/1;
}

.preview-prediction {
	max-width: 90%;
}

.preview-prediction-sound {
	width: 100%;
	display: flex;
	justify-content: space-around;
}

.contents {
	display: contents;
}

.training-area-buttons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.7rem;
	width: 100%;
}

.training-area-buttons img {
	width: 1.5rem;
	height: 1.5rem;
}

.training-area-buttons span {
	text-align: left;
}

.data-verification-area {
	position: relative;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.warning-face-detected {
	width: 90%;
	max-width: 10em;
	align-items: center;
	justify-content: space-around;
	background-color: rgba(255, 148, 3, 0.1);
	border: 1px solid var(--vitta-orange-light);
	border-radius: 0.5em;
	padding: 0.5em;
	display: none;
	font-size: 0.8rem;
}

.warning-face-detected:hover {
	filter: brightness(0.8);
	cursor: pointer;
}

.warning-face-detected-icon {
	width: 30%;
	margin-right: 0.5em;
}

.warning-face-detected-text {
	line-height: normal;
}

.warning-face-detected-text span {
	font-size: 0.8rem;
	color: var(--vitta-orange-light);
}

.warning-face-detected-text em {
	font-size: 0.6rem;
}

.preview-webcam-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 0px 0px 1em 0px;
}

.preview-webcam-header .v-btn-ai.selected {
	background-color: var(--vitta-green);
}

.preview-webcam-header .v-btn-ai.selected>img {
	filter: brightness(0) invert(1);
}

.preview-webcam-header .v-btn-ai.selected:focus>img {
	filter: brightness(0) invert(1);
}

.preview-webcam-header img {
	height: 1rem;
}

.preview-webcam-header label {
	margin: 0;
}

.switch-button-form {
	display: flex;
}

.switch-button-form label {
	margin: 0;
}

.preview-camera-selector {
	display: flex;
	padding: 0em 1em;
	gap: 10px;
}

#camera-selector-refresh {
	display: none;
}

.preview-camera-selector:hover {
	color: var(--vitta-green)
}

.preview-camera-selector-wrapper {
	display: none;
	width: 100%;
}

.preview-webcam-selector {
	width: 100%;
	margin-bottom: 0.5em;
}

.gradcam-parametres {
	min-height: 115% !important;
	max-height: 200%;
}

.preview-webcam-body {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-end;
	align-items: center;
	margin-top: 5px;
	padding-bottom: 5px;
}

.posture-webcam {
	display: block !important;

}

.preview-webcam-wrapper {
	display: flex;
	position: relative;
	width: 100%;

}

.preview-webcam-wrapper canvas {
	width: 100%;
	height: auto;
	object-fit: contain;
	aspect-ratio: 1/1;
	align-items: center;
}
.preview-webcam-wrapper .hand-canvas {
	position: absolute;
	top: 0;
	left: 0;
}

.preview-video-text {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.preview-webcam {
	width: 100%;
	aspect-ratio: 1/1;
	background-color: var(--bg-2);
	transform: scaleX(-1); 
}

.preview-micro {
	width: 25em;
	margin: auto;
	background-color: var(--bg-2);
}

.upload-image-prediction {
	z-index: 901;
	display: none;
	justify-content: center;
	align-items: center;
	border: 1px solid var(--text-3);
	width: 100%;
	aspect-ratio: 1/1;
	background-color: var(--bg-2);
	transition: all 0.5s ease;
	font-size: 1.2rem;
	font-weight: 900;
	text-align: center;
	user-select: none;

}

.upload-image-prediction img {
	height: 100%;

}

.upload-image-prediction .uploaded-image {
	width: 224px;
	height: 224px;
}

.play-stop-sound {
	padding-top: 10px;
	visibility: hidden;
	display: inline !important;
	text-align: center;
}

.visible {
	visibility: visible;
}

.playStop {
	color: var(--vitta-green-dark);
}

.upload-project-fileinput {
	width: 100%;
	aspect-ratio: 1/1;
	background-color: var(--bg-2);
	transition: all 0.5s ease;
	text-align: center;
	user-select: none;
	margin: auto;
	height: 100px;
	border-radius: 3px;
	position: relative;
	z-index: 5;
	opacity: 0;
}

#dragdrop-fileinput label {
	border: 1px dashed var(--vitta-grey);
	border-radius: 30px;
	position: relative;
	bottom: 100%;
	height: 100px;
	width: 100%;
	z-index: 0;
	padding-top: 25px;
}

.dragdrop-fileinput {
	display: flex;
	gap: 50px;
	height: 100px;
	flex-direction: column;

}

.autoHeight {
	height: auto;
}

.paused-webcam-overlay {

	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1em;
	position: absolute;
	width: 100%;
	aspect-ratio: 1/1;
	background-repeat: no-repeat;
	background-size: 100%;
	top: 0px;
	z-index: 903;
	color: var(--vitta-white);
	user-select: none;
	cursor: pointer;
}

.paused-webcam-overlay i {
	font-size: 2em;
}

.paused-webcam-overlay span {
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	font-size: 1.2rem;
	font-weight: 600;
	padding: 10%;
}

.grad-cam-canvas {
	width: 100%;
	height: auto;
	object-fit: contain;
	aspect-ratio: 1/1;
	position: absolute;
	top: 0px;
	z-index: 902;
	pointer-events: none;
}

.preview-full-screen .preview-webcam-container {
	min-width: 35% !important;
}

.preview-full-screen #preview {
	height: 100%;
}

.preview-advanced-area {
	width: 100%;
	border-top: 1px solid var(--text-2);
	/* display: none; */
	flex-direction: column;

}

.preview-advanced-area-subsection {
	display: flex;
	flex-direction: column;
	font-size: 0.95rem;
}

.gradcam-info {
	color: var(--vitta-grey);
	transition: filter ease 0.2s;
}

.gradcam-info:hover {
	cursor: pointer;
	filter: brightness(0.8);
}

.gradcam-info-wrapper {
	display: flex;
	justify-content: space-between;
	margin-top: 2rem;
}

.gradcam-info-left {
	width: 25%;
}

.gradcam-info-left img {
	width: 100%;
}

.gradcam-info-right {
	width: 60%;
}

.gradcam-parameters-area {
	flex-direction: column;
	display: none;
}
#gradcam-category-select label {
	display: inline;
}
.opacity-input {
	width: 5ch;
	flex-shrink: 1;
	text-align: right;
}

.upload-image-prediction:hover,
.upload-image-prediction.drag-over {
	background-color: var(--vitta-blue);
	border: 2px solid var(--vitta-blue-dark);
	opacity: 0.5;
}

.categories-prediction-list {
	display: flex;
	flex-direction: column;
	list-style-type: none;
	margin: 1em 0 0 0;
	padding: 0;
	gap: 0.2em;
	height: auto;
	width: 90%;
}

.category-prediction {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.3em;
}

.category-prediction-name {
	color: var(--vitta-green-dark);
	font-weight: 600;
	max-width: 10ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.category-prediction-progress-container {
	position: relative;
	width: 7em;
	height: 1.2em;
	border: 1px solid var(--bg-5);
	border-radius: 250em;
	overflow: hidden;
}

.category-prediction-progress {
	height: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	transform-origin: left center;
	padding: 0 0.3em 0 0;
	border-radius: 250em;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--bg-0);
	background-color: var(--vitta-green-dark);
	transition: transform 0.2s ease;
}

.category-prediction-text {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 0.3em 0 0.3em;
	color: var(--vitta-green-dark);
	font-size: 0.8rem;
	font-weight: 800;
	text-shadow:
		-1px -1px 0 #fff,
		0 -1px 0 #fff,
		1px -1px 0 #fff,
		1px 0 0 #fff,
		1px 1px 0 #fff,
		0 1px 0 #fff,
		-1px 1px 0 #fff,
		-1px 0 0 #fff;
}

.visualization-disabled {
	background-color: var(--vitta-grey);
}

.visualization-disabled:hover,
.visualization-disabled:focus {
	cursor: not-allowed;
	background-color: var(--vitta-grey);
}

.export-area {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

.export-button-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
}

.export-button-icon {
	border-radius: 0.5em;
	width: 4.5em;
	height: 4.5em;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow: 3px 3px 10px var(--vitta-shadow-color);
}

.export-button-icon:hover img {
	transform: scale(1.1);
}

.export-button-icon-color:hover img {
	filter: brightness(1);
}

.export-button-icon-image {
	width: 80%;
	transition: transform 0.3s ease;
}

.export-button-text {
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
	color: var(--text-2);
}

.progress-bar-area {
	background-color: var(--bg-0);
	border-radius: 1.5em;
	padding: 0 0.5em 0.5em 0.5em;
}

.progress-bar-container {
	background-color: transparent;
	opacity: 1;
	justify-content: center;
	align-items: center;
}

.progress-bar-description {
	text-align: center;
	font-weight: 700;
	margin: 0.2em 0em;
}

.progress-bar-wrapper {
	width: 50vw;
	height: 5vh;
	background-color: var(--bg-3);
	border: 2px solid var(--bg-5);
	border-radius: 256px;
	position: relative;
	overflow: hidden;
}

.progress-bar-ai {
	height: 5vh;
	background-color: var(--vitta-green-dark);
	border-radius: 5vh;
	width: 0%;
	position: absolute;
	top: -2px;
	text-align: center;
	line-height: 5vh;
	color: var(--bg-0);
	font-size: 1.5rem;
	font-weight: 600;
	overflow: hidden;
	transition: transform 0.2s linear;
}

.global-notifications-area {
	position: absolute;
	padding-top: 1em;
	top: 0px;
	left: 0px;
	width: 100%;
	z-index: 9999;
}

.dataset-row {
	margin: 0 0 1.5em 0;
}

.dataset-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 0.7em 0;
}

.dataset-name {
	font-weight: 600;
}

#dataset-search-form {
	position: sticky;
	top: 0;
	z-index: 5;
}

.biased-span {
	color: var(--vitta-orange);
}

.biased-question-mark {
	color: var(--text-3);
}

.import-whole-dataset-area label {
	margin-bottom: 0;
	align-items: center;
}

.dataset-body {
	overflow-x: scroll;
}

.dataset-images-list {
	padding: 0;
	display: flex;
	min-width: min-content;
	list-style-type: none;
	margin-block: 0.65em;
}

.placeholder-area {
	position: relative;
	cursor: pointer;
}

.placeholder-area:hover>.placeholder-list {
	filter: blur(2px) brightness(0.8);
}

.placeholder-area:hover>.placeholder-description-text {
	color: var(--text-0);
}

.placeholder-list {
	margin: 0;
	filter: blur(2px);
	transition: filter 0.2s;
}

.placeholder-description-text {
	position: absolute;
	height: 3rem;
	display: flex;
	align-items: center;
	top: 0;
	left: 1em;
	transition: color 0.2s;
}

.placeholder-description-text span {
	user-select: none;
	font-weight: 500;
	background-color: var(--bg-1);
	padding: 0.2em 0.6em;
	border-radius: 0.5em;
}

.dataset-image-wrapper {
	width: 3rem;
	height: 3rem;
	margin: 0 1rem 0 0;
	position: relative;
}

.dataset-image-wrapper-thumbnail {
	width: 3rem;
	height: 3rem;
	border-radius: 0.25rem;
	object-fit: cover;
}

.dataset-image-wrapper-checkbox-area {
	position: absolute;
	right: calc(-1.3em / 2);
	top: calc(-1.3em / 2);
}

.dataset-image-wrapper-checkbox-area label::before {
	margin-inline-end: 0;
}

/* Nocloud context */
body.no-cloud #modal-openproject .vitta-modal-content {
	display: none;
}

body.no-cloud #modal-saveproject .vitta-modal-content {
	display: none;
}

body.no-cloud [onClick="newProject()"] {
	display: none;
}

.dataset-images-list .fa-play {
	position: relative;
	left: 26px;
	bottom: 32px;
	z-index: 5;
	color: var(--vitta-green);
	display: flex;
}

.modal-export-model-explanations,
.modal-microcontroller-dfu-steps {
	background-color: var(--bg-1);
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.export-model-board {
	display: flex;
	flex-direction: column;
}

.export-model-board>img {
	width: 100px;
	height: 100px;
	object-fit: contain;
	margin: auto;
}

.export-model-section-title {
	text-align: center;
}

.modal-microcontroller-export-modal-separator {
	border: 0;
	height: 2px;
	background-color: var(--vitta-green);
	width: 100%;
	margin: auto;
}

#carousel-control-next,
#carousel-control-prev {
	position: absolute !important;
	top: 40%;
	bottom: auto;
	transform: translateY(-50%);
	z-index: 10;
}

.modal-export-model-footer,
.modal-dfu-request-footer {
	grid-template-columns: 1fr 1fr;
	display: grid;
	margin: auto;
}

.dfu-log {
	color: var(--vitta-black);
	font-family: 'Courier New', monospace;
	white-space: pre-wrap;
	background-color: var(--vitta-white);
	padding: 20px 20px 5px 20px;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#downloadBinaryLog {
	display: none;
}

a sup {
	color: #F36D78;
}

/* edge Device specific */

.preview-area-edge-device {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 3em;
	align-items: center;
	position: relative;
	min-height: calc(100% - 1rem - 1.4em);
	/* overflow-y: auto;  */
	overflow-x: hidden;
}

.preview-edge-text {
	display: flex;
	justify-content: center;
	align-items: center;
}

#edge-device-config-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	max-width: 450px;
	margin: auto;
}

#edge-device-config {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 1em;
	margin-bottom: 1em;
	gap: 0.5em;
	width: 100%;
}

#edge-device-config button {
	height: 2.5em;
}


#edge-parameters-training {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

#export-edge-button {
	object-fit: contain;
}

#export-edge-button img {
	width: 100%;
	height: auto;
	object-fit: contain;
}


.edge-device-board-image {
	border: solid 1px var(--vitta-green);
	border-radius: 0.2em;
	padding: 0.2em;
}

#edge-device-sensors-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1em;
	margin-bottom: 1em;
	width: 100%;
}

#edge-device-sensors-container .form-select {
	max-width: 10em;
	margin-bottom: 0 !important;
	margin-left: auto !important;
}

.edge-parameters {
	max-width: 450px;
	margin: auto;
	/* margin-bottom: 1em; */
}

.edge-parameter-container {
	margin-bottom: 2em;
}

#edge-parameters-training-time-window {
	display: none;
	justify-content: center;
	align-items: center;
	gap: 1em;
	width: 100%;
}

#edge-time-window-input {
	width: 5em;
}

#edge-parameters-training-title {
	display: flex;
	align-items: center;
	gap: 1em;
}


#image-raw-data-record {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1em;
	width: 100%;
	height: auto;
	object-fit: contain;
}

#image-raw-data-record img {
	width: 150px;
	height: auto;
	object-fit: contain;
}

.edge-parameter-microcontroler {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 1em;
	font-style: italic;
	color: var(--text-0);
}


#modal-neural-network-container {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	/* gap: 1em; */
	max-width: 890px;
	margin: auto;
}

#network-neurones {
	max-width: 720px;
}

#input-neurones-container {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1em;
	margin: auto;
	max-width: calc(290px + 1em) !important;
	padding: 1em;
	border: solid 2px var(--vitta-green);
	border-radius: 0.5em;
}

.active-input-neurones {
	display: flex !important;
}

.feature-neural-network-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0.8em;
	margin: auto;
	/* max-width: 450px; */
	width: 100%;
}

#data-neural-network-representation-container {
	width: 100%;
	max-height: 200px;
}

#fieldset-placeholder {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1em;
	width: 100%;
	height: auto;
}

#fieldset-placeholder legend {
	/* font-size: 0.8em; */
	margin-bottom: 0;
	margin-right: 1em;
}

#dataset-selector {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5em;
	/* width: 100%; */
	height: auto;
}

#input-neurones-container-placeholder {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#input-neurones-container-placeholder img {
	max-height: 400px;
	padding: 1em 0;
	object-fit: contain;
}

#input-neurones-container-placeholder span {
	font-size: 0.8em;
	max-width: 150px;
	color: var(--text-3);
}

#edge-prediction-preview-started-container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1em;
	width: 100%;
	height: auto;
}

#edge-prediction-preview-stopped-container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1em;
	width: 100%;
	height: auto;
}

.edge-language-select-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1em;
	width: 100%;
	height: auto;
}

#edge-device-select-type {
	max-width: 8em;
}

#edge-device-board-mismatch-container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1em;
	color: var(--vitta-green);
	margin-top: 1em;
	font-size: 1.5em;
}

.dropdown-arrow-edge-board {
	display: flex;
	font-size: 0.8em;
	margin-left: 0.5em;
	text-align: center;
	justify-content: center;
	align-items: center;
	color: var(--vitta-green);
	transition: transform 0.3s ease;
}

.open-dropdown-arrow-edge {
	transform: rotate(180deg);
	transition: transform 0.3s ease;
}

.selected-option-edge-ai {
	display: flex;
	padding: 0.5em 1em;
	overflow: hidden;
	border: 1px solid var(--bg-5);
	border-radius: 0.5em;
	background-color: var(--bg-1);
	color: var(--text-0);
	cursor: pointer;
	transition: background-color 0.3s ease;
}

#options-list-board-edge-ai {
	display: block;
	list-style: none;
	margin-top: 0.2em;
	padding: 0;
	position: absolute;
	width: 100%;
	border: 1px solid var(--bg-5);
	border-radius: 0.5em;
	background-color: var(--bg-1);
	z-index: 100;
	overflow: hidden;
	box-shadow: 3px 3px 10px var(--vitta-shadow-color);
}

.edge-ai-list-hidden {
	display: none !important;
}

#options-list-board-edge-ai li {
	padding: 0.5em 1em;
	overflow: hidden;
	height: 2.5em;
}

#options-list-board-edge-ai li img,
.selected-option-edge-ai img {
	width: 1.7em;
	margin-right: 0.5em;
	vertical-align: middle;
}

#options-list-board-edge-ai li:hover {
	overflow: hidden;
	background-color: var(--vitta-green);
	color: var(--vitta-white);
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.edge-ai-list-board-items.selected {
	background-color: #f0f0f0;
}

.locked-language {
	background-color: var(--bg-3);
	cursor: not-allowed;
}


@media (max-width: 760px) {
	#modal-neural-network-container {
		flex-direction: column-reverse;
	}

	#input-neurones-container {
		max-width: 100% !important;

	}

	#input-neurones-container-placeholder {
		display: none !important;
	}
}


#learnMoreBtn .fa-chevron-right,
#learnMoreBtnText .fa-chevron-right {
	display: inline-block;
	transition: transform .2s ease;
	transform: rotate(0deg);
}

#learnMoreBtn[aria-expanded="true"] .fa-chevron-right,
#learnMoreBtnText[aria-expanded="true"] .fa-chevron-right {
	transform: rotate(90deg);
}