.nhs-tax-shell {
  margin-top: 26px;
}

.nhs-tax-country-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.nhs-tax-country-tab {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--nhs-border);
  border-radius: 999px;
  background: #fff;
  color: #526277;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nhs-tax-country-tab.is-active {
  background: var(--nhs-blue);
  border-color: var(--nhs-blue);
  color: #fff;
}

.nhs-tax-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 18px;
  align-items: start;
}

.nhs-tax-card-head {
  margin-bottom: 18px;
}

.nhs-tax-card-head h2,
.nhs-tax-card-head p {
  margin: 0;
}

.nhs-tax-card-head p {
  margin-top: 4px;
  color: #526277;
}

.nhs-tax-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nhs-tax-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nhs-tax-field span {
  color: #526277;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nhs-tax-field input,
.nhs-tax-field select {
  min-height: 52px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid var(--nhs-border);
  border-radius: 14px;
  background: #fff;
  color: var(--nhs-ink);
  font: inherit;
}

.nhs-tax-field small,
.nhs-tax-guidance,
.nhs-tax-results-note {
  color: #526277;
  line-height: 1.5;
}

.nhs-tax-results-card {
  position: sticky;
  top: 18px;
}

.nhs-tax-results-top {
  padding: 16px 16px 18px;
  border-radius: 16px;
  background: var(--nhs-blue);
  margin-bottom: 16px;
}

.nhs-tax-results-top .nhs-home-results-label,
.nhs-tax-results-top .nhs-home-results-value,
.nhs-tax-results-top .nhs-home-results-badge,
.nhs-tax-results-top .nhs-tax-results-note {
  color: #fff;
}

.nhs-tax-results-note {
  margin: 10px 0 0;
  font-size: 14px;
}

.nhs-tax-guidance {
  margin: 14px 0 0;
}

@media (max-width: 980px) {
  .nhs-tax-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nhs-tax-results-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .nhs-tax-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
