/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* ── Bandeau « tu es en train de devenir quelqu'un d'autre » ────────────────
 * Le même bandeau s'affiche sur toutes les pages pendant l'emprunt de compte,
 * pour qu'on ne confonde jamais la conversation de la personne avec la sienne.
 * Les couleurs sont écrites en dur : chaque vue a ses propres variables. */
.impersonation-bar {
  position: sticky;
  top: 0;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  padding: 12px 18px;
  background: #FFE9CC;
  border-bottom: 2px solid #EF8433;
  color: #7A3A08;
  font-family: "Geist Variable", -apple-system, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}
.impersonation-bar strong { font-weight: 640; }
.impersonation-bar form { display: inline; }
.impersonation-bar button {
  font: inherit;
  font-weight: 560;
  cursor: pointer;
  color: #FFF7E9;
  background: #C25E14;
  border: 0;
  border-radius: 999px;
  padding: 7px 16px;
  transition: background .18s;
}
.impersonation-bar button:hover { background: #9C4708; }
