:root {
	--color-background-0p: #fbfafe;
	--color-background-1p: #2b608f;
	--color-background-2p: #d1d5db;
	--color-content-0p: #040416;
	--color-content-1p: #323f4b;
	--color-content-2p: #334155;
	--color-black03: rgba(0, 0, 0, .03);
	--color-primary: #4338ca;
	--color-secondary: #eacc8b;
	--color-green: #15803d;
	--color-red: #b91c1c;
	--color-yellow: #efc824;
	--color-blue: #1d4ed8;
	--color-background-info: #bbeeff;
	--color-content-onInfo: #272727;
	--color-background-success: #dff2bf;
	--color-content-onSuccess: #272727;
	--color-background-warning: #feefb3;
	--color-content-onWarning: #272727;
	--color-background-error: #ffbaba;
	--color-content-onError: #272727;
	--color-gradient-primary: linear-gradient(to bottom, #3435ce, #9191fe);
	--color-gradient-secondary: linear-gradient(90deg, #ff9a9e, #fad0c4);
	--color-gradient-ternary: linear-gradient(to bottom, #be65e2, #19cb8f);
	--color-content-link: #0137ef;
	--size-margin-main: .5rem;
	--size-padding-main: .25rem;
}
*, *::before, *::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
body {
	background-color: var(--color-background-0p);
	color: var(--color-content-0p);
	line-height: normal;
	font-optical-sizing: auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	margin: 0;
	padding: 0;
	min-height: 100svh;
	-webkit-transition: 100ms linear;
	-moz-transition: 100ms linear;
	-ms-transition: 100ms linear;
	-o-transition: 100ms linear;
	transition: 100ms linear;
	/*overflow: hidden;*/
	position: relative;
	display: flex;
	flex-direction: column;
}
header {
	background-color: var(--color-background-0p);
	grid-area: header;
	width: 100%;
	/*height:40px;*/
	padding: .5rem .75rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: row;
	-webkit-box-shadow: 0 -10px 20px 0 var(--color-shadow-layout);
	-moz-box-shadow: 0 -10px 20px 0 var(--color-shadow-layout);
	box-shadow: 0 -10px 20px 0 var(--color-shadow-layout);
	z-index: 200;
	position: sticky;
	top: 0;
}
main {
	display: flex;
	flex-direction: column;
	/*align-items: center;*/
	/*justify-content: center;*/
	/*background-color: #f3f4f6;*/
	grid-area: main;
	overflow-y: auto;
	/*padding: 0 .5rem .5rem .5rem;*/
	/*margin: var(--size-margin-main) 0 0;*/
	position: relative;
	flex: 1;
	padding: 1rem;
	/*background-color: var(--color-background-0p);*/
}
h1,h2,h3,h4,h5,h6{
	margin:0;
}
.mb1{
	margin-bottom: 1rem;
}
.g5 {
	gap: .5rem;
}
.tac{
	text-align: center;
}
form {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	width: 100%;
	gap: 15px;
}
.form__group label {
	text-align: start;
}
.form__group {
	flex-wrap: wrap;
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.form__row {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 5px;
}
input,
select {
	padding: .25rem .5rem;
	border: 1px solid #cccccc;
	-webkit-border-radius: .25rem;
	-moz-border-radius: .25rem;
	border-radius: .25rem;
	max-width: 100%;
}
.main-section {
	display: flex;
	margin: auto;
	justify-content: space-between;
	height: 100%;
	flex: 1;
	overflow: hidden;
	width: 100%;
}
.form-section {
	background-color: #fcfcfc;
	height: 100%;
	overflow: auto;
}
.gradient {
	border: 2px solid #fbfafe;
	border-radius: 8px;
	background-image: linear-gradient(transparent, transparent), var(--color-gradient-ternary);
	background-origin: border-box;
	background-clip: content-box, border-box;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	overflow: hidden;
	box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
	width: 29%;
	height: fit-content;
}
.validate-btn {
	width: 30%;
	align-self: center;
	margin: auto;
	border-radius: 8px;
	background-color: #9191fe;
	color: white;
	transition: 0.1s ease-in;
	padding: 10px;
	display: flex;
	justify-content: space-evenly;
	font-size: 16px;
}
.validate-btn:hover {
	transform: scale(1.1);
	cursor: pointer;
	background-color: #3435ce;
}
.iframe-section {
	max-width: 50%;
	background-color: #fefefe;
	overflow: auto;
	height: 100%;
	padding: 8px;
	margin: auto;
	margin-top: 0;
	box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}
iframe {
	width: 100%;
	height: 100%;
}
.checkbox__group {
	display: flex;
	align-items: center;
	padding: .125rem .25rem;
	-webkit-border-radius: 9000px;
	-moz-border-radius: 9000px;
	border-radius: 9000px;
	border: 1px solid #cccccc;
}
#contract-template {
	margin: 10mm 5mm 10mm 5mm;
}
.title {
	border-bottom: 4px solid #9191fe !important;
	width: fit-content;
	padding-bottom: 5px;
	margin-bottom: 30px;
}
@media (max-width: 1680px) {
	.iframe-section {
		max-width: 60%;
	}
}
.status-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	border: 1px solid transparent;
}
.status-gray {
	background-color: #e0e0e0;
	color: #424242;
	border-color: #424242;
}
.status-orange {
	background-color: #fff3e0;
	color: #e65100;
	border-color: #e65100;
}
.status-blue {
	background-color: #e3f2fd;
	color: #1565c0;
	border-color: #1565c0;
}
.status-green {
	background-color: #e8f5e9;
	color: #2e7d32;
	border-color: #2e7d32;
}
.status-red {
	background-color: #ffebee;
	color: #c62828;
	border-color: #c62828;
}
.status-dark-gray {
	background-color: #bdbdbd;
	color: #212121;
	border-color: #212121;
}
/* ACCORDION */
.accordions__container {
}
.accordions__container_title {
}
.accordions__list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.accordion {
	border: 1px solid #c6c6c6;
	border-radius: .5rem;
	position: relative;
	outline: 2px solid transparent;
	outline-offset: 1px;
	transition: outline-color 200ms, outline-offset 150ms, border-color 200ms;
	background-color: #fefefe;
}
.accordion:hover {
	border-color: #616161;
}
.accordion:has(.accordion__checkbox:focus, .accordion__radio:focus) {
	border-color: #616161;
	outline-color: blue;
}
.accordion__checkbox,
.accordion__radio {
	left: 0;
	opacity: 0; /* you can comment this line to see if input focus or checked */
	position: absolute;
	top: 0;
}
.accordion__header {
	position: relative;
	cursor: pointer;
	padding: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	outline: 2px solid transparent;
	outline-offset: 2px;
	transition: outline-color 200ms, outline-offset 150ms;
}
.accordion__checkbox:is(:focus):not(:checked) + .accordion__header,
.accordion__radio:is(:focus) + .accordion__header {
	/*outline-color: blue;
	outline-offset: 2px;*/
}
/*H2 Style because we can't use a H2 inside a label, if you want you can use a span*/
.accordion__header__title {
	font-size: 1.5em;
	margin: 0;
	font-weight: bold;
}
.accordion__header::after {
	position: absolute;
	left: 0;
	top: 0;
	content: "";
	display: block;
	width: 1rem;
	height: 1rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z'%3E%3C/path%3E%3C/svg%3E");
	background-repeat: no-repeat;
	transition: transform 300ms;
}
.accordion__checkbox:checked ~ .accordion__header::after,
.accordion__radio:checked ~ .accordion__header::after {
	transform: rotate(45deg);
}
.accordion__body {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 300ms, padding 100ms;
	padding: 0 2rem 0 2rem;
}
.accordion__checkbox:checked ~ .accordion__body,
.accordion__radio:checked ~ .accordion__body {
	grid-template-rows: 1fr;
	padding: 0 2rem 2rem 2rem;
}
.accordion__body__content {
	overflow: hidden;
}
.accordion__body__content p {
	margin: 0;
}
.accordion__body__content > ul {
	list-style: disc;
}
.notification {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 15px 20px;
	background-color: #4caf50;
	color: white;
	border-radius: 4px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	z-index: 10000;
	animation: slideIn 0.3s ease-out;
}
.notification--info {
	background-color: #2196f3;
}
.notification--error {
	background-color: #f34e49;
}
@keyframes slideIn {
	from {
		transform: translateX(400px);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}
@keyframes slideOut {
	from {
		transform: translateX(0);
		opacity: 1;
	}
	to {
		transform: translateX(400px);
		opacity: 0;
	}
}
.buttons{
	display:flex;
	gap:.25rem;
}
.button {
	position: relative;
	display: flex;
	align-items: center;
	padding: .25rem .5rem;
	background-color: #e9e9ff;
	color: #13041f;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color 150ms, color 150ms;
	text-decoration: none;
	line-height: 1;
}
.button--center {
	margin: 0 auto;
}
.button:not(:disabled,.button--disabled):hover {
	background-color: #9191fe;
}
.button--icon {
	padding: .25rem;
}
.button--circle{
	aspect-ratio: 1;
	border-radius: 10rem;
}
.button--border{
	border: 1px solid transparent;
}
.button--secondary{
	background-color: #e9e9ff;
	border-color: #9191fe;
	color: #13041f;
}
.button:disabled,.button--disabled {
	background-color: #ccc;
	border-color: transparent;
	cursor: not-allowed;
	user-select: none;
}
.icon{
	color: currentColor;
	transition: 150ms;
	width: 20px;
	height: 20px;
}
.icon--small{
	width: 16px;
	height: 16px;
}
.icon--large{
	width: 24px;
	height: 24px;
}
.pp{
	display: flex;
	border-radius: 100%;
	width: 48px;
	height: 48px;
	margin: auto;
}

table{
	border-collapse: collapse;
	width:100%;
}
table th, table td{
	border: none;
	border-bottom: 1px solid #ddd;
	padding: .5rem;
}
table thead tr{
	background-color: #9191fe;
}
table tbody tr{
	transition:background-color 150ms;
}
table tbody tr:nth-child(odd) {
	background-color: #f2f2f2; /* Light color for odd rows */
}
table tbody tr:nth-child(even) {
	background-color: #ffffff; /* White or light color for even rows */
}
table tbody tr:hover{
	background-color: #e9e9ff;
}
.modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 99;
}
.modal {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	padding: 50px;
	border-radius: 10px;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
	z-index: 100;
	text-align: center;
	overflow: auto;
}
.modal-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.45); /* noir transparent */
	display: none; /* caché par défaut */
	justify-content: center; /* centre horizontal */
	align-items: center; /* centre vertical */
	backdrop-filter: blur(3px); /* effet flou moderne */
	z-index: 999;
}
.modal-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.close {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 20px;
	cursor: pointer;
}