/*
===============================================================================
FICHIER      : css/release-notes.css
DESCRIPTION  : Styles de la page Historique des versions du PPA.
CONTEXTE     : Reprend la charte bleu nuit / cyan du portail.
DATE         : 26/08/2026
===============================================================================
*/

:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #142142;
  background: #f3f6fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f3f6fb;
}

.release-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(22px, 5vw, 72px);
  color: #ffffff;
  background: #0b1b61;
  border-bottom: 4px solid #24b6dc;
}

.release-header h1 {
  margin: 4px 0 8px;
  font-size: clamp(28px, 4vw, 42px);
}

.release-header p {
  margin: 0;
  color: #dbe5ff;
}

.release-eyebrow {
  color: #74d3ee !important;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.release-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
}

.release-current-version {
  padding: 8px 11px;
  color: #dbe5ff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  font-size: 12px;
}

.release-back-link {
  color: #ffffff;
  font-weight: 700;
  text-underline-offset: 3px;
}

.release-layout {
  display: grid;
  grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 22px 60px;
}

.release-summary {
  align-self: start;
  position: sticky;
  top: 22px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #d7dfec;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(11, 27, 97, 0.06);
}

.release-summary strong {
  color: #0b1b61;
}

.release-summary p {
  color: #5f6b84;
  line-height: 1.55;
}

.release-summary code {
  color: #0b1b61;
  font-weight: 700;
}

.release-list {
  display: grid;
  gap: 16px;
}

.release-card {
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid #d7dfec;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(11, 27, 97, 0.05);
}

.release-card.current {
  border-color: #24b6dc;
  box-shadow: 0 10px 30px rgba(36, 182, 220, 0.12);
}

.release-card-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.release-version {
  color: #0b56c9;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.release-card h2 {
  margin: 4px 0 0;
  color: #0b1b61;
  font-size: 19px;
}

.release-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.release-type,
.release-current-badge {
  height: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.release-type {
  color: #43506c;
  background: #eef3fa;
}

.release-current-badge {
  color: #06667e;
  background: #ddf7fd;
}

.release-card ul {
  margin: 0;
  padding-left: 20px;
  color: #465472;
  line-height: 1.55;
}

.release-card li + li {
  margin-top: 5px;
}

@media (max-width: 760px) {
  .release-header {
    flex-direction: column;
  }

  .release-header-actions {
    align-items: flex-start;
  }

  .release-layout {
    grid-template-columns: 1fr;
  }

  .release-summary {
    position: static;
  }

  .release-card-header {
    flex-direction: column;
  }

  .release-tags {
    justify-content: flex-start;
  }
}

/*
===============================================================================
FIN DU FICHIER : css/release-notes.css
===============================================================================
*/


/* =============================================================================
   ZONE — DATE DE CHAQUE VERSION
   ============================================================================= */

/* Affiche la date de livraison à côté du type de version. */
.release-date {
  height: fit-content;
  padding: 5px 8px;
  color: #0b56c9;
  background: #eaf2ff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

/* ==============================================================================
   PIED DE PAGE GÉNÉRAL — DATES DES VERSIONS
   ============================================================================= */

/* Fin des styles de date des Release notes. */
