@font-face {
  font-family: "Special_Elite";
  src: url(../font/Special_Elite/SpecialElite-Regular.ttf);
}
*,
*::before,
*::after {
  border: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
 background: linear-gradient(145deg, rgba(20, 24, 40, 0.85), rgba(30, 35, 60, 0.75));
    backdrop-filter: blur(6px);
  color: #000000;
  min-height: 100vh;
  font-family: "Roboto", sans-serif;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 960px;
  min-height: 90vh;
  background: white;
  margin: 0.6rem auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  overflow: hidden;
}

header {
  width: 100%;
  background-color: #0c2a5c;
  border-radius: 10px;
  box-shadow: 0 0 10px #000;
  height: 130px;
  margin: 0.4rem 0 2rem 0;
  display: grid;
  grid-template-columns: 2fr 10fr;
}

header img {
  height: 100%;
  max-height: 122px;
  width: auto;
  object-fit: contain;
  margin: 0.2rem;
  border-radius: 8px;
}

header h1 {
  margin-top: 1.6rem;
}
/* Bouton maison */
/* bouton home */
.homeBtn {
  width: 48px;
  height: 48px;
    padding-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;

  transition: background 0.2s, transform 0.1s;
}

.iconHome {
  width:48px;
  height: 48px;
}

.iconHome:hover {
  background: rgba(0,0,0,0.15);
}

.iconHome:active {
  transform: scale(0.95);
}

h1,
h2 {
  text-transform: uppercase;
  text-align: center;
}

h1 {
  font-family: "Special_Elite";
  color: rgb(245, 245, 245);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}
h2 {
  margin: 0.2rem 0 0.6rem 0;
  font-size: 2rem;
  text-align: center;
  letter-spacing: 1px;
}

p {
  font-size: 1.2rem;
  text-align: justify;
}
.sousTitre {
  font-family: "Special_Elite", cursive;
  font-size: 1rem;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #faf5e8;
}
.sousTitre span {
  text-transform: none;
  color: #eab92d;
  font-style: italic;
  line-height: 1.3rem;
}
.section {
  width: 92%;
  height: 100%;
  margin: 0 auto;
  /*  background: #f2f2f2;transform: translateX(100%); */
  background: #fff;

  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
  padding: 1em;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.section.active {
  display: block;
  opacity: 1;
  transform: translateX(0%);
  z-index: 1;
}
.info {
  background: #e3f2fd;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 2rem;
  height: 130px;
  display: flex;
}

.infoPres {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}
.panoInfo {
  float: left;
  height: calc(100%);
  padding-right: 1rem;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.cadreInfos {
  margin: 1rem 0 2rem 0;
  padding: 0.8rem;
  font-family: "Special_Elite", cursive;
  font-size: 1.2rem;
  background-color: rgb(244 244 244);
  border: 2px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.3s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.cadreInfos strong {
  background: white;
  color: red;
  font-weight: 600;
}
.cadre {
  text-align: center;
  font-size: 1.4rem;
  border: solid 4px #3498db;
  border-radius: 0.2rem;
  color: green;
  font-weight: bold;
  margin: 1rem 0 2rem;
}
.fontPlus {
  font-size: 1.8rem;
}
ul {
  margin-left: 1.5rem;
}

.contInstal {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 600px;
  width: 90%;
  position: relative;
  overflow: hidden;
}

.contInstal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}
.global-progress {
  width: 100%;
  height: 6px;
  background: #ecf0f1;
  border-radius: 3px;
  margin-bottom: 30px;
  overflow: hidden;
}

.global-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  width: 0%;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 3px;
}

.progress-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.progress-step {
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 15px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.progress-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s;
}

.progress-step.processing::before {
  left: 100%;
}

.progress-step.ok {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  border-color: #28a745;
  transform: translateX(5px);
}

.progress-step.fail {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  border-color: #dc3545;
  animation: shake 0.5s ease-in-out;
}

.progress-step.processing {
  background: linear-gradient(135deg, #cce5ff, #b3d9ff);
  border-color: #007bff;
  transform: scale(1.02);
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

.step-icon {
  font-size: 2em;
  margin-right: 20px;
  min-width: 60px;
  text-align: center;
  transition: transform 0.3s ease;
}

.progress-step.ok .step-icon {
  transform: scale(1.2);
}

.progress-step.processing .step-icon {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.step-content {
  flex: 1;
}

.step-label {
  font-size: 0.8em;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 3px;
}

.step-message {
  font-size: 0.6em;
  color: #6c757d;
  transition: color 0.3s ease;
}

.progress-step.ok .step-message {
  color: #28a745;
  font-weight: 500;
}

.progress-step.fail .step-message {
  color: #dc3545;
  font-weight: 500;
}

.progress-step.processing .step-message {
  color: #007bff;
  font-weight: 500;
}

.step-details {
  font-size: 0.6em;
  color: #868e96;
  margin-top: 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.progress-step.ok .step-details,
.progress-step.fail .step-details {
  opacity: 1;
}

.final-message {
  margin-top: 30px;
  padding: 20px;
  display: none;
}

.success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
  border: 2px solid #28a745;
  border-radius: 15px;
  text-align: center;
  font-size: 3em;
  font-weight: 500;
  text-transform: uppercase;
}

.final-message.error {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  color: #721c24;
  border: 2px solid #dc3545;
}

.start-button {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 20px auto;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.start-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.start-button:active {
  transform: translateY(0);
}

.start-button:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.stats-preview {
  background: #f8f9fa;
  padding: 15px;
  margin-top: 10px;
  border-left: 4px solid #667eea;
}

.stats-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9em;
}

.stats-item:last-child {
  margin-bottom: 0;
}

.stats-value {
  font-weight: 600;
  color: #667eea;
}

.text-center {
  text-align: center;
}
.center-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-center {
  display: flex;
  flex-direction: column; /* Pour empiler les éléments verticalement */
  justify-content: center; /* Pour centrer verticalement */
  align-items: center; /* Pour centrer horizontalement */
  text-align: center; /* Pour centrer le texte */
}
.float-left {
  float: left;
  margin: 0 1rem 1rem 0;
}
.strong-rouge {
  font-weight: 600;
  color: #d32f2f;
}
/* Styles de liens */
a {
  color: blue;
  cursor: pointer;
  text-decoration: none;
}

a:active,
a:focus,
a:hover {
  color: darkblue;
  text-decoration: underline;
}
.noLink a:active,
.noLink a:focus,
.noLink a:hover {
  text-decoration: none;
}
.oubliPW {
  text-decoration: none;
  text-align: center;
  font-size: 12px;
  margin-top: 1rem;
}
.oubliPW a {
  color: rgb(240, 184, 100);
  text-decoration: none;
}
.oubliPW a:hover {
  text-decoration: none;
  color: blanchedalmond;
}
.space-20 {
  padding-top: 20px;
}
.space-30 {
  padding-top: 30px;
}
.space-50 {
  padding-top: 50px;
}
.space-100 {
  margin-top: 100px;
}
/* Mot de passe */
.authPW {
  position: relative;
  font-family: "Share Tech Mono", monospace;
  background-color: #002b5c;
  color: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  width: 90%;
  max-width: 640px;
  margin: 3rem auto 2rem;
}
.authPW h2 {
  letter-spacing: 2px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px #000;
  text-align: center;
  font-size: 2.6rem;
  margin: 1em 0;
  color: #fafafa;
  font-weight: bolder;
  text-transform: uppercase;
}

.authPW .inPw {
  width: 80%;
  font-size: 2.5em;
  margin: 0.2em auto 0.2em;
  background: white;
  border-radius: 5px;
  text-align: center;
}
.BtnInstallation {
  display: block;
  width: 100%;
  text-transform: uppercase;
  margin: 2rem auto;
  padding: 1rem 2rem;
  font-size: 1rem;
  background: #3498db;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.BtnInstallation:hover {
  background: #2980b9;
}
.btnValPw {
  margin-top: 20px;
  background-color: #ff7300;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 80%;
}
.btnValPw:hover {
  background-color: #e55d00;
}

.debug,
.datas {
  background: #f0f2f5;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 6px;
  font-family: monospace;
  white-space: pre-wrap;
}
#debug::after {
  content: "|";
  animation: blink 1s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* MODALE */

.help-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  background-color: #007bff;
  color: white;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
  margin-left: 5px;
  font-family: Arial, sans-serif;
}

.modal-help {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(133 133 133 / 90%);
  display: none;
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal-help-content {
  background: white;
  padding: 20px;
  max-width: 600px;
  max-height: 80%;
  overflow: auto;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.modal-help-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 22px;
  cursor: pointer;
  color: #333;
}
/* MOT DE PASSE */
.input-container {
  position: relative;
  margin-bottom: 25px;
}

.password-input {
  width: 100%;
  padding: 25px 50px 15px 15px;
font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.3s;
  transition: all 0.3s ease;
}

.password-input::placeholder {
  color: #999;
  font-size: 32px;
}

.password-input:focus {
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.eye-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  width: 36px;
  height: 36px;
}

.eye-icon img {
  width: 100%;
  height: 100%;
  display: none;
}

.eye-icon img.active {
  display: block;
}

.validate-btn {
  display: block;
  margin: 0 auto;
  width: 100%;
  padding: 15px;
  background: #ff6b35;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.validate-btn:hover {
  background: #e55a2b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.validate-btn:active {
  transform: translateY(0);
}

/* Animation d'entrée */

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Footer */
footer {
  margin: 18rem auto .5rem;
  max-width: 960px;
  width: 100%;
  color: #aaa;
  font-size: 0.75rem;
  line-height: 1.6;
  border-top: 1px solid rgba(108, 184, 255, 0.15);
  padding-top: 0.6rem;
}
/* Grille améliorée */
.footerGrid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

/* Alignements */
.footerGrid > div:first-child {
  text-align: left;
}

.footerGrid > div:nth-child(2) {
  text-align: center;
}

.footerGrid > div:last-child {
  text-align: right;
}

/* Version (centre) */
.footerGrid .version {
  opacity: 0.85;
}

/* Liens */
.footerGrid a {
  color: #6cb8ff;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footerGrid a:hover {
  color: #f6ba43;
  opacity: 1;
}

/* Ligne plus élégante */
.hr-light {
  height: 1px;
  border: none;
  margin: 2rem auto 1.2rem;
  background: linear-gradient(to right, transparent, #6cb8ff, transparent);
  opacity: 0.6;
}

/* Responsive propre */
@media (max-width: 600px) {
  .footerGrid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footerGrid > div {
    text-align: center !important;
  }
}
.success-message {
  background-color: #d4edda;
  color: #002709;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  padding: 10px;
  margin: 30px 20px;
}
.infosAjout {
  text-align: center;
  font-size: 2rem;
  background: #e3f2fd;
  padding: 15px;
  border-radius: 6px;
  margin: 2rem 1rem;
}

.error {
  color: #e74c3c;
  text-align: center;
  margin-top: 10px;
  font-size: 15px;
}
.cadreURL {
  font-size: 1.6rem;
  text-align: center;
  color: green;
  font-weight: bold;
  border: solid 2px #3498db;
  border-radius: 0.2rem;
  margin: 1rem 0 2rem 0;
}
.text-orange {
  color: orange;
}
.txtRappel {
  font-size: 1.6rem;
  margin: 2rem 0 3rem 0;
}
.shake {
  animation: shake 0.3s;
}
/* Test storage */
.storage-status {
  margin: 2rem 0 1rem 0;
}
/* barre mémoire dispo */
.bar-container {
  width: 50%;
  margin: 0 auto;
  background-color: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  height: 25px;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1);
}

.bar-used {
  background-color: #019d3a;
  height: 100%;
  width: 0;
  transition: width 1s ease-out;
}

.text-info {
  margin-top: 0.5rem;
  font-size: 1rem;
  text-align: center;
}
@keyframes shake {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }

  75% {
    transform: translateX(-5px);
  }

  100% {
    transform: translateX(0);
  }
}

.install-warning {
  background: #fdfdfd;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-family: "Segoe UI", sans-serif;
  max-width: 100%;
  margin: auto;
  color: #333;
}

.install-warning h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: #d32f2f;
}

.install-warning .highlight {
  color: #e53935;
  font-weight: bold;
}
.install-warning p,
.install-warning ul {
  font-size: 0.8rem;
}
.install-warning ul {
  margin-top: 1rem;
  padding-left: 0;
  margin-left: 1rem;
  line-height: 1.6;
  list-style: none;
}

/* s actualiser */
.btn {
  font-size: 1.8rem;
  text-transform: uppercase;
  border: none;
  border-radius: 20px;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn.update {
  background-color: #28a745;
  color: white;
}

.btn.update:hover {
  background-color: #218838;
}

.btn.delete {
  background-color: #dc3545;
  color: white;
}

.btn.delete:hover {
  background-color: #c82333;
}
.refresh-btn {
  background: linear-gradient(145deg, #4caf50, #45a049);
  border: none;
  border-radius: 15px;
  padding: 15px 30px;
  margin-top: 2rem;
  font-size: 16px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.refresh-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.refresh-btn:hover::before {
  left: 100%;
}

.refresh-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(76, 175, 80, 0.4);
  background: linear-gradient(145deg, #5cbf60, #4caf50);
}

.refresh-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3);
}

.refresh-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.refresh-btn:hover .refresh-icon {
  transform: rotate(180deg);
}

.refresh-btn:active .refresh-icon {
  transform: rotate(360deg);
}
.export-btn {
  margin-top: 20px;
  background-color: #ff7300;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 80%;
}
.export-btn:hover {
  background-color: #e55d00;
}
/* Media Queries pour la responsivité */
/* Media Queries pour la responsivité */
@media (min-width: 481px) {
  h1 {
    font-size: 1rem;
  }
  .col-gauche img {
    height: calc(100% - 4px);
    margin: 2px;
    object-fit: contain;
    display: block;
    border-radius: 2px;
  }
}
@media (min-width: 768px) {
  h1 {
    font-size: 1.6rem;
  }
  .col-gauche img {
    height: calc(100% - 6px);
    margin: 3px;
    object-fit: contain;
    display: block;
    border-radius: 4px;
  }
  .BtnInstallation {
    font-size: 1.4rem;
  }
}
@media (min-width: 960px) {
  .col-gauche img {
    height: calc(100% - 8px);
    margin: 4px;
    object-fit: contain;
    display: block;
    border-radius: 6px;
  }
  h1 {
    font-size: 1.8rem;
  }
}

nav {
  padding-top: 2rem;
}

.cadreInfos p {
  font-size: 1.3rem;
  text-align: center;
}

ul {
  font-size: 1.2rem;
}

.upload-section {
  max-width: 640px;
  border: 2px dashed #aaa;
  margin: 2rem auto;
  padding: 1rem 1rem 3rem;
  text-align: center;
  margin-bottom: 2rem;
  border-radius: 0.75rem;
  background-color: #f9f9f9;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
}

.upload-section:hover {
  border-color: #007bff;
  background-color: #f8f9fa;
  cursor: pointer;
}

.upload-section.dragover {
  border-color: #007bff;
  background-color: #e3f2fd;
}

.upload-icon {
  margin-bottom: 10px;
}

.down {
  width: 64px;
  height: 64px;
}

#borrowersFile {
  display: none;
}

.file-info {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}

.inv {
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.hidden {
  display: none;
}
.tableList {
  margin: 20px;
}

.tableList table {
  width: 100%;
  border-collapse: collapse;
}

.tableList th,
.tableList td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.tableList th {
  background-color: #f2f2f2;
}

.erreurBloc {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  padding: 10px;
  margin: 10px 0;
}

.xmlErreur {
  background-color: #f1f1f1;
  padding: 10px;
  border-radius: 3px;
  overflow-x: auto;
  font-size: 12px;
}

.infosTab {
  max-height: 300px;
  overflow: auto;
  border-radius: 0.5rem;
}

.infosAjout {
  text-align: center;
  font-size: 2rem;
  background: #e3f2fd;
  padding: 15px;
  border-radius: 6px;
  margin: 2rem 1rem;
}

.export-btn {
  margin-top: 20px;
  background-color: #ff7300;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 80%;
}

.export-btn:hover {
  background-color: #e55d00;
}
.w-80 {
  width: 80%;
}
.w-100 {
  width: 100%;
}
/* Chemin de fer */
.progress-tracker {
  margin: 40px auto;
  text-align: center;
}

.progress-tracker ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: space-around;
  max-width: 1000px;
  margin: auto;
  position: relative;
  counter-reset: steps;
}

.progress-tracker .step {
  flex: 1;
  padding: 15px 10px 5px;
  border-bottom: 4px solid #aaa;
  position: relative;
  color: #bbb;
  font-weight: 600;
  font-size: 0.9rem;
  transition:
    color 0.3s,
    border-color 0.3s;
}

.progress-tracker .step::before {
  content: attr(data-step);
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #868686;
  color: #2f2f2f;
  font-weight: bold;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  /* clé du centrage */
  justify-content: center;
  align-items: center;
  font-size: 18px;
  border: 3px solid #999;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    color 0.3s;
  z-index: 1;
}

/* ligne de progression plus forte */
.progress-tracker .step::after {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 4px;
  background-color: transparent;
  z-index: 0;
}

/* Étape active */
.progress-tracker .step.activeFer {
  color: #000;
  border-color: #00c853;
}

.progress-tracker .step.activeFer::before {
  background-color: #00c853;
  border-color: #00e676;
  color: #fff;
}

/* Étape complétée (si besoin un jour) */
.progress-tracker .step.completed::before {
  background-color: #4caf50;
  border-color: #81c784;
  color: white;
}

.progress-tracker .step.completed {
  color: #4caf50;
  border-color: #4caf50;
}

/* Responsive */
@media (max-width: 600px) {
  .progress-tracker ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .progress-tracker .step {
    border-bottom: none;
    padding-bottom: 1rem;
  }

  .progress-tracker .step::after {
    display: none;
  }
}

/* Boutons */

.btnVert {
  background-color: #7b6800;
  font-size: 2.4rem;
  width: 100%;
  text-transform: uppercase;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  cursor: pointer;
  border-radius: 6px;
}

.btnVert:hover {
  background-color: #c98300;
}

.btnVersDemo {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: rgb(75, 75, 75);
  border: 2px darkcyan dashed;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  margin: 2rem 0 3rem 0;
  text-align: center;
  transition: all 0.2s ease-in;
}

.btnVersDemo:hover {
  cursor: pointer;
  border: 2px darkcyan solid;
}

.btnVert:hover {
  background-color: #c98300;
}

.btnValEtape {
  margin: 1rem 0 2rem;
  background-color: #ff7300;
  color: white;
  border: none;
  padding: 1rem 0;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background-color 0.3s;
  width: 100%;
  cursor: pointer;
}

.btnValEtape:hover {
  cursor: pointer;
  background-color: #e55d00;
  pointer-events: auto !important;
}

.form-container {
  max-width: 90%;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #fffaf4;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  font-family: "Segoe UI", sans-serif;
  text-align: left;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: #333;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.form-container h3{
  font-size: 2rem;}
.form-group input {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #ff7300;
  box-shadow: 0 0 5px #ff7300;
}

.error-message,
.success-message {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 6px;
}

.error-message {
  background-color: #ffe6e6;
  color: #c00;
  border: 2px solid #c00;
}

.inv {
  display: none;
}

.flex-center {
  text-align: center;
  margin-top: 2rem;
}
