#section-factures-recurrentes {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  color: #263247;
}

#section-factures-recurrentes[hidden],
#section-factures-recurrentes [hidden] {
  display: none !important;
}

#section-factures-recurrentes > header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

#section-factures-recurrentes h1 {
  margin: 0;
  color: #193b7a;
  font-size: 28px;
}

#section-factures-recurrentes header nav {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  color: #64748b;
  font-size: 14px;
}

#section-factures-recurrentes header nav a {
  color: #244d9b;
  text-decoration: none;
}

#section-factures-recurrentes header nav a:hover {
  text-decoration: underline;
}

#section-factures-recurrentes header nav [aria-current="page"] {
  color: #334155;
  font-weight: 600;
}

#section-factures-recurrentes > div:first-of-type {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto;
  align-items: end;
  gap: 8px 14px;
  margin-bottom: 22px;
}

#section-factures-recurrentes > div:first-of-type label {
  grid-column: 1 / -1;
  font-size: 14px;
  font-weight: 600;
}

#recherche-factures-recurrentes {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  background: #fff;
  color: inherit;
  font: inherit;
}

#section-factures-recurrentes button {
  min-height: 42px;
  padding: 9px 16px;
  border: 0;
  border-radius: 5px;
  background: #244d9b;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

#section-factures-recurrentes button:hover {
  background: #193b7a;
}

#section-factures-recurrentes [role="tablist"] {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid #dbe2ea;
}

#section-factures-recurrentes [role="tab"] {
  border-radius: 5px 5px 0 0;
  background: transparent;
  color: #526176;
}

#section-factures-recurrentes [role="tab"]:hover,
#section-factures-recurrentes [role="tab"][aria-selected="true"] {
  background: #edf3ff;
  color: #193b7a;
}

#section-factures-recurrentes > p {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-left: 4px solid #244d9b;
  background: #edf3ff;
  color: #334155;
  font-size: 14px;
  line-height: 1.5;
}

#liste-factures-actives,
#liste-factures-arretees {
  padding: 28px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  text-align: center;
}

#liste-factures-actives > div[aria-hidden="true"],
#liste-factures-arretees > div[aria-hidden="true"] {
  margin-bottom: 12px;
  font-size: 38px;
}

#liste-factures-actives h2,
#liste-factures-arretees h2 {
  margin: 0 0 8px;
  color: #263247;
  font-size: 19px;
}

#liste-factures-actives p,
#liste-factures-arretees p {
  margin: 0 0 20px;
  color: #64748b;
  line-height: 1.5;
}

#section-factures-recurrentes button:focus-visible,
#section-factures-recurrentes a:focus-visible,
#recherche-factures-recurrentes:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  #section-factures-recurrentes h1 {
    font-size: 24px;
  }

  #section-factures-recurrentes > div:first-of-type {
    grid-template-columns: 1fr;
  }

  #section-factures-recurrentes > div:first-of-type label {
    grid-column: 1;
  }

  #section-factures-recurrentes > div:first-of-type button {
    width: 100%;
  }

  #section-factures-recurrentes [role="tablist"] button {
    width: auto;
  }

  #liste-factures-actives,
  #liste-factures-arretees {
    padding: 22px 14px;
  }
}