/*
 * 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.
 */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  background: #f6f6f6;
  color: #1a1a1a;
}

.conteneur {
  max-width: 720px;
  margin: 3rem auto;
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
}

.conteneur h1 {
  margin-top: 0;
  font-size: 1.8rem;
}

.conteneur__logout {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
}

.formulaire-deconnexion {
  margin: 0;
}

.bouton-deconnexion {
  background-color: transparent;
  color: #222222;
  border: 1px solid #d0d0d0;
  padding: 0.45rem 1rem;
}

.bouton-deconnexion:hover {
  background-color: #f2f2f2;
}

.champ {
  margin-bottom: 1.5rem;
}

.champ label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.champ input {
  width: 100%;
  padding: 0.6rem;
  font-size: 1rem;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
}

.champ-actions {
  display: flex;
  gap: 0.5rem;
}

.champ-actions input {
  flex: 1;
}

button,
.lien-apercu,
.lien-pdf,
input[type="submit"] {
  background-color: #ff385c;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lien-apercu,
.lien-pdf {
  background-color: #222222;
}

.bouton-deconnexion {
  border-radius: 999px;
}

.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.erreurs {
  background: #ffe6e6;
  border: 1px solid #ffabab;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.erreurs h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.infos-statiques {
  background: #f6f6f6;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.infos-statiques p {
  margin: 0.25rem 0;
}

.infos-statiques .note {
  font-size: 0.9rem;
  color: #555555;
  margin-top: 0.75rem;
}

.flash {
  max-width: 720px;
  margin: 1rem auto 0;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}

.flash.notice {
  background: #e8f6f1;
  color: #116149;
  border: 1px solid #b7e1d1;
}

.flash.alert {
  background: #fdecea;
  color: #a12829;
  border: 1px solid #f8b3ab;
}
