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



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

.morphotype-quiz-title {
  font-weight: 700;
  font-size: 24px;
  color: #000000;
  margin: 0 0 15px 0;
}

.morphotype-quiz-description {
  font-size: 14px;
  color: #777777;
  line-height: 1.4;
  margin: 0;
}

.progress-bar-container {
  width: 100%;
  height: 4px;
  background: #f8f9fa;
  margin: 30px 0;
  border-radius: 2px;
  overflow: hidden;
}

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

.question-container {
  display: none;
  margin-bottom: 30px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.question-container.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.question-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 10px;
  text-align: center;
  color: #000;
}

.question-helper {
  font-size: 14px;
  color: #777777;
  text-align: center;
  margin-bottom: 20px;
}

.body-types {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.body-type-option {
  cursor: pointer;
  padding: 15px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  width: 200px;
}

.body-type-option:hover {
  background: rgba(78, 157, 216, 0.05);
}

.body-type-option.selected {
  border-color: #4E9DD8;
  background: rgba(78, 157, 216, 0.05);
}

.body-shape {
  height: 300px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.body-type-option:hover .body-shape {
  transform: scale(1.05);
}

.option-label {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  color: #000;
  font-family: 'Montserrat', sans-serif;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.radio-option {
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 8px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.radio-option:hover {
  background: rgba(78, 157, 216, 0.05);
}

.radio-option input {
  margin-right: 15px;
  width: 18px;
  height: 18px;
  accent-color: #4E9DD8;
}

.radio-label-text {
  color: #000;
  font-size: 14px;
}

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

.nav-button {
  font-family: "New Hero";
  cursor: pointer;
  text-transform: uppercase;
  font-style: italic;
  font-weight: 800;
  padding: 11px 35px;
  background-color: #000;
  font-size: 1.5rem;
  color: #fff;
  border: 1px solid #000;
  border-radius: 5px;
  transition: background-color .4s, color .4s ease-in-out;
}

.nav-button:hover:not(:disabled) {
  background-color: #fff;
  color: #000;
}

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

.result-container {
  display: none;
  animation: fadeIn 0.5s ease;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.result-container.visible {
  display: block;
}

.result-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 20px;
  color: #000;
  text-align: center;
}

.result-description {
  font-size: 16px;
  line-height: 1.6;
  background: rgba(78, 157, 216, 0.05);
  padding: 20px;
  padding-left: 10px !important;
  padding-right: 10px !important;
  border-radius: 8px;
  color: #000;
}

.scores-breakdown {
  margin-bottom: 25px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.scores-breakdown h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #000;
  margin-bottom: 15px;
  text-align: center;
}

.score-bar-container {
  margin-bottom: 15px;
}

.score-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 14px;
  color: #000;
}

.score-bar-label strong {
  font-weight: 600;
}

.score-bar {
  width: 100%;
  height: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  transition: width 0.3s ease;
}

.score-bar-fill.ecto-color {
  background: #4E9DD8;
}

.score-bar-fill.meso-color {
  background: #000;
}

.score-bar-fill.endo-color {
  background: #777777;
}

.morphotype-result h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #000;
  margin-bottom: 20px;
  text-align: center;
}

.result-section {
  margin-bottom: 25px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.result-section h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #000;
  margin-bottom: 10px;
}

.result-section ul {
  list-style: none;
  padding-left: 0;
}

.result-section ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
  line-height: 1.6;
  color: #000;
}

.result-section ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #4E9DD8;
  font-weight: bold;
}

.mixed-intro {
  font-size: 14px;
  line-height: 1.6;
  color: #777777;
  margin-bottom: 20px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.tools-links-section {
  display: none;
  margin-top: 40px;
  padding: 25px;
  padding-left: 10px !important;
  padding-right: 10px !important;
  background-color: #F8F8F8;
  border-radius: 6px;
  border: 1px solid #E0E0E0;
}

.tools-links-section.visible {
  display: block;
}

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

.tools-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.tool-link-item {
  display: block;
  padding: 15px;
  background-color: #FFFFFF;
  border-radius: 6px;
  border: 2px solid #E0E0E0;
  text-decoration: none !important;
  color: #000;
  transition: all 0.3s ease;
}


.tool-link-item:hover {
  border-color: #000;
  background-color: rgba(78, 157, 216, 0.05);
}

.tool-link-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
  color: #000;
}

.tool-link-desc {
  font-size: 12px;
  color: #777777;
}

@media (max-width: 768px) {
  .body-types {
    flex-direction: column;
    align-items: center;
  }
  
  .body-type-option {
    width: 100%;
    max-width: 300px;
  }
  
  .morphotype-quiz-container {
    padding: 20px 15px;
  }
  
  .tools-links-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .morphotype-quiz-title {
    font-size: 20px;
  }
  
  .question-text {
    font-size: 16px;
  }
  
  .nav-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .nav-button {
    width: 100%;
  }
}

