.sr-steps-form,
.sr-steps-form * {
    box-sizing: border-box;
}

.sr-steps-form [hidden] {
    display: none !important;
}

.sr-steps-form {
    --sr-steps-bg: #f4f6ff;
    --sr-steps-card: #ffffff;
    --sr-steps-text: #050710;
    --sr-steps-muted: #4a4d59;
    --sr-steps-border: #dfe3ea;
    --sr-steps-primary: #4148f5;
    --sr-steps-primary-hover: #2f38e8;
    --sr-steps-success: #80F0B8;
    --sr-steps-success-hover: #7ddda8;
    --sr-steps-title: #10269f;
    --sr-steps-danger: #b42318;
    --sr-steps-danger-bg: #fff1f0;
    --sr-steps-nav-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    --sr-steps-nav-width: calc(100% - 200px);

    position: relative;
    left: 50%;
    min-height: 100dvh;
    width: 100vw;
    margin-top: -1rem;
    margin-left: -50vw;
    color: var(--sr-steps-text);
    background: var(--sr-steps-bg);
    font-family: inherit;
}

.sr-steps-form::after {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    height: calc(6.4rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(223, 227, 234, 0.9);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 30px rgba(5, 7, 16, 0.08);
    content: "";
}

.sr-steps-form:has(.sr-steps-form__form--step-cnpj)::after {
    height: calc(10.25rem + env(safe-area-inset-bottom, 0px));
}

.sr-steps-form--completed::after {
    display: none;
}

.sr-steps-form--completed .sr-onboarding-header {
    border-bottom-right-radius: 0;
}

.sr-steps-form__body {
    width: min(100%, 30.25rem);
    margin: 0 auto;
    padding: 2rem 1rem 7.4rem;
}

.sr-steps-form--completed .sr-steps-form__body {
    padding-top: 0;
    padding-bottom: 2rem;
}

.sr-steps-form__loading {
    display: grid;
    min-height: 10rem;
    place-items: center;
}

.sr-steps-form__loading::before {
    display: block;
    width: 4.75rem;
    height: 4.75rem;
    background: transparent url("../img/logo-feira-2.svg") center / contain no-repeat;
    content: "";
    animation: sr-steps-spin 900ms linear infinite;
}

.sr-steps-form__body:has(.sr-steps-form__form--step-cnpj) {
    padding-bottom: 11rem;
}

.sr-steps-form__form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin: 0;
    padding-bottom: 0;
}

.sr-steps-form__form--step-cnpj {
    padding-bottom: 4.5rem;
}

.sr-steps-form__topbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    right: 50%;
    bottom: var(--sr-steps-nav-bottom);
    z-index: 20;
    width: var(--sr-steps-nav-width);
    margin: 0;
    pointer-events: none;
    transform: translateX(50%);
}

.sr-steps-form__form--step-cnpj .sr-steps-form__topbar {
    bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
}

.sr-steps-form__heading {
    margin: 0;
    color: var(--sr-steps-text);
    font-family: inherit;
    font-size: 1.82rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    letter-spacing: 0;
}

.sr-steps-form__icon-button {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 3.25rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid #000000 !important;
    border-radius: 5px;
    color: #000000 !important;
    background: transparent !important;
    background-color: transparent !important;
    cursor: pointer;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    pointer-events: auto;
}

.sr-steps-form__icon-button:hover,
.sr-steps-form__icon-button:focus {
    border-color: #000000 !important;
    color: #000000 !important;
    background: transparent !important;
    background-color: transparent !important;
}

.sr-steps-form__icon-button:disabled {
    cursor: default;
    opacity: 0.35;
    visibility: hidden;
}

.sr-steps-form__icon-button--danger {
    color: #ec4154;
}

.sr-steps-form__topbar-spacer {
    display: block;
    width: 100%;
    height: 3.25rem;
}

.sr-steps-form__profile-return {
    text-decoration: none;
}

.sr-steps-form__greeting {
    margin: 0 0 1.45rem;
    color: var(--sr-steps-text);
    font-size: 1.32rem;
    font-weight: 800;
    line-height: 1.2;
}

.sr-steps-form__progress {
    display: grid;
    gap: 0.7rem;
    margin: 0 0 1.15rem;
}

.sr-steps-form__progress-summary {
    margin: 0;
    color: var(--sr-steps-muted);
    font-size: 0.84rem;
    line-height: 1.2;
}

.sr-steps-form__progress-bar {
    height: 0.45rem;
    overflow: hidden;
    border-radius: 999px;
    background: #d8ddec;
}

.sr-steps-form__progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--sr-steps-primary);
    transition: width 220ms ease;
}

.sr-steps-form__progress-steps {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sr-steps-form__progress-step {
    display: grid;
    gap: 0.3rem;
    justify-items: center;
    min-width: 0;
    color: var(--sr-steps-muted);
    font-size: 0.68rem;
    line-height: 1.1;
    text-align: center;
}

.sr-steps-form__progress-dot {
    width: 0.68rem;
    height: 0.68rem;
    border: 1px solid var(--sr-steps-border);
    border-radius: 999px;
    background: #ffffff;
}

.sr-steps-form__progress-label {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sr-steps-form__progress-step.is-completed,
.sr-steps-form__progress-step.is-active {
    color: var(--sr-steps-primary);
    font-weight: 700;
}

.sr-steps-form__progress-step.is-completed .sr-steps-form__progress-dot,
.sr-steps-form__progress-step.is-active .sr-steps-form__progress-dot {
    border-color: var(--sr-steps-primary);
    background: var(--sr-steps-primary);
}

.sr-steps-form__progress-step.is-active .sr-steps-form__progress-dot {
    box-shadow: 0 0 0 4px rgba(64, 80, 245, 0.16);
}

.sr-steps-form__step-content {
    position: relative;
    min-height: 15rem;
}

.sr-steps-form__step {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    width: 100%;
}

.sr-steps-form__step--cpf {
    padding-top: 0;
}

.sr-steps-form__title {
    margin: 0;
    color: var(--sr-steps-title);
    font-size: 1.95rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
}

.sr-steps-form__step-counter {
    margin: 0.2rem 0 2rem;
    color: var(--sr-steps-text);
    font-size: 1rem;
    line-height: 1.2;
}

.sr-steps-form__card {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    padding: 1.65rem 1.25rem 1.35rem;
    border-radius: 1.35rem;
    background: var(--sr-steps-card);
}

.sr-steps-form--enter-forward .sr-steps-form__step > .sr-steps-form__errors,
.sr-steps-form--enter-forward .sr-steps-form__card > :not(.sr-steps-form__actions):not(.sr-steps-form__skip) {
    animation: sr-steps-enter-forward 220ms ease-out both;
}

.sr-steps-form--enter-backward .sr-steps-form__step > .sr-steps-form__errors,
.sr-steps-form--enter-backward .sr-steps-form__card > :not(.sr-steps-form__actions):not(.sr-steps-form__skip) {
    animation: sr-steps-enter-backward 220ms ease-out both;
}

.sr-steps-form__form.is-loading.sr-steps-form--exit-forward .sr-steps-form__step > .sr-steps-form__errors,
.sr-steps-form__form.is-loading.sr-steps-form--exit-forward .sr-steps-form__card > :not(.sr-steps-form__actions):not(.sr-steps-form__skip) {
    animation: sr-steps-exit-forward 180ms ease-in both;
}

.sr-steps-form__form.is-loading.sr-steps-form--exit-backward .sr-steps-form__step > .sr-steps-form__errors,
.sr-steps-form__form.is-loading.sr-steps-form--exit-backward .sr-steps-form__card > :not(.sr-steps-form__actions):not(.sr-steps-form__skip) {
    animation: sr-steps-exit-backward 180ms ease-in both;
}

.sr-steps-form__cpf-card {
    min-height: 15rem;
}

.sr-steps-form__field {
    width: 100%;
}

.sr-steps-form__field + .sr-steps-form__field {
    margin-top: 1rem;
}

.sr-steps-form__label {
    display: block;
    margin: 0 0 0.48rem;
    color: var(--sr-steps-text);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
}

.sr-steps-form__prompt {
    margin: 0 0 1.2rem;
    color: var(--sr-steps-text);
    font-size: 1.05rem;
    line-height: 1.25;
}

.sr-steps-form__notice {
    margin: 0 0 1rem;
    padding: 0.875rem 1rem;
    border: 1px solid #f1d88b;
    border-radius: 8px;
    background: #fff9e8;
    color: #5f4b12;
    font-size: 0.95rem;
    line-height: 1.4;
}

.sr-steps-form__consent {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    width: 100%;
    margin: 0 0 1.15rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--sr-steps-border);
    border-radius: 0.62rem;
    background: #ffffff;
    color: var(--sr-steps-text);
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.35;
}

.sr-steps-form__consent-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.sr-steps-form__consent-box {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.1rem;
    border: 1.5px solid var(--sr-steps-primary);
    border-radius: 4px;
    background: #ffffff;
    transition: background-color 160ms ease, box-shadow 160ms ease;
}

.sr-steps-form__consent-input:checked + .sr-steps-form__consent-box {
    background-color: var(--sr-steps-primary);
    box-shadow: inset 0 0 0 3px #ffffff;
}

.sr-steps-form__consent-input:focus-visible + .sr-steps-form__consent-box {
    box-shadow: 0 0 0 3px rgba(64, 80, 245, 0.16);
}

.sr-steps-form__consent-input:checked:focus-visible + .sr-steps-form__consent-box {
    box-shadow: inset 0 0 0 3px #ffffff, 0 0 0 3px rgba(64, 80, 245, 0.16);
}

.sr-steps-form__consent-label {
    display: block;
    min-width: 0;
    color: var(--sr-steps-text);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
}

.sr-steps-form__empty {
    margin: 0 0 1.2rem;
    padding: 0.875rem 1rem;
    border: 1px solid #d7e5f2;
    border-radius: 0.5rem;
    background: #f5fbff;
    color: #1f3b57;
    font-size: 0.95rem;
    line-height: 1.45;
}

.sr-steps-form__input {
    display: block;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--sr-steps-border);
    border-radius: 0.6rem;
    outline: none;
    background: #fbfcff;
    color: var(--sr-steps-text);
    font: inherit;
    font-size: 1rem;
    line-height: 1.2;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.sr-steps-form__input:focus {
    border-color: var(--sr-steps-primary);
    box-shadow: 0 0 0 3px rgba(64, 80, 245, 0.16);
}

.sr-steps-form__actions {
    display: flex;
    gap: 5px;
    position: fixed;
    right: 50%;
    bottom: var(--sr-steps-nav-bottom);
    z-index: 21;
    width: var(--sr-steps-nav-width);
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    pointer-events: none;
    transform: translateX(50%);
}

.sr-steps-form__form--step-cnpj .sr-steps-form__actions {
    bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
}

.sr-steps-form__primary,
.sr-steps-form__secondary,
.sr-steps-form__back {
    min-height: 3.25rem;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    font: inherit;
    font-size: 1rem;
    line-height: 1.1;
    text-align: center;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.sr-steps-form__primary,
.sr-steps-form__secondary {
    position: relative;
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    justify-content: center;
    width: 50%;
    min-width: 0;
    padding: 0.9rem 1.9rem;
    pointer-events: auto;
}

.sr-steps-form__primary {
    border-color: var(--sr-steps-primary);
    color: #ffffff;
    background: var(--sr-steps-primary);
}

.sr-steps-form__primary--success,
.sr-steps-form__form--last-step .sr-steps-form__primary {
    border-color: var(--sr-steps-border);
    color: var(--sr-steps-primary);
    background: var(--sr-steps-success);
}

.sr-steps-form__form--step-demand_items .sr-steps-form__primary {
    border-color: var(--sr-steps-border);
    color: var(--sr-steps-primary);
    background: var(--sr-steps-success);
}

.sr-steps-form__secondary {
    border-color: var(--sr-steps-border);
    color: var(--sr-steps-primary);
    background: #ffffff;
}

.sr-steps-form__skip {
    position: fixed;
    right: 50%;
    bottom: var(--sr-steps-nav-bottom);
    z-index: 21;
    width: var(--sr-steps-nav-width);
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(5, 7, 16, 0.08);
    transform: translateX(50%);
}

.sr-steps-form__primary:hover,
.sr-steps-form__primary:focus {
    background: var(--sr-steps-primary-hover);
}

.sr-steps-form__icon-button:focus-visible,
.sr-steps-form__primary:focus-visible,
.sr-steps-form__secondary:focus-visible,
.sr-steps-form__back:focus-visible {
    outline: 3px solid rgba(64, 80, 245, 0.22);
    outline-offset: 3px;
}

.sr-steps-form__primary--success:hover,
.sr-steps-form__primary--success:focus,
.sr-steps-form__form--last-step .sr-steps-form__primary:hover,
.sr-steps-form__form--last-step .sr-steps-form__primary:focus,
.sr-steps-form__form--step-demand_items .sr-steps-form__primary:hover,
.sr-steps-form__form--step-demand_items .sr-steps-form__primary:focus {
    background: var(--sr-steps-success-hover);
}

.sr-steps-form__secondary:hover,
.sr-steps-form__secondary:focus {
    color: var(--sr-steps-primary-hover);
}

.sr-steps-form__primary.is-loading::before,
.sr-steps-form__secondary.is-loading::before,
.sr-steps-form__icon-button.is-loading::before {
    display: inline-block;
    flex: 0 0 1.35rem;
    width: 1.35rem;
    height: 1.35rem;
    border: 0;
    border-radius: 0;
    background: transparent url("../img/logo-feira-2.svg") center / contain no-repeat;
    content: "";
    animation: sr-steps-spin 900ms linear infinite;
}

.sr-steps-form__icon-button.is-loading::before {
    margin-inline: auto;
}

.sr-steps-form__icon-button.is-loading span {
    display: none;
}

.sr-steps-form__form.is-loading .sr-steps-form__primary,
.sr-steps-form__form.is-loading .sr-steps-form__secondary,
.sr-steps-form__form.is-loading .sr-steps-form__icon-button,
.sr-steps-form__form.is-loading .sr-steps-form__profile-return,
.sr-steps-form__form.is-loading .sr-steps-form__back {
    cursor: wait;
    opacity: 0.82;
    pointer-events: none;
}

.sr-steps-form__form.is-loading .sr-steps-form__input,
.sr-steps-form__form.is-loading .sr-steps-form__company,
.sr-steps-form__form.is-loading .sr-steps-form__option,
.sr-steps-form__form.is-loading .sr-steps-form__chip {
    pointer-events: none;
}

.sr-steps-form__form.is-loading .sr-steps-form__step-content::before {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 1.35rem;
    background: var(--sr-steps-bg);
    content: "";
    animation: sr-steps-loading-surface 180ms ease-out 120ms both;
}

.sr-steps-form__form.is-loading .sr-steps-form__step-content::after {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 19;
    width: 4.75rem;
    height: 4.75rem;
    background: transparent url("../img/logo-feira-2.svg") center / contain no-repeat;
    content: "";
    transform: translate(-50%, -50%);
    animation: sr-steps-content-spin 900ms linear infinite;
}

.sr-steps-form__back {
    margin-top: 1rem;
    padding: 0.75rem 1.25rem;
    color: var(--sr-steps-primary);
    background: transparent;
}

.sr-steps-form__back:hover,
.sr-steps-form__back:focus {
    color: var(--sr-steps-primary-hover);
}

.sr-steps-form__errors {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(180, 35, 24, 0.18);
    border-radius: 0.75rem;
    color: var(--sr-steps-danger);
    background: var(--sr-steps-danger-bg);
}

.sr-steps-form__errors p {
    margin: 0;
}

.sr-steps-form__errors p + p {
    margin-top: 0.4rem;
}

.sr-steps-form__recaptcha-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(5, 7, 16, 0.58);
}

.sr-steps-form__recaptcha-modal.is-visible {
    display: flex;
}

.sr-steps-form__recaptcha-dialog {
    display: grid;
    gap: 1rem;
    justify-items: center;
    width: min(100%, 23rem);
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(5, 7, 16, 0.2);
    text-align: center;
}

.sr-steps-form__recaptcha-title {
    margin: 0;
    color: var(--sr-steps-text);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
}

.sr-steps-form__recaptcha-copy {
    margin: 0;
    color: var(--sr-steps-muted);
    font-size: 0.95rem;
    line-height: 1.35;
}

.sr-steps-form__recaptcha-widget {
    min-height: 4.875rem;
}

.sr-steps-form__recaptcha-cancel {
    width: 100%;
    padding: 0.85rem 1rem;
}

.sr-steps-form__recaptcha-disclosure {
    margin: 0.9rem 0 0;
    color: var(--sr-steps-muted);
    font-size: 0.68rem;
    line-height: 1.35;
    text-align: center;
}

.sr-steps-form__recaptcha-disclosure a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.grecaptcha-badge {
    visibility: hidden !important;
}

.sr-steps-form__company-list,
.sr-steps-form__option-list {
    display: grid;
    gap: 0.75rem;
}

.sr-steps-form__chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 0.55rem;
    align-items: flex-start;
}

.sr-steps-form__search {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1rem;
    position: relative;
}

.sr-steps-form__search-label {
    color: var(--sr-steps-muted);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.2;
}

.sr-steps-form__search-input {
    width: 100%;
    min-height: 3.25rem;
    padding: 0.78rem 1rem;
    border: 1.5px solid #cfd5e2;
    border-radius: 8px;
    color: var(--sr-steps-text);
    background: #ffffff;
    font: inherit;
    font-size: 1rem;
    line-height: 1.2;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
    appearance: none;
}

.sr-steps-form__search-input::placeholder {
    color: #757b8c;
}

.sr-steps-form__search-input:focus {
    border-color: var(--sr-steps-primary);
    outline: none;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(64, 80, 245, 0.13);
}

.sr-steps-form__search-empty {
    margin-bottom: 1rem;
}

.sr-steps-form__chip {
    position: relative;
    display: inline-flex;
    max-width: 100%;
}

.sr-steps-form__chip-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.sr-steps-form__chip-label {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 2rem;
    padding: 0.28rem 0.92rem;
    border: 1.5px solid var(--sr-steps-primary);
    border-radius: 999px;
    color: var(--sr-steps-primary);
    background: #ffffff;
    cursor: pointer;
    font-size: 1.08rem;
    font-weight: 400;
    line-height: 1.15;
    overflow-wrap: anywhere;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.sr-steps-form__chip-input:checked + .sr-steps-form__chip-label {
    color: #ffffff;
    background: var(--sr-steps-primary);
}

.sr-steps-form__chip-input:focus-visible + .sr-steps-form__chip-label {
    box-shadow: 0 0 0 3px rgba(64, 80, 245, 0.16);
}

.sr-steps-form__company,
.sr-steps-form__option {
    display: grid;
    grid-template-columns: 1.25rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    padding: 1rem;
    border: 1px solid var(--sr-steps-border);
    border-radius: 0.75rem;
    cursor: pointer;
    background: #ffffff;
}

.sr-steps-form__company:has(.sr-steps-form__company-input:checked),
.sr-steps-form__option:has(.sr-steps-form__option-input:checked) {
    border-color: var(--sr-steps-primary);
    box-shadow: 0 0 0 3px rgba(64, 80, 245, 0.12);
}

.sr-steps-form__company-input,
.sr-steps-form__option-input {
    margin-top: 0.15rem;
}

.sr-steps-form__company-content,
.sr-steps-form__option-content {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
    color: var(--sr-steps-muted);
    font-size: 0.92rem;
    line-height: 1.25;
}

.sr-steps-form__company-content strong,
.sr-steps-form__option-content strong {
    color: var(--sr-steps-text);
    font-size: 1rem;
    line-height: 1.2;
}

.sr-steps-form__empty,
.sr-steps-form__placeholder {
    margin: 0;
    color: var(--sr-steps-muted);
    font-size: 1rem;
    line-height: 1.45;
}

.sr-steps-form__step--completed {
    min-height: 0;
}

.sr-steps-form__completion-banner {
    display: grid;
    gap: 1.2rem;
    justify-items: center;
    width: 100%;
    min-height: 14.8rem;
    margin: 0 auto;
    padding: 3.4rem 1rem 4.1rem;
    color: var(--sr-steps-text);
    background: var(--sr-steps-success);
    border-bottom-right-radius: 50% 12%;
    border-bottom-left-radius: 50% 12%;
    text-align: center;
}

.sr-steps-form__completion-card {
    gap: 1.45rem;
    min-height: 32rem;
    padding: 1.7rem 1.45rem 1.25rem;
}

.sr-steps-form__completion-icon {
    position: relative;
    display: block;
    width: 4rem;
    height: 4rem;
    border: 0.42rem solid var(--sr-steps-primary);
    border-radius: 999px;
}

.sr-steps-form__completion-icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.55rem;
    height: 0.82rem;
    border-bottom: 0.42rem solid var(--sr-steps-primary);
    border-left: 0.42rem solid var(--sr-steps-primary);
    content: "";
    transform: translate(-50%, -62%) rotate(-45deg);
    transform-origin: center;
}

.sr-steps-form__completion-title {
    margin: 0;
    color: var(--sr-steps-text);
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
}

.sr-steps-form__completion-copy {
    margin: 0;
    color: var(--sr-steps-text);
    font-size: 1.08rem;
    line-height: 1.28;
}

.sr-steps-form__summary {
    display: grid;
    gap: 0.85rem;
    margin: 0;
}

.sr-steps-form__summary-item {
    display: grid;
    gap: 0.22rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--sr-steps-border);
}

.sr-steps-form__summary-item dt {
    margin: 0;
    color: var(--sr-steps-muted);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.sr-steps-form__summary-item dd {
    margin: 0;
    color: var(--sr-steps-text);
    font-size: 1rem;
    line-height: 1.3;
}

.sr-steps-form__restart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    margin-top: auto;
    padding: 0.85rem 1.25rem;
    border: 1.5px solid var(--sr-steps-border);
    border-radius: 999px;
    color: var(--sr-steps-text);
    font-size: 1rem;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition: border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.sr-steps-form__restart:hover,
.sr-steps-form__restart:focus {
    border-color: var(--sr-steps-primary);
    color: var(--sr-steps-primary);
}

.sr-steps-form__restart:focus-visible {
    outline: 3px solid rgba(64, 80, 245, 0.22);
    outline-offset: 3px;
}

.sr-steps-form--kiosk {
    --sr-steps-bg: #f4f6ff;
    --sr-steps-primary: #4148f5;
    --sr-steps-primary-hover: #2f38e8;
    --sr-steps-success: #b6f3c8;
    margin-top: 0;
    font-family: inherit;
}

.sr-steps-form--kiosk::after {
    height: calc(6.8rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(223, 227, 234, 0.9);
    border-top-left-radius: 1.1rem;
    border-top-right-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -10px 30px rgba(5, 7, 16, 0.08);
}

.sr-steps-form--kiosk.sr-steps-form--completed::after {
    display: none;
}

.sr-steps-form--kiosk:has(.sr-steps-form__form--step-cnpj)::after {
    height: calc(6.8rem + env(safe-area-inset-bottom, 0px));
}

.sr-steps-form--kiosk .sr-steps-form__body {
    width: min(100%, 46rem);
    padding: 3.35rem clamp(1.2rem, 4vw, 2rem) 8.2rem;
}

.sr-steps-form--kiosk .sr-steps-form__body:has(.sr-steps-form__form--step-cnpj) {
    padding-bottom: 8.2rem;
}

.sr-steps-form--kiosk .sr-steps-form__form {
    min-height: calc(100dvh - 8.55rem - 5.35rem);
}

.sr-steps-form--kiosk .sr-steps-form__form--step-cnpj {
    padding-bottom: 0;
}

.sr-kiosk-intro {
    margin: 0 0 1.35rem;
    text-align: center;
}

.sr-kiosk-intro__title {
    margin: 0;
    color: var(--sr-steps-text);
    font-size: clamp(2rem, 4vw, 2.45rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
}

.sr-kiosk-intro__copy {
    max-width: 42rem;
    margin: 1.45rem auto 0;
    color: var(--sr-steps-text);
    font-size: clamp(1.08rem, 2.3vw, 1.35rem);
    line-height: 1.32;
    text-align: left;
}

.sr-steps-form--kiosk .sr-steps-form__topbar,
.sr-steps-form--kiosk .sr-steps-form__actions {
    width: min(46rem, calc(100% - 2rem));
}

.sr-steps-form--kiosk .sr-steps-form__topbar {
    bottom: calc(1.45rem + env(safe-area-inset-bottom, 0px));
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.sr-steps-form--kiosk .sr-steps-form__form--step-cnpj .sr-steps-form__topbar {
    bottom: calc(1.45rem + env(safe-area-inset-bottom, 0px));
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sr-steps-form--kiosk .sr-steps-form__form--step-cnpj .sr-steps-form__topbar-spacer {
    display: none;
}

.sr-steps-form--kiosk .sr-steps-form__step-content {
    min-height: 0;
}

.sr-steps-form--kiosk .sr-steps-form__card {
    border-radius: 1.35rem;
    box-shadow: none;
}

.sr-steps-form--kiosk .sr-steps-form__cpf-card {
    min-height: 15.75rem;
    padding: 3.35rem clamp(2rem, 8vw, 5rem) 2.8rem;
}

.sr-steps-form--kiosk .sr-steps-form__label {
    font-size: 0.9rem;
    font-weight: 500;
}

.sr-steps-form--kiosk .sr-steps-form__input {
    min-height: 3.15rem;
    border-radius: 0.7rem;
    background: #fbfcff;
    font-size: 1.15rem;
}

.sr-steps-form--kiosk .sr-steps-form__actions {
    justify-content: flex-end;
    bottom: calc(1.45rem + env(safe-area-inset-bottom, 0px));
    width: min(46rem, calc(100% - 2rem));
}

.sr-steps-form--kiosk .sr-steps-form__form--step-cnpj .sr-steps-form__actions {
    bottom: calc(1.45rem + env(safe-area-inset-bottom, 0px));
}

.sr-steps-form--kiosk .sr-steps-form__primary,
.sr-steps-form--kiosk .sr-steps-form__secondary {
    width: min(50%, 14rem);
    min-width: 9.25rem;
    border-radius: 999px;
    font-size: 1.14rem;
}

.sr-steps-form--kiosk .sr-steps-form__icon-button {
    border-radius: 999px;
}

.sr-steps-form--kiosk .sr-steps-form__form--step-cnpj .sr-steps-form__primary,
.sr-steps-form--kiosk .sr-steps-form__form--step-cnpj .sr-steps-form__skip,
.sr-steps-form--kiosk .sr-steps-form__form--step-cnpj .sr-steps-form__icon-button {
    width: min(14.65rem, calc((100vw - 2rem - 10px) / 3));
    min-width: 0;
}

.sr-steps-form--kiosk .sr-steps-form__form--step-cnpj .sr-steps-form__skip {
    right: auto;
    left: 50%;
    bottom: calc(1.45rem + env(safe-area-inset-bottom, 0px));
    z-index: 22;
    transform: translateX(-50%);
}

.sr-steps-form--kiosk .sr-steps-form__primary--success,
.sr-steps-form--kiosk .sr-steps-form__form--last-step .sr-steps-form__primary {
    border-color: var(--sr-steps-primary);
    color: #ffffff;
    background: var(--sr-steps-primary);
}

.sr-steps-form--kiosk .sr-steps-form__progress {
    margin-bottom: 1.25rem;
}

.sr-steps-form--kiosk .sr-steps-form__recaptcha-disclosure {
    margin-bottom: 0;
}

.sr-kiosk-qr-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.sr-kiosk-qr-modal.is-visible {
    display: flex;
}

.sr-kiosk-qr-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 16, 0.52);
}

.sr-kiosk-qr-modal__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
    justify-items: center;
    width: min(100%, 26rem);
    padding: 2rem;
    border-radius: 1.25rem;
    background: #ffffff;
    color: var(--sr-steps-text);
    text-align: center;
    box-shadow: 0 24px 70px rgba(5, 7, 16, 0.24);
}

.sr-kiosk-qr-modal__dialog h2,
.sr-kiosk-qr-modal__dialog p {
    margin: 0;
}

.sr-kiosk-qr-modal__dialog h2 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.15;
}

.sr-kiosk-qr-modal__dialog p {
    font-size: 1.05rem;
    line-height: 1.35;
}

.sr-kiosk-qr-modal__dialog img {
    display: block;
    width: min(16rem, 70vw);
    height: auto;
    margin: 0.5rem auto;
}

.sr-kiosk-qr-modal__empty {
    padding: 1rem;
    border: 1px solid var(--sr-steps-border);
    border-radius: 0.75rem;
    background: #f8f9fc;
}

.sr-kiosk-qr-modal__button {
    width: 100%;
}

.sr-steps-form--kiosk-completed .sr-steps-form__completion-banner {
    min-height: 18.6rem;
    padding-top: 5.55rem;
    padding-bottom: 4.6rem;
    border-bottom-right-radius: 50% 9%;
    border-bottom-left-radius: 50% 9%;
}

.sr-steps-form--kiosk-completed .sr-steps-form__body {
    padding-top: 2.55rem;
    padding-bottom: 2rem;
}

.sr-kiosk-completion-card {
    min-height: min(50rem, calc(100dvh - 29rem));
    padding: 1.55rem clamp(1.35rem, 4vw, 2rem) 1.45rem;
}

.sr-kiosk-completion-card .sr-steps-form__completion-copy {
    max-width: 36rem;
    font-size: clamp(1.08rem, 2.3vw, 1.35rem);
}

.sr-kiosk-completion-card__qr {
    display: grid;
    flex: 1 1 auto;
    place-items: center;
    width: 100%;
    min-height: 16rem;
}

.sr-kiosk-completion-card__qr img {
    display: block;
    width: min(17.5rem, 58vw);
    height: auto;
}

.sr-steps-form--kiosk .sr-steps-form__restart {
    width: 100%;
    min-height: 3.55rem;
    margin-top: auto;
    border-color: #000000;
    border-radius: 999px;
    color: #000000;
    font-size: 1.12rem;
}

@media (max-width: 520px) {
    .sr-steps-form--kiosk .sr-steps-form__body {
        padding-top: 3.2rem;
    }

    .sr-steps-form--kiosk .sr-steps-form__cpf-card {
        padding: 3.35rem 3.3rem 3.35rem;
    }

    .sr-steps-form--kiosk .sr-steps-form__primary,
    .sr-steps-form--kiosk .sr-steps-form__secondary {
        min-width: 9.2rem;
    }

    .sr-steps-form--kiosk-completed .sr-steps-form__completion-banner {
        min-height: 17.2rem;
        padding-top: 5.1rem;
    }
}

@keyframes sr-steps-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes sr-steps-content-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes sr-steps-enter-forward {
    from {
        opacity: 0;
        transform: translateX(1rem);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes sr-steps-enter-backward {
    from {
        opacity: 0;
        transform: translateX(-1rem);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes sr-steps-exit-forward {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-1rem);
    }
}

@keyframes sr-steps-exit-backward {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(1rem);
    }
}

@keyframes sr-steps-loading-surface {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sr-steps-form__primary.is-loading::before,
    .sr-steps-form__secondary.is-loading::before,
    .sr-steps-form__icon-button.is-loading::before,
    .sr-steps-form__loading::before {
        animation-duration: 1600ms;
    }

    .sr-steps-form__form.is-loading .sr-steps-form__step-content::after {
        animation-duration: 1600ms;
    }

    .sr-steps-form--enter-forward .sr-steps-form__step > .sr-steps-form__errors,
    .sr-steps-form--enter-forward .sr-steps-form__card > :not(.sr-steps-form__actions):not(.sr-steps-form__skip),
    .sr-steps-form--enter-backward .sr-steps-form__step > .sr-steps-form__errors,
    .sr-steps-form--enter-backward .sr-steps-form__card > :not(.sr-steps-form__actions):not(.sr-steps-form__skip),
    .sr-steps-form__form.is-loading.sr-steps-form--exit-forward .sr-steps-form__step > .sr-steps-form__errors,
    .sr-steps-form__form.is-loading.sr-steps-form--exit-forward .sr-steps-form__card > :not(.sr-steps-form__actions):not(.sr-steps-form__skip),
    .sr-steps-form__form.is-loading.sr-steps-form--exit-backward .sr-steps-form__step > .sr-steps-form__errors,
    .sr-steps-form__form.is-loading.sr-steps-form--exit-backward .sr-steps-form__card > :not(.sr-steps-form__actions):not(.sr-steps-form__skip),
    .sr-steps-form__form.is-loading .sr-steps-form__step-content::before {
        animation: none;
    }
}

@media (max-width: 520px) {
    .sr-steps-form__body {
        padding-top: 1.85rem;
        padding-inline: 1rem;
        padding-bottom: 7.4rem;
    }

    .sr-steps-form {
        --sr-steps-nav-width: calc(100% - 2rem);
    }

    .sr-steps-form__card {
        min-height: 0;
        padding: 1.65rem 1.25rem 1.35rem;
        border-radius: 1.35rem;
    }

    .sr-steps-form__progress-steps {
        gap: 0.28rem;
    }

    .sr-steps-form__progress-label {
        display: none;
    }

    .sr-steps-form__cpf-card {
        min-height: 15rem;
    }

    .sr-steps-form__primary {
        min-width: 0;
    }

    .sr-steps-form__completion-banner {
        min-height: 13.8rem;
        padding-top: 3rem;
        padding-bottom: 3.7rem;
    }

    .sr-steps-form__completion-card {
        min-height: 36rem;
    }

    .sr-steps-form--kiosk .sr-steps-form__body {
        padding-top: 3.2rem;
        padding-bottom: 8.2rem;
    }

    .sr-steps-form--kiosk .sr-steps-form__cpf-card {
        min-height: 15.75rem;
        padding: 3.35rem 3.3rem;
    }

    .sr-steps-form--kiosk .sr-steps-form__primary,
    .sr-steps-form--kiosk .sr-steps-form__secondary {
        min-width: 9.2rem;
    }

    .sr-steps-form--kiosk-completed .sr-steps-form__completion-card {
        min-height: min(50rem, calc(100dvh - 29rem));
    }
}
