* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.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);
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #2c3e50;
  font-size: 2.2em;
  font-weight: 300;
}

.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;
  border-radius: 15px;
  text-align: center;
  font-size: 1.1em;
  font-weight: 500;
  display: none;
}

.final-message.success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
  border: 2px solid #28a745;
}

.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;
}

.inv,
.hidden {
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.stats-preview {
  background: #f8f9fa;
  border-radius: 10px;
  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;
}

.initMessage {
  margin-top: 2rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fa4e1a;
}

.firefox {
  background-color: #ffffff;
  padding: 3rem;
  border-radius: 10px;
}

.firefox h3 {
  color: red;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.firefox p {
  color: black;
  font-size: 1.4rem;
}

.flex-fire {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  font-size: 4rem;
  margin: 1rem 0 2rem 0;
}

.text-center {
  text-align: center;
}
/* Footer */
footer {
  max-width: 960px;
  margin-top: 1rem;
  width: 100%;
  flex-shrink: 0;
  color: rgb(95, 95, 95);
  font-family: "Roboto", sans-serif;
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.4;
}
.footerGrid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 2fr 4fr 2fr;
}
/* Ligne de séparation */
.hr-light {
  height: 1px;
  background-color: blue;
  border: none;
  margin: 5rem auto 0;
}
