.somatotype-calculator-container {
  max-width: 800px;
  margin: 20px auto;
  padding: 25px;
  color: #000;
  background-color: #fff;
  font-family: 'Open Sans', sans-serif;
  border-radius: 6px;
}

.somatotype-header {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  padding-left: 10px !important;
  padding-right: 10px !important;
  background-color: #f8f8f8;
  border-radius: 6px;
}

.somatotype-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #000;
  margin: 0 0 10px 0;
}

.somatotype-subtitle {
  font-size: 14px;
  color: #777777;
  margin: 0;
  line-height: 1.5;
}

.somatotype-progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 4px;
  margin-bottom: 30px;
  overflow: hidden;
}

.somatotype-progress-fill {
  height: 100%;
  background: #000;
  transition: width 0.3s ease;
  width: 0%;
}

.somatotype-step {
  display: none;
  animation: fadeIn 0.3s ease;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.somatotype-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.somatotype-step-header {
  margin-bottom: 25px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.somatotype-step-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #000;
  margin: 0 0 10px 0;
}

.somatotype-step-description {
  color: #777777;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.somatotype-input-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

/* Étape 1 : 3 champs sur 3 lignes */
.somatotype-step[data-step="1"] .somatotype-input-grid {
  grid-template-columns: 1fr;
}

.somatotype-input-group {
  position: relative;
}

.somatotype-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #000;
  margin-bottom: 8px;
}

.somatotype-label-help {
  display: block;
  font-size: 12px;
  color: #999;
  font-weight: 400;
  margin-top: 4px;
}

.somatotype-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.somatotype-input {
  width: 100%;
  padding: 12px 45px 12px 12px;
  border: 2px solid #000;
  border-radius: 6px;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  transition: all 0.2s ease;
  background-color: #fff;
}

.somatotype-input:focus {
  outline: none;
  border-color: #4E9DD8;
  box-shadow: 0 0 0 3px rgba(78, 157, 216, 0.1);
}

.somatotype-input-unit {
  position: absolute;
  right: 12px;
  color: #777777;
  font-size: 14px;
  pointer-events: none;
}

.somatotype-radio-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.somatotype-radio-option {
  flex: 1;
  min-width: 120px;
}

.somatotype-radio-input {
  display: none;
}

.somatotype-radio-label {
  display: block;
  padding: 12px 20px;
  border: 2px solid #000;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #000;
}

.somatotype-radio-input:checked + .somatotype-radio-label {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.somatotype-radio-label:hover {
  border-color: #4E9DD8;
}

.somatotype-help-section {
  background-color: #2b87da24;
  padding: 15px;
  padding-left: 10px !important;
  padding-right: 10px !important;
  margin: 20px 0;
  border-radius: 4px;
}

.somatotype-help-warning {
  background-color: #fff3cd;
  border-left-color: #ffc107;
}

.somatotype-help-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #000;
  margin: 0 0 10px 0;
  font-size: 14px;
}

.somatotype-help-text {
  color: #555;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.somatotype-nav-buttons {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  margin-top: 30px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.somatotype-nav-button {
  font-family: "New Hero";
  padding: 11px 35px;
  border: 1px solid #000;
  border-radius: 5px;
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.somatotype-nav-button.previous {
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
}

.somatotype-nav-button.previous:hover:not(:disabled) {
  background-color: #f8f8f8;
}

.somatotype-nav-button.next {
  background-color: #000;
  color: #fff;
  flex: 1;
}

.somatotype-nav-button.next:hover:not(:disabled) {
  background-color: #333;
}

.somatotype-nav-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #ccc;
}

.somatotype-result-container {
  display: none;
  padding: 30px;
  padding-left: 10px !important;
  padding-right: 10px !important;
  border-radius: 6px;
  margin-top: 20px;
}

.somatotype-result-container.active {
  display: block;
}

.somatotype-result-header {
  text-align: center;
  margin-bottom: 30px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.somatotype-result-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #000;
  margin: 0 0 10px 0;
}

.somatotype-result-subtitle {
  font-size: 14px;
  color: #777777;
  margin: 0;
}

.somatotype-result-score {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.somatotype-score-item {
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 6px;
  min-width: 150px;
  border: 2px solid #000;
}

.somatotype-score-label {
  font-size: 12px;
  color: #777777;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.somatotype-score-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #000;
  margin: 0;
}

.somatotype-chart-container {
  background-color: #fff;
  padding: 30px;
  padding-left: 15px !important;
  padding-right: 15px !important;
  border-radius: 6px;
  margin: 20px 0;
}

.somatotype-chart-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #000;
  margin: 0 0 20px 0;
  text-align: center;
}

.somatotype-interpretation {
  background-color: #fff;
  padding: 25px;
  padding-left: 10px !important;
  padding-right: 10px !important;
  border-radius: 6px;
  margin: 20px 0;
}

.somatotype-interpretation h3 {
  font-weight: 600;
  font-size: 18px;
  color: #000;
  margin: 0 0 15px 0;
}

.somatotype-interpretation p {
  line-height: 1.6;
  margin: 0 0 15px 0;
  font-size: 14px;
}

.somatotype-interpretation ul {
  margin: 10px 0;
  padding-left: 25px;
}

.somatotype-interpretation li {
  color: #555;
  line-height: 1.8;
  margin-bottom: 8px;
  font-size: 14px;
}

.somatotype-recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.somatotype-recommendation-card {
  background-color: #fff;
  padding: 20px;
  padding-left: 10px !important;
  padding-right: 10px !important;
  border-radius: 6px;
  border: 2px solid #000;
}

.somatotype-recommendation-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #000;
  margin: 0 0 12px 0;
}

.somatotype-recommendation-card ul {
  margin: 0;
  padding-left: 20px;
}

.somatotype-recommendation-card li {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.somatotype-reset-button {
  font-family: "New Hero";
  display: block;
  width: 100%;
  margin-top: 30px;
  padding: 11px;
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 5px;
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.somatotype-reset-button:hover {
  background-color: #f8f8f8;
}

@media (max-width: 768px) {
  .somatotype-calculator-container {
    padding: 20px 15px;
  }

  .somatotype-input-grid {
    grid-template-columns: 1fr;
  }

  .somatotype-result-score {
    flex-direction: column;
    gap: 15px;
  }

  .somatotype-recommendations {
    grid-template-columns: 1fr;
  }

  .somatotype-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .somatotype-nav-buttons {
    flex-direction: column;
  }

  .somatotype-nav-button {
    width: 100%;
  }
}

