/* Innate Index Custom Styles */

/* Custom spacing utility classes for legacy support */
.margin-top-x2 {
  margin-top: 2rem !important;
}

.margin-top-x4 {
  margin-top: 4rem !important;
}

.margin-bottom-x2 {
  margin-bottom: 2rem !important;
}

.margin-bottom-x4 {
  margin-bottom: 4rem !important;
}

.margin-bottom {
  margin-bottom: 1rem !important;
}

.padding-0 {
  padding: 0 !important;
}

/* Custom form styling for the assessment */
.question-radio-group {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 32rem;
  margin-left: auto;
}

@media (max-width: 768px) {
  .question-radio-group {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Specific styling for the Innate Index branding */
.innate-index-logo {
  max-width: 300px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

/* Results page specific styling */
.result-score {
  font-size: 2rem;
  font-weight: bold;
  color: #4338ca;
}

.result-bar {
  height: 1.5rem;
  background-color: #e0e7ff;
  border-radius: 0.25rem;
  overflow: hidden;
  position: relative;
}

.result-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #4338ca;
  transition: width 0.5s ease-out;
}
