@charset "UTF-8";
body {
      font-family: Arial, sans-serif;
      background: #f3f4f6;
      margin: 0;
      padding: 20px;
      display: flex;
      justify-content: center;
    }
    .container {
      background: #fff;
      padding: 30px;
      border-radius: 12px;
      max-width: 500px;
      width: 100%;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .progress-container {
      width: 100%;
      background: #e5e7eb;
      border-radius: 8px;
      overflow: hidden;
      margin-bottom: 30px;
    }
    .progress-bar {
      height: 12px;
      background: #7bc0fb;;
      width: 0%;
      transition: width 0.3s ease;
    }
    .form-step {
      display: none;
      animation: fadeIn 0.5s;
    }
    .form-step.active {
      display: block;
    }
    @keyframes fadeIn {
      from {opacity: 0; transform: translateY(10px);}
      to {opacity: 1; transform: translateY(0);}
    }
    form input, form textarea {
      width: 100%;
      padding: 10px;
      margin: 10px 0;
      border: 1px solid #d1d5db;
      border-radius: 8px;
    }
    .btn {
      padding: 10px 20px;
      border: none;
      border-radius: 8px;
      background: #67e7b6;
      color: black;
      cursor: pointer;
      transition: background 0.2s ease;
      margin-top: 15px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
    .btn:hover {
        background: #67cdb7;
        box-shadow: 0 6px 12px rgba(0,0,0,0.3);}
    .btns { display: flex; justify-content: space-between; }

    .question{
        line-height: 50px;
        font-weight: bold;
    }
    .toggle-inline{
        display: inline-block;
}

/* BOUTONS INTERRUPTEUR */
.toggle-switch {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

/* Style commun pour masquer les input natifs */
.toggle-switch input[type="checkbox"],
.toggle-switch input[type="radio"] {
  display: none;
}

.toggle-switch label {
  position: relative;
  padding-left: 50px;
  cursor: pointer;
  user-select: none;
  font-size: 16px;
}

/* Barre de fond de l'interrupteur */
.toggle-switch label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 20px;
  background-color: #ddd;
  border-radius: 20px;
  transition: background-color 0.3s;
}

/* Curseur de l'interrupteur */
.toggle-switch label::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-color: white;
  border-radius: 50%;
  transition: left 0.3s;
}

/* Effet activÃ© pour les cases Ã  cocher */
.toggle-switch input[type="checkbox"]:checked + label::before {
  background-color: #7bc0fb;
}

.toggle-switch input[type="checkbox"]:checked + label::after {
  left: 24px;
}

/* Effet activÃ© pour les boutons radio */
.toggle-switch input[type="radio"]:checked + label::before {
  background-color: #67e7b6;
}

.toggle-switch input[type="radio"]:checked + label::after {
  left: 24px;
}
/* Anime va-et-viens-fluide*/
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

.toggle-show {
  display: block;
  animation: slideIn 0.5s ease-out;
}

.toggle-hide {
  display: none;
  animation: slideOut 0.5s ease-in;
}
/* Fin des bouton Toggle */

/* Style du podium de 3 appareils recommandÃ©*/
        .podium {
            width: 60%;
            align-content: center;
            display: flex;
            justify-content: center;
            align-items: flex-end;
            margin-top: 20px;
            gap: 20px;
            font-family: Arial, sans-serif;
        }
        .podium .card {
            flex: 1;
            margin: 10px;
            padding: 15px;
            border-radius: 12px;
            text-align: center;
            background: #cbe4ce;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        .podium .first {
            border: solid 2px #8de396;
            background: #ffffff;
            font-weight: bold;
            transform: scale(1.1);
        }
        .podium h3 {
            margin: 0 0 10px;
            font-size: 18px;
        }
        .podium .value {
            font-size: 16px;
            margin: 5px 0;
        }
/* Fin du podium*/


/* ðŸŽ¯ Ã‰tape 5 - RÃ©sultats & Options */
/*.form-step h2 {
  text-align: center;
  font-size: 24px;
  color: #2c7a2c;
  margin-bottom: 20px;
}

.form-step h3 {
  font-size: 20px;
  margin: 20px 0 10px;
  color: #333;
}

/* ðŸ† Podium */
/*.podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px auto 30px;
  max-width: 900px;
}

.podium .card {
  flex: 1;
  min-width: 240px;
  max-width: 280px;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  border: 2px solid #e1e1e1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.podium .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

/* â­ Appareil recommandÃ© */
/*.podium .card.first {
  background: #ffffff;
  border: 2px solid #8de396;
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 128, 0, 0.15);
}

.podium .card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #2c7a2c;
}

.podium .value {
  font-size: 15px;
  color: #333;
  margin: 4px 0;
}

/* ðŸ§© Options */
/*#additional_options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

#additional_options .toggle-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

#additional_options input[type="checkbox"] {
  transform: scale(1.2);
  cursor: pointer;
}

/* ðŸ‘· Installation pro */
/*.question {
  display: block;
  margin-top: 20px;
  font-weight: bold;
  font-size: 16px;
}

.toggle-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.toggle-switch input[type="radio"] {
  transform: scale(1.2);
  cursor: pointer;
}

/* ðŸ”˜ Boutons Ã‰tape 5 */
/*.btns {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.btns .btn {
  background-color: #2c7a2c;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s ease;
}

.btns .btn:hover {
  background-color: #256225;
}

/* âœ… Responsive */
/*@media (max-width: 768px) {
  .podium {
    flex-direction: column;
    align-items: center;
  }
  .podium .card {
    max-width: 90%;
  }
}
/* FIN DU STYLE ETAPE 5 */


/* Style du tableau PHP*/
table {
            width: 100%;
            margin: 0 auto;
            border-collapse: collapse;
        }
        th, td {
            padding: 10px;
            text-align: center;
            border: 1px solid #ccc;
        }
        th {
            background-color: #8de396;
            color: white;
        }
        tr:nth-child(even) {
            background-color: #f2f2f2;
        }
        .produit-recommande {
            background-color: #FFD700;
            font-weight: bold;
        }
        @media (min-width: 640px) {
            table {
                width: 70%;
                margin: 20px auto;
                border-collapse: collapse;
            }
            .logo{
                width: 400px;
                height: auto;    
}
        }
        #btn-pdf {
            display: block;
            margin: 30px auto;
            padding: 10px 20px;
            font-size: 16px;
            background: #cbe4ce;
            color: white;
            border: none;
            cursor: pointer;
        }
/* Fin Style du tableau PHP*/