/* Copie recolorée (charte AEROTECH) de wp-content/plugins/aerotech-atelier/assets/formulaire/planning.css */
/* « Planning en temps réel » cliquable (22/11/2026). Charte : noir #101820, orange #FF6900, blanc.
   Vert du « Disponible » = celui du calendrier du formulaire (mêmes jours, même couleur). Mobile d'abord. */

.atx-pl-puce .elementor-icon-list-item[data-atx-pl] {
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.atx-pl-puce .elementor-icon-list-item[data-atx-pl]:focus-visible {
	outline: 2px solid #FF6900;
	outline-offset: 3px;
	border-radius: 999px;
}
.atx-pl-voir {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	margin-left: 8px;
	padding: 1px 8px 1px 9px;
	border-radius: 999px;
	background: #FF6900;
	color: #fff;
	font-size: 0.85em;
	font-weight: 700;
	line-height: 1.6;
}
.atx-pl-voir::after {
	content: "›";
	font-size: 1.15em;
	line-height: 1;
}
.atx-pl-puce .elementor-icon-list-item[data-atx-pl]:hover .atx-pl-voir {
	background: #101820;
}

html.atx-pl-ouvert,
html.atx-pl-ouvert body {
	overflow: hidden;
}
.atx-pl[hidden] {
	display: none;
}
.atx-pl {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	font-family: "Nunito Sans", system-ui, -apple-system, sans-serif;
	color: #101820;
}
.atx-pl-fond {
	position: absolute;
	inset: 0;
	background: rgba(16, 24, 32, 0.55);
}
.atx-pl-boite {
	position: relative;
	width: 100%;
	max-height: 92vh;
	max-height: 92dvh;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 18px 18px 0 0;
	box-shadow: 0 -8px 30px rgba(16, 24, 32, 0.25);
	animation: atx-pl-monte 0.22s ease-out;
}
@keyframes atx-pl-monte {
	from { transform: translateY(24px); opacity: 0; }
	to { transform: none; opacity: 1; }
}
.atx-pl-haut {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px 10px;
	border-bottom: 1px solid #eceef0;
}
.atx-pl-haut h2 {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 800;
	color: #101820;
}
.atx-pl-x {
	flex: none;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: #f2f3f4;
	color: #101820;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}
.atx-pl-x:hover,
.atx-pl-x:focus-visible {
	background: #101820;
	color: #fff;
}
.atx-pl-corps {
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 14px 16px 6px;
}
.atx-pl-attente {
	margin: 24px 0;
	text-align: center;
	color: #5a6470;
}
.atx-pl-resume {
	background: #101820;
	color: #fff;
	border-radius: 14px;
	padding: 14px 16px;
}
.atx-pl-surtitre {
	margin: 0;
	font-size: calc(12px + var(--atx-fp,0px));
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #FF6900;
	font-weight: 800;
}
.atx-pl-date {
	margin: 2px 0 10px;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 800;
	color: #fff;
}
.atx-pl-date::first-letter {
	text-transform: uppercase;
}
.atx-pl-date--rien {
	font-size: 17px;
}
.atx-pl-arrivee {
	list-style: none;
	margin: 0;
	padding: 10px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	display: grid;
	gap: 8px;
}
.atx-pl-arrivee li {
	display: grid;
	grid-template-columns: 20px 1fr;
	column-gap: 8px;
	font-size: calc(14px + var(--atx-fp,0px)*.75);
	line-height: 1.35;
}
.atx-pl-arrivee svg {
	width: 18px;
	height: 18px;
	grid-row: span 2;
	margin-top: 1px;
	fill: none;
	stroke: #FF6900;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.atx-pl-arrivee span {
	color: rgba(255, 255, 255, 0.75);
}
.atx-pl-arrivee strong {
	color: #fff;
	font-weight: 700;
}
.atx-pl-legende {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 14px 0 4px;
	font-size: calc(13px + var(--atx-fp,0px));
	color: #3d4650;
}
.atx-pl-legende span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.atx-pl-legende i {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 4px;
}
.atx-pl-cal {
	display: grid;
	gap: 14px;
	margin-top: 8px;
}
.atx-pl-mois-t {
	font-weight: 800;
	font-size: 15px;
	margin: 0 0 6px;
	text-transform: capitalize;
}
.atx-pl-grille {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
}
.atx-pl-jsem {
	text-align: center;
	font-size: calc(11px + var(--atx-fp,0px));
	font-weight: 700;
	color: #8a929a;
	padding-bottom: 2px;
}
.atx-pl-j {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	max-height: 44px;
	border-radius: 8px;
	font-size: calc(14px + var(--atx-fp,0px)*.75);
	font-weight: 700;
	color: #b8bec4;
}
.atx-pl-vide {
	visibility: hidden;
}
.atx-pl-hors {
	color: #e1e4e7;
	font-weight: 600;
}
.atx-pl-libre {
	background: #e6f7ec;
	color: #137a3b;
	box-shadow: inset 0 0 0 1px rgba(19, 122, 59, 0.3);
}
.atx-pl-limite {
	background: #fff1e6;
	color: #b34a00;
	box-shadow: inset 0 0 0 1px rgba(255, 105, 0, 0.45);
}
.atx-pl-complet,
.atx-pl-proche,
.atx-pl-ferme {
	background: transparent;
	color: #c3c8cd;
}
.atx-pl-complet {
	text-decoration: line-through;
}
.atx-pl-legende .atx-pl-complet {
	box-shadow: inset 0 0 0 1px #d5d9dd;
}
.atx-pl-j.auj {
	box-shadow: inset 0 0 0 2px #101820;
	color: #101820;
}
.atx-pl-note {
	margin: 14px 0 8px;
	font-size: calc(13px + var(--atx-fp,0px));
	line-height: 1.45;
	color: #5a6470;
}
.atx-pl-bas {
	padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid #eceef0;
}
.atx-pl-go {
	display: block;
	width: 100%;
	min-height: 48px;
	border: 0;
	border-radius: 12px;
	background: #FF6900;
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
}
.atx-pl-go:hover,
.atx-pl-go:focus-visible {
	background: #101820;
}

@media (min-width: 768px) {
	.atx-pl {
		align-items: center;
		padding: 24px;
	}
	.atx-pl-boite {
		max-width: 640px;
		max-height: 88vh;
		border-radius: 18px;
	}
	.atx-pl-cal {
		grid-template-columns: 1fr 1fr;
		column-gap: 22px;
	}
	.atx-pl-j {
		max-height: 38px;
		aspect-ratio: auto;
		height: 36px;
	}
}

/* Date de révision suivante quand le colis ne peut plus arriver pour la première date. */
.atx-pl-arrivee em {
	display: block;
	font-style: normal;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.75);
}
