/* === PATCH ciblé "Connecter" (vers /admin) – sans impacter le logo/header === */

/* 1) On remet à zéro tout lien /admin dans le header (pour éviter d'habiller le logo) */
header a[href*="/admin"] {
  background: transparent !important;
  color: inherit !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* 2) On habille en terracotta tous les liens /admin ailleurs dans la page */
:root body a[href="/admin"],
:root body a[href="/admin/"],
:root body a[href^="/admin"]:not(header a),
:root body a[href^="https://info.adat-doubs.fr/admin"]:not(header a) {
  background-color: #cb6040 !important;   /* Terracotta */
  border-color: #cb6040 !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 14px 20px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-block !important;
  box-shadow: 0 6px 16px rgba(203,96,64,.25) !important;
  transition: background .2s ease, transform .1s ease, box-shadow .2s ease !important;
}

/* 3) États : hover / focus */
:root body a[href^="/admin"]:not(header a):hover,
:root body a[href^="https://info.adat-doubs.fr/admin"]:not(header a):hover {
  background-color: #ac5235 !important;   /* Terracotta foncé */
  border-color: #ac5235 !important;
  color: #fff !important;
  transform: translateY(-2px);
}
