/* Charte SamPass (relevée sur samsic.fr) : bleu #0099d4, police Roboto */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");

:root, [data-theme] {
  --color-primary: #0099d4;
  --color-primary-content: #ffffff;
  --color-secondary: #0099d4;
  --color-accent: #0099d4;
  --font-sans: Roboto, "Segoe UI", Arial, sans-serif;
}
html, body, button, input, select, textarea {
  font-family: Roboto, "Segoe UI", Arial, sans-serif !important;
}

/* Utilisateur connecté + déconnexion */
.sp-user { display: flex; align-items: center; gap: .6rem; margin-right: .5rem; font-size: .85rem; }
.sp-user-mail { max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .75; }
.sp-logout { background: #0099d4; color: #fff; border: 0; border-radius: 6px; padding: .4rem .8rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.sp-logout:hover { background: #007bb0; }
.sp-logout:disabled { opacity: .6; cursor: wait; }
.sp-user.sp-float { position: fixed; top: .6rem; right: .8rem; z-index: 100; background: #fff; padding: .4rem .6rem; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.2); color: #202020; }
@media (max-width: 640px) { .sp-user-mail { display: none; } }

/* Logo (évite le flash du logo Yopass avant l'exécution du script) */
img[alt="Yopass"], img[alt="SamPass"] {
  content: url("/sampass/logo.png");
  height: 2.75rem !important;
  width: auto !important;
}
