/*
 * Charte graphique de l'intranet — alignée sur le site public
 * transports-france-alliance.com (bleu marine #003777 + ambre #f6a000,
 * police Plus Jakarta Sans, coins arrondis).
 *
 * Ce fichier stylise à la fois notre mise en page (app-header/nav/main, cartes,
 * formulaires) ET les classes Bootstrap utilisées par les gabarits de
 * django-two-factor-auth (.btn, .btn-primary/secondary/link, tables de
 * formulaire) afin que les pages 2FA restent cohérentes sans charger Bootstrap.
 */

:root {
  --tfa-primary: #003777;
  --tfa-primary-600: #00305f;
  --tfa-primary-700: #00264f;
  --tfa-secondary: #f6a000;
  --tfa-secondary-600: #dd8f00;
  --tfa-bg: #eef1f6;
  --tfa-surface: #ffffff;
  --tfa-text: #212529;
  --tfa-muted: #6b7280;
  --tfa-border: #e3e8ef;
  --tfa-radius: 14px;
  --tfa-shadow: 0 1px 3px rgba(16, 35, 60, .08), 0 8px 24px rgba(16, 35, 60, .05);
  --tfa-font: "Plus Jakarta Sans", system-ui, "Segoe UI", Roboto, sans-serif;
  /* Largeur max de la zone de contenu (.app-main). Auto-adaptatif : `96vw`
     remplit l'écran disponible (le contenu suit déjà la taille via flex:1),
     et le plafond `2400px` borne les écrans ultra-larges (32"+) pour garder
     des lignes lisibles. Pour remplir sans aucune limite : mettre `none` ;
     pour un rendu plus étroit : baisser le plafond (ex. min(1800px, 96vw)). */
  --app-width: min(2400px, 96vw);
}

* { box-sizing: border-box; }

/* Respecter l'attribut [hidden] même sur les éléments qu'on stylise plus bas
   (ex. le <input type="submit" hidden> des gabarits django-two-factor-auth). */
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: var(--tfa-font);
  color: var(--tfa-text);
  background: var(--tfa-bg);
  font-size: 15px;
  line-height: 1.55;
}

a { color: var(--tfa-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --------------------------------------------------------------- En-tête --- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 24px;
  background: var(--tfa-primary);
  color: #fff;
  border-bottom: 3px solid var(--tfa-secondary);
}
.app-header a { color: #fff; }
.app-header a:hover { text-decoration: none; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--tfa-secondary); color: var(--tfa-primary);
  font-weight: 800; font-size: .82rem; letter-spacing: .02em;
}
.brand .sub { opacity: .7; font-weight: 600; }
.app-logo { height: 30px; width: auto; display: block; }
.app-logo-sub {
  color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .92rem;
  padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .28);
}
.app-header .user { display: flex; align-items: center; gap: 14px; font-size: .9rem; }
.app-header .user .sep { opacity: .4; }
/* Menu utilisateur (clic sur le nom → panneau déroulant), sans JavaScript. */
.user-menu { position: relative; }
.user-menu summary {
  list-style: none; cursor: pointer; color: #fff; font-weight: 500;
  padding: .3rem .2rem; user-select: none;
}
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu summary .caret { font-size: .7rem; opacity: .7; }
.user-menu[open] summary .caret { transform: rotate(180deg); display: inline-block; }
.user-menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 50;
  min-width: 200px; padding: 6px;
  background: #fff; border: 1px solid var(--tfa-border); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(16, 35, 60, .18);
}
.user-menu-panel a, .user-menu-panel .item-menu {
  display: block; width: 100%; text-align: left;
  padding: .55rem .8rem; border-radius: 8px;
  color: var(--tfa-text); font-size: .9rem; font-weight: 500;
  background: transparent; border: none; cursor: pointer;
}
.user-menu-panel a:hover, .user-menu-panel .item-menu:hover {
  background: var(--tfa-bg); color: var(--tfa-primary); text-decoration: none;
}
.user-menu-panel hr { border: none; border-top: 1px solid var(--tfa-border); margin: 6px 4px; }

/* --------------------------------------------------------------- Layout ---- */
.app-layout { display: flex; min-height: calc(100vh - 60px); }

.app-nav {
  width: 248px; flex-shrink: 0;
  background: var(--tfa-surface);
  border-right: 1px solid var(--tfa-border);
  padding: 16px 12px;
}
.nav-title {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--tfa-muted); padding: 8px 12px; font-weight: 700;
}
.app-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: .6rem .85rem; margin-bottom: 2px;
  border-radius: 10px; color: var(--tfa-text); font-weight: 500;
  border-left: 3px solid transparent;
}
.app-nav a:hover { background: #f4f6fa; text-decoration: none; border-left-color: var(--tfa-secondary); }
.app-nav a.active { background: rgba(0, 55, 119, .07); color: var(--tfa-primary); border-left-color: var(--tfa-primary); }
.nav-empty { padding: .6rem .85rem; color: var(--tfa-muted); font-style: italic; font-size: .9rem; }
/* Emoji du module dans le menu : largeur fixe pour aligner les libellés. */
.app-nav .nav-icone { flex: 0 0 1.3em; text-align: center; font-size: 1rem; line-height: 1; }

.app-main { flex: 1; padding: 28px 32px; max-width: var(--app-width); min-width: 0; }
.app-main h1 { font-weight: 800; font-size: 1.6rem; margin: 0 0 .35rem; color: var(--tfa-primary); }
.page-sub { color: var(--tfa-muted); margin-top: 0; }

/* --------------------------------------------------------------- Cartes ---- */
.card {
  background: var(--tfa-surface); border: 1px solid var(--tfa-border);
  border-radius: var(--tfa-radius); box-shadow: var(--tfa-shadow); padding: 22px 24px;
}
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px; margin-top: 22px;
}
.module-card {
  position: relative; display: block; overflow: hidden;
  background: var(--tfa-surface); border: 1px solid var(--tfa-border);
  border-radius: var(--tfa-radius); box-shadow: var(--tfa-shadow);
  padding: 20px; color: inherit;
  transition: transform .12s ease, box-shadow .12s ease;
}
.module-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--tfa-secondary);
}
.module-card:hover {
  transform: translateY(-4px); box-shadow: 0 12px 26px rgba(16, 35, 60, .18);
  border-color: var(--tfa-secondary); text-decoration: none;
}
.module-card .m-title { font-weight: 700; color: var(--tfa-primary); font-size: 1.05rem; }
.module-card .m-meta { color: var(--tfa-muted); font-size: .82rem; margin-top: .5rem; }

/* Carte de module avec visuel : l'image (ou l'emoji) occupe le haut de la carte.
   Partagé par le tableau de bord et les écrans de gestion. */
.module-card.avec-image { padding: 0; }
.module-card .m-visuel {
  display: flex; align-items: center; justify-content: center;
  height: 130px; background: #f4f6fa; overflow: hidden;
}
.module-card .m-visuel img { width: 100%; height: 100%; object-fit: cover; }
.module-card .m-visuel .m-emoji {
  font-size: 3.2rem; line-height: 1; transition: transform .18s ease;
}
.module-card:hover .m-visuel .m-emoji { transform: scale(1.12); }
.module-card .m-corps { padding: 16px 18px; }
.module-card .m-desc { color: var(--tfa-muted); font-size: .84rem; margin: .35rem 0 0; }

/* Vignette produit du catalogue : survol nettement perceptible. */
.produit-card {
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.produit-card:hover {
  transform: translateY(-4px); box-shadow: 0 14px 30px rgba(16, 35, 60, .20);
  border-color: var(--tfa-secondary);
}
.produit-card img { transition: transform .2s ease; }
.produit-card:hover img { transform: scale(1.05); }
.badge {
  display: inline-block; padding: .15rem .55rem; border-radius: 50rem;
  font-size: .72rem; font-weight: 600; background: rgba(0, 55, 119, .08); color: var(--tfa-primary);
}

/* -------------------------------------------------------------- Boutons ---- */
/* Base : `.btn` + les boutons submit "nus" (sans classe .btn). Le `:not(.btn)`
   évite que ce sélecteur (spécificité élément+attribut) ne l'emporte sur les
   variantes .btn-ghost/.btn-secondary/.btn-danger/.btn-sm des boutons submit.
   `:not(.borne-bouton)` exclut les écrans de la borne PDA, qui ont leur
   propre système de boutons (borne.css) sans rapport avec celui-ci. */
.btn, button[type="submit"]:not(.btn):not(.borne-bouton), input[type="submit"]:not(.btn):not(.borne-bouton) {
  display: inline-block; font-family: inherit; font-weight: 600; font-size: .92rem;
  padding: .6rem 1.3rem; border-radius: 50rem; border: 1px solid transparent;
  cursor: pointer; background: var(--tfa-primary); color: #fff; line-height: 1.2;
  transition: background .12s ease;
}
.btn:hover, button[type="submit"]:not(.btn):not(.borne-bouton):hover, input[type="submit"]:not(.btn):not(.borne-bouton):hover {
  background: var(--tfa-primary-700); color: #fff; text-decoration: none;
}
.btn-primary { background: var(--tfa-primary); color: #fff; }
.btn-secondary { background: var(--tfa-secondary); color: var(--tfa-primary); }
.btn-secondary:hover { background: var(--tfa-secondary-600); color: var(--tfa-primary); }
.btn-link { background: transparent; color: var(--tfa-primary); padding: .6rem .9rem; }
.btn-link:hover { background: transparent; color: var(--tfa-primary); text-decoration: underline; }
.btn-primary-soft { background: rgba(0, 55, 119, .12); color: var(--tfa-primary); }
.btn-primary-soft:hover { background: rgba(0, 55, 119, .2); color: var(--tfa-primary); }
.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-block { display: block; width: 100%; }
.float-right { float: right; }
.mb-3 { margin-bottom: 1rem; }

/* --------------------------------------------------------- Menu déroulant -- */
.js-dropdown { position: relative; display: inline-block; }
.js-dropdown-btn::after {
  content: ""; display: inline-block; margin-left: .45em; vertical-align: middle;
  border-left: .32em solid transparent; border-right: .32em solid transparent;
  border-top: .38em solid #12202e; transition: transform .12s ease;
}
.js-dropdown.is-open .js-dropdown-btn::after { transform: rotate(180deg); }
.js-dropdown-menu {
  /* position: fixed (calée en JS sur le bouton) pour échapper aux conteneurs
     avec overflow: hidden (ex. .data-table, dont les coins arrondis en dépendent). */
  display: none; position: fixed; z-index: 400;
  min-width: 260px; background: #fff; border: 1px solid var(--tfa-border);
  border-radius: 10px; box-shadow: 0 8px 24px rgba(20, 30, 45, .14); padding: .35rem;
}
.js-dropdown.is-open .js-dropdown-menu { display: block; }
.js-dropdown-menu a {
  display: block; padding: .5rem .65rem; border-radius: 7px; font-size: .88rem;
  color: var(--tfa-text); white-space: nowrap;
}
.js-dropdown-menu a:hover { background: #f4f6fa; text-decoration: none; }

/* ------------------------------------------------------------ Formulaires -- */
form table { width: 100%; border-collapse: collapse; }
form th { text-align: left; font-weight: 600; padding: .45rem .6rem .45rem 0; vertical-align: top; }
form td { padding: .25rem 0 .7rem; }
input[type="text"], input[type="password"], input[type="email"],
input[type="number"], input[type="tel"], select, textarea {
  width: 100%; font-family: inherit; font-size: .95rem;
  padding: .55rem .7rem; border: 1px solid var(--tfa-border);
  border-radius: 10px; background: #fff; color: var(--tfa-text);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--tfa-primary);
  box-shadow: 0 0 0 3px rgba(0, 55, 119, .12);
}
label { font-weight: 600; }
.helptext, .form-text, ul.helptext { color: var(--tfa-muted); font-size: .82rem; }
ul.errorlist { margin: .3rem 0; padding-left: 1.1rem; color: #c0392b; font-size: .85rem; }

/* ------------------------------------------------- Authentification / 2FA -- */
.auth-wrap { display: flex; justify-content: center; padding: 48px 16px; }
.auth-card {
  width: 100%; max-width: 440px; background: var(--tfa-surface);
  border: 1px solid var(--tfa-border); border-radius: 18px;
  box-shadow: var(--tfa-shadow); padding: 34px 34px 30px;
}
.auth-card h1 { font-size: 1.4rem; color: var(--tfa-primary); margin-top: 0; }
.auth-card p { color: var(--tfa-muted); }

/* --- Mise en page plein écran des pages d'auth (login / 2FA) --------------- */
/* Mobile d'abord : sobre et centré (le panneau hero est masqué). */
.auth-body { margin: 0; min-height: 100vh; background: var(--tfa-bg); }
.auth-split { display: flex; min-height: 100vh; }
.auth-hero { display: none; }
.auth-panel {
  flex: 1 1 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 32px 20px;
  /* Fond du panneau de droite (emplacement image). Dégradé sobre en attendant
     le choix d'une image de fond ; remplacer par background-image le moment venu. */
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(0, 55, 119, .07), transparent 60%),
    radial-gradient(55% 55% at 0% 100%, rgba(246, 160, 0, .06), transparent 60%),
    var(--tfa-bg);
  background-size: cover; background-position: center;
}
.auth-panel-inner { width: 100%; max-width: 440px; }
.auth-panel-brand {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 800; color: var(--tfa-primary); font-size: 1.05rem;
  margin: 0 0 18px;
}

/* Tablette / PC : deux panneaux façon Grafana. */
@media (min-width: 900px) {
  .auth-hero {
    display: flex; flex-direction: column; justify-content: space-between;
    flex: 0 0 clamp(280px, 25%, 360px); padding: 40px 34px; color: #fff;
    position: relative; overflow: hidden;
    background:
      radial-gradient(55% 55% at 16% 18%, rgba(246, 160, 0, .30), transparent 60%),
      radial-gradient(45% 45% at 88% 86%, rgba(246, 160, 0, .14), transparent 60%),
      linear-gradient(135deg, #00305f 0%, #003777 48%, #001f3d 100%);
  }
  /* Fine trame décorative en surimpression. */
  .auth-hero::after {
    content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none;
    background-image: radial-gradient(#ffffff 1px, transparent 1.4px);
    background-size: 22px 22px;
  }
  .auth-hero > * { position: relative; z-index: 1; }
  .auth-panel {
    flex: 1 1 auto; padding: 40px;
    /* Image de fond (Desktop) + voile navy pour la lisibilité de la carte. */
    background:
      linear-gradient(rgba(0, 32, 64, .34), rgba(0, 32, 64, .5)),
      url("../img/bg-login.ed7a2d407e0c.jpg") center / cover no-repeat;
  }
  .auth-panel-brand { display: none; }
}

.auth-hero-top { display: flex; align-items: center; gap: 14px; }
.brand-mark-lg { width: 46px; height: 46px; border-radius: 13px; font-size: 1.1rem; }
.auth-hero-brand { font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; }
.auth-hero-main { max-width: 540px; }
.auth-hero-title { font-size: 1.4rem; font-weight: 800; line-height: 1.18; margin: 0 0 14px; color: #fff; }
.auth-hero-sub { font-size: .92rem; line-height: 1.5; color: rgba(255, 255, 255, .82); margin: 0 0 20px; }
.auth-hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.auth-hero-points li { position: relative; padding-left: 30px; color: rgba(255, 255, 255, .92); font-weight: 500; }
.auth-hero-points li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--tfa-secondary); color: var(--tfa-primary);
  font-size: .72rem; font-weight: 800;
}
.auth-hero-foot { font-size: .82rem; color: rgba(255, 255, 255, .58); }

/* Logo France Alliance (blanc) dans le hero + illustration camion en fond. */
.auth-hero-logo { height: 56px; width: auto; }
/* Photo du fourgon FA : petite carte calée en bas, juste au-dessus du copyright. */
.auth-hero-photo {
  width: 50%; max-width: 180px; height: auto; align-self: flex-start;
  margin-top: auto; margin-bottom: 14px; border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .35);
}
/* Logo couleur au-dessus du formulaire (visible surtout sur mobile). */
.auth-panel-brand { gap: 12px; }
.auth-panel-brand img { height: 44px; width: auto; }

/* ---------------------------------------------------------- Administration */
.admin-tabs {
  display: flex; flex-wrap: wrap; gap: 4px;
  border-bottom: 2px solid var(--tfa-border); margin: 4px 0 22px;
}
.admin-tabs a {
  padding: .55rem 1rem; color: var(--tfa-muted); font-weight: 600;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.admin-tabs a:hover { color: var(--tfa-primary); text-decoration: none; }
.admin-tabs a.active { color: var(--tfa-primary); border-bottom-color: var(--tfa-secondary); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .search input { min-width: 260px; }

.data-table { width: 100%; border-collapse: collapse; background: var(--tfa-surface); border: 1px solid var(--tfa-border); border-radius: var(--tfa-radius); overflow: hidden; }
.data-table th, .data-table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--tfa-border); font-size: .9rem; vertical-align: middle; }
.data-table thead th { background: #f7f9fc; color: var(--tfa-muted); text-transform: uppercase; font-size: .72rem; letter-spacing: .05em; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: #f9fbfd; }
.data-table .actions { text-align: right; white-space: nowrap; }

/* En-tête de colonne triable : petites flèches ▲▼ (voir partials/entete_tri.html). */
.th-tri { white-space: nowrap; }
.th-tri .tri-fleches { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: middle; }
.th-tri .tri-fleches a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 4px;
  font-size: .72rem; line-height: 1;
  color: var(--tfa-border, #b9c2d0); text-decoration: none;
}
.th-tri .tri-fleches a:hover { color: var(--tfa-primary); background: rgba(0, 55, 119, .1); }
.th-tri .tri-fleches a.on { color: var(--tfa-primary); }

.chip { display: inline-block; padding: .12rem .5rem; border-radius: 50rem; font-size: .74rem; font-weight: 600; }
.chip-on { background: #e4f5ec; color: #157347; }
.chip-off { background: #fdecea; color: #a1281f; }
.chip-muted { background: #eef1f6; color: var(--tfa-muted); }
.chip-role { background: rgba(0,55,119,.08); color: var(--tfa-primary); margin: 0 .15rem .15rem 0; }

.btn-sm { padding: .32rem .8rem; font-size: .82rem; }
.btn-ghost { background: transparent; color: var(--tfa-primary); border: 1px solid var(--tfa-border); }
.btn-ghost:hover { background: #f4f6fa; color: var(--tfa-primary); }
.btn-danger { background: #dc3545; color: #fff; }
.btn-danger:hover { background: #b52a37; color: #fff; }
/* Boutons « Annuler » : bleu pâle, pour se distinguer visuellement des
   actions de suppression (rouge) et de validation (bleu plein FAR). */
.btn-annuler { background: #dbe6fb; border: 1px solid #cddaf0; color: #0c447c; }
.btn-annuler:hover { background: #c7d8f6; color: #0c447c; }
.inline-form { display: inline; }

.form-card { max-width: 640px; }
.form-card form p { margin: 0 0 1rem; }
.form-card label { display: block; margin-bottom: .3rem; }
.form-card ul { list-style: none; padding: 0; margin: .2rem 0; }
.form-card ul li { margin-bottom: .2rem; }
.form-actions { display: flex; gap: 10px; align-items: center; margin-top: 1.2rem; }

.messages { margin-bottom: 18px; }
.alert-success { background: #e4f5ec; color: #157347; border: 1px solid #bfe6cf; }

.pager { display: flex; gap: 10px; align-items: center; margin-top: 16px; }
.muted { color: var(--tfa-muted); }
.help-inline { color: var(--tfa-muted); font-size: .82rem; margin-top: -.4rem; }

/* ---------------------------------------------------------------- Divers --- */
.alert { padding: .8rem 1rem; border-radius: 10px; margin-bottom: 1rem; font-size: .9rem; }
.alert-error, .alert-danger { background: #fdecea; color: #a1281f; border: 1px solid #f5c6cb; }
code { background: #eef1f6; padding: .1rem .35rem; border-radius: 6px; font-size: .85em; }

/* ------------------------------------------------- Sélecteur de date ------- */
/* Thème Flatpickr aligné sur la charte (navy / ambre). */
.flatpickr-calendar {
  border-radius: 12px; border: 1px solid var(--tfa-border);
  box-shadow: 0 12px 32px rgba(16, 35, 60, .16); font-family: inherit;
}
.flatpickr-calendar.arrowTop::before, .flatpickr-calendar.arrowTop::after { border-bottom-color: var(--tfa-primary); }
.flatpickr-months {
  background: var(--tfa-primary); border-radius: 12px 12px 0 0;
  padding: 6px 0 10px; border-bottom: 3px solid var(--tfa-secondary);
}
.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.numInputWrapper span.arrowUp::after { color: #fff; fill: #fff; }
.flatpickr-current-month input.cur-year { color: #fff; font-weight: 700; }
.flatpickr-current-month .flatpickr-monthDropdown-months { font-weight: 700; }
.flatpickr-current-month .flatpickr-monthDropdown-months option { color: #1f2937; }
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg { fill: #fff; }
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg { fill: var(--tfa-secondary); }
.flatpickr-weekdays { background: var(--tfa-primary); }
span.flatpickr-weekday { background: var(--tfa-primary); color: #cfe0f5; font-weight: 600; }
.flatpickr-day:hover { background: var(--tfa-bg); border-color: var(--tfa-bg); }
.flatpickr-day.today { border-color: var(--tfa-secondary); font-weight: 700; }
.flatpickr-day.today:hover { background: var(--tfa-secondary); border-color: var(--tfa-secondary); color: var(--tfa-primary); }
.flatpickr-day.selected, .flatpickr-day.selected:hover {
  background: var(--tfa-primary); border-color: var(--tfa-primary);
  color: #fff; font-weight: 700;
}
/* Champ de date compact (Flatpickr recopie la classe sur son input visible). */
input.js-date { width: auto; min-width: 8rem; max-width: 9.5rem; }
