/* Fil Events Tickets - front-end
   Palette : encre #14121A, papier #FAF8F4, accent billetterie #E8541D,
   validation #1F8A4C, alerte #C0392B. Le style volontairement neutre
   s'intègre à n'importe quel thème ; l'accent est surchargeable :
   .fet-tickets { --fet-accent: #votre-couleur } */

.fet-tickets, .fet-checkout, .fet-dashboard, .fet-scanner,
.fet-grid-cards, .fet-tickets-view, .fet-form,
.fet-vote, .fet-candidacy {
	--fet-ink: #14121a;
	--fet-paper: #faf8f4;
	--fet-accent: #e8541d;
	--fet-ok: #1f8a4c;
	--fet-err: #c0392b;
	--fet-line: #e3ded6;
	font-size: 16px;
	line-height: 1.5;
}

/* ---- Notices ---- */
.fet-notice { padding: 12px 16px; border-radius: 8px; margin: 12px 0; background: #eef2f7; border-left: 4px solid #5b7a9d; }
.fet-notice--ok { background: #e9f7ef; border-color: var(--fet-ok, #1f8a4c); }
.fet-notice--warn { background: #fdf3e3; border-color: #d9a01c; }
.fet-notice--error { background: #fbeaea; border-color: var(--fet-err, #c0392b); }

/* ---- Popups de notification transitoires (confirmation/erreur après une action) ---- */
.fet-toast { position: fixed; top: 18px; right: 18px; z-index: 99999; max-width: 380px;
	background: #fff; border-left: 4px solid #5b7a9d; border-radius: 10px;
	padding: 14px 42px 14px 16px; box-shadow: 0 10px 34px rgba(0,0,0,.2);
	font-size: 14.5px; line-height: 1.5; animation: fet-toast-in .3s ease; }
.fet-toast--ok { border-color: var(--fet-ok, #1f8a4c); }
.fet-toast--warn { border-color: #d9a01c; }
.fet-toast--error { border-color: var(--fet-err, #c0392b); }
.fet-toast__msg { display: block; }
.fet-toast__close { position: absolute; top: 8px; right: 10px; background: none; border: none;
	font-size: 20px; line-height: 1; cursor: pointer; color: #999; padding: 4px; }
.fet-toast__close:hover { color: #333; }
.fet-toast.is-hiding { animation: fet-toast-out .3s ease forwards; }
@keyframes fet-toast-in { from { transform: translateX(30px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fet-toast-out { from { opacity: 1; } to { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 560px) {
	.fet-toast { left: 12px; right: 12px; top: 12px; max-width: none; }
}

/* ---- Boutons ---- */
.fet-btn { box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border: 1.5px solid rgba(20, 18, 26, .16);
	background: #fff; color: var(--fet-ink, #14121a); border-radius: 10px; cursor: pointer;
	text-decoration: none; font-weight: 700; letter-spacing: .01em;
	transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease; }
@media (hover: hover) {
	.fet-btn:hover { background: rgba(20, 18, 26, .04); border-color: var(--fet-ink, #14121a); transform: translateY(-1px); }
}
.fet-btn:active { transform: translateY(0); }
.fet-btn--primary { background: linear-gradient(135deg, #ef6a34, var(--fet-accent, #e8541d)); background-size: 200% 200%; background-position: 0% 50%;
	border-color: transparent; color: #fff;
	box-shadow: 0 4px 12px rgba(232, 84, 29, .32), 0 1px 2px rgba(20, 18, 26, .08);
	transition: background-position .5s ease, transform .15s ease, box-shadow .15s ease; }
@media (hover: hover) {
	.fet-btn--primary:hover { background-position: 100% 50%; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(232, 84, 29, .42), 0 2px 4px rgba(20, 18, 26, .1); }
}
.fet-btn--primary:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(232, 84, 29, .3); }
.fet-btn--big { padding: 14px 28px; font-size: 17px; width: 100%; text-align: center; justify-content: center; }
.fet-btn--small { padding: 5px 10px; font-size: 13px; }
.fet-btn:focus-visible { outline: 3px solid #7db2e8; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.fet-btn, .fet-btn--primary { transition: none; }
}

.fet-badge { display: inline-block; padding: 3px 10px; border-radius: 99px; background: #eee; font-size: 13px; }
.fet-badge--ok { background: #e9f7ef; color: var(--fet-ok, #1f8a4c); }
.fet-badge--warn { background: #fdf3e0; color: #a9750c; }
.fet-badge--error { background: #fdeceb; color: #a33; }

.fet-hint { font-size: 13.5px; color: #6b6459; margin-top: 10px; }

/* ---- Grille d'événements ---- */
.fet-grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin: 20px 0; }
.fet-card { display: flex; flex-direction: column; border: 1px solid var(--fet-line); border-radius: 12px;
	overflow: hidden; text-decoration: none; color: var(--fet-ink); background: #fff;
	transition: box-shadow .15s ease, transform .15s ease; }
@media (hover: hover) {
	.fet-card:hover { box-shadow: 0 8px 24px rgba(20,18,26,.12); transform: translateY(-2px); }
}
.fet-card__img { aspect-ratio: 3 / 2; background: var(--fet-paper); display: flex; align-items: center; justify-content: center; }
.fet-card__img img { width: 100%; height: 100%; object-fit: cover; }
.fet-card__placeholder { font-size: 42px; }
.fet-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.fet-card__body h3 { margin: 2px 0; font-size: 18px; line-height: 1.3; }
.fet-card__date { color: var(--fet-accent); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.fet-card__meta { color: #6b6459; font-size: 14px; }
.fet-card__price { margin-top: 6px; font-weight: 700; }
.fet-pagination { display: flex; gap: 8px; margin: 18px 0; flex-wrap: wrap; }
.fet-pagination a { padding: 7px 13px; border: 1px solid var(--fet-line); border-radius: 8px; text-decoration: none; color: inherit; }
.fet-pagination a.is-current { background: var(--fet-ink); color: #fff; border-color: var(--fet-ink); }

/* ---- Filtres (grille d'événements) ---- */
.fet-events-filters { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.fet-events-filters label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; }
.fet-events-filters select { padding: 9px 12px; border: 1px solid var(--fet-line, #e3ded6); border-radius: 8px; font-size: 15px; font-weight: 400; background: #fff; }

/* ---- Badge type sur les cartes événement ---- */
.fet-card__img { position: relative; }
.fet-card__type { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 800;
	padding: 4px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .03em; z-index: 2; }
.fet-card__type--billet { background: #fff; color: var(--fet-ink, #14121a); }
.fet-card__type--info { background: var(--fet-ink, #14121a); color: #fff; }
.fet-card__price--free { color: var(--fet-ok, #1f8a4c); }

/* ---- Badge « Sold Out » permanent (pas au survol - visible aussi sur mobile) ---- */
.fet-card.is-soldout .fet-card__img { opacity: .55; }
.fet-card__soldout { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg);
	background: var(--fet-err, #c0392b); color: #fff; font-weight: 900; font-size: 15px; letter-spacing: .06em;
	text-transform: uppercase; padding: 8px 26px; border-radius: 6px; box-shadow: 0 6px 16px rgba(0,0,0,.35); z-index: 3; }

/* ---- Badge « Promoteur vérifié » (haut droit, sur l'image) ---- */
.fet-card__verified { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; align-items: center; gap: 4px;
	background: rgba(255,255,255,.95); color: #2f7a4a; font-size: 10.5px; font-weight: 800; padding: 4px 9px; border-radius: 99px; }
.fet-card__verified svg { width: 14px; height: 14px; display: block; }

/* ---- Bouton « j'aime » (bas droit, sur l'image) ---- */
.fet-card__like { position: absolute; bottom: 10px; right: 10px; z-index: 2; display: flex; align-items: center; gap: 4px;
	background: rgba(20,18,26,.55); color: #fff; border: none; border-radius: 99px; padding: 5px 10px;
	font-size: 11.5px; font-weight: 700; cursor: pointer; font-family: inherit; }
.fet-card__like-icon { font-size: 13px; line-height: 1; }
.fet-card__like.is-liked { background: var(--fet-accent, #e8541d); }

/* ---- Bloc organisateur ---- */
.fet-card__organizer { display: flex; align-items: center; gap: 8px; padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--fet-line); }
.fet-card__avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.fet-card__avatar--initials { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#f3c77c,#e8541d);
	color: #fff; font-size: 11px; font-weight: 800; }
.fet-card__organizer-name { font-size: 12px; font-weight: 700; color: var(--fet-ink, #14121a); }

/* ---- Bouton d'achat (visuel : la carte entière reste le vrai lien cliquable) ---- */
.fet-card__cta { display: block; text-align: center; background: var(--fet-accent, #e8541d); color: #fff;
	font-weight: 800; font-size: 13.5px; padding: 10px; border-radius: 8px; margin-top: 10px; }
.fet-card.is-soldout .fet-card__cta { background: #8f8a80; }

/* ---- Boîte « annonce info » (page événement, sans billetterie) ---- */
.fet-info-box { max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--fet-line, #e3ded6);
	border-radius: 12px; padding: 24px; text-align: center; }
.fet-info-box__access { display: inline-block; background: #e9f7ef; color: var(--fet-ok, #1f8a4c); font-weight: 800;
	padding: 8px 18px; border-radius: 99px; margin-bottom: 14px; font-size: 15px; }
.fet-info-box p { color: #6b6459; margin-bottom: 16px; }
.fet-info-box small { display: block; margin-top: 12px; color: #6b6459; font-size: 12.5px; }

/* ---- Page événement : infos + sélecteur de billets ---- */
.fet-event-info { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 14px 0; margin: 12px 0;
	border-top: 1px solid var(--fet-line); border-bottom: 1px solid var(--fet-line); font-weight: 600; }
.fet-invite-box { background: linear-gradient(135deg, #fff8f0, #fff); border: 1.5px solid #f0d9b5; border-radius: 12px;
	padding: 18px 20px; margin: 18px 0; }
.fet-invite-box__title { font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.fet-invite-box__sub { font-size: 13px; color: #6b6459; margin-bottom: 12px; }
.fet-invite-box input[type="email"] { width: 100%; padding: 11px; border: 1px solid var(--fet-line); border-radius: 8px;
	font-size: 14px; margin-bottom: 10px; box-sizing: border-box; }

.fet-tickets { margin: 24px 0; }
.fet-ticket-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center;
	padding: 14px 16px; border: 1px solid var(--fet-line); border-radius: 10px; margin-bottom: 10px; background: #fff; }
.fet-ticket-row.is-soldout { opacity: .55; }
.fet-ticket-row__info { display: flex; flex-direction: column; }
.fet-ticket-row__info small { color: #6b6459; }
.fet-ticket-row__scarce { color: var(--fet-accent); font-weight: 700; }
.fet-ticket-row__price { font-weight: 700; white-space: nowrap; }
.fet-qty { padding: 8px 10px; border: 1px solid var(--fet-line); border-radius: 8px; font-size: 16px; }
.fet-tickets__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.fet-total { font-size: 19px; font-weight: 800; }
@media (max-width: 560px) {
	.fet-ticket-row { grid-template-columns: 1fr auto; }
	.fet-ticket-row__price { grid-column: 1; }
	.fet-tickets__footer { flex-direction: column; align-items: stretch; }
}

/* ---- Checkout ---- */
.fet-checkout { max-width: 560px; margin: 0 auto; }
.fet-countdown { background: var(--fet-paper); border: 1px dashed var(--fet-accent); border-radius: 8px; padding: 10px 14px; }
.fet-summary { width: 100%; border-collapse: collapse; margin: 14px 0 22px; }
.fet-summary td { padding: 9px 4px; border-bottom: 1px solid var(--fet-line); }
.fet-summary td:last-child { text-align: right; }
.fet-summary__total td { font-weight: 800; font-size: 18px; border-bottom: 0; }
.fet-form label { display: block; margin-bottom: 14px; font-weight: 600; }
.fet-form input, .fet-form select, .fet-form textarea { box-sizing: border-box; width: 100%; padding: 11px 12px; margin-top: 5px;
	border: 1px solid var(--fet-line); border-radius: 8px; font-size: 16px; font-weight: 400; background: #fff; }
.fet-form input:focus, .fet-form select:focus, .fet-form textarea:focus { outline: 2px solid var(--fet-accent); outline-offset: 1px; }
.fet-form--boxed { border: 1px solid var(--fet-line); border-radius: 12px; padding: 22px; background: #fff; max-width: 640px; }
.fet-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .fet-form__row { grid-template-columns: 1fr; } }

/* ---- Bascule type d'annonce (espace promoteur) ---- */
.fet-toggle-row { display: flex; gap: 8px; background: var(--fet-paper, #faf8f4); border-radius: 10px; padding: 6px; margin-bottom: 18px; }
.fet-toggle-row__btn { flex: 1; padding: 12px 10px; border-radius: 8px; border: none; background: transparent;
	font-weight: 700; cursor: pointer; font-size: 13.5px; color: #6b6459; }
.fet-toggle-row__btn.is-active { background: var(--fet-ink, #14121a); color: #fff; }
.fet-conditional { border-left: 3px solid var(--fet-accent, #e8541d); background: #fdf6f1; border-radius: 0 8px 8px 0;
	padding: 14px; margin: 4px 0 18px; }
.fet-gateways { display: grid; gap: 10px; margin-bottom: 18px; }
.fet-gateway { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--fet-line);
	border-radius: 10px; cursor: pointer; font-weight: 600; }
.fet-gateway:has(input:checked) { border-color: var(--fet-accent); background: #fdf1ea; }
.fet-gateway input { width: auto; margin: 0; }

/* ---- Billets (vue + impression) - design "ticket de cinéma" ---- */
.fet-tickets-view__head { text-align: center; margin-bottom: 22px; }
.fet-tickets-view__list { display: grid; gap: 28px; padding: 0 16px; }
.fet-ticket-card { display: flex; background: #fff; border-radius: 14px;
	box-shadow: 0 10px 30px rgba(20,18,26,.12); position: relative;
	page-break-inside: avoid; break-inside: avoid; }
.fet-ticket-card::before, .fet-ticket-card::after { content: ""; position: absolute; top: 50%;
	width: 24px; height: 24px; background: var(--fet-paper, #faf8f4); border-radius: 50%; transform: translateY(-50%); }
.fet-ticket-card::before { left: -12px; }
.fet-ticket-card::after { right: -12px; }
.fet-ticket-card.is-cancelled { opacity: .5; }
.fet-ticket-card.is-cancelled .fet-ticket-card__main h3 { text-decoration: line-through; }

/* Niveaux de prestige - 1 = le plus riche visuellement, 4 = sobre (comportement d'origine, aucun changement). */
.fet-ticket-card--lvl1 { border: 3px double #6b2fb3; }
.fet-ticket-card--lvl1::after { content: "✦"; position: absolute; top: 10px; right: 14px; left: auto; width: auto; height: auto;
	background: none; color: #6b2fb3; font-size: 16px; transform: none; }
.fet-ticket-card--lvl1 .fet-ticket-card__main { position: relative; }
.fet-ticket-card--lvl1 .fet-ticket-card__main::before { content: ""; position: absolute; inset: 0;
	background: linear-gradient(135deg, #f3ecfa 0%, transparent 55%); z-index: 0; pointer-events: none; }
.fet-ticket-card--lvl1 .fet-ticket-card__main > * { position: relative; z-index: 1; }
.fet-ticket-card--lvl1 .fet-ticket-card__type-badge { background: #6b2fb3; }

.fet-ticket-card--lvl2 { border: 2px solid #c9a227; }
.fet-ticket-card--lvl2 .fet-ticket-card__main { border-right-style: dashed; border-right-color: #c9a227; position: relative; }
.fet-ticket-card--lvl2 .fet-ticket-card__main::before { content: ""; position: absolute; inset: 0;
	background: linear-gradient(135deg, #fdf6e3 0%, transparent 55%); z-index: 0; pointer-events: none; }
.fet-ticket-card--lvl2 .fet-ticket-card__main > * { position: relative; z-index: 1; }
.fet-ticket-card--lvl2 .fet-ticket-card__type-badge { background: #c9a227; }

.fet-ticket-card--lvl3 { border: 2px solid #8a8f98; }
.fet-ticket-card--lvl3 .fet-ticket-card__type-badge { background: #8a8f98; }

.fet-ticket-card__main { flex: 1; min-width: 0; padding: 22px; border-right: 2px dashed var(--fet-line, #e3ded6); }
.fet-ticket-card__eyebrow { display: block; color: var(--fet-accent, #e8541d); font-weight: 800; font-size: 11px;
	text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.fet-ticket-card__main h3 { font-size: 18px; letter-spacing: -.01em; margin-bottom: 10px; line-height: 1.25; }
.fet-ticket-card__row { font-size: 13px; color: #6b6459; margin-bottom: 3px; }
.fet-ticket-card__row b { color: var(--fet-ink, #14121a); font-weight: 700; }
.fet-ticket-card__type-badge { display: inline-block; margin-top: 10px; background: var(--fet-ink, #14121a);
	color: #fff; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 99px; }

.fet-ticket-card__stub { width: 148px; flex: 0 0 148px; padding: 20px 14px; display: flex;
	flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.fet-ticket-card__stub-info { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fet-ticket-card__qr { width: 96px; height: 96px; flex: 0 0 auto; }
.fet-ticket-card__qr canvas, .fet-ticket-card__qr img, .fet-ticket-card__qr table { width: 100% !important; height: 100% !important; }
.fet-ticket-card__stub-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px;
	font-weight: 700; letter-spacing: .04em; color: #6b6459; word-break: break-all; }

/* Enveloppe commune à une carte et son éventuel formulaire de transfert -- le vrai élément de
   la grille .fet-tickets-view__list, pour que son "gap" ne s'applique jamais entre une carte
   et son propre formulaire, seulement entre deux billets différents. */
.fet-ticket-card-wrap { display: flex; flex-direction: column; }
.fet-ticket-card__transfer-form { background: var(--fet-paper, #faf8f4); border: 1px solid var(--fet-line, #e3ded6);
	border-top: none; border-radius: 0 0 14px 14px; padding: 18px 20px; margin-top: -1px; }
.fet-ticket-card__transfer-form label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 5px; }
.fet-ticket-card__transfer-form input { width: 100%; border: 1px solid var(--fet-line, #e3ded6); border-radius: 8px;
	padding: 9px 10px; font-size: 13px; margin-bottom: 12px; font-family: inherit; }

@media (max-width: 560px) {
	.fet-ticket-card { flex-direction: column; }
	.fet-ticket-card__main { border-right: none; border-bottom: 2px dashed var(--fet-line, #e3ded6); }
	.fet-ticket-card::before, .fet-ticket-card::after { top: auto; left: 50%; transform: translateX(-50%); }
	.fet-ticket-card::before { top: -12px; }
	.fet-ticket-card::after { top: auto; bottom: -12px; }
	.fet-ticket-card__stub { width: 100%; flex-direction: row; align-items: center; justify-content: flex-start; padding: 16px 20px; gap: 18px; }
	.fet-ticket-card__stub-info { align-items: flex-start; text-align: left; flex: 1; min-width: 0; }
}

@media print {
	body * { visibility: hidden; }
	.fet-tickets-view, .fet-tickets-view * { visibility: visible; }
	.fet-tickets-view { position: absolute; left: 0; top: 0; width: 100%; }
	.fet-tickets-view .fet-btn { display: none; }
}

/* ---- Dashboard promoteur : mise en page générale (bureau = barre latérale + contenu) ---- */
.fet-dashboard { display: flex; align-items: flex-start; gap: 32px; }
.fet-dashboard__body { flex: 1; min-width: 0; }

.fet-dash-burger { display: none; } /* visible seulement en dessous de 900px, voir plus bas */

.fet-dashboard__nav { flex: 0 0 240px; background: var(--fet-paper, #faf8f4); border: 1px solid var(--fet-line, #e3ded6);
	border-radius: 16px; padding: 20px 14px; position: sticky; top: 20px; }
.fet-dashboard__nav-head { display: none; } /* visible seulement en menu plein écran mobile */

.fet-nav-group { margin-bottom: 20px; }
.fet-nav-group:last-child { margin-bottom: 0; }
.fet-nav-group__label { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
	color: #a39c8f; padding: 0 8px; margin-bottom: 8px; }
.fet-nav-item { display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 10px; font-size: 13.5px;
	font-weight: 600; color: var(--fet-ink, #14121a); text-decoration: none; margin-bottom: 2px; }
.fet-nav-item svg { flex-shrink: 0; opacity: .65; }
.fet-nav-item.is-active { background: var(--fet-ink, #14121a); color: #fff; }
.fet-nav-item.is-active svg { opacity: 1; color: var(--fet-accent, #e8541d); }
.fet-nav-item__badge { margin-left: auto; background: #e9f7ef; color: #1f8a4c; font-size: 10px; font-weight: 800;
	padding: 2px 7px; border-radius: 20px; }
.fet-nav-item.is-active .fet-nav-item__badge { background: rgba(255,255,255,.15); color: #fff; }
.fet-nav-item.is-pending { opacity: .5; }
.fet-nav-item.is-pending .fet-nav-item__badge { background: #fdf3e0; color: #a9750c; }

.fet-add-activity { border: 1px dashed var(--fet-line, #e3ded6); border-radius: 10px; padding: 12px; margin-top: 14px; text-align: center; }
.fet-add-activity p { font-size: 10.5px; color: var(--fet-grey, #6b6459); margin: 0 0 8px; }

.fet-activity-gate { max-width: 380px; margin: 40px auto; text-align: center; background: #fff;
	border: 1px solid var(--fet-line, #e3ded6); border-radius: 12px; padding: 24px; }
.fet-activity-gate p { font-size: 13px; color: var(--fet-grey, #6b6459); margin: 0 0 14px; }

.fet-dashboard__overlay { display: none; }

/* ---- En-tête + bandeau de statistiques de "Mes événements" ---- */
.fet-dashboard__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.fet-stat-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.fet-stat-card { flex: 1 1 160px; background: var(--fet-paper, #faf8f4); border: 1px solid var(--fet-line, #e3ded6);
	border-radius: 12px; padding: 16px 18px; }
.fet-stat-card span { display: block; font-size: 11.5px; color: var(--fet-grey, #6b6459); margin-bottom: 5px; }
.fet-stat-card strong { font-size: 21px; }

/* ---- En dessous de 900px : la barre latérale devient un menu plein écran ---- */
@media (max-width: 900px) {
	.fet-dash-burger { display: inline-flex; align-items: center; gap: 8px; background: var(--fet-paper, #faf8f4);
		border: 1px solid var(--fet-line, #e3ded6); border-radius: 10px; padding: 10px 16px; font-weight: 700;
		font-size: 13.5px; margin-bottom: 18px; }
	.fet-dashboard { display: block; }
	.fet-dashboard__nav { position: fixed; top: 0; right: -300px; height: 100vh; width: 280px; z-index: 1001;
		border-radius: 0; border: none; border-left: 1px solid var(--fet-line, #e3ded6); overflow-y: auto;
		transition: right .25s ease; }
	.fet-dashboard__nav.is-open { right: 0; box-shadow: -20px 0 50px -20px rgba(20,18,26,.4); }
	.fet-dashboard__nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
	.fet-dashboard__nav-head strong { font-size: 14px; }
	#fet-dash-nav-close { width: 30px; height: 30px; border-radius: 8px; background: #fff; border: 1px solid var(--fet-line, #e3ded6);
		display: flex; align-items: center; justify-content: center; }
	.fet-nav-item { background: #fff; border: 1px solid var(--fet-line, #e3ded6); padding: 13px 10px; }

	.fet-dashboard__overlay { display: none; position: fixed; inset: 0; background: rgba(20,18,26,.4); z-index: 1000; }
	.fet-dashboard__overlay.is-open { display: block; }
}

/* ---- Cartes événement ("Mes événements") : remplace l'ancien tableau qui débordait ---- */
.fet-event-card { background: #fff; border: 1px solid var(--fet-line, #e3ded6); border-radius: 14px;
	padding: 18px; margin-bottom: 16px; }
.fet-event-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
	flex-wrap: wrap; margin-bottom: 16px; }
.fet-event-card__info h4 { font-size: 15px; margin: 0 0 6px; }
.fet-event-card__meta { font-size: 12.5px; color: var(--fet-grey, #6b6459); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fet-event-card__stats { display: flex; gap: 18px; flex-wrap: wrap; }
.fet-event-card__stats div { text-align: right; }
.fet-event-card__stats span { display: block; font-size: 10.5px; color: var(--fet-grey, #6b6459); }
.fet-event-card__stats strong { font-size: 15px; }
.fet-event-card__actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fet-event-card__actions .fet-btn { display: inline-flex; align-items: center; gap: 6px; }

.fet-action-more { position: relative; margin-left: auto; }
.fet-action-more__btn { background: var(--fet-paper, #faf8f4); border: 1px solid var(--fet-line, #e3ded6);
	border-radius: 9px; width: 38px; height: 38px; font-weight: 900; font-size: 16px; color: var(--fet-grey, #6b6459); cursor: pointer; }
.fet-action-menu { display: none; position: absolute; top: 44px; right: 0; background: #fff;
	border: 1px solid var(--fet-line, #e3ded6); border-radius: 12px; box-shadow: 0 16px 40px -16px rgba(20,18,26,.3);
	width: 220px; padding: 6px; z-index: 5; }
.fet-action-menu.is-open { display: block; }
.fet-action-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px;
	font-size: 13px; font-weight: 600; color: var(--fet-ink, #14121a); text-decoration: none; }
.fet-action-menu a:hover { background: var(--fet-paper, #faf8f4); }
.fet-action-menu hr { border: none; border-top: 1px solid var(--fet-line, #e3ded6); margin: 5px 4px; }

@media (max-width: 560px) {
	.fet-event-card__stats { width: 100%; justify-content: space-between; }
	.fet-event-card__stats div { text-align: left; }
}

.fet-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 14px 0; border-radius: 8px; }
.fet-table { width: 100%; min-width: 560px; border-collapse: collapse; margin: 0; background: #fff; }
.fet-table th { text-align: left; padding: 10px 8px; border-bottom: 2px solid var(--fet-ink); font-size: 13.5px;
	text-transform: uppercase; letter-spacing: .03em; }
.fet-table td { padding: 11px 8px; border-bottom: 1px solid var(--fet-line); vertical-align: middle; }
.fet-table__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.fet-balances { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0 26px; }
@media (max-width: 560px) { .fet-balances { grid-template-columns: 1fr; } }
.fet-balance { border: 1px solid var(--fet-line); border-radius: 12px; padding: 18px; background: var(--fet-paper); }
.fet-balance span { display: block; font-size: 13.5px; color: #6b6459; text-transform: uppercase; letter-spacing: .04em; }
.fet-balance strong { font-size: 26px; }

/* ---- Scanner ---- */
.fet-scanner { max-width: 520px; margin: 0 auto; text-align: center; }
.fet-scanner__event-meta { color: #6b6459; font-size: 13.5px; margin: -8px 0 16px; }
.fet-scanner__video-wrap { position: relative; border-radius: 14px; overflow: hidden; background: #14121a;
	aspect-ratio: 1 / 1; margin-bottom: 14px; }
.fet-scanner__video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.fet-scanner__frame { position: absolute; inset: 12%; border: 3px solid rgba(255,255,255,.85); border-radius: 12px; pointer-events: none; }
.fet-scanner__result { padding: 20px; border-radius: 12px; font-size: 19px; font-weight: 800; margin: 14px 0; }
.fet-scanner__result.is-ok { background: var(--fet-ok); color: #fff; }
.fet-scanner__result.is-already, .fet-scanner__result.is-wrong_event { background: #d9a01c; color: #fff; }
.fet-scanner__result.is-invalid { background: var(--fet-err); color: #fff; }
.fet-scanner__result small { display: block; font-weight: 400; font-size: 14.5px; margin-top: 6px; }
.fet-scanner__manual { margin: 16px 0; text-align: left; }
.fet-scanner__manual summary { cursor: pointer; font-weight: 600; }
.fet-scanner__manual input { text-transform: uppercase; font-family: ui-monospace, Menlo, monospace; }

/* ---- Entrées/lots : sélection, bandeau d'état courant ---- */
.fet-gate-pick { font-size: 15px; padding: 14px 16px; }
.fet-gate-pick:disabled { opacity: .5; cursor: not-allowed; }
#fet-gate-current { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---- Bascule mode caméra / douchette ---- */
.fet-scanner__mode-toggle { display: flex; gap: 8px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }
.fet-scanner__mode-toggle .fet-btn.is-active { background: var(--fet-ink, #14121a); color: #fff; border-color: var(--fet-ink, #14121a); }
.fet-scanner__douchette-box { background: #fff; border: 2px dashed var(--fet-accent, #e8541d); border-radius: 14px;
	padding: 26px 20px; text-align: center; margin-bottom: 14px; }
.fet-scanner__douchette-box input { width: 100%; padding: 16px; font-size: 20px; text-align: center;
	font-family: ui-monospace, Menlo, monospace; text-transform: uppercase; border: 1px solid var(--fet-line, #e3ded6);
	border-radius: 10px; margin-top: 12px; }
.fet-scanner__douchette-box input:focus { outline: 3px solid var(--fet-accent, #e8541d); outline-offset: 2px; }
.fet-scanner__stats { font-size: 14.5px; color: #6b6459; }

@media (prefers-reduced-motion: reduce) {
	.fet-card, .fet-btn { transition: none; }
}

/* ---- Page promoteur (vitrine publique) ---- */
.fet-promo { max-width: 820px; margin: 0 auto; }

/* ---- Pages SEO dédiées /ville/{slug}/ et /categorie/{slug}/ ---- */
.fet-landing-hero { background: var(--fet-ink, #14121a); background-image: radial-gradient(circle at 15% 20%, #2b184d, transparent 55%),
	radial-gradient(circle at 88% 82%, #7a2ea0, transparent 50%); color: #fff; padding: 50px 20px 56px; text-align: center; }
.fet-landing-hero__inner { max-width: 640px; margin: 0 auto; }
.fet-landing-hero h1 { font-size: clamp(24px, 5vw, 32px); letter-spacing: -.02em; margin-bottom: 10px; }
.fet-landing-hero p { color: #cfc9dd; font-size: 15px; line-height: 1.6; }
.fet-landing { background: var(--fet-paper, #faf8f4); padding: 40px 20px 70px; }
.fet-landing__inner { max-width: 1100px; margin: 0 auto; }
.fet-promo-banner { display: flex; align-items: center; gap: 18px; border-radius: 14px; padding: 24px;
	margin-bottom: 20px; background: linear-gradient(120deg, var(--ink, #14121a), #3a2f52); color: #fff; }
.fet-promo-avatar { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--ink, #14121a);
	display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 22px; flex: 0 0 auto; }
.fet-promo-avatar--img { object-fit: cover; }
.fet-promo-banner h1 { font-size: 22px; letter-spacing: -.02em; }
.fet-promo-banner p { opacity: .85; font-size: 14px; margin-top: 3px; }
.fet-promo-bio { font-size: 13.5px; color: var(--fet-grey, #6b6459); margin: -8px 0 20px; line-height: 1.5; }
.fet-promo-contact { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; margin: -8px 0 20px; }
.fet-promo-contact a { color: var(--fet-ink, #14121a); text-decoration: none; font-weight: 600; }
.fet-promo-stats { display: flex; gap: 24px; margin: 0 0 24px; flex-wrap: wrap; }
.fet-pstat b { display: block; font-size: 22px; }
.fet-pstat span { font-size: 12.5px; color: #6b6459; text-transform: uppercase; letter-spacing: .04em; }
.fet-section-title { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
	margin: 22px 0 10px; color: #6b6459; }
.fet-ev-list { display: grid; gap: 10px; margin-bottom: 10px; }
.fet-ev-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: #fff;
	border: 1px solid var(--line, #e3ded6); border-radius: 10px; padding: 14px 16px; text-decoration: none; color: inherit; }
.fet-ev-row--past { opacity: .6; }
.fet-ev-row__name { font-weight: 700; }
.fet-ev-row__date { font-size: 13.5px; color: #6b6459; }
.fet-follow-box { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: #fff;
	border: 1px solid var(--line, #e3ded6); border-radius: 12px; padding: 16px; margin-top: 22px; }
.fet-follow-box input { flex: 1; min-width: 180px; padding: 11px; border: 1px solid var(--line, #e3ded6);
	border-radius: 8px; font-size: 15px; }

/* ---- Variante de bouton fond transparent (utilisée notamment par le thème sur fond sombre) ---- */
.fet-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
@media (hover: hover) {
	.fet-btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; transform: translateY(-1px); }
}

/* ---- Alertes ville/catégorie ---- */
.fet-alert-box { max-width: 620px; margin: 34px auto 0; background: #fff; border: 1px solid var(--line, #e3ded6);
	border-radius: 14px; padding: 22px; text-align: center; }
.fet-alert-box h3 { font-size: 18px; margin-bottom: 4px; }
.fet-alert-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.fet-alert-form input, .fet-alert-form select { flex: 1; min-width: 140px; padding: 11px; font-size: 15px;
	border: 1px solid var(--line, #e3ded6); border-radius: 8px; }
.fet-alert-form__group { flex: 1 1 100%; border: 1px solid var(--line, #e3ded6); border-radius: 10px; padding: 12px 14px;
	text-align: left; margin: 0; }
.fet-alert-form__group legend { font-size: 11.5px; font-weight: 700; color: var(--grey, #6b6459); padding: 0 4px; }
.fet-alert-form__group label { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 500;
	margin: 4px 10px 4px 0; }
.fet-alert-form__group input[type=checkbox] { flex: none; width: auto; min-width: 0; padding: 0; }
.fet-alert-form__toggle { flex: 1 1 100%; background: none; border: none; color: var(--fet-accent, #e8541d);
	font-size: 12.5px; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 4px 0; text-align: left; }
.fet-alert-form__advanced { flex: 1 1 100%; display: flex; gap: 10px; flex-wrap: wrap; }
.fet-alert-form__advanced[hidden] { display: none; }

@media (max-width: 480px) {
	.fet-alert-form input[name=email], .fet-alert-form button { flex: 1 1 100%; }
	.fet-alert-form__group label { padding: 6px 4px; }
	.fet-alert-form__group input[type=checkbox] { transform: scale(1.3); margin-right: 2px; }
}

/* ---- Popup de l'alerte (remplace l'ancien encart forcé) ---- */
.fet-alert-popup { position: fixed; inset: 0; z-index: 99998; display: flex; align-items: center; justify-content: center; padding: 20px; }
.fet-alert-popup[hidden] { display: none; }
.fet-alert-popup__backdrop { position: absolute; inset: 0; background: rgba(20,18,26,.6); }
.fet-alert-popup__box { position: relative; z-index: 1; max-width: 480px; width: 100%; animation: fet-alert-pop-in .25s ease; }
.fet-alert-popup__box .fet-alert-box { margin: 0; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.fet-alert-popup__close { position: absolute; top: -14px; right: -14px; width: 34px; height: 34px; border-radius: 50%;
	background: #fff; border: 1px solid var(--line, #e3ded6); font-size: 20px; line-height: 1; cursor: pointer;
	box-shadow: 0 4px 12px rgba(0,0,0,.2); }
@keyframes fet-alert-pop-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---- Liste d'attente (catégorie épuisée) ---- */
.fet-waitlist-form { display: flex; gap: 6px; margin-top: 6px; }
.fet-waitlist-form input { flex: 1; min-width: 0; padding: 7px 9px; font-size: 13px;
	border: 1px solid var(--line, #e3ded6); border-radius: 6px; }

/* ---- Code promo (page événement) ---- */
.fet-promo-field { margin: 14px 0 6px; }
.fet-promo-field label { font-weight: 600; }
.fet-promo-field input { max-width: 220px; padding: 9px 12px; border: 1px solid var(--line, #e3ded6);
	border-radius: 8px; font-size: 15px; margin-top: 4px; }

/* ---- Résumé checkout : remise ---- */
.fet-summary__discount td { color: var(--ok, #1f8a4c); font-weight: 600; }

/* ---- Partage social + parrainage (page "Mes billets") ---- */
.fet-share { max-width: 560px; margin: 30px auto 0; padding: 20px; background: #fff;
	border: 1px solid var(--line, #e3ded6); border-radius: 12px; text-align: center; }
.fet-share__title { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.fet-share__buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.fet-share__whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.fet-share__whatsapp:hover { background: #1eb857; }

/* ---- Décompte avant ouverture de la billetterie ---- */
.fet-sale-countdown { max-width: 420px; margin: 20px auto; background: #fff; border: 1px solid var(--line, #e3ded6);
	border-radius: 14px; padding: 24px; text-align: center; }
.fet-sale-countdown__label { font-weight: 700; margin-bottom: 14px; }
.fet-sale-countdown__boxes { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.fet-sale-countdown__boxes > div { background: var(--ink, #14121a); color: #fff; border-radius: 10px;
	padding: 12px 14px; min-width: 62px; }
.fet-sale-countdown__boxes span { display: block; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.fet-sale-countdown__boxes small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; opacity: .7; margin-top: 2px; }

/* ===================================================================
   Concours à vote - couleur d'accent personnalisable par événement
   (--fet-vote-accent posé en inline sur le conteneur .fet-vote /
   .fet-candidacy ; se replie sur l'accent standard si non défini).
   =================================================================== */
.fet-vote__price { text-align: center; font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.fet-vote-confirm { max-width: 480px; margin: 0 auto; }
.fet-vote-confirm h2 { margin: 16px 0; }
.fet-vote-confirm__list { list-style: none; padding: 0; margin: 0 0 20px; }
.fet-vote-confirm__list li { background: #fff; border: 1px solid var(--fet-line); border-left: 4px solid var(--fet-vote-accent, #e8541d);
	border-radius: 8px; padding: 12px 16px; margin-bottom: 8px; font-size: 14.5px; }


.fet-vote__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.fet-vote__tab { border: 1px solid var(--fet-line); background: #fff; padding: 9px 16px; border-radius: 99px;
	font-size: 13.5px; font-weight: 700; cursor: pointer; color: #6b6459; }
.fet-vote__tab.is-on { background: var(--fet-ink); border-color: var(--fet-ink); color: #fff; }
.fet-vote__panel { display: none; }
.fet-vote__panel.is-on { display: block; }
.fet-vote__cat-title { font-size: 17px; margin-bottom: 14px; }

.fet-vote__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.fet-vote-card { background: #fff; border: 1px solid var(--fet-line); border-radius: 14px; overflow: hidden; }
.fet-vote-card__photo { aspect-ratio: 3/4; background: var(--fet-ink); background-image:
	radial-gradient(circle at 20% 20%, #2b184d, transparent 55%), radial-gradient(circle at 85% 80%, #7a2ea0, transparent 50%);
	display: flex; align-items: center; justify-content: center; position: relative; }
.fet-vote-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fet-vote-card__placeholder { font-size: 44px; }
.fet-vote-card__num { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--fet-ink);
	font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 99px; }
.fet-vote-card__link { display: block; text-decoration: none; color: inherit; }
.fet-vote-card__info { padding: 14px 14px 4px; }
.fet-vote-card__info h4 { font-size: 16px; margin-bottom: 2px; }
.fet-vote-card__title { display: block; color: var(--fet-vote-accent, var(--fet-accent)); font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.fet-vote-card__bar-wrap { background: var(--fet-line); border-radius: 99px; height: 6px; overflow: hidden; margin-bottom: 4px; }
.fet-vote-card__bar { height: 100%; background: var(--fet-vote-accent, var(--fet-accent)); border-radius: 99px; }
.fet-vote-card__body { padding: 6px 14px 14px; }
.fet-vote-card__btn { display: block; width: 100%; text-align: center; background: var(--fet-vote-accent, var(--fet-accent));
	border-color: var(--fet-vote-accent, var(--fet-accent)); color: #fff; }

/* ---- Écran de sélection du nombre de votes ---- */
.fet-vote-qty { max-width: 420px; margin: 0 auto; background: #fff; border: 1px solid var(--fet-line);
	border-radius: 14px; padding: 26px; text-align: center; }
.fet-vote-qty__photo { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; margin: 0 auto 14px;
	background: var(--fet-ink); background-image: radial-gradient(circle at 20% 20%, #2b184d, transparent 55%),
	radial-gradient(circle at 85% 80%, #7a2ea0, transparent 50%); display: flex; align-items: center; justify-content: center; }
.fet-vote-qty__photo img { width: 100%; height: 100%; object-fit: cover; }
.fet-vote-qty h2 { font-size: 20px; margin-bottom: 4px; }
.fet-vote-qty__meta { color: #6b6459; font-size: 13.5px; margin-bottom: 20px; }
.fet-vote-qty__packages { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.fet-vote-qty__pkg { border: 1px solid var(--fet-line); background: #fff; padding: 8px 14px; border-radius: 99px;
	font-size: 13px; font-weight: 700; cursor: pointer; }
.fet-vote-qty__pkg.is-on { background: var(--fet-vote-accent, var(--fet-accent)); border-color: var(--fet-vote-accent, var(--fet-accent)); color: #fff; }
.fet-vote-qty__picker { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 20px; }
.fet-vote-qty__picker button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--fet-line);
	background: #fff; font-size: 20px; cursor: pointer; font-weight: 700; }
.fet-vote-qty__picker input { font-size: 28px; font-weight: 800; width: 90px; text-align: center; border: none; background: transparent; }
.fet-vote-qty__total { font-size: 14px; color: #6b6459; margin-bottom: 20px; }
.fet-vote-qty__total strong { display: block; font-size: 22px; color: var(--fet-ink); margin-top: 2px; }

/* ---- Page personnelle d'une candidature - /vote/{slug}/ ---- */
.fet-candidacy { padding: 44px 20px 70px; }
.fet-candidacy__inner { max-width: 460px; margin: 0 auto; text-align: center; }
.fet-candidacy__photo { width: 100%; aspect-ratio: 1; border-radius: 20px; overflow: hidden; margin-bottom: 20px;
	background: var(--fet-ink); background-image: radial-gradient(circle at 20% 20%, #2b184d, transparent 55%),
	radial-gradient(circle at 85% 80%, #7a2ea0, transparent 50%); display: flex; align-items: center; justify-content: center; position: relative; }
.fet-candidacy__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fet-candidacy__num { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--fet-ink);
	font-weight: 800; font-size: 13px; padding: 5px 12px; border-radius: 99px; }
.fet-candidacy__inner h1 { font-size: 26px; margin-bottom: 4px; }
.fet-candidacy__title { color: var(--fet-vote-accent, var(--fet-accent)); font-weight: 700; margin-bottom: 6px; }
.fet-candidacy__ctx { color: #6b6459; font-size: 14px; margin-bottom: 18px; }
.fet-candidacy__rank { display: inline-block; background: #fdf6e3; color: #a9750c; font-weight: 700; font-size: 14px;
	padding: 8px 16px; border-radius: 99px; margin-bottom: 20px; }
.fet-candidacy .fet-btn--primary { background: var(--fet-vote-accent, var(--fet-accent)); border-color: var(--fet-vote-accent, var(--fet-accent)); }

/* ---- Tableau de bord super admin - /console/ ---- */
.fet-console { padding: 40px 20px 70px; background: var(--fet-paper, #faf8f4); }
.fet-console__inner { max-width: 900px; margin: 0 auto; }
.fet-console h1 { font-size: 24px; margin-bottom: 4px; }
.fet-console__sub { color: #6b6459; font-size: 14px; margin-bottom: 22px; }
.fet-console__stats { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.fet-console__stat { background: #fff; border: 1px solid var(--fet-line, #e3ded6); border-radius: 10px; padding: 14px 18px; flex: 1; min-width: 130px; }
.fet-console__stat b { display: block; font-size: 22px; }
.fet-console__stat span { font-size: 11.5px; color: #6b6459; }
.fet-console__tabs { display: flex; gap: 8px; margin-bottom: 18px; border-bottom: 1px solid var(--fet-line, #e3ded6); }
.fet-console__tabs a { padding: 10px 16px; font-weight: 700; font-size: 13.5px; color: #6b6459; text-decoration: none; border-bottom: 2px solid transparent; }
.fet-console__tabs a.is-active { color: var(--fet-ink, #14121a); border-color: var(--fet-accent, #e8541d); }
.fet-console__card { background: #fff; border: 1px solid var(--fet-line, #e3ded6); border-radius: 12px; padding: 18px; overflow-x: auto; }
.fet-console__tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.fet-console__tag--ok { background: #eaf6ec; color: #1f8a4c; }
.fet-console__tag--warn { background: #fdf3e0; color: #a9750c; }
.fet-console__tag--danger { background: #f5eaea; color: #a33; }

/* Listes en cartes empilées - jamais de tableau large qui déborde sur mobile */
.fet-console__cards { display: flex; flex-direction: column; gap: 12px; }
.fet-console__row-card { background: #fff; border: 1px solid var(--fet-line, #e3ded6); border-radius: 12px;
	padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.fet-console__row-card__main { flex: 1; min-width: 180px; }
.fet-console__row-card__meta { color: #6b6459; font-size: 13px; }
.fet-console__row-card__side { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fet-console__row-card__actions { display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 560px) {
	.fet-console__row-card { flex-direction: column; align-items: flex-start; }
	.fet-console__row-card__side { width: 100%; justify-content: space-between; }
}

/* Cartes de commissions, une par devise */
.fet-console__commission-card { background: #fff; border: 1px solid var(--fet-line, #e3ded6); border-radius: 12px; padding: 20px; margin-bottom: 12px; }
.fet-console__commission-currency { display: inline-block; background: var(--fet-ink, #14121a); color: #fff; font-size: 11px; font-weight: 800;
	padding: 3px 10px; border-radius: 99px; margin-bottom: 10px; }
.fet-console__commission-amount { font-size: 30px; font-weight: 800; }
.fet-console__commission-sub { color: #6b6459; font-size: 12.5px; margin-bottom: 14px; }
.fet-console__commission-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 6px 0; border-top: 1px solid var(--fet-line, #e3ded6); }

.fet-console__pending-card { background: #fdf6f1; border: 1px solid #f0d9b5; border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; }
.fet-console__pending-card b { font-size: 20px; color: #a9750c; display: block; }
.fet-console__pending-card span { display: block; font-size: 11.5px; color: #7a5a1a; margin-top: 2px; }

.fet-console__subhead { font-size: 13px; margin: 22px 0 10px; color: #6b6459; text-transform: uppercase; letter-spacing: .04em; font-weight: 800; }
.fet-console__detail-card { background: #fff; border: 1px solid var(--fet-line, #e3ded6); border-radius: 12px; padding: 14px 16px; }
.fet-console__detail-card__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; gap: 10px; }
.fet-console__detail-card__top strong { font-size: 13.5px; }
.fet-console__detail-card__amount { font-weight: 800; font-size: 14px; white-space: nowrap; }
.fet-console__detail-card__meta { display: flex; justify-content: space-between; font-size: 11px; color: #6b6459; flex-wrap: wrap; gap: 6px; }
.fet-console__rank { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px;
	background: var(--fet-paper, #faf8f4); border-radius: 50%; font-size: 10.5px; font-weight: 800; margin-right: 6px; color: #6b6459; }
.fet-console__rank.is-top { background: #fdf3e0; color: #a9750c; }

/* Bannière d'installation PWA / notifications -- fixée en bas de l'écran, jamais stylée jusqu'ici. */
.fet-push-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 9999;
	background: var(--fet-ink, #14121a); color: #fff; border-radius: 12px; padding: 14px 16px;
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap; box-shadow: 0 8px 24px rgba(0,0,0,.25);
	font-size: 13.5px; }
.fet-push-banner span { flex: 1; min-width: 180px; }
.fet-push-banner button { border: none; border-radius: 8px; padding: 9px 14px; font-weight: 700; font-size: 13px; cursor: pointer; }
.fet-push-banner button[data-a="0"] { background: #ffffff1a; color: #fff; }
.fet-push-primary { background: var(--fet-accent, #e8541d); color: #fff; }

/* Icônes SVG catégorie/ville - remplacent les émoticônes, rendu identique partout. */
.fet-cat-icon { width: 18px; height: 18px; vertical-align: -4px; }
.fet-landing-hero__inner .fet-cat-icon { width: 34px; height: 34px; vertical-align: -8px; }

/* ---- Éditeur de zone photo (badges) ---- */
.fet-badge-shapes { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.fet-badge-shape-btn { border: 2px solid var(--fet-line, #e3ded6); border-radius: 10px; padding: 8px; background: #fff;
	cursor: pointer; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; }
.fet-badge-shape-btn.is-active { border-color: var(--fet-accent, #e8541d); background: #fdf0ea; }
.fet-badge-shape-btn svg { width: 22px; height: 22px; stroke: var(--fet-grey, #6b6459); }
.fet-badge-shape-btn.is-active svg { stroke: var(--fet-accent, #e8541d); }

.fet-badge-canvas { position: relative; width: 100%; aspect-ratio: 4/5; background: var(--fet-paper, #faf8f4);
	border: 1px solid var(--fet-line, #e3ded6); border-radius: 12px; overflow: hidden; margin-bottom: 8px; touch-action: none; }
.fet-badge-canvas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.fet-badge-canvas__empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	color: var(--fet-grey, #6b6459); font-size: 13px; text-align: center; padding: 20px; }

.fet-badge-zone { position: absolute; border: 2px dashed #fff; background: rgba(255,255,255,.18); cursor: move;
	box-shadow: 0 0 0 2000px rgba(20,18,26,.35); }
.fet-badge-zone--rect { border-radius: 2px; }
.fet-badge-zone--rounded { border-radius: 16px; }
.fet-badge-zone--circle { border-radius: 50%; }
.fet-badge-zone--oval { border-radius: 50%; }
.fet-badge-zone--star { clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); border-radius: 0; }
.fet-badge-zone__resize { position: absolute; right: -8px; bottom: -8px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--fet-accent, #e8541d); border: 2px solid #fff; cursor: nwse-resize; }

.fet-badge-hint { font-size: 11.5px; color: var(--fet-grey, #6b6459); text-align: center; margin-bottom: 12px; }

/* ---- Créateur de badge (côté acheteur) ---- */
.fet-badge-creator { max-width: 420px; margin: 0 auto; text-align: center; }
.fet-badge-live { position: relative; width: 100%; aspect-ratio: 4/5; background-size: cover; background-position: center;
	border-radius: 14px; overflow: hidden; margin: 14px 0; touch-action: none; }
.fet-badge-live__zone { position: absolute; overflow: hidden; cursor: grab; }
.fet-badge-live__zone:active { cursor: grabbing; }
.fet-badge-live__zone--rect { border-radius: 2px; }
.fet-badge-live__zone--rounded { border-radius: 14%; }
.fet-badge-live__zone--circle { border-radius: 50%; }
.fet-badge-live__zone--oval { border-radius: 50%; }
.fet-badge-live__zone--star { clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.fet-badge-live__zone img { position: absolute; top: 0; left: 0; max-width: none; pointer-events: none; }

#fet-badge-photo-input { display: block; width: 100%; margin-bottom: 10px; }
.fet-badge-controls { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 8px; }
.fet-badge-controls input[type=range] { flex: 1; max-width: 200px; }

/* ---- Section publique "Badges disponibles" (page événement) ---- */
.fet-public-badges { margin-top: 32px; }
.fet-public-badges__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 12px; }
.fet-public-badges__card { background: #fff; border: 1px solid var(--fet-line, #e3ded6); border-radius: 12px; padding: 14px; }
.fet-public-badges__card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; margin-bottom: 10px; background: var(--fet-paper, #faf8f4); }
.fet-public-badges__card strong { display: block; font-size: 13.5px; margin-bottom: 10px; }
.fet-public-badges__foot { display: flex; justify-content: space-between; align-items: center; }
.fet-public-badges__price { font-weight: 800; font-size: 13px; }

/* ---- Éditeur de disposition de sièges (trajets, côté promoteur) ---- */
.fet-seatmap-admin { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.fet-seatmap-admin__row { display: flex; gap: 8px; }
.fet-seatmap-admin__seat-form { margin: 0; }
.fet-seatmap-admin__seat { width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--fet-line, #e3ded6);
	background: #fff; font-size: 11px; font-weight: 700; cursor: pointer; color: var(--fet-ink, #14121a); }
.fet-seatmap-admin__seat.is-removed { background: var(--fet-paper, #faf8f4); border: 1px dashed #d8d2c6;
	color: #d8d2c6; text-decoration: line-through; }

/* ---- Recherche publique de trajets (hero plein écran : voir .fet-landing-hero) ---- */
.fet-trajets-search { max-width: 680px; margin: 0 auto; }
.fet-trajet-hero-form { display: flex; gap: 10px; flex-wrap: wrap; background: #fff; padding: 10px; border-radius: 12px; align-items: center; margin: 0; }
.fet-trajet-hero-form input { border: none; background: var(--fet-paper, #faf8f4); border-radius: 8px; padding: 11px 14px; font-size: 13.5px; flex: 1 1 130px; font-family: inherit; color: var(--fet-ink, #14121a); }
.fet-trajet-hero-form .fet-btn { white-space: nowrap; }
.fet-trajet-hero-form__swap { border: 1px solid var(--fet-line, #e3ded6); background: #fff; color: var(--fet-grey, #6b6459); width: 38px; height: 38px; border-radius: 8px; flex: 0 0 auto;
	display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 15px; }
.fet-trajet-hero-form__swap:hover { border-color: var(--fet-accent, #e8541d); color: var(--fet-accent, #e8541d); }
.fet-trajet-hero-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.fet-trajet-hero-chips a { background: #ffffff17; border: 1px solid #ffffff30; color: #fff; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 99px; text-decoration: none; }
.fet-trajet-hero-chips a:hover { border-color: var(--fet-accent, #e8541d); }
.fet-trajets-search__results { display: flex; flex-direction: column; gap: 10px; }
.fet-trajets-search__card { background: #fff; border: 1px solid var(--fet-line, #e3ded6); border-radius: 12px; padding: 14px 16px;
	display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.fet-trajets-search__left { display: flex; align-items: center; gap: 12px; }
.fet-trajets-search__logo { width: 38px; height: 38px; border-radius: 9px; background: var(--fet-paper, #faf8f4); border: 1px solid var(--fet-line, #e3ded6);
	display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; overflow: hidden; }
.fet-trajets-search__logo img { width: 100%; height: 100%; object-fit: cover; }
.fet-trajets-search__transporteur { font-weight: 700; font-size: 13px; }
.fet-trajets-search__meta { font-size: 12px; color: var(--fet-grey, #6b6459); margin-top: 2px; }
.fet-trajets-search__foot { display: flex; align-items: center; gap: 14px; }
.fet-trajets-search__price { font-weight: 700; font-size: 12.5px; white-space: nowrap; }

/* ---- Fil d'Ariane (page /trajet/{route}/) ---- */
.fet-breadcrumb { max-width: 680px; margin: 16px auto 0; padding: 0 20px; font-size: 12.5px; color: var(--fet-grey, #6b6459); }
.fet-breadcrumb a { color: var(--fet-grey, #6b6459); text-decoration: none; }
.fet-breadcrumb a:hover { color: var(--fet-accent, #e8541d); }

/* ---- Bloc SEO bas de page /trajet/{route}/ ---- */
.fet-trajet-seo { max-width: 680px; margin: 30px auto 0; background: #fff; border: 1px solid var(--fet-line, #e3ded6); border-radius: 14px; padding: 24px; }
.fet-trajet-seo h2 { font-size: 17px; margin: 0 0 10px; }
.fet-trajet-seo > p { font-size: 13.5px; color: var(--fet-grey, #6b6459); margin: 0 0 12px; }
.fet-trajet-seo__faq-item { border-top: 1px solid var(--fet-line, #e3ded6); padding: 10px 0; }
.fet-trajet-seo__faq-q { font-weight: 700; font-size: 13px; margin: 0 0 4px; }
.fet-trajet-seo__faq-a { font-size: 12.5px; color: var(--fet-grey, #6b6459); margin: 0; }

/* ---- Bandeau achat (choix du siège) -- compact et aligné à gauche : une étape de
   parcours d'achat, pas une page d'atterrissage à centrer comme .fet-landing-hero. ---- */
.fet-depart-bar { background: var(--fet-ink, #14121a); background-image: radial-gradient(circle at 85% 20%, #2b184d, transparent 60%); color: #fff; padding: 22px 24px; }
.fet-depart-bar__inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.fet-depart-bar h1 { font-size: 20px; margin: 0 0 3px; text-align: left; font-weight: 800; }
.fet-depart-bar p { color: #cfc9dd; font-size: 13px; margin: 0; text-align: left; }
.fet-depart-bar__step { color: #8a83a0; font-size: 12px; white-space: nowrap; }
.fet-depart-hero__tag { display: inline-block; background: #ffffff17; border: 1px solid #ffffff30; font-size: 10.5px; font-weight: 700;
	padding: 4px 10px; border-radius: 99px; white-space: nowrap; margin-bottom: 8px; }

/* ---- Bandeau confirmation (billets/carte d'embarquement) -- hero plein écran ---- */
.fet-confirm-hero .fet-landing-hero__inner { text-align: center; }
.fet-confirm-hero__icon { width: 64px; height: 64px; border-radius: 50%; background: #1d8f45; display: flex; align-items: center; justify-content: center;
	font-size: 30px; margin: 0 auto 18px; box-shadow: 0 0 0 8px rgba(255,255,255,.08); }
.fet-confirm-hero h1 { color: #8ef0ac; }
.fet-confirm-hero__route { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.fet-confirm-hero__meta { color: #cfc9dd; font-size: 13.5px; margin: 0 0 20px; }

/* ---- Détail public d'un départ ---- */
.fet-trajet-depart { max-width: 480px; margin: 0 auto; }
.fet-trajet-depart h3 { font-size: 15px; font-weight: 800; color: var(--fet-ink, #14121a); margin: 26px 0 12px; }
.fet-trajet-depart h3:first-child { margin-top: 0; }
.fet-trajet-depart > form > p.fet-hint { margin: -4px 0 14px; }
.fet-trajet-depart__class { display: flex; justify-content: space-between; align-items: center;
	background: #fff; border: 1px solid var(--fet-line, #e3ded6); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; }
.fet-trajet-depart__price { font-weight: 800; font-size: 14px; }

/* ---- Plan de sièges côté acheteur : vert = libre, rouge avec grande croix = pris ---- */
.fet-seatmap-buyer { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.fet-seatmap-buyer__row { display: flex; gap: 8px; }
.fet-seatmap-buyer__seat { width: 44px; height: 44px; border-radius: 8px; display: flex; align-items: center;
	justify-content: center; font-size: 11px; font-weight: 700; position: relative; }
.fet-seatmap-buyer__seat.is-available { background: #fff; border: 1px solid var(--fet-ok, #1f8a4c); color: var(--fet-ok, #1f8a4c); }
.fet-seatmap-buyer__seat.is-taken { background: #fbeaea; border: 2px solid var(--fet-err, #c0392b); }
.fet-seatmap-buyer__seat.is-taken::after { content: "✕"; position: absolute; inset: 0; display: flex; align-items: center;
	justify-content: center; font-size: 22px; font-weight: 900; color: var(--fet-err, #c0392b); line-height: 1; }
.fet-seatmap-buyer__legend { display: flex; gap: 16px; font-size: 11.5px; color: var(--fet-grey, #6b6459); }
.fet-seatmap-buyer__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 4px;
	vertical-align: -1px; background: #fff; border: 1px solid var(--fet-ok, #1f8a4c); }
.fet-seatmap-buyer__legend i.is-taken { background: #fbeaea; border-color: var(--fet-err, #c0392b); }
.fet-seatmap-buyer__legend i.is-selected { background: var(--fet-accent, #e8541d); border-color: var(--fet-accent, #e8541d); }

.fet-seatmap-buyer__seat.is-available { background: #fff; border: 1px solid var(--fet-ok, #1f8a4c); color: var(--fet-ok, #1f8a4c);
	cursor: pointer; font-family: inherit; }
.fet-seatmap-buyer__seat.is-available.is-selected { background: var(--fet-accent, #e8541d); border-color: var(--fet-accent, #e8541d); color: #fff; }

.fet-qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; }
.fet-qty__btn { width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--fet-line, #e3ded6); background: #fff; font-weight: 800; cursor: pointer; }
.fet-qty__n { font-weight: 800; min-width: 16px; text-align: center; display: inline-block; }

.fet-reserve-summary { display: flex; justify-content: space-between; align-items: center; background: var(--fet-paper, #faf8f4);
	border-radius: 10px; padding: 10px 14px; margin-top: 16px; position: sticky; bottom: 10px; box-shadow: 0 6px 20px rgba(20,18,26,.12); }

/* ---- Carte d'embarquement (billets de trajet) ---- */
.fet-boarding-list { display: flex; flex-direction: column; gap: 24px; max-width: 480px; margin: 0 auto; }
.fet-boarding { background: #fff; border-radius: 16px; box-shadow: 0 16px 40px rgba(20,18,26,.18); position: relative; }
.fet-boarding__head { background: var(--fet-ink, #14121a); color: #fff; padding: 16px 20px; display: flex; align-items: center; gap: 10px;
	border-radius: 16px 16px 0 0; }
.fet-boarding__logo { width: 34px; height: 34px; border-radius: 8px; background: var(--fet-accent, #e8541d); display: flex;
	align-items: center; justify-content: center; font-size: 14px; font-weight: 900; flex-shrink: 0; overflow: hidden; }
.fet-boarding__logo img { width: 100%; height: 100%; object-fit: cover; }
.fet-boarding__org { flex: 1; min-width: 0; }
.fet-boarding__org strong { display: block; font-size: 14px; }
.fet-boarding__org span { font-size: 9.5px; color: #cfc9c0; text-transform: uppercase; letter-spacing: .06em; }
.fet-boarding__class { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 10px;
	font-weight: 800; padding: 5px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }

.fet-boarding__route { display: flex; align-items: center; padding: 22px 20px 16px; gap: 12px; }
.fet-boarding__city-code { font-size: 26px; font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.fet-boarding__city-name { font-size: 10.5px; color: var(--fet-grey, #6b6459); margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }
.fet-boarding__city--end { text-align: right; }
.fet-boarding__path { flex: 1; position: relative; height: 18px; display: flex; align-items: center; }
.fet-boarding__path::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--fet-line, #e3ded6); }
.fet-boarding__path-icon { position: relative; margin: 0 auto; background: #fff; padding: 0 8px; font-size: 16px; }

.fet-boarding__grid { display: flex; gap: 14px; padding: 0 20px 20px; border-bottom: 2px dashed var(--fet-line, #e3ded6); }
.fet-boarding__grid > div { flex: 1; }
.fet-boarding__field-label { font-size: 9px; color: var(--fet-grey, #6b6459); text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: 3px; }
.fet-boarding__field-value { font-size: 13px; font-weight: 800; }

.fet-boarding__stub { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--fet-paper, #faf8f4); gap: 12px;
	border-radius: 0 0 16px 16px; flex-wrap: wrap; }
.fet-boarding__passenger { flex: 1; min-width: 160px; font-size: 11.5px; color: var(--fet-grey, #6b6459); }
.fet-boarding__passenger b { display: block; color: var(--fet-ink, #14121a); font-size: 13px; }
.fet-boarding__phone { display: block; margin-top: 4px; font-size: 11px; }

.fet-reveal { max-height: 0; overflow: hidden; opacity: 0; transform: translateY(10px);
	transition: max-height .4s ease, opacity .3s ease .1s, transform .3s ease .1s; }
.fet-reveal.is-visible { max-height: 900px; opacity: 1; transform: translateY(0); }

.fet-boarding__action-btn { display: block; max-width: 480px; margin: 0 auto 16px; }
@media print {
	body * { visibility: hidden; }
	.fet-boarding-list, .fet-boarding-list * { visibility: visible; }
	.fet-boarding-list { position: absolute; top: 0; left: 0; width: 100%; }
	.fet-boarding { box-shadow: none; border: 1px solid var(--fet-line, #e3ded6); break-inside: avoid; }
	.fet-boarding__action-btn { display: none; }
}

/* =====================================================================
   Animations de chargement (assets/js/loader.js)
   A : logo en particules · B : billet qui se dessine · C : QR scanné
   ===================================================================== */
.fet-ld { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
	background: rgba(20, 18, 26, .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
	opacity: 0; transition: opacity .2s ease; padding: 20px; }
.fet-ld.is-visible { opacity: 1; }
.fet-ld__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.fet-ld__label { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .02em; text-align: center;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .4); min-height: 1em; }

/* Version posée dans la page (écran "paiement en cours de confirmation") */
.fet-ld-inline { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 30px 16px; margin-bottom: 16px;
	border-radius: 16px; background: var(--fet-ink, #14121a);
	background-image: radial-gradient(circle at 15% 20%, #2b184d, transparent 55%), radial-gradient(circle at 88% 82%, #7a2ea0, transparent 50%); }

/* ---- A : particules -> logo ---- */
.fet-ld-a { position: relative; width: 120px; height: 120px; }
.fet-ld-a__dot { position: absolute; left: 50%; top: 50%; border-radius: 50%; width: var(--s); height: var(--s);
	margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); background: var(--c);
	animation: fet-ld-a-swirl 2.6s cubic-bezier(.6, .05, .3, 1) infinite; animation-delay: var(--d); }
@keyframes fet-ld-a-swirl {
	0%   { transform: translate(var(--x), var(--y)) scale(.6); opacity: 0; }
	15%  { opacity: 1; }
	45%  { transform: translate(calc(var(--y) * -1), var(--x)) scale(1); opacity: 1; }
	62%  { transform: translate(0, 0) scale(.3); opacity: 1; }
	70%, 100% { transform: translate(0, 0) scale(0); opacity: 0; }
}
.fet-ld-a__logo { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
	animation: fet-ld-a-logo 2.6s cubic-bezier(.3, 1.4, .5, 1) infinite; }
@keyframes fet-ld-a-logo {
	0%, 58% { transform: scale(0) rotate(-12deg); opacity: 0; }
	70%     { transform: scale(1.12) rotate(0); opacity: 1; }
	78%, 92% { transform: scale(1); opacity: 1; }
	100%    { transform: scale(.8); opacity: 0; }
}

/* ---- B : billet qui se dessine ---- */
.fet-ld-b { width: 150px; height: 96px; overflow: visible; }
.fet-ld-b__outline { fill: none; stroke: #fff; stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 440; stroke-dashoffset: 440;
	animation: fet-ld-b-draw 2.8s ease-in-out infinite; }
@keyframes fet-ld-b-draw { 0% { stroke-dashoffset: 440; opacity: 1; } 40%, 88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.fet-ld-b__fill { fill: var(--fet-accent, #e8541d); opacity: 0; animation: fet-ld-b-fill 2.8s ease infinite; }
@keyframes fet-ld-b-fill { 0%, 38% { opacity: 0; } 48%, 88% { opacity: 1; } 100% { opacity: 0; } }
.fet-ld-b__perf { stroke: #fff; stroke-width: 2.5; stroke-dasharray: 4 5; opacity: 0; animation: fet-ld-b-perf 2.8s ease infinite; }
@keyframes fet-ld-b-perf { 0%, 44% { opacity: 0; } 52%, 88% { opacity: .9; } 100% { opacity: 0; } }
.fet-ld-b__qr rect { fill: #fff; opacity: 0; transform-origin: center; transform-box: fill-box; animation: fet-ld-b-pop 2.8s ease infinite; }
@keyframes fet-ld-b-pop { 0%, 50% { opacity: 0; transform: scale(0); } 58%, 88% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.fet-ld-b__check { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40;
	animation: fet-ld-b-check 2.8s ease infinite; }
@keyframes fet-ld-b-check { 0%, 64% { stroke-dashoffset: 40; } 76%, 88% { stroke-dashoffset: 0; opacity: 1; } 100% { opacity: 0; } }

/* ---- C : QR scanné ---- */
.fet-ld-c { position: relative; width: 112px; height: 112px; border-radius: 18px; background: #fff; padding: 14px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .25); overflow: hidden; }
.fet-ld-c__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; width: 100%; height: 100%; }
.fet-ld-c__grid i { border-radius: 3px; background: var(--fet-ink, #14121a); opacity: 0; animation: fet-ld-c-in 2.6s ease infinite; animation-delay: var(--d); }
.fet-ld-c__grid i.is-off { background: transparent; animation: none; }
@keyframes fet-ld-c-in { 0% { opacity: 0; transform: scale(.3); } 18%, 72% { opacity: 1; transform: scale(1); } 85%, 100% { opacity: 0; } }
.fet-ld-c__scan { position: absolute; left: 8px; right: 8px; top: 10px; height: 3px; border-radius: 3px; background: var(--fet-accent, #e8541d);
	box-shadow: 0 0 14px 3px rgba(232, 84, 29, .7); animation: fet-ld-c-scan 2.6s ease-in-out infinite; }
@keyframes fet-ld-c-scan { 0%, 20% { top: 10px; opacity: 0; } 25% { opacity: 1; } 55% { top: calc(100% - 13px); opacity: 1; } 62%, 100% { top: calc(100% - 13px); opacity: 0; } }
.fet-ld-c__ok { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 18px;
	background: rgba(29, 143, 69, .92); opacity: 0; animation: fet-ld-c-ok 2.6s ease infinite; }
.fet-ld-c__ok svg { width: 46px; height: 46px; }
.fet-ld-c__ok path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40;
	animation: fet-ld-c-okpath 2.6s ease infinite; }
@keyframes fet-ld-c-ok { 0%, 60% { opacity: 0; transform: scale(.9); } 66%, 86% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes fet-ld-c-okpath { 0%, 64% { stroke-dashoffset: 40; } 76%, 100% { stroke-dashoffset: 0; } }

/* Animations désactivées dans le téléphone : état final directement, sans mouvement. */
@media (prefers-reduced-motion: reduce) {
	.fet-ld { transition: none; }
	.fet-ld-a__dot { display: none; }
	.fet-ld-a__logo { animation: none; opacity: 1; transform: none; }
	.fet-ld-b__outline, .fet-ld-b__fill, .fet-ld-b__perf, .fet-ld-b__qr rect, .fet-ld-b__check { animation: none; }
	.fet-ld-b__outline, .fet-ld-b__check { stroke-dashoffset: 0; }
	.fet-ld-b__fill, .fet-ld-b__qr rect { opacity: 1; transform: none; }
	.fet-ld-b__perf { opacity: .9; }
	.fet-ld-c__grid i { animation: none; opacity: 1; transform: none; }
	.fet-ld-c__scan, .fet-ld-c__ok { display: none; }
}

/* Icônes SVG posées dans une ligne de texte par le scanner (résultat, statistiques, badges) */
.fet-scanner__result svg, .fet-scanner__stats svg, #fet-queue-badge svg, #fet-download-gate svg, .fet-scanner__result .fet-ic { vertical-align: -0.28em; }
.fet-scanner__result svg { margin-right: 4px; }

/* =====================================================================
   Installer l'application (assets/js/install.js) : bouton permanent + feuille de guide
   ===================================================================== */
[data-fet-install][hidden], html.fet-app-installed [data-fet-install] { display: none !important; }

.fet-ins { position: fixed; inset: 0; z-index: 100001; display: flex; align-items: flex-end; justify-content: center; }
.fet-ins__backdrop { position: absolute; inset: 0; background: rgba(20, 18, 26, .55); opacity: 0; transition: opacity .22s ease; }
.fet-ins.is-visible .fet-ins__backdrop { opacity: 1; }
.fet-ins__sheet { position: relative; width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; outline: none;
	background: #fff; color: var(--fet-ink, #14121a); border-radius: 22px 22px 0 0;
	padding: 10px 18px 20px; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	box-shadow: 0 -10px 30px rgba(0, 0, 0, .2); transform: translateY(100%); transition: transform .25s ease; }
.fet-ins.is-visible .fet-ins__sheet { transform: translateY(0); }
.fet-ins__grip { width: 38px; height: 4px; border-radius: 4px; background: #ddd7cd; margin: 0 auto 14px; }
.fet-ins__x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: none; cursor: pointer;
	background: #f1ede5; color: var(--fet-ink, #14121a); font-size: 13px; display: flex; align-items: center; justify-content: center; }
.fet-ins__logo { display: block; width: 44px; height: 44px; margin-bottom: 10px; }
.fet-ins__logo svg { width: 100%; height: 100%; display: block; }
.fet-ins__sheet h3 { font-size: 15px; margin: 0 40px 6px 0; line-height: 1.3; }
.fet-ins__sub { font-size: 13px; color: #6b6459; margin: 0 0 12px; line-height: 1.5; }
.fet-ins__note { font-size: 12.5px; color: #6b6459; margin: 10px 0 0; line-height: 1.5; }
.fet-ins__benefit { display: flex; gap: 9px; align-items: center; font-size: 13px; margin-bottom: 8px; }
.fet-ins__benefit svg { color: #1d8f45; }
.fet-ins__step { display: flex; gap: 11px; align-items: flex-start; padding: 10px 12px; border: 1px solid #e3ded6; border-radius: 12px; margin-bottom: 8px; background: #fff; }
.fet-ins__n { width: 22px; height: 22px; border-radius: 50%; background: var(--fet-accent, #e8541d); color: #fff; font-size: 11.5px; font-weight: 800;
	display: flex; align-items: center; justify-content: center; margin-top: 1px; flex-shrink: 0; }
.fet-ins__st { flex: 1; font-size: 12.5px; line-height: 1.4; color: #6b6459; }
.fet-ins__st b { display: block; font-size: 13px; color: var(--fet-ink, #14121a); }
.fet-ins__sic { width: 34px; height: 34px; border-radius: 9px; background: #f4f0e8; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--fet-ink, #14121a); }
.fet-ins .fet-btn--big { font-size: 15px; padding: 12px 20px; margin-top: 12px; }
.fet-ins__later { display: block; width: 100%; background: none; border: none; color: #6b6459; font-weight: 600; font-size: 13.5px; padding: 10px; margin-top: 2px; cursor: pointer; }
.fet-ins__url { width: 100%; margin-top: 10px; border: 1px solid #e3ded6; border-radius: 9px; padding: 10px 12px; font-size: 12.5px; }
html.fet-ins-open { overflow: hidden; }

/* Ordinateur : boîte centrée plutôt que feuille collée au bas de l'écran */
@media (min-width: 700px) {
	.fet-ins { align-items: center; }
	.fet-ins__sheet { border-radius: 22px; padding-bottom: 22px; max-height: 86vh; transform: translateY(24px); opacity: 0; transition: transform .25s ease, opacity .2s ease; }
	.fet-ins.is-visible .fet-ins__sheet { transform: translateY(0); opacity: 1; }
	.fet-ins__grip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.fet-ins__backdrop, .fet-ins__sheet { transition: none; }
}

/* =====================================================================
   Conventions promoteur et preuve d'engagement (class-fet-agreements-ui.php)
   ===================================================================== */
.fet-agr-block[hidden] { display: none !important; }
.fet-agr-block { margin: 14px 0 6px; }
.fet-agr-block h3 { font-size: 14px; margin: 0 0 8px; }
.fet-agr-key { border: 1px solid var(--fet-line, #e3ded6); border-radius: 12px; padding: 12px; background: var(--fet-paper, #faf8f4); margin: 10px 0 12px; }
.fet-agr-key > strong { display: block; font-size: 13px; margin-bottom: 8px; }
.fet-agr-key__i { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; margin-bottom: 8px; line-height: 1.45; }
.fet-agr-key__i:last-child { margin-bottom: 0; }
.fet-agr-key__i svg { color: var(--fet-accent, #e8541d); margin-top: 2px; }
.fet-agr-check, .fet-form .fet-agr-check { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; font-weight: 400; margin: 12px 0; line-height: 1.45; }
.fet-agr-check input[type="checkbox"], .fet-form .fet-agr-check input[type="checkbox"] { width: 18px; height: 18px; padding: 0; margin: 2px 0 0; flex-shrink: 0; }
.fet-agr-check a { color: var(--fet-accent, #e8541d); font-weight: 700; text-decoration: underline; }

/* Fenêtre d'acceptation : s'impose tant que le texte n'est pas accepté. Feuille collée en bas sur mobile, boîte centrée sur ordinateur. */
.fet-agr-overlay { position: fixed; inset: 0; z-index: 99990; background: rgba(20, 18, 26, .55); display: flex; align-items: flex-end; justify-content: center; overflow-y: auto; }
.fet-agr-overlay__sheet { background: #fff; width: 100%; max-width: 520px; border-radius: 22px 22px 0 0; padding: 20px 18px 18px; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); max-height: 92vh; overflow-y: auto; box-shadow: 0 -10px 30px rgba(0, 0, 0, .2); }
.fet-agr-overlay__sheet h3 { font-size: 15px; margin: 0 0 6px; line-height: 1.3; }
.fet-agr-change { border-left: 3px solid var(--fet-accent, #e8541d); background: var(--fet-paper, #faf8f4); padding: 9px 11px; font-size: 13px; margin-bottom: 8px; border-radius: 0 8px 8px 0; }
.fet-agr-change strong { display: block; }
.fet-agr-change span { color: #6b6459; }
@media (min-width: 700px) {
	.fet-agr-overlay { align-items: center; }
	.fet-agr-overlay__sheet { border-radius: 22px; }
}

/* Ma convention */
.fet-agr-ok { display: flex; gap: 10px; align-items: center; background: #eaf7ef; border: 1px solid #bfe6cc; border-radius: 12px; padding: 12px; margin: 10px 0 12px; color: #146a33; }
.fet-agr-ok b { display: block; font-size: 14px; }
.fet-agr-ok span { font-size: 12.5px; color: #2f6b45; }
.fet-agr-ok.is-warn { background: #fdf3df; border-color: #efd9a4; color: #8a5f10; }
.fet-agr-ok.is-warn span { color: #8a5f10; }
.fet-agr-proof { border: 1px solid var(--fet-line, #e3ded6); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.fet-agr-proof__r { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-bottom: 1px solid #eee9df; font-size: 13px; }
.fet-agr-proof__r:last-child { border-bottom: none; }
.fet-agr-proof__r span { color: #6b6459; }
.fet-agr-proof__r b { text-align: right; font-weight: 700; overflow-wrap: anywhere; }
.fet-agr-proof code { font-size: 12px; }
.fet-agr-warn { color: #a8741a; }
.fet-agr-actions { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.fet-agr-actions .fet-btn { justify-content: center; }
@media (min-width: 700px) { .fet-agr-actions { flex-direction: row; flex-wrap: wrap; } }
.fet-agr-verify { display: flex; gap: 12px; align-items: center; margin-top: 12px; border: 1px dashed var(--fet-line, #e3ded6); border-radius: 12px; padding: 12px; }
.fet-agr-verify p { margin: 0; font-size: 12.5px; color: #6b6459; }
.fet-agr-verify b { color: var(--fet-ink, #14121a); }
.fet-agr-qr { flex-shrink: 0; background: #fff; padding: 4px; border: 1px solid var(--fet-line, #e3ded6); border-radius: 8px; line-height: 0; }
.fet-agr-qr img, .fet-agr-qr canvas { display: block; max-width: 100%; height: auto; }
.fet-agr-text h3 { font-size: 14px; margin: 16px 0 4px; }
.fet-agr-text p { font-size: 13.5px; line-height: 1.6; margin: 0 0 8px; }

/* Confirmation par code */
.fet-agr-step { display: flex; gap: 11px; align-items: flex-start; border: 1px solid var(--fet-line, #e3ded6); border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.fet-agr-step__n { width: 24px; height: 24px; border-radius: 50%; background: var(--fet-accent, #e8541d); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fet-agr-step.is-done .fet-agr-step__n { background: #1d8f45; }
.fet-agr-step.is-current { border-color: var(--fet-accent, #e8541d); }
.fet-agr-step b { display: block; font-size: 13.5px; }
.fet-agr-step small { display: block; color: #6b6459; font-size: 12.5px; margin-top: 2px; line-height: 1.45; }
.fet-agr-step > div { flex: 1; min-width: 0; }
.fet-agr-codeform { display: block; margin: 10px 0 8px; }
.fet-agr-codeform .fet-btn { display: flex; width: 100%; box-sizing: border-box; justify-content: center; margin-top: 8px; }
.fet-agr-codeform input[type="text"] { width: 100%; box-sizing: border-box; display: block; min-width: 0; font-size: 18px; letter-spacing: .25em; text-align: center; padding: 10px; border: 1.5px solid var(--fet-line, #e3ded6); border-radius: 10px; }
.fet-agr-verifypage { max-width: 520px; margin: 0 auto; }

/* Document imprimable : papier blanc, police à empattement, rien d'autre que la feuille à l'impression */
.fet-doc-sheet { background: #fff; color: #111; border: 1px solid #cfc9bd; box-shadow: 0 6px 20px rgba(0, 0, 0, .1); padding: 22px 18px; margin: 14px 0 24px;
	font-family: Georgia, 'Times New Roman', serif; font-size: 13px; line-height: 1.55; }
.fet-doc-sheet h2 { font-family: Georgia, serif; font-size: 16px; text-align: center; letter-spacing: .06em; margin: 0 0 2px; }
.fet-doc-sheet__sub { text-align: center; font-size: 12px; color: #555; margin: 0 0 14px; }
.fet-doc-sheet__parties { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 12px; }
.fet-doc-sheet__parties > div { border: 1px solid #bbb; padding: 10px; font-size: 12.5px; }
.fet-doc-sheet .fet-agr-key { background: #fff; border-color: #bbb; border-radius: 0; }
.fet-doc-sheet .fet-agr-key__i svg { color: #111; }
.fet-doc-sheet .fet-agr-text h3 { font-family: Georgia, serif; font-size: 13px; }
.fet-doc-sheet .fet-agr-text p { font-size: 12.5px; }
.fet-doc-sheet__stamp { border: 1.5px solid #14121a; padding: 10px; display: flex; gap: 12px; align-items: center; margin-top: 14px; font-size: 11.5px; line-height: 1.45; overflow-wrap: anywhere; }
.fet-doc-sheet__sign { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.fet-doc-sheet__sign > div { border: 1px solid #999; min-height: 84px; padding: 6px 8px; font-size: 11.5px; color: #555; }
.fet-agr-blank { display: inline-block; min-width: 110px; border-bottom: 1px solid #777; }
.fet-agr-noprint { margin-bottom: 8px; }
@media (min-width: 700px) { .fet-doc-sheet { padding: 32px 36px; } .fet-doc-sheet__parties { grid-template-columns: 1fr 1fr; } }
@media print {
	body * { visibility: hidden !important; }
	.fet-doc-sheet, .fet-doc-sheet * { visibility: visible !important; }
	.fet-doc-sheet { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; border: none; margin: 0; padding: 0; }
	.fet-agr-noprint { display: none !important; }
	.fet-doc-sheet__parties { grid-template-columns: 1fr 1fr; }
}

/* Historique des preuves : une ligne = date + référence, et un bouton PDF ; la référence ne se coupe jamais en deux */
.fet-agr-hist { border: 1px solid var(--fet-line, #e3ded6); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.fet-agr-hist__r { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #eee9df; }
.fet-agr-hist__r:last-child { border-bottom: none; }
.fet-agr-hist__r b { display: block; font-size: 13px; }
.fet-agr-hist__r small { display: block; color: #6b6459; font-size: 12px; margin-top: 2px; }
.fet-agr-hist__r code { white-space: nowrap; }

/* Les composants récents (installation, conventions, chargement) comptent bordures et rembourrage dans leur largeur :
   le thème n'impose pas border-box partout, et un lien en largeur 100 % débordait de sa boîte. */
.fet-ins, .fet-ins *, .fet-agr-overlay, .fet-agr-overlay *, .fet-agr-block, .fet-agr-block *,
.fet-doc-sheet, .fet-doc-sheet *, .fet-agr-verifypage *, .fet-agr-step, .fet-agr-step *, .fet-agr-proof, .fet-agr-hist,
.fet-agr-verify, .fet-agr-ok, .fet-agr-key, .fet-ld, .fet-ld-inline { box-sizing: border-box; }

/* Compteurs d'envois (Marketing du promoteur) : combien d'emails il reste aujourd'hui, et l'avancement d'un envoi étalé */
.fet-mailq { border: 1px solid var(--fet-line, #e3ded6); border-radius: 12px; padding: 12px; background: var(--fet-paper, #faf8f4); margin: 10px 0 12px; box-sizing: border-box; }
.fet-mailq__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; }
.fet-mailq__top b { font-size: 14px; text-align: right; }
.fet-mailq__bar { height: 8px; border-radius: 99px; background: #e6e1d8; margin: 8px 0 6px; overflow: hidden; }
.fet-mailq__bar i { display: block; height: 100%; background: #1d8f45; border-radius: 99px; }
.fet-mailq__bar.is-warn i { background: var(--fet-accent, #e8541d); }
.fet-mailq small { display: block; color: #6b6459; font-size: 12px; line-height: 1.45; }

/* =====================================================================
   Suivi des départs, choix de siège et immatriculation (class-fet-trajet-seats.php)
   ===================================================================== */

/* Compteurs d'un départ (liste du transporteur) */
.fet-dstat { margin-top: 10px; max-width: 460px; box-sizing: border-box; }
.fet-dstat__live { text-align: right; margin-bottom: -6px; }
.fet-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #6b6459; white-space: nowrap; }
.fet-live i { width: 8px; height: 8px; border-radius: 50%; background: #1d8f45; display: inline-block; animation: fet-live-pulse 1.8s ease-out infinite; }
@keyframes fet-live-pulse { 0% { box-shadow: 0 0 0 0 rgba(29, 143, 69, .5); } 100% { box-shadow: 0 0 0 8px rgba(29, 143, 69, 0); } }
.fet-dstat__cap { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 5px; font-size: 13px; }
.fet-dstat__cap b { font-size: 17px; }
.fet-dstat__bar { height: 10px; border-radius: 99px; background: #e6e1d8; overflow: hidden; display: flex; }
.fet-dstat__bar i { display: block; height: 100%; }
.fet-dstat__bar .is-sold { background: #1d8f45; }
.fet-dstat__bar .is-held { background: var(--fet-accent, #e8541d); }
.fet-dstat__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.fet-dstat__chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; border-radius: 99px; padding: 4px 10px; }
.fet-dstat__chip.is-held { background: #fde9e0; color: #b03d10; }
.fet-dstat__chip.is-free { background: #eaf7ef; color: #146a33; }
.fet-dstat__chip.is-warn { background: #fdf3df; color: #a8741a; }
.fet-dstat__cls { margin-top: 10px; border-top: 1px solid #eee9df; padding-top: 8px; font-size: 12.5px; }
.fet-dstat__cls div { display: flex; justify-content: space-between; padding: 3px 0; color: #6b6459; }
.fet-dstat__cls b { color: var(--fet-ink, #14121a); }
.fet-dstat__warn { display: flex; gap: 8px; align-items: flex-start; background: #fdf3df; border: 1px solid #efd9a4; color: #8a5f10; border-radius: 10px; padding: 8px 10px; font-size: 12px; margin-top: 10px; line-height: 1.45; }
.fet-dstat__plate { margin-top: 12px; }
.fet-dstat__plate label { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; margin: 0 0 6px; }
.fet-dstat__plate label small { font-weight: 500; color: #6b6459; }
.fet-dstat__plate-row { display: block; }
.fet-dstat__plate-row input { display: block; width: 100%; min-width: 0; box-sizing: border-box; border: 1.5px solid var(--fet-line, #e3ded6); border-radius: 10px; padding: 10px 12px; margin: 0 0 8px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fet-dstat__plate-row .fet-btn { display: flex; width: 100%; box-sizing: border-box; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .fet-live i { animation: none; } }

/* Immatriculation sur la carte d'embarquement */
.fet-boarding__vehicle { margin: 0 20px 14px; border-radius: 12px; padding: 10px 12px; display: flex; gap: 12px; align-items: center; background: var(--fet-paper, #faf8f4); border: 1px solid var(--fet-line, #e3ded6); box-sizing: border-box; }
.fet-boarding__vehicle > svg { color: var(--fet-accent, #e8541d); }
.fet-boarding__vehicle.is-tbc { border-style: dashed; }
.fet-boarding__plate { display: inline-block; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 19px; font-weight: 800; letter-spacing: .12em; background: #fff; color: #14121a; border: 2px solid #14121a; border-radius: 7px; padding: 3px 12px; margin-top: 2px; overflow-wrap: anywhere; }
.fet-boarding__tbc { display: block; font-size: 13px; font-weight: 600; color: var(--fet-grey, #6b6459); }
.fet-boarding__choose { display: inline-block; width: auto; max-width: 100%; box-sizing: border-box; white-space: nowrap; background: var(--fet-accent, #e8541d); color: #fff; border: none; border-radius: 99px; padding: 3px 10px; font-size: 11.5px; font-weight: 800; cursor: pointer; }

/* Fenêtre de choix d'un autre siège (page du billet) : feuille en bas sur mobile, boîte centrée sur ordinateur */
.fet-seatmodal { position: fixed; inset: 0; z-index: 99991; background: rgba(20, 18, 26, .55); display: flex; align-items: flex-end; justify-content: center; overflow-y: auto; }
.fet-seatmodal[hidden] { display: none !important; }
.fet-seatmodal__sheet { background: #fff; width: 100%; max-width: 520px; border-radius: 22px 22px 0 0; padding: 20px 18px 18px; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); max-height: 92vh; overflow-y: auto; box-sizing: border-box; box-shadow: 0 -10px 30px rgba(0, 0, 0, .2); }
.fet-seatmodal__sheet h3 { font-size: 15px; margin: 0 0 6px; line-height: 1.3; }
.fet-seatmodal__sheet p { font-size: 13px; color: #6b6459; margin: 0 0 10px; line-height: 1.5; }
.fet-seatmodal__sheet .fet-btn--big { width: 100%; justify-content: center; margin-top: 10px; font-size: 15px; padding: 12px 20px; }
.fet-seatmodal__later { display: block; width: 100%; background: none; border: none; color: #6b6459; font-weight: 600; font-size: 13.5px; padding: 10px; margin-top: 4px; cursor: pointer; }
.fet-seatpick .fet-seatmap-buyer { margin: 10px 0; }
html.fet-seatmodal-open { overflow: hidden; }
@media (min-width: 700px) {
	.fet-seatmodal { align-items: center; }
	.fet-seatmodal__sheet { border-radius: 22px; }
}

/* Bouton de confirmation d'un siège : éteint tant qu'aucun siège n'est choisi */
.fet-seatpick__go:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; filter: grayscale(.3); }
.fet-trajets-search__title { font-size: 20px; margin: 0 0 14px; letter-spacing: -.02em; }
