/* === Police globale : Century Gothic === */
@font-face {
  font-family: "CenturyGothic";
  src: url("assets/centurygothic.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CenturyGothic";
  src: url("assets/centurygothic_bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Appliquer partout dans l'application */
html,
body,
button,
input,
select,
textarea,
table,
th,
td {
  font-family: "CenturyGothic", sans-serif !important;
}

/* Bouton principal – version plus visible et compacte */
.btn-primary {
  background-color: var(--onelaw-blue);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* IMPORTANT : empêcher l'étirement */
  width: auto;
  max-width: 100%;
  cursor: pointer;

  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
  transition:
    transform 0.12s ease-out,
    box-shadow 0.12s ease-out,
    filter 0.12s ease-out;
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

/* === Fond pour la page de login === */
.login-page {
  min-height: 100vh;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.08) 10%, #ffffff 100%),
    url("assets/wallpapper.jpg") no-repeat center top;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}


/* Pour détacher encore plus la carte du fond */
.login-card {
  /* Fond très lisible */
  background-color: rgba(255, 255, 255, 0.94);
  border-radius: 1.2rem;
  padding: 2.2rem;
  border: 1px solid rgba(15, 23, 42, 0.08);

  /* Effet légèrement “glass” mais bien opaque */
  backdrop-filter: blur(4px);

  /* Ombre plus marquée pour détacher du fond */
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);

  max-width: 520px;
  width: 100%;
}

button,
.btn-primary,
.btn-secondary,
.actions-irrecoverable-cancel,
.actions-irrecoverable-confirm,
.btn-attr {
    cursor: pointer;
}
