/* Composants : logo personnalisé, messages, formulaires, page d'accueil, tuiles, comptes */

:root {
  /* Voile clair posé sur l'image de fond de l'accueil pour garder le texte lisible */
  --voile-accueil: rgb(251 252 254 / 0.62);
}

/* Logo envoyé par l'organisation : fond blanc pour rester lisible sur l'en-tête */
.marque-logo-perso {
  padding: 3px;
  object-fit: contain;
  background: var(--blanc);
}

.marque-nom {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.connexion-logo { object-fit: contain; }

/* Formulaires du paramétrage */
.formulaire {
  display: grid;
  gap: 1.75rem;
  max-width: 36rem;
}

.formulaire-large { max-width: 52rem; }

.champ {
  display: grid;
  gap: 0.375rem;
}

.champ label,
.champ-libelle { font-weight: 600; }

.champ input[type="text"],
.champ input[type="email"],
.champ input[type="password"] {
  font: inherit;
  padding: 0.625rem 0.75rem;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: 4px;
}

.champ input[type="text"]:focus-visible,
.champ input[type="email"]:focus-visible,
.champ input[type="password"]:focus-visible {
  outline-offset: 0;
  border-color: var(--encre);
}

.champ input[type="file"] {
  font: inherit;
  font-size: 0.9375rem;
}

.champ .case,
.couleur-tuile .case {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
}

.champ-aide {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  color: var(--texte-doux);
}

.champ-erreur {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--erreur-texte);
}

/* Aperçu du logo sur fond d'en-tête */
.apercu-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--craie);
  background: var(--tableau);
  border-radius: 8px;
}

/* Page d'accueil centrée et son fond */
.contenu-portail {
  padding: 3rem 1.5rem 4rem;
  background-image: none;
}

.contenu-portail.fond-accueil-couleur { background: var(--accueil-couleur); }

.contenu-portail.fond-accueil-image {
  background:
    linear-gradient(var(--voile-accueil), var(--voile-accueil)),
    var(--accueil-image) center / cover no-repeat var(--accueil-couleur);
}

.fond-accueil-couleur .portail-titre { color: var(--accueil-texte); }

.fond-accueil-couleur .portail-intro {
  color: color-mix(in srgb, var(--accueil-texte) 75%, transparent);
}

.portail {
  max-width: 72rem;
  margin: 0 auto;
}

.portail-entete {
  margin-bottom: 2.5rem;
  text-align: center;
}

.portail-intro { margin: 0.375rem 0 0; }

.vide-portail {
  max-width: 34rem;
  margin: 0 auto;
}

/* Tuiles : carrés centrés sur la page, titre seul ; taille, style et couleur réglables.
   Flex plutôt que grille : la dernière ligne, incomplète, reste elle aussi centrée. */
.tuiles {
  --taille-tuile: 9.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.tuiles > li { width: var(--taille-tuile); }

.tuiles-grande { --taille-tuile: 11.5rem; }

.tuiles-tres_grande { --taille-tuile: 13.5rem; }

.tuiles-apercu { justify-content: flex-start; }

.tuile {
  --tuile-couleur: var(--entete-fond, var(--tableau));
  --tuile-texte: var(--entete-texte, var(--craie));
  position: relative;
  justify-content: center;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 1.25rem 1rem;
  border-radius: 16px;
  box-shadow: var(--ombre-1);
  transition:
    border-color var(--duree) var(--courbe),
    box-shadow var(--duree) var(--courbe),
    transform var(--duree) var(--courbe),
    background-color var(--duree) var(--courbe);
}

/* Style « carte » : bande de couleur en haut du cadre */
.tuile::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: var(--tuile-couleur);
  transition: height var(--duree) var(--courbe);
}

/* Flèche discrète qui apparaît au survol, en bas de la tuile */
.tuile::after {
  position: absolute;
  bottom: 0.75rem;
  inset-inline-start: 50%;
  content: "\2192";
  font-size: 1.125rem;
  line-height: 1;
  color: var(--tuile-couleur);
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity var(--duree) var(--courbe), transform var(--duree) var(--courbe);
}

.tuile:hover {
  border-color: color-mix(in srgb, var(--tuile-couleur) 45%, var(--bordure));
  box-shadow: var(--ombre-3);
  transform: translateY(-4px);
}

.tuile:hover::before { height: 8px; }

.tuile:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.tuile:active {
  box-shadow: var(--ombre-1);
  transform: translateY(-1px) scale(0.97);
}

.tuile:focus-visible {
  outline: none;
  box-shadow: var(--ombre-2), 0 0 0 3px color-mix(in srgb, var(--tuile-couleur) 45%, transparent);
}

.tuile-nom {
  display: -webkit-box;
  overflow: hidden;
  font-size: calc(var(--taille-tuile) * 0.105);
  font-weight: 600;
  line-height: 1.3;
  color: var(--texte);
  hyphens: auto;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Icône éventuellement fournie par un module, au-dessus du titre */
/* Icône d'une tuile : dessin du module (SVG) affiché d'une seule couleur, celle du texte de
   la tuile (masque CSS), quel que soit le style des tuiles. */
.tuile-icone {
  width: calc(var(--taille-tuile) * 0.2);
  height: calc(var(--taille-tuile) * 0.2);
  flex: none;
  background: currentColor;
  mask: var(--icone) center / contain no-repeat;
  opacity: 0.85;
}

/* Style « tuile entièrement en couleur » */
.tuiles-pleine .tuile {
  background: var(--tuile-couleur);
  border-color: var(--tuile-couleur);
}

.tuiles-pleine .tuile::before { display: none; }

.tuiles-pleine .tuile::after { color: var(--tuile-texte); }

.tuiles-pleine .tuile-nom { color: var(--tuile-texte); }

.tuiles-pleine .tuile:hover {
  background: color-mix(in srgb, var(--tuile-couleur) 88%, #000000);
}

/* Aperçu du fond de l'accueil dans le paramétrage */
.apercu-accueil {
  display: grid;
  place-items: center;
  gap: 0.75rem;
  min-height: 10rem;
  padding: 1.25rem;
  background: var(--papier);
  border: 1px solid var(--bordure);
  border-radius: 8px;
}

.apercu-accueil-titre {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.apercu-accueil-tuiles {
  display: flex;
  gap: 0.5rem;
}

.apercu-accueil-tuiles span {
  width: 3rem;
  height: 3rem;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-top: 4px solid var(--entete-fond, var(--tableau));
  border-radius: 6px;
}

.apercu-accueil.fond-accueil-couleur { background: var(--accueil-couleur); }

.apercu-accueil.fond-accueil-couleur .apercu-accueil-titre { color: var(--accueil-texte); }

.apercu-accueil.fond-accueil-image {
  background:
    linear-gradient(var(--voile-accueil), var(--voile-accueil)),
    var(--accueil-image) center / cover no-repeat var(--accueil-couleur);
}

/* Tableau des tuiles dans le paramétrage */
.tableau-tuiles td { vertical-align: middle; }

.tuile-cellule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.mini-tuile {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background: var(--tuile-couleur);
  border-radius: 8px;
}

.couleur-tuile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tableau-tuiles input[type="color"] {
  width: 3rem;
  height: 2.25rem;
  padding: 0.125rem;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: 4px;
  cursor: pointer;
}

.champ-ordre {
  width: 5rem;
  font: inherit;
  padding: 0.5rem;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: 4px;
}

/* Gestion des utilisateurs */
.entete-section {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.entete-section .aide { margin-bottom: 0; }

.fil {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
}

.grille-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.valeur-fixe {
  margin: 0;
  padding: 0.625rem 0.75rem;
  background: var(--papier);
  border: 1px dashed var(--bordure);
  border-radius: 4px;
}

.badge-role {
  color: var(--encre);
  background: var(--seyes);
  border-color: var(--seyes-fort);
}

.badge-actif {
  color: #1F4D2E;
  background: #E6F2EA;
  border-color: #B9DCC5;
}

.badge-inactif {
  color: var(--erreur-texte);
  background: var(--erreur-fond);
}

/* Bouton présenté comme un lien (« Retirer », « Débloquer »), dans la colonne des actions */
.actions form {
  display: inline;
  margin: 0;
}

/* Liens et boutons de la colonne des actions : espacés */
.actions > * + * { margin-inline-start: 0.875rem; }

/* Pied de formulaire : bouton d'envoi, puis « Annuler » */
.actions-formulaire {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.lien-bouton {
  padding: 0;
  font: inherit;
  color: var(--encre);
  text-decoration: underline;
  background: none;
  border: 0;
  cursor: pointer;
}

.lien-bouton:hover { text-decoration-thickness: 2px; }

/* --- Effets du portail (avec kernel/shell/static/shell/js/portail.js) ------------- */

/* Bouton secondaire commun : cadre blanc, encre au survol */
.bouton.bouton-secondaire {
  color: var(--encre);
  background: var(--blanc);
  border: 1px solid var(--bordure);
}

.bouton.bouton-secondaire:hover {
  background: var(--papier);
  border-color: var(--encre);
}

/* Bouton danger : action lourde ou irréversible */
.bouton.bouton-danger { background: var(--erreur-texte); }

.bouton.bouton-danger:hover { background-color: #6E1818; }

/* Onde au clic : cercle qui grandit puis s'efface (créé par portail.js) */
.onde {
  position: absolute;
  pointer-events: none;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.22;
  transform: scale(0);
  animation: onde 520ms var(--courbe) forwards;
}

.tuile .onde { background: var(--tuile-couleur); }

.tuiles-pleine .tuile .onde { background: var(--tuile-texte); }

@keyframes onde {
  to {
    opacity: 0;
    transform: scale(1);
  }
}

/* Formulaire en cours d'envoi : roue à la place du texte */
.bouton.en-cours {
  color: transparent;
  pointer-events: none;
}

.bouton.en-cours::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 1.125rem;
  height: 1.125rem;
  margin: -0.5625rem 0 0 -0.5625rem;
  content: "";
  border: 2px solid rgb(255 255 255 / 0.45);
  border-top-color: var(--blanc);
  border-radius: 50%;
  animation: rotation 700ms linear infinite;
}

.bouton.bouton-secondaire.en-cours::after {
  border-color: var(--seyes-fort);
  border-top-color: var(--encre);
}

@keyframes rotation {
  to { transform: rotate(360deg); }
}

@keyframes apparition {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

/* Mot de passe : bouton « Afficher » dans le champ */
.mot-de-passe {
  position: relative;
  display: block;
}

.mot-de-passe input {
  width: 100%;
  padding-inline-end: 5.5rem;
}

.mot-de-passe-voir {
  position: absolute;
  top: 50%;
  inset-inline-end: 0.375rem;
  padding: 0.25rem 0.5rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--encre);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color var(--duree) var(--courbe);
}

.mot-de-passe-voir:hover { background: var(--seyes); }

/* Tableaux : la ligne survolée ressort */
.tableau tbody tr { transition: background-color var(--duree) var(--courbe); }

.tableau tbody tr:hover { background: color-mix(in srgb, var(--seyes) 45%, var(--blanc)); }

/* Liens et boutons-liens : transition douce */
a,
.lien-bouton { transition: color var(--duree) var(--courbe); }

/* Animations réduites à la demande de l'utilisateur (réglage du système) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .tuile:hover,
  .bouton:hover { transform: none; }
}

/* Texte lu par les lecteurs d'écran seulement (titre de la colonne des actions…). */
.visuellement-cache {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Notifications après une action (shell/partiels/notifications.html) : bandeaux flottants
   en haut, côté fin de ligne ; jamais une section ajoutée dans la page. */
.notifications {
  position: fixed;
  top: calc(var(--hauteur-entete, 3rem) + 0.75rem);
  inset-inline-end: 1rem;
  z-index: 80;
  display: grid;
  gap: 0.625rem;
  width: min(26rem, calc(100vw - 2rem));
  pointer-events: none;
}

.notification {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
  padding-block: 0.875rem;
  padding-inline: 1rem 0.75rem;
  overflow: hidden;
  color: #1D2D3E;
  background: #FFFFFF;
  border: 1px solid #D9DEE4;
  border-inline-start: 4px solid #0064D9;
  border-radius: 10px;
  box-shadow: 0 0 2px rgb(34 53 72 / 0.16), 0 12px 28px rgb(34 53 72 / 0.18);
  pointer-events: auto;
  animation: notification-entree 260ms cubic-bezier(0.2, 0, 0, 1);
}

.notification-success { border-inline-start-color: #188918; }
.notification-error { border-inline-start-color: #D20A0A; }
.notification-warning { border-inline-start-color: #C35500; }

.notification-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFFFFF;
  background: #0064D9;
  border-radius: 50%;
}

.notification-icone::before { content: "i"; }
.notification-success .notification-icone::before { content: "\2713"; }
.notification-error .notification-icone::before,
.notification-warning .notification-icone::before { content: "!"; }

.notification-success .notification-icone { background: #188918; }
.notification-error .notification-icone { background: #D20A0A; }
.notification-warning .notification-icone { background: #C35500; }

.notification-texte {
  margin: 0;
  padding-block-start: 0.125rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.notification-fermer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  color: #556B82;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.notification-fermer:hover { background: rgb(34 53 72 / 0.08); }

/* Barre du temps restant avant la fermeture automatique (succès, informations). */
.notification-delai {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  background: currentColor;
  opacity: 0.18;
  transform-origin: left center;
  animation: notification-delai var(--notification-duree, 0s) linear forwards;
}

[dir="rtl"] .notification-delai { transform-origin: right center; }

.notification-error .notification-delai { display: none; }
.notification-en-pause .notification-delai { animation-play-state: paused; }

.notification-sortie {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 200ms ease, transform 200ms ease;
}

@keyframes notification-entree {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

@keyframes notification-delai {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .notification,
  .notification-delai { animation: none; }
}

@media (max-width: 40rem) {
  .notifications { inset-inline: 0.75rem; width: auto; }
}

/* Barre de recherche de l'en-tête (shell/partiels/recherche.html, recherche.js) */
.recherche {
  position: relative;
  display: flex;
  align-items: center;
  width: min(24rem, 38vw);
  margin: 0;
}

.recherche-icone {
  position: absolute;
  inset-inline-start: 0.75rem;
  color: currentColor;
  opacity: 0.8;
  pointer-events: none;
}

.recherche .recherche-saisie {
  width: 100%;
  height: 2.25rem;
  margin: 0;
  padding-block: 0;
  padding-inline: 2.375rem 1rem;
  font: inherit;
  font-size: 0.9375rem;
  color: inherit;
  background: rgb(255 255 255 / 0.14);
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: 999px;
  box-shadow: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.recherche .recherche-saisie::placeholder { color: currentColor; opacity: 0.75; }
.recherche .recherche-saisie::-webkit-search-cancel-button { display: none; }

.recherche:focus-within .recherche-saisie,
.recherche-ouverte .recherche-saisie {
  color: #1D2D3E;
  background: #FFFFFF;
  border-color: #FFFFFF;
  outline: none;
  box-shadow: 0 0 0 3px rgb(255 255 255 / 0.35);
}

.recherche:focus-within .recherche-icone { color: #556B82; }


.recherche-panneau {
  position: absolute;
  top: calc(100% + 0.5rem);
  inset-inline: 0;
  z-index: 90;
  min-width: 20rem;
  max-height: min(28rem, 70vh);
  overflow-y: auto;
  color: #1D2D3E;
  background: #FFFFFF;
  border: 1px solid #D9DEE4;
  border-radius: 12px;
  box-shadow: 0 0 2px rgb(34 53 72 / 0.16), 0 16px 36px rgb(34 53 72 / 0.22);
}

.recherche-panneau[hidden] { display: none; }

.recherche-liste {
  margin: 0;
  padding: 0.375rem;
  list-style: none;
}

.recherche-liste:empty { display: none; }

.recherche-option {
  display: grid;
  gap: 0.125rem;
  padding: 0.5rem 0.75rem;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
}

[aria-selected="true"] > .recherche-option { background: #EAF1FC; }

.recherche-option-libelle { font-weight: 600; }

.recherche-option mark {
  padding: 0;
  color: inherit;
  background: #FFE38A;
  border-radius: 2px;
}

.recherche-option-description {
  font-size: 0.8125rem;
  color: #556B82;
}

.recherche-pied {
  margin: 0;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: #556B82;
  border-top: 1px solid #EEF1F4;
  cursor: pointer;
}

.recherche-liste:not(:empty) + .recherche-pied { font-weight: 600; color: #0064D9; }
.recherche-liste:not(:empty) + .recherche-pied:hover { background: #F5F8FC; }
.recherche-liste:empty + .recherche-pied { border-top: 0; cursor: default; }

/* Page de résultats : une tuile par application, rubrique ou page trouvée */
.page-recherche { max-width: 72rem; }
.page-recherche h1 { margin-block-end: 0.25rem; }

.tuiles-recherche {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

/* Tuile carrée style SAP Fiori : titre en haut, pictogramme en bas. */
.tuile-recherche {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 11rem;
  height: 11rem;
  padding: 1rem;
  font-family: "72", "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  color: #1D2D3E;
  text-decoration: none;
  background: #FFFFFF;
  border: 1px solid transparent;
  border-radius: 1rem;
  box-shadow: 0 0 2px rgb(34 53 72 / 0.18), 0 2px 4px rgb(34 53 72 / 0.12);
  transition: box-shadow 160ms ease, border-color 160ms ease;
}

.tuile-recherche:hover,
.tuile-recherche:focus-visible {
  border-color: #0064D9;
  box-shadow: 0 0 2px rgb(34 53 72 / 0.18), 0 8px 18px rgb(34 53 72 / 0.18);
}

.tuile-recherche-nom {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.tuile-recherche-nom mark {
  padding: 0;
  color: inherit;
  background: #FFE38A;
  border-radius: 2px;
}

.tuile-recherche-description {
  display: -webkit-box;
  overflow: hidden;
  margin-block-start: 0.25rem;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #556B82;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tuile-recherche-icone {
  display: flex;
  margin-block-start: auto;
  color: #556B82;
}

.tuile-recherche-icone img { width: 2rem; height: 2rem; object-fit: contain; }

.tuile-recherche:hover .tuile-recherche-icone { color: #0064D9; }

@media (prefers-reduced-motion: reduce) {
  .tuile-recherche { transition: none; }
}

@media (max-width: 48rem) {
  .recherche { width: 2.5rem; }
  .recherche:focus-within,
  .recherche-ouverte { width: min(20rem, 70vw); }
  .recherche .recherche-saisie { padding-inline-end: 0.5rem; }
  .recherche-panneau { min-width: 0; }
}

/* Pages de connexion : liens sous le formulaire, compte visé, réseau non chiffré */
.connexion-lien {
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
  text-align: center;
}

.connexion-compte { margin: 0 0 0.5rem; color: #556B82; }

.avertissement-reseau {
  margin: 0 0 1rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: #7A3E00;
  background: #FFF4E5;
  border: 1px solid #F5C58A;
  border-radius: 8px;
}

/* Mot de passe oublié : étapes, code, actions secondaires */
.recuperation .connexion-marque { font-size: 1.5rem; }

.etapes {
  display: flex;
  gap: 0.5rem;
  margin: 0.75rem 0 1.25rem;
  padding: 0;
  list-style: none;
  counter-reset: etape;
}

.etapes li {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.375rem;
  align-items: center;
  font-size: 0.75rem;
  color: #556B82;
}

.etapes li::before {
  content: "";
  width: 100%;
  height: 4px;
  background: #D9DEE4;
  border-radius: 2px;
}

.etape-numero { display: none; }

.etapes .etape-faite::before,
.etapes .etape-courante::before { background: #0064D9; }

.etapes .etape-courante { font-weight: 700; color: #0064D9; }

.recuperation .bouton {
  width: 100%;
  min-height: 2.75rem;
  font-size: 1rem;
  border-radius: 8px;
}

.recuperation .saisie-code {
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5em;
  text-align: center;
}

.connexion-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
}

.bouton-lien {
  padding: 0;
  font: inherit;
  color: #0064D9;
  text-decoration: underline;
  background: none;
  border: 0;
  cursor: pointer;
}

.bouton-lien:hover { color: #0050AD; }

/* Ligne d'un tableau avec un champ et son bouton (renommer un site). */
.ligne-renommer { display: flex; gap: 0.5rem; align-items: center; margin: 0; }
.ligne-renommer input {
  flex: 1;
  min-width: 8rem;
  min-height: 2rem;
  padding: 0.25rem 0.5rem;
  font: inherit;
  background: var(--blanc);
  border: 1px solid var(--bordure-champ, var(--bordure));
  border-radius: 6px;
}
.ligne-renommer input:hover,
.ligne-renommer input:focus-visible { border-color: var(--encre); }
