/* T077b — « Agir pour le délégué » : bandeau fixe (bas de l'écran, toujours visible, sous les fenêtres Bootstrap),
   bouton du menu et de Mes actions, fenêtre de choix (<dialog>). Script : public/js/commun/agir-pour.js. */
.agir-pour-bandeau {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1045;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.4rem 0.75rem;
  background: #b45309;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.25);
}
.agir-pour-bandeau .agir-pour-texte {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.agir-pour-bandeau .agir-pour-parti {
  font-weight: 600;
}
.agir-pour-bandeau .agir-pour-quitter {
  flex-shrink: 0;
  min-height: 36px;
  font-weight: 600;
}
body.agir-pour-actif {
  padding-bottom: 56px;
}
.agir-pour-menu {
  padding: 0 1rem 0.75rem;
}
.agir-pour-menu .agir-pour-bouton {
  width: 100%;
  min-height: 40px;
  white-space: normal;
}
.agir-pour-bouton-page {
  min-height: 40px;
  margin-top: 0.5rem;
}
.agir-pour-fenetre {
  width: min(560px, calc(100vw - 1.5rem));
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  border: 1px solid #d7e2ef;
  border-radius: 12px;
  padding: 1.25rem;
}
.agir-pour-fenetre::backdrop {
  background: rgba(15, 31, 51, 0.45);
}
.agir-pour-boutons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}
.agir-pour-boutons .btn,
.agir-pour-reprise .btn {
  min-height: 44px;
}
.agir-pour-reprise {
  border-top: 1px solid #d7e2ef;
  margin-top: 1rem;
}
@media (max-width: 575.98px) {
  .agir-pour-bandeau {
    font-size: 0.9rem;
    gap: 0.5rem;
  }
}
