.container-popup {
	position: fixed;
    top: 0;
    left: 0;
	width: 100%;
	height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0px 1rem;
	z-index: 10000000;
	visibility: hidden;
}

.container-popup.open {
	visibility: visible;
}

.container-popup .column {
	flex: 1 0 0%;
}

.container-popup .popup-overlay {
	position: absolute;
    top: 0;
    left: 0;
	background-color: #00000000;
	width: 100%;
	height: 100%;
	transition: var(--Transition);
}

.container-popup.open .popup-overlay {
	background-color: #00000090;
}

.container-popup .popup-content {
	background-color: var(--ColorContainer);
	position: relative;
	gap: 0.75rem;
	margin: 0px;
	border-radius: 0.5rem;
	padding: 1.25rem;
	box-shadow: 0px 0px 10px rgb(0, 0, 0, 0.2);

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-height: 100%;
	z-index: 10;
	overflow: auto;

	transform: translateY(0px);
	opacity: 1;
	transition: var(--Transition);
	max-height: 95dvh;
}

.container-popup .popup-content.popup-xl > *:nth-child(2) {
	flex: 1;
	max-height: calc(100% - 52px);
}

.container-popup .popup-content.popup-xl > *:nth-child(2) > div:first-child {
	flex: 1;
	max-height: calc(100% - 35px - 1rem);
}

.container-popup .popup-content.popup-xl > *:nth-child(2) > div:first-child > .column {
	flex: 1;
	max-height: 100%;
	justify-content: flex-start;
	overflow: auto;
}

.container-popup .popup-content.popup-xl .page-container {
	overflow: auto;
}

.page-container.display-editor {
    align-items: center;
    justify-content: center;
    max-width: 340px;
}

.container-popup:not(.open) .popup-content {
	opacity: 0;
	transform: translateY(2rem);
}

.container-popup .popup-content:not(.dialog) {
	min-width: 600px;
	max-width: 800px;
}

.container-popup .popup-content.popup-xl {
	width: 1000px;
	max-width: unset;
}

.container-popup .popup-content.popup-xs {
	min-width: unset;
	max-width: 600px;
}

.container-popup .popup-content.dialog {
	width: 300px;
}
.container-popup .popup-content.dialog p {
	text-align: center;
}
.container-popup .popup-content.dialog button {
	width: 100%;
}

.container-popup .popup-content .container-close-button {
	display: flex;
	gap: 0.5rem;
	width: 100%;
	padding-bottom: .5rem;
}

.container-popup .popup-content .container-close-button button {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 100%;
	margin-left: auto;
	background-color: var(--ColorRow);
	color: var(--ColorText);
	border: none;
}

.container-popup .popup-content .title, .container-popup .popup-content .title span {
	font-size: 1.5rem;
	margin: 0px;
}

.container-popup .popup-content .icon {
	font-size: 3rem;
}

.container-popup.open .popup-content[type='success'] .icon {
	animation: shake 0.3s ease-in-out 0s infinite normal both;
}

.container-popup .popup-content[type='erreur'] .title {
	color: #FECF08;
}

.container-popup .popup-content[type='success'] .title {
	font-family: var(--FontFocus);
}

.container-popup.open .popup-content[type='success'] .title {
	animation: scaleUp 0.5s ease-in 1 normal;
}

.container-popup.open .popup-content[type='success'] p:not(.icon) {
	animation: scaleUp 0.5s ease-in 0.2s 1 normal both;
}

.container-popup .container-img {
	width: 400px;
	max-height: 400px;
	margin: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.container-popup .container-img img {
	max-width: 400px;
	max-height: 400px;
	object-fit: contain;
}

.container-popup .popup-content .tips {
	font-size: 0.875rem;
}

.container-popup .popup-content:not([type='success']) .msg-success {
	display: none;
}

.container-popup .popup-content #close-btn {
	background-color: var(--ColorText);
	border: solid 1px var(--ColorText);
	font-size: 0.875rem;
	cursor: pointer;
	color: var(--ColorContainer);
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	font-weight: bold;
}

.container-popup .no-cropper .column.column-img {
	width: 0%;
	overflow: hidden;
	display: none;
}

.container-popup .no-cropper .column.column-form {
	width: 100% !important;
}

.container-popup form {
	align-items: flex-start;
}

.container-popup form .loader-envoi {
	display: none;
}

.container-popup form.sending .loader-envoi {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #0000008f;
	display: flex;
	align-items: center;
	justify-items: center;
	z-index: 9;
	backdrop-filter: blur(2px);
	top: 0px;
	left: 0px;
}

.container-popup form.sending .loader-envoi .loader-content {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--Gap);
}

.container-popup form.sending .loader-envoi .loader-content div {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.container-popup form.sending .loader-envoi .loader-content div svg {
	width: 15% !important;
	height: unset !important;
}

.container-popup form.sending .loader-envoi .loader-content .loader-text {
	color: white;
}

.container-popup form.sending .loader-envoi .loader-content .loader-text::after {
	content: '';
	animation-name: loaderPoint;
	animation-duration: 3s;
	animation-iteration-count: infinite;
	animation-direction: normal;
	animation-fill-mode: both;
	animation-play-state: running;
}

@keyframes loaderPoint {

	0%,
	100% {
		content: '';
	}

	25% {
		content: '.';
	}

	50% {
		content: '..';
	}

	75% {
		content: '...';
	}
}

@keyframes scaleUp {

	0% {
		transform: scale(0);
	}

	50% {
		transform: scale(1.15);
	}

	100% {
		transform: scale(1);
	}
}

@keyframes shake {

	0%, 100% {
		transform: rotate(-3deg);
	}

	50% {
		transform: rotate(3deg);
	}
}

@keyframes gradientAnimation {
	0% {
	  background-position: 0% 0%;
	}
	100% {
	  background-position: 100% 0%;
	}
  }

@media screen and (max-width: 1000px) {
	.container-popup .popup-content.popup-xl {
		max-width: unset;
		min-width: unset;
		width: 100%;
	}
}

@media screen and (max-width: 800px) {
	.container-popup .popup-content:not(.dialog) {
		max-width: unset;
		min-width: unset;
		width: 100%;
	}
}

@media screen and (max-width: 650px) {	
	.container-popup .popup-content .preview-section {
		display: none;
	}
}

@media screen and (max-width: 400px) {	
	.container-popup .popup-content.dialog {
		width: 100%;
	}
}

.container-popup .popup-content.popup-upsell {
	width: 100%;
	min-width: unset;
	max-width: min(900px, max(30rem, calc(var(--upsell-cols, 3) * 18rem)));
	align-items: stretch;
	justify-content: flex-start;
	gap: 0.75rem;
	padding: 1rem;
}

.container-popup .popup-content.popup-upsell .title {
	font-size: 1.25rem;
}

.container-popup .popup-upsell .upsell-text {
	color: var(--ColorTextAlt);
	font-size: var(--FontSize-s);
	width: 100%;
	margin: 0px;
}

.container-popup .popup-upsell .upsell-plans {
	display: grid;
	grid-template-columns: repeat(var(--upsell-cols, 3), minmax(0, 1fr));
	gap: 0.75rem;
	width: 100%;
	flex: 0 0 auto;
}

.container-popup .popup-upsell .upsell-plan {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	min-width: 0px;
	padding: 0.75rem;
	border-radius: var(--BorderRadius);
	background-color: var(--ColorRow);
	border: solid 1px transparent;
}

.container-popup .popup-upsell .upsell-plan.is-popular {
	border-color: var(--ColorBlue);
}

.container-popup .popup-upsell .upsell-plan-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
}

.container-popup .popup-upsell .upsell-popular {
	font-size: var(--FontSize-s) !important;
}

.container-popup .popup-upsell .upsell-price {
	display: flex;
	align-items: baseline;
	gap: 0.15rem;
	width: 100%;
	margin: 0px;
	white-space: nowrap;
}

.container-popup .popup-upsell .upsell-price strong {
	font-size: 1.25rem;
	line-height: 1.2;
	width: auto;
	flex: 0 0 auto;
	white-space: nowrap;
}

.container-popup .popup-upsell .upsell-price span {
	color: var(--ColorTextAlt);
	font-size: var(--FontSize-s);
	width: auto;
	flex: 0 0 auto;
	white-space: nowrap;
}

.container-popup .popup-upsell .upsell-features {
	list-style: none;
	margin: 0px;
	padding: 0px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	flex: 1 1 auto;
	font-size: var(--FontSize-s);
	line-height: 1.35;
}

.container-popup .popup-upsell .upsell-features li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.container-popup .popup-upsell .upsell-features li i {
	color: var(--ColorGreen);
	font-size: 0.75rem;
	line-height: 1.45;
	width: 0.9rem;
	text-align: center;
	flex: 0 0 auto;
}

.container-popup .popup-upsell .upsell-features li i.upsell-bolt {
	color: var(--ColorBlue);
}

.container-popup .popup-upsell .upsell-features li span {
	font-size: var(--FontSize-s);
}

.container-popup .popup-upsell .upsell-plan .btn {
	width: 100%;
	margin-top: auto;
	padding: 0.45rem 1rem;
	white-space: normal;
}

.container-popup .popup-upsell .upsell-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	flex: 0 0 auto;
}

@media screen and (max-width: 700px) {
	.container-popup .popup-content.popup-upsell {
		max-width: unset;
	}

	.container-popup .popup-upsell .upsell-plans {
		grid-template-columns: minmax(0, 1fr);
	}

	.container-popup .popup-upsell .upsell-plan {
		padding: 0.75rem;
		gap: 0.5rem;
	}

	.container-popup .popup-upsell .upsell-features {
		gap: 0.25rem;
	}
}

.container-popup .popup-content.popup-welcome {
	width: 100%;
	min-width: unset;
	max-width: 560px;
	align-items: stretch;
	justify-content: flex-start;
}

.container-popup .popup-welcome .welcome-intro,
.container-popup .popup-welcome .welcome-verify {
	width: 100%;
	margin: 0px;
	color: var(--ColorTextAlt);
	font-size: var(--FontSize-s);
}

.container-popup .popup-welcome .option-row + .option-row {
	margin-top: 0px;
	padding-top: 0px;
	border-top: none;
}

.container-popup .popup-welcome .welcome-footer {
	align-items: center;
}

.container-popup .popup-content.import-page-popup {
	width: 1000px;
	max-width: unset;
	align-items: stretch;
	justify-content: flex-start;
	gap: 1rem;
}

.container-popup .import-page-etape[hidden],
.container-popup .import-page-option[hidden] {
	display: none;
}

.import-page-etape-1 {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	margin-top: 0.5rem;
}
.import-page-etape-1 .form-row,
.import-page-etape-1 .row {
	width: 100%;
	margin: 0;
}
.import-page-etape-1 p {
	margin: 0;
}

.import-page-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
}

.import-page-corps {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	width: 100%;
	padding-right: 0.25rem;
}

.import-page-identite {
	flex: 0 0 300px;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	position: sticky;
	top: 0;
}
.import-page-identite .form-row {
	margin: 0;
}
.import-page-identite .password-hint {
	margin: 0.25rem 0 0;
	min-height: 0;
	white-space: normal;
}

.import-page-avatar {
	width: 6rem;
	height: 6rem;
	border-radius: 50%;
	object-fit: cover;
	background: var(--ColorRow);
	box-shadow: var(--Shadow);
	align-self: center;
	margin-top: 0.5rem;
}
.import-page-avatar-vide {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: var(--ColorTextAlt);
}
.import-page-avatar-vide[hidden] {
	display: none;
}

.import-page-source {
	margin: 0;
	text-align: center;
	color: var(--ColorTextAlt);
	font-size: var(--FontSize-s);
	word-break: break-all;
}

.import-page-description {
	margin: 0;
	color: var(--ColorTextAlt);
	font-size: var(--FontSize-s);
	line-height: 1.45;
	white-space: pre-line;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.import-page-description[hidden] {
	display: none;
}

.import-page-options {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	padding: 1rem;
	border-radius: var(--BorderRadius);
	background: var(--ColorRow);
}
.import-page-options .switch {
	width: 100%;
	align-items: center;
	justify-content: space-between;
}
.import-page-options .switch > p {
	margin: 0;
	line-height: 1.35;
}

.import-page-pastille {
	display: inline-block;
	width: 0.9rem;
	height: 0.9rem;
	border-radius: 50%;
	border: 1px solid var(--ColorTextAlt);
	vertical-align: middle;
	margin-left: 0.2rem;
}

.import-page-listes {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.import-page-trouve {
	margin: 0;
}

.import-page-section {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	width: 100%;
}
.import-page-entete {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}
.import-page-entete h3 {
	margin: 0;
	font-size: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.import-page-section .container-table table {
	table-layout: fixed;
	border-spacing: 0 0.375rem;
}
.import-page-section .container-table table tbody td.import-page-check {
	width: 2.25rem;
	padding-right: 0;
}
.import-page-section .container-table table tbody td.import-page-check input {
	display: block;
	cursor: pointer;
}
.import-page-cell {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	min-width: 0;
	cursor: pointer;
}
.import-page-media {
	flex: none;
	display: flex;
}
.import-page-section .container-table table tbody td .import-page-vignette,
.import-page-section .container-table table tbody td .import-page-icone {
	width: 3rem;
	height: 3rem;
	border-radius: 0.5rem;
	box-shadow: none;
}
.import-page-section .container-table table tbody td .import-page-vignette {
	object-fit: cover;
	background: var(--ColorContainer);
}
.import-page-media .import-page-icone {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--ColorContainer);
	color: var(--ColorText);
	border: solid 1px var(--ColorBackground);
	font-size: 1rem;
}
.import-page-media .import-page-icone .fab {
	font-size: 1.15rem;
}
.import-page-texte {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
	flex: 1 1 auto;
}
.import-page-nom {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 0;
}
.import-page-nom > span:first-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.import-page-sous {
	margin: 0;
	color: var(--ColorTextAlt);
	font-size: var(--FontSize-s);
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.import-page-vide td {
	color: var(--ColorTextAlt);
	text-align: center;
	white-space: normal;
}

.import-page-pied {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	width: 100%;
	padding-top: 0.5rem;
	border-top: 1px solid var(--ColorRow);
}
.import-page-boutons {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-left: auto;
}

@media screen and (max-width: 1000px) {
	.container-popup .popup-content.import-page-popup {
		width: 100%;
		min-width: unset;
	}
}

@media screen and (max-width: 800px) {
	.import-page-corps {
		flex-direction: column;
	}
	.import-page-identite {
		flex: none;
		width: 100%;
		position: static;
	}
	.import-page-boutons {
		justify-content: flex-end;
		flex-wrap: wrap;
	}
}
