
.button {
    display: block;
    width: 100%;
    text-align: center;
    max-width: var(--max-width-screen);
    padding: 1rem 1.5rem;
    background: var(--brand-600);
    color: var(--neutral-00) !important;
    border: none;
    outline: none;
    border-radius: 1rem;
    font-size: var(--font-lg);
    font-weight: 500;
    line-height: 1rem;
    cursor: pointer;
}

.button:hover {
    background: var(--brand-500);
}

.button:active {
    background: var(--brand-400);
    color: var(--neutral-700);
}

.button:focus {
    outline: 2px solid var(--brand-400);
    outline-offset: -1px;
}

.button:disabled {
    background: var(--neutral-200);
    color: var(--neutral-700);
}

.input {
    display: block;
    width: 100%;
    max-width: 16rem;
}

.input__label {
    display: inline-block;
    padding-bottom: 0.5rem;
    color: var(--neutral-50);
    font-size: var(--font-lg);
    font-weight: 500;
    line-height: 1rem;
}

.input__field {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: var(--input-bg);
    color: var(--neutral-50);
    font-size: var(--font-md);
    line-height: 1.5rem;
    outline: 1px solid var(--neutral-300);
    border-radius: 0.75rem;
    border: none;
}

.input__field:focus {
    background: var(--neutral-600);
    outline: 2px solid var(--brand-600);
    box-shadow: var(--shadow-input);
}

.input__field:disabled {
    background: var(--neutral-800);
    border: 1px solid var(--neutral-500);
}

.card {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 24rem;
    background: var(--neutral-700);
    border-radius: 1rem;
    padding: 1.5rem 0.5rem;
}

.card:active {
    opacity: 0.8;
}

.card__circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 5rem;
    background: var(--card-circle-bg);
    overflow: visible;
}

.card__title {
    flex: 1;
}

.card__button {
    background: none;
    border: none;
    outline: none;
    margin-right: 0.5rem;
}


.steps {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(4.5rem + env(safe-area-inset-bottom));
    padding: 0.75rem 1.5rem;
    background: #1E1E1E;
    box-shadow: var(--shadow-nav);
    border-radius: 1rem 1rem 0 0;
    z-index: 10;
}

.steps__inner {
    width: 100%;
    height: 100%;
    max-width: var(--max-width-screen);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

.steps__btn-group label {
  display: none;
}

.steps__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 2.5rem;
    background: var(--brand-600);
    border: none;
    cursor: pointer;
}

.steps__btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}

.steps__prev img {
    padding-right: 0.25rem;
}

.steps__next img {
    padding-left: 0.125rem;
}

.steps__middle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.steps__step {
    position: relative;
    width: 0.5rem;
    height: 0.5rem;
    background: var(--brand-300);
    opacity: 0.3;
    border-radius: 0.5rem;
    list-style: none;
}

.steps__pill {
    position: absolute;
    inset: 0;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.steps__btn-group label {
    display: none;
}

.slides {
    z-index: 2;
}

.slide {
  position: absolute;
  width: 100%;
  height: calc(100% - 4rem);
  top: 0;
  left: 0;
  transform: translateX(100%); /* start off to the right */
  opacity: 0;
  padding: calc(4rem + env(safe-area-inset-top)) 1.5rem 1.5rem 1.5rem;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
  z-index: -1;
}

.slide--slim {
    padding: calc(4rem + env(safe-area-inset-top)) 3.25rem 3.25rem 3.25rem;
}

.steps__step {
    opacity: 0.3;
}

.steps__step[style*="opacity: 1"] {
    transition: opacity 0.3s ease;
}

.tabbed {
    overflow-x: hidden;
}

.tabbed [type="radio"] {
	display: none;
}

.tabs {
	display: flex;
	list-style: none;
	padding: 0;
    margin-bottom: 1.5rem;
}

.tab label {
    display: block;
    font-size: var(--font-md);
    color: var(--neutral-00);
    line-height: 1.5rem;
    padding: 0.5rem 0.75rem;
    border-bottom: 2px solid var(--neutral-600);
}

.tab-content {
	display: none;
}

.tabbed [type="radio"]:nth-of-type(1):checked ~ .tabs .tab:nth-of-type(1) label,
.tabbed [type="radio"]:nth-of-type(2):checked ~ .tabs .tab:nth-of-type(2) label {
    border-bottom: 2px solid var(--brand-400);
}

.tabbed [type="radio"]:nth-of-type(1):checked ~ .tab-content:nth-of-type(1),
.tabbed [type="radio"]:nth-of-type(2):checked ~ .tab-content:nth-of-type(2) {
    display: block;
}
