body {
	background: rgb(17, 97, 121);
	background: linear-gradient(180deg, rgba(17, 97, 121, 1) 0%, rgba(16, 15, 19, 1) 130%);
	/* mobile viewport bug fix */
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-top: 30px;
	padding-bottom: 50px;
}

/* Nasconde sidebar non necessaria */
.ue-sidebar-container {
	display: none;
}

/* Caricamento font */
@font-face {
	font-family: "Goodly Regular";
	src: url("fonts/goodly/Goodly-Regular.woff") format("woff");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "Goodly Light";
	src: url("fonts/goodly/Goodly-Light.woff") format("woff");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "Goodly Semibold";
	src: url("fonts/goodly/Goodly-Semibold.woff") format("woff");
	font-weight: normal;
	font-style: normal;
}

h1 {
	font-family: "Goodly Regular", serif;
	font-size: 30px;
}

p {
	font-family: "Goodly Light";
	font-size: 15px;
}

label {
	font-family: "Goodly Light";
	font-size: 13px;
	margin-bottom: 5px;
}

#logo-section {
	opacity: 1;
	visibility: visible;
	transition: opacity 2s ease-in-out;
}

/* Contenitore saluti */
#saluto {
	display: flex;
	justify-content: center;
	align-items: center;
	width: fit-content;
	min-width: 250px;
	height: 60px;
	overflow: hidden;
	position: relative;
}

/* Testo saluti */
#saluto h1 {
	position: absolute;
	opacity: 0;
	transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
	white-space: nowrap;
	text-align: center;
}

#saluto h1.active {
	opacity: 1;
	transform: translateY(0);
}

#saluto h1.fade-out {
	opacity: 0;
	transform: translateY(5px);
}

/* Logo sempre in alto */
#logo {
	position: absolute;
	top: 50px;
}

/* Logo animazione */
#logo img {
	height: 130px;
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 1s ease-out, transform 1s ease-out;
}

#logo img.active {
	opacity: 1;
	transform: translateY(0);
}

/* Stile per il contenitore */
#lingue {
	gap: 15px;
}

/* Stile per ogni etichetta */
.radio-label {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 15px;
	border-radius: 10px;
	background-color: rgba(255, 255, 255, 0.12);
	cursor: pointer;
	font-size: 18px;
	font-family: "Goodly Regular", serif;
	color: white;
	opacity: 0;
	transform: translateY(-15px) scale(1);
	transition: opacity 1s ease-out, transform 500ms ease-in-out;
}

/* Rende il radio invisibile */
.radio-label input {
	display: none;
}

/* Icona con la bandiera */
.radio-icon {
	width: 32px;
	height: 32px;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Effetto selezione */
.radio-label input:checked + .radio-icon,
.radio-label input:checked + span {
	transform: scale(1.1);
	transition: transform 500ms ease-in-out;
}

/* Effetto hover */
.radio-label:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
	transition: transform 300ms ease-in-out, background 300ms ease-in-out;
}

/* Animazione di ingresso progressivo */
.radio-label.active {
	opacity: 1;
	transform: translateY(0) scale(1);
}

/* Nasconde completamente gli step inattivi */
.hidden {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
	position: absolute;
	visibility: hidden;
	width: 100%;
	left: 0;
	right: 0;
	bottom: 60px;
}

/* Mostra lo step attivo in posizione corretta */
.visible {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
	position: relative;
	visibility: visible;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
}

/* Animazione del messaggio che scompare */
.fade-out {
	opacity: 0 !important;
	transform: translateY(-10px) !important;
	transition: opacity 300ms ease-out, transform 300ms ease-out;
}

.form-control {
	display: block;
	width: 100%;
	padding: 0.675rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #ffffff;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: #ffffff38;
	background-clip: padding-box;
	border: var(--bs-border-width) solid #32323269 !important;
	border-radius: var(--bs-border-radius);
	transition: border-color 0.15sease-in-out, box-shadow 0.15sease-in-out !important;
}

.form-control:focus {
	color: #343434;
	background-color: #ffffffad;
	border-color: #6d6d6d;
	outline: 0;
	box-shadow: 0px 0px 5px 2px rgb(99 99 99 / 65%);
}

.form-control::placeholder {
	font-family: "Goodly Light", serif;
	color: #ffffffa1;
}

.form-control:focus::placeholder {
	color: #6d6d6d;
}

.btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: #e49c29;
	--bs-btn-border-color: #e49c29;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #e49c29;
	--bs-btn-hover-border-color: #e49c29;
	--bs-btn-focus-shadow-rgb: 49, 132, 253;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #e49c29;
	--bs-btn-active-border-color: #e49c29;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: #e49c29;
	--bs-btn-disabled-border-color: #e49c29;
}

.btn-outline-light {
	--bs-btn-color: #dee2e6d9;
	--bs-btn-border-color: #dee2e6;
	padding: 15px;
}

.button-group {
	display: flex;
	justify-content: space-between;
}

input {
	font-family: "Goodly Regular", serif;
}

.step10 .hidden {
	height: 0px;
}

.regolamento-box {
	background-color: rgba(255, 255, 255, 0.929);
	padding: 25px;
	border-radius: 10px;
	width: 90%;
	margin-left: 20px;
	margin-right: 20px;
	color: #343434;
	height: 85vh;
	overflow: scroll;
	overflow-x: hidden;
}

.regolamento-box p {
	font-family: "Times New Roman", serif;
	text-align: justify;
}

.regolamento-box h1 {
	font-family: "Times New Roman", serif;
	font-size: 18px;
	font-weight: 600;
}
.regolamento-box h2 {
	font-family: "Times New Roman", serif;
	font-size: 14px;
	font-weight: 500;
}

.regolamento-box h3 {
	font-size: 14px;
	font-family: "Times New Roman", serif;
	font-weight: 700;
}

.firma-box {
	border: 2px solid #fff;
	background-color: #f8f8f8;
	display: block;
	margin: 10px auto;
	border-radius: 5px;
}

.highlight {
	border: 1px solid #12212b;
	border-radius: 5px;
	padding: 5px;
	page-break-inside: avoid;
	page-break-after: auto;
}

.form-control:disabled {
	background-color: #e9ecef1a;
	opacity: 1;
}

.input-group-text {
	display: flex;
	align-items: center;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--bs-body-color);
	text-align: center;
	white-space: nowrap;
	background-color: #e9ecef1a;
	border: none;
	border-radius: 10px;
}

.noleggio {
	border-radius: 0px 10px 10px 0px;
	border-width: 0px;
}

.form-check-input {
	background-color: #d8d8d8;
	border-color: #d8d8d8;
	width: 30px;
	height: 30px;
}

.form-check-input:checked {
	background-color: #106279;
	border-color: #106077;
	width: 30px;
	height: 30px;
}

.form-check-input:focus {
	border-color: #86b7fe;
	outline: 0;
	box-shadow: 0px 0px 2px 2px rgb(41 114 135);
}

.select-noleggio {
	font-size: 13px;
	padding-left: 10px;
	padding-right: 30px;
	font-weight: 600;
	background-color: #d8d8d8;
}

.form-select:disabled {
	background-color: #e9ecef42;
	border-color: #79797942;
	color: #393939;
	font-weight: 400;
}

.table {
	font-family: "Times New Roman", serif;
	font-size: 15px;
}

th,
td {
	padding: 5px !important;
	text-align: left;
}

#logo-section {
	width: 100px;
	position: relative;
	top: -1%;
}

#process-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 5px; /* Aggiunge spazio progressivo tra le frasi */
	min-height: 100px;
	transition: min-height 0.5s ease-in-out, gap 0.5s ease-in-out;
}

.processo {
	opacity: 0;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	transform: translateY(20px); /* Inizia più in basso */
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.processo.fade-in {
	opacity: 1;
	transform: translateY(0);
}

.wrapper {
	opacity: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	transform: translateY(20px); /* Inizia più in basso */
	transition: opacity 2s ease-out, transform 2s ease-out;
}

.wrapper.fade-in {
	opacity: 1;
	transform: translateY(0);
}

.checkmark__circle {
	stroke-dasharray: 166;
	stroke-dashoffset: 166;
	stroke-width: 2;
	stroke-miterlimit: 10;
	stroke: #7ac142;
	fill: none;
	animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: block;
	stroke-width: 2;
	stroke: #fff;
	stroke-miterlimit: 10;
	margin: 10% auto;
	box-shadow: inset 0px 0px 0px #7ac142;
	animation: fill 0.4s ease-in-out 0.4s forwards, scale 2s ease-in-out 2s both;
}
.checkmark__check {
	transform-origin: 50% 50%;
	stroke-dasharray: 48;
	stroke-dashoffset: 48;
	animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 2s forwards;
}
@keyframes stroke {
	100% {
		stroke-dashoffset: 0;
	}
}
@keyframes scale {
	0%,
	100% {
		transform: none;
	}
	50% {
		transform: scale3d(1.1, 1.1, 1);
	}
}
@keyframes fill {
	100% {
		box-shadow: inset 0px 0px 0px 30px #7ac142;
	}
}

.step-indicator {
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	padding: 10px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	color: white;
	width: fit-content;
	margin: 0 auto 20px;
}

.fullscreen-capture {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

.regolamento-a4 {
	width: 210mm !important;
	min-height: 297mm !important;
	max-width: 100% !important;
	overflow: visible !important;
	padding-left: 6mm;
	padding-right: 6mm;
	padding-top: 5mm;
	padding-bottom: 5mm;
	box-sizing: border-box !important;
	background-color: rgba(255, 255, 255, 0.929);
	color: black;
	font-family: "Times New Roman", serif !important;
}

.regolamento-a4 h1 {
	font-family: "Times New Roman", serif;
	font-size: 15pt !important;
	font-weight: 600;
}
.regolamento-a4 h2 {
	font-family: "Times New Roman", serif;
	font-size: 13pt !important;
	font-weight: 500;
}

.regolamento-a4 h3 {
	font-size: 11pt !important;
	font-family: "Times New Roman", serif;
	font-weight: 600 !important;
	margin-bottom: 15px !important;
}

.regolamento-a4 p {
	font-family: "Times New Roman", serif;
	text-align: justify;
	font-size: 10pt !important;
}

.regolamento-a4 hr {
	margin-top: 10px !important;
	margin-bottom: 10px !important;
	border-width: 0.5px !important;
}

.regolamento-a4 th {
	font-family: "Times New Roman", serif;
	text-align: left;
	font-size: 9pt !important;
	font-weight: 600;
	padding: 5px !important;
	border-width: 0.5px !important;
}

.ragolamento-a4 table {
	border-width: 0.5px !important;
	margin-bottom: 10px !important;
}

.regolamento-a4 td {
	font-family: "Times New Roman", serif;
	text-align: justify;
	font-size: 9pt !important;
	border-width: 0.5px !important;
}

.regolamento-a4 .firma-box {
	border: 1px solid #2b2b2b !important;
	background-color: #f8f8f8 !important;
	display: block !important;
	margin: 10px auto !important;
	border-radius: 5px !important;
	width: 150px !important;
}

.loading-spinner {
	width: 50px;
	height: 50px;
	border: 5px solid rgba(255, 255, 255, 0.3);
	border-top-color: white;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 20px auto;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.before {
	page-break-before: always !important;
	break-before: page !important;
}
.nome-autorizzazione {
	font-family: "Goodly Regular";
	font-size: 20px;
	background-color: #e7e7e7;
	padding: 5px;
	border-radius: 5px;
}

.form-label-autorizza {
	font-size: 15px;
	font-family: "Goodly Regular";
}

.toast-body {
	background-color: #e0e0e0;
	color: #2d2d2d;
	border-radius: 10px;
}

.btn-outline-secondary {
	--bs-btn-color: #eaeaea;
	--bs-btn-border-color: #eaeaea;
	--bs-btn-hover-color: #3d3d3d;
	--bs-btn-hover-bg: #eaeaea;
	--bs-btn-hover-border-color: #eaeaea;
	--bs-btn-focus-shadow-rgb: 108, 117, 125;
	--bs-btn-active-color: #3d3d3d;
	--bs-btn-active-bg: #eaeaea;
	--bs-btn-active-border-color: #eaeaea;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #eaeaea;
	--bs-btn-disabled-bg: transparent;
	--bs-btn-disabled-border-color: #eaeaea;
	--bs-gradient: none;
}

#tabella-ingressi th {
	font-family: "Goodly Semibold", serif !important;
	font-size: 15px;
	padding: 10px !important;
	background-color: #b1c1c6;
}

#tabella-ingressi td {
	font-family: "Goodly Regular", serif !important;
	font-size: 15px !important;
}

#print {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.body-a4 {
	overflow: visible !important;
	background: rgba(255, 255, 255, 0.929);
	color: #103a52 !important;
}

.body-a4 #filters {
	display: none;
}

.changelog {
	position: fixed;
	bottom: 0px;
	margin-bottom: 40px;
	color: #ffffff42;
}
