:root {
	--gray-color: 245, 245, 245;
	--blue-color: 35, 75, 212;
	--greyblue-color: 231, 235, 249;
	--lightgreyblue-color: 239, 240, 245;
}

ul {
	list-style: none;
}
svg {
	display: block;
	fill: inherit;
	color: inherit;
}
html,
button,
input,
textarea {
	font-size: 14px;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;

	outline: none;

	font-family: "Open Sans", sans-serif;
}

html {
	font-size: 14px;
}

svg, video, img, canvas { display: block; }
svg { pointer-events: none; }

svg {
	fill: inherit;
	color: inherit;
}

button {
	border: none;

	background-color: transparent;
	border: solid 1px rgba(var(--gray-color));
	color: black;
	fill: black;
	border-radius: 8px;

	padding: 8px;

	cursor: pointer;
}

button svg {
	width: 16px;
	height: 16px;
}

body {
	abackground-color: #171717;
	acolor: #fff;
}

main {
	display: flex;

	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

main section.left-header,
main section.main,
main section.previsualisor {
	padding: 16px;
}

main section.left-header {
	flex: none;
	width: 260px;

	display: flex;
	flex-direction: column;
	gap: 16px;
}
main section.main {
	width: 100%;

	overflow: auto;
}
main section.previsualisor {
	flex: none;

	width: 440px;

	display: flex;
	flex-direction: column;
	gap: 16px;
}

main section.left-header .header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

main section.left-header .header svg {
	width: 16px;
	height: 16px;
}


main section.left-header .header a {
	text-decoration: none;

	padding: 8px;
	color: black;
	fill: black;

}

main section.left-header .menu { height: 100%; overflow: auto; }

main section.left-header .menu a {
	text-decoration: none;

	color: inherit;
	fill: inherit;

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

	padding: 8px;
}

main section.left-header .menu a svg { width: 16px; height: 16px; }

main section.left-header .menu a.parent-button {
	border: solid 1px transparent;
	border-radius: 8px;
}

main section.left-header .menu a.parent-button.active {
	border: solid 1px rgba(var(--gray-color));
}

main section.left-header .menu ol li a {
	border-radius: 8px;

	padding-left: 32px;
}
main section.left-header .menu a.active {
	background-color: rgba(245, 245, 245, 1.0);
}
main section.left-header .menu a:hover {
	background-color: rgba(230, 230, 230, 1.0);
}

main section.left-header .userinfo {
	display: flex;
	align-items: center;

	gap: 16px;
}

main section.left-header .userinfo img {
	border-radius: 16px;
}

main section.left-header .userinfo span {
	display: block;
}



main section.previsualisor .head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

main section.previsualisor .head .name {
	display: flex;
	align-items: center;
	gap: 8px;
}

main section.previsualisor .share-link {
	display: flex;
	align-items: center;
	justify-content: space-between;

	padding: 8px 16px;
	background-color: rgba(var(--lightgreyblue-color), 1.0);
	border-radius: 6px;
}


main section.previsualisor .share-link button {
	border: none;
}

main section.previsualisor .previsualisation {
	height: 100%;
	border: solid 1px rgba(var(--gray-color));
	border-radius: 8px;
}

main section.previsualisor .previsualisation iframe {
	all: unset; /* ou réinitialisez les propriétés souhaitées */
	display: block;
	border: none;
	width: 100%;
	height: 100%;
}

#profile-previsualisor {
	position: relative;

	overflow: auto;
}


main section.mobile-header {
	position: relative;

	display: none;
	align-items: center;
	justify-content: space-between;

	padding: 16px;
}

main section.mobile-header svg {
	width: 16px;
	height: 16px;
}

main section.mobile-header .head {
	display: flex;
	align-items: center;
	gap: 8px;
}

main section.mobile-header .head a,
main section.mobile-header .head button {
	color: inherit;
	fill: inherit;

	position: relative;
	display: block;

	text-decoration: none;

	background: transparent;
	padding: 12px;
	border-radius: 8px;

	cursor: pointer;
}

main section.mobile-header .head button {
	border: solid 1px rgba(245, 245, 245);
}

main section.mobile-header .head a:hover,
main section.mobile-header .head button:hover {
	background-color: rgba(250, 250, 250);
}

main section.mobile-header .menu {
	z-index: 1;
	position: absolute;
	top: 100%;
	right: 16px;

	border: solid 1px rgba(245, 245, 245);
	border-radius: 8px;
	background: rgba(255, 255, 255, 1.0);

	overflow: hidden;

	display: none;
}
main section.mobile-header.open .menu {
	display: block;
}

main section.mobile-header .menu a {
	text-decoration: none;

	color: inherit;

	display: flex;
	align-items: center;
	gap: 8px;

	padding: 12px 16px;
	margin: 4px;
	border-radius: 6px;

	color: #000;
	fill: #000;
}
main section.mobile-header .menu a:hover {
	background: rgba(245, 245, 245, 1.0);
}

@media (max-width: 700px) {
	main { display: block; }
	main section.mobile-header { display: flex; }
	main section.left-header { display: none; }
	main section.previsualisor { display: none; }
}

@media (max-width: 1080px) {
	main section.previsualisor { display: none; }
}






/* */
section.menu {

}

section.menu ul {
	overflow-x: auto;
	overflow-y: hidden;
	
	amargin-top: 24px;
	padding-bottom: 16px;

	display: flex;
	align-items: center;
	gap: 10px;
}

section.menu ul li { flex: none; }
section.menu ul li:first-child { padding-left: 16px; }
section.menu ul li:last-child { padding-left: 16px; }

section.menu ul a {
	color: inherit;
	fill: inherit;

	position: relative;
	display: block;

	text-decoration: none;

	background: transparent;
	padding: 6px 8px;
	border-radius: 4px;
}
section.menu ul a:hover {
	background: rgba(250, 250, 250);
}

section.menu ul a::before {
	content: "";

	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;

	height: 2px;
	background-color: black;

	display: none;
}

section.menu ul li a.focus::before {
	display: block;
}



/*  */
section.ui-block {
	margin-top: 24px;

	margin-left: 16px;
	margin-right: 16px;

	background-color: transparent;
	border: solid 1px rgba(245, 245, 245);
	border-radius: 14px;
}

section.ui-block div.head {
	padding-top: 16px;

	padding-left: 16px;
	padding-right: 16px;

	padding-bottom: 8px;

	display: flex;
	align-items: center;
	justify-content: space-between;
}

section.ui-block div.head a {
	cursor: pointer;
}

section.ui-block div.head div.options {
	display: flex;
	align-items: center;
}

section.ui-block div.head div.options a {
	color: inherit;
	fill: inherit;

	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;

	text-decoration: none;

	background: transparent;
	padding: 6px 8px;
	border-radius: 4px;
}
section.ui-block div.head div.options a:hover {
	background: rgba(250, 250, 250);
}

section.ui-block.close div.head a svg {
	transform: rotate(-90deg);
}

section.ui-block.close .closing {
	display: none;
}

section.ui-block .content { 
	position: relative;
}



/*  */
.modal {
	z-index: 99;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.8);

	display: none;
}

.modal .contenaire {
	position: absolute;
	left: 50%;
	bottom: 16px;

	transform: translateX(-50%);

	background: white;

	width: 440px;
	padding: 16px;

	border-top-left-radius: 14px;
	border-top-right-radius: 14px;

	border-radius: 14px;
}

.modal .content {
	padding: 16px;
	margin-top: 48px;
	overflow: auto;
	max-height: 480px;
}

.modal .close-button {
	z-index: 1;
	position: absolute;
	top: 16px;
	right: 16px;
}

.modal a {
	color: inherit;
	fill: inherit;

	position: relative;
	display: inline-block;

	text-decoration: none;

	border: solid 1px rgba(245, 245, 245);
	background: transparent;
	padding: 6px 8px;
	border-radius: 4px;

	cursor: pointer;
}
.modal a:hover {
	background: rgba(250, 250, 250);
}

.modal span.icon:first-child {
	padding: 8px;

	background: #E6EAFF;
	color: var(--color-light0);
	fill: var(--color-light0);
	border-radius: 8px;

	display: inline-block;
}

.modal .block {
	border: solid 1px rgba(240, 240, 240);
	border-radius: 14px;
}

.modal .itm {
	padding: 16px;
}

.modal span {
	display: block;
}

.modal span.amount {
	display: flex;
}


.modal label,
.modal input {
	display: block;
}

.modal input {
	width: 100%;
	padding: 8px;
}