.question {
  margin-bottom: 3rem;
}

.question-title,
h3 {
  color: var(--brand-regulatory-deep);
}

.sidebar {
  background-color: #14123b;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
  top: 0;
  left: 0;
  flex: 0 0 auto;
  padding-right: 0;
}

.sidebar button {
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px;
  text-align: left;
  font-size: 16px;
  color: #FFFFFF;
  font-weight: bold;
  width: 100%;
  position: relative;
  transition: 0.3s;
  border-radius: 0;
  padding-right: 0;
}

.sidebar button.active,
.sidebar button:hover {
  color: var(--brand-regulatory);
  transform: none;
}

.sidebar button:hover span {
  transform: scale(1.5);
}

.sidebar button.active::after {
  right: -10px;
  top: 0;
  content: "";
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-right: 20px solid var(--brand-regulatory);
}

#surveyForm {
  margin-top: 2rem;
}

.content {
  margin-top: 2rem;
  flex-grow: 1;
}

.tabcontent {
  display: none;
  position: relative;
  padding-top: 3rem;
  padding-bottom: 10rem;
}

.tabcontent h2 {
  color: var(--brand-regulatory-deep);
  font-size: 2rem;
}

.tabcontent h3 {
  color: var(--brand-regulatory-deep);
  font-size: 1.5rem;
}

.question-title {
  font-size: 1.2rem;
}

.question-instructions {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--copy-default);
}

.question label {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.question label span {
  margin-left: 5px;
  color: var(--copy-default);
}

.question input[type="radio"] {
  margin-top: 4px;
}

.hidden {
  display: none;
}

/* Hide the default radio button */
.custom-radio input[type="radio"] {
  display: none;
}

/* Style the custom radio button */
.custom-radio {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  color: #14123b;
}

.custom-radio .radio-mark {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 2px solid var(--brand-regulatory-deep);
  border-radius: 50%;
  margin-top: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background-color: #fff;
  transition: background-color 0.3s, border-color 0.3s;
}

.custom-radio input[type="radio"]:checked+.radio-mark {
  border-color: var(--brand-regulatory-deep);
}

.custom-radio input[type="radio"]:checked+.radio-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-regulatory-deep);
  transform: translate(-50%, -50%);
}

.custom-radio:has(input:checked) {
  color: var(--brand-regulatory-deep);
}

.custom-radio:hover .radio-mark {
  border-color: var(--brand-regulatory);
}

#Glyph {
  fill: #FFFFFF;
  vertical-align: bottom;
  width: 20px;
}

.active #Glyph {
  fill: var(--brand-regulatory);
}

.learn-more,
.perfect-score,
#suggestionsContainer {
  margin-top: 2rem;
}

.perfect-score span {
  color: var(--brand-regulatory-deep);
}

ul li {
  color: #14123b;
}

.survey-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tablinks {
  position: relative;
  border-radius: 0.625rem;
  background-image: none;
}

.tablinks.has-score::after {
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  background: #14123b;
  opacity: .5;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

.js-domain-score {
  display: block;
  margin-top: 1rem;
  font-size: 1.5rem !important;
  line-height: normal;
  color: var(--brand-regulatory) !important;
}

.tablinks span {
  color: var(--copy-default-inverse);
  letter-spacing: 0.5px;
  font-size: 20px;
  text-transform: uppercase;
}

.back-home {
  position: absolute;
  top: 2rem;
  right: 0;
}

#suggestionsList {
  text-align: left;
}

#suggestionsList li {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

#suggestionsList li:nth-child(n+3) {
  display: none;
}

@media screen and (min-width: 899px) {
  .mobile-only {
    display: none;
  }

  .sidebar {
    width: 25%;
    height: 100vh;
  }

  .tablinks {
    width: 25%;
    min-height: 200px;
    background-size: cover;
  }

  .tablinks:hover {
    background-blend-mode: multiply;
  }

  .survey-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}