.first-steps > form {
  background-color: unset;
  display: flex;
  margin-inline: auto;
  overflow: hidden;
  max-width: 72ch;
}
.first-steps > form > * {
  margin-right: 1em;
  transition: all 350ms ease;
  min-width: calc(100%);
}

.first-steps .dashboard__box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.first-steps .dashboard__box fieldset:has(+ fieldset) {
  background-color: var(--background-light);
  border-top: 2px solid var(--foreground);
  padding: 1em;
}
.first-steps .dashboard__box fieldset:has(+ fieldset) [type=checkbox] {
  background-color: var(--background-lighter);
}
.first-steps .dashboard__box fieldset:has(+ fieldset) [type=checkbox]:checked {
  background-color: limegreen;
}
.first-steps .dashboard__box fieldset + fieldset {
  background-color: var(--background-light);
  border-top: 2px solid var(--foreground);
  margin-top: 2em;
  padding: 1em;
}

.first-steps .dashboard__box > fieldset:has([type=radio]) {
  grid-template-columns: 1fr;
  column-gap: 1em;
}
@media (min-width: 30em) {
  .first-steps .dashboard__box > fieldset:has([type=radio]) {
    grid-template-columns: auto 1fr;
    column-gap: 1em;
  }
}
.first-steps .dashboard__box p {
  grid-column-start: unset;
  grid-column-end: unset;
}
@media (min-width: 30em) {
  .first-steps .dashboard__box p {
    grid-column-start: 1;
    grid-column-end: 3;
  }
}
.first-steps .dashboard__box .span-2 {
  grid-column-start: 1;
  grid-column-end: 3;
}
.first-steps .dashboard__box div {
  padding: .5em;
}

.first-steps .grid-3-col {
  grid-template-columns: 1fr 1fr 1fr;
}
.first-steps .span-3:is(p) {
  grid-column-start: 1;
  grid-column-end: 4;
}

.currency-selector {
  align-items: flex-start;
  display: flex;
  gap: 1em;
  white-space: nowrap;
}
.currency-selector [type=checkbox] {
  background-color: limegreen;
  order: 2;
}
.currency-selector label:nth-of-type(1) {
  color: var(--foreground);
  order: 1;
}
.currency-selector label:nth-of-type(2) {
  margin-left: -.5em;
  order: 3;
}
.currency-selector [type=checkbox]:checked ~ label:nth-of-type(1) {
  color: var(--heading);
}
.currency-selector [type=checkbox]:checked ~ label:nth-of-type(2) {
  color: var(--foreground);
}

.first-steps .payment-element {
  display: block;
}

.first-steps__sub {
  align-self: center;
  background-color: var(--background-light);
}
.first-steps__sub label {
  align-items: center;
  display: flex;
  font-size: 1.2rem;
  min-width: 8em;
}
.first-steps__sub [type=radio] {
  margin: 0;
  opacity: 0;
  width: 0;
  height: 0;
}
.first-steps__sub .checkmark {
  align-items: center;
  background-color: rgba(211, 211, 211, .75);
  clip-path: polygon(25% 0, 75% 0, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0 75%, 0 25%);
  display: flex;
  justify-content: center;
  margin-right: .5em;
  visibility: visible;
  width: 1.3em;
  height: 1.3em;
}
.first-steps__sub .checkmark::after {
  content: "\266A";
}
.first-steps__sub:hover [type=radio] ~ .checkmark {
  visibility: visible;
}
.first-steps__sub [type=radio]:checked ~ .checkmark {
  background-color: limegreen;
  visibility: visible;
}

.first-steps__sub-description {
  background-image: url(../public/img/background-bright.png);
  border: 1px solid var(--foreground);
  display: flex;
  flex-direction: column;
  gap: 2em;
}
.first-steps__sub-description small {
  font-size: .9rem;
}
.first-steps__sub-description data {
  align-self: center;
  font-weight: bold;
  white-space: nowrap;
}

.first-steps__password {
  align-items: center;
  display: flex;
  gap: 1.2em;
  justify-content: center;
  margin-top: 2em;
}
.first-steps__password label {
  font-size: 1rem;
  text-transform: none;
}
.first-steps__password div {
  flex: 1;
  max-width: 15em;
}
.first-steps__password [type=password] {
  width: 100%;
}

#submit.stripe-button {
  display: block;
  margin-inline: auto;
  min-width: 10em;
}

.first-steps__navigation {
  width: 100%;
}

.first-steps .first-steps__navigation:is(div) {
  color: var(--foreground);
  display: flex;
  font-size: 1.35rem;
  justify-content: space-between;
  margin-top: 3em;
  margin-inline: auto;
  padding: 0;
  max-width: 72ch;
}
.first-steps .skip-previous:hover:is(small),
.first-steps .skip-next:hover:is(small) {
  color: var(--heading);
  cursor: pointer;
}
.first-steps .first-steps__navigation svg {
  width: auto;
  height: 1.2em;
}
.first-steps .first-steps__navigation svg path {
  fill: var(--foreground);
}
.first-steps .skip-previous:hover svg path,
.first-steps .skip-next:hover svg path {
  fill: var(--heading);
}
