:root {
    color-scheme: light;
    --navy: #0d1036;
    --muted: #737a9f;
    --purple: #7A09D6;
    --purple-light: #9B4DE3;
    --line: #dcdaf0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
}

* {
    box-sizing: border-box
}

html,
body {
    min-height: 100%
}

body {
    margin: 0;
    color: var(--navy);
    background: #f7f6ff
}

button,
input {
    font: inherit
}

a {
    color: var(--purple)
}

.onboarding-shell {
    display: grid;
    grid-template-columns: minmax(480px, 49%) minmax(600px, 1fr);
    min-height: 100vh
}

.promo-panel {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    color: #fff;
    background: #08111f url("assets/promo-photo.png") right center / auto 100% no-repeat
}

.promo-panel:after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 1;
    background: linear-gradient(90deg, rgba(5, 13, 27, .98) 0%, rgba(6, 15, 30, .93) 34%, rgba(7, 16, 31, .66) 58%, rgba(7, 13, 25, .22) 78%, rgba(7, 13, 25, .08) 100%)
}

.promo-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(100%, 660px);
    min-height: 100vh;
    padding: 30px 44px 35px
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    padding: 0;
    overflow: visible;
    color: var(--navy);
    text-decoration: none
}

.brand-light {
    color: #fff
}

.brand-go {
    display: inline-block;
    font-size: 42px;
    font-weight: 950;
    line-height: .9;
    color: transparent;
    background: #7A09D6;
    -webkit-background-clip: text;
    background-clip: text;
    overflow: visible
}

.brand-copy {
    display: grid;
    line-height: 1
}

.brand-copy strong {
    font-size: 28px;
    letter-spacing: -1.2px
}

.brand-copy small {
    margin-top: 7px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    color: #8186a7
}

.brand-light small {
    color: #d9d9ef
}

.promo-message {
    margin: auto 0;
    padding: 72px 0 35px
}

.eyebrow {
    margin: 0 0 15px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #e2dbfa
}

.promo-message h1 {
    margin: 0;
    max-width: 470px;
    font-size: clamp(46px, 4.3vw, 68px);
    line-height: .98;
    letter-spacing: -3.5px
}

.promo-message h1 em {
    font-style: normal;
    color: var(--purple-light)
}

.promo-description {
    max-width: 430px;
    margin: 25px 0 0;
    font-size: 17px;
    line-height: 1.55
}

.benefits {
    display: grid;
    gap: 24px;
    margin: 50px 0 0;
    padding: 0;
    list-style: none
}

.benefits li {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 17px;
    align-items: center;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.35
}

.benefits li>span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    font-size: 0;
    color: var(--purple-light)
}

.signature {
    position: relative;
    margin: 54px 0 0 8px;
    padding-top: 21px;
    font-family: "Segoe Script", "Bradley Hand", cursive;
    font-size: 19px;
    line-height: 1.55;
    transform: rotate(-5deg);
    color: #d9d2ff
}

.signature:before {
    content: "";
    position: absolute;
    top: 0;
    width: 31px;
    height: 1px;
    background: #aab0c4
}

.promo-footer {
    margin-top: auto
}

.promo-footer p {
    margin: 0;
    font-size: 14px
}

.promo-footer small {
    display: block;
    margin-top: 9px;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aab0d9
}

/* Desktop >1180px: a própria workspace governa coluna central, header e conteúdo. */
.workspace {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 590px) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    min-height: 100vh;
    padding-inline: 42px;
    --header-card-gap: 18px;
    background: radial-gradient(circle at 95% 16%, rgba(122, 9, 214, .09), transparent 31%), linear-gradient(135deg, #fbfbff, #f7f5ff 70%, #fff)
}

.workspace:has([data-onboarding-step="account"]:not([hidden])) {
    --header-card-gap: 15px
}

.workspace-header {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 95px;
    padding-block: 18px;
    font-size: 14px
}

.outline-button {
    display: inline-grid;
    place-items: center;
    min-width: 100px;
    min-height: 46px;
    padding: 0 25px;
    border: 1.5px solid #B56BEA;
    border-radius: 14px;
    font-weight: 750;
    text-decoration: none;
    background: rgba(255, 255, 255, .7)
}

.workspace-body {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: var(--header-card-gap) 27px
}

.workspace-body:has([data-onboarding-step="finish"]:not([hidden])) {
    justify-content: center
}

.onboarding-card {
    width: min(100%, 590px);
    padding: 54px 43px 43px;
    border: 1px solid rgba(233, 232, 246, .9);
    border-radius: 25px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 22px 55px rgba(53, 39, 117, .1)
}

.onboarding-card[data-onboarding-step="account"] {
    padding-top: 40px
}

.card-brand {
    margin: 0
}

.card-brand .brand-go {
    font-size: 51px
}

.card-brand strong {
    font-size: 34px
}

.card-brand small {
    font-size: 12px
}

.step-heading {
    text-align: center
}

.step-heading h1,
.step-heading h2 {
    margin: 0;
    font-size: 41px;
    line-height: 1.08;
    letter-spacing: -2.1px
}

.step-heading p {
    margin: 10px 0 31px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.45
}

.account-form {
    display: grid;
    gap: 18px
}

.account-traditional-fields {
    display: grid;
    gap: 18px
}

[data-onboarding-step="account"][data-auth-mode="google"] .account-traditional-fields,
[data-onboarding-step="account"][data-auth-mode="google"] [data-google-separator],
[data-onboarding-step="account"][data-auth-mode="google"] #account-submit,
[data-onboarding-step="account"][data-auth-mode="google"] [data-traditional-guidance] {
    display: none
}

[data-onboarding-step="account"][data-auth-mode="google"] [data-google-guidance],
[data-onboarding-step="account"][data-auth-mode="google"] .google-mode-back {
    display: block
}

[data-onboarding-step="account"][data-auth-mode="google"] .account-form {
    gap: 22px
}

.google-mode-back[hidden] {
    display: none
}

.google-auth-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--navy);
    font-weight: 750;
    background: #fff;
    cursor: pointer;
}

.google-auth-button svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.google-auth-button:hover {
    border-color: #bda7d9;
    background: #fbfaff;
}

.google-auth-button:focus-visible {
    outline: 3px solid rgba(122, 9, 214, .30);
    outline-offset: 2px;
}

.google-auth-button:disabled {
    opacity: .6;
    cursor: wait;
}

.auth-separator {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin: 15px 0;
    color: var(--muted);
    font-size: 12px;
}

.auth-separator::before,
.auth-separator::after {
    content: "";
    height: 1px;
    background: var(--line);
}

.google-auth-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--navy);
    font-weight: 750;
    background: #fff;
    cursor: pointer;
}

.google-auth-button svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.google-auth-button:hover {
    border-color: #bda7d9;
    background: #fbfaff;
}

.google-auth-button:focus-visible {
    outline: 3px solid rgba(122, 9, 214, .30);
    outline-offset: 2px;
}

.google-auth-button:disabled {
    opacity: .6;
    cursor: wait;
}

.auth-separator {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin: 15px 0;
    color: var(--muted);
    font-size: 12px;
}

.auth-separator::before,
.auth-separator::after {
    content: "";
    height: 1px;
    background: var(--line);
}

.field label {
    display: block;
    margin: 0 0 7px;
    font-size: 14px;
    font-weight: 800
}

.input-shell {
    display: flex;
    align-items: center;
    min-height: 53px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfaff;
    transition: border-color .2s, box-shadow .2s
}

.input-shell:focus-within {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(122, 9, 214, .13)
}

.input-shell>svg {
    flex: 0 0 auto;
    width: 23px;
    height: 23px;
    margin-left: 17px;
    fill: none;
    stroke: #8F35D8;
    stroke-width: 1.8
}

.input-shell input {
    min-width: 0;
    width: 100%;
    height: 51px;
    padding: 0 16px;
    border: 0;
    outline: 0;
    color: var(--navy);
    background: transparent
}

.input-shell input::placeholder {
    color: #8b91ad;
    opacity: 1
}

.password-toggle {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-right: 3px;
    padding: 0;
    border: 0;
    color: #747b9f;
    background: transparent;
    cursor: pointer
}

.password-toggle svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8
}

.field-help {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 7px 0 0;
padding: 7px 12px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--muted);
    background: transparent;
}

.field-help span {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border: 2px solid var(--purple);
    border-radius: 50%;
    font-weight: 800;
    color: var(--purple)
}

.terms {
    display: grid;
    grid-template-columns: 21px 1fr;
    gap: 11px;
    align-items: start;
    margin: 2px 0 5px;
    font-size: 13px;
    line-height: 1.55;
    cursor: pointer
}

.terms input {
    width: 19px;
    height: 19px;
    margin: 1px 0 0;
    accent-color: var(--purple)
}

.terms a {
    text-underline-offset: 2px
}

.primary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    min-height: 58px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    font-weight: 800;
    font-size: 19px;
    background: #7A09D6;
    box-shadow: 0 10px 24px rgba(122, 9, 214, .18);
    cursor: pointer
}

.primary-button:hover {
    filter: brightness(1.05)
}

.primary-button:focus-visible,
.outline-button:focus-visible,
.password-toggle:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(122, 9, 214, .30);
    outline-offset: 3px
}

.card-login {
    margin: 26px 0 0;
    text-align: center;
    font-size: 13px
}

.card-login a {
    margin-left: 5px;
    font-weight: 800;
    text-decoration: none
}

/* Tablet: abaixo de 1181px, 49% + a coluna mínima de 600px não cabem lado a lado. */
@media(max-width:1180px) {
    .onboarding-shell {
        grid-template-columns: 1fr
    }

    .onboarding-shell .promo-panel {
        display: none;
        min-height: auto
    }

    .promo-content {
        width: 100%;
        min-height: auto;
        padding: 21px 24px 23px
    }

    .promo-message {
        padding: 26px 0 0
    }

    .promo-message h1 {
        font-size: 35px;
        letter-spacing: -2px
    }

    .promo-description {
        margin-top: 15px;
        font-size: 14px
    }

    .benefits,
    .signature,
    .promo-footer {
        display: none
    }

    .workspace-header {
        min-height: 68px;
        padding-block: 11px;
    }

    .workspace {
        padding-inline: 28px
    }

}

/* Mobile: o container reduz o gutter; header e conteúdo continuam na mesma coluna. */
@media(max-width:600px) {
  .workspace {
    padding-inline: 14px;
  }
  
  .workspace-header {
    gap: 12px;
    padding-block: 10px;
    font-size: 12px;
}

    .workspace-header .card-brand .brand-go {
        font-size: 36px;
    }

    .workspace-header .card-brand strong {
        font-size: 24px;
    }

    .workspace-header .card-brand small {
        margin-top: 4px;
        font-size: 9px;
    }

    .header-login {
        flex: 0 1 auto;
        justify-content: flex-end;
        text-align: right;
    }

    .workspace-body {
        padding-bottom: 23px
    }

    
}

@media(prefers-reduced-motion:reduce) {

    *,
    *:before,
    *:after {
        scroll-behavior: auto !important;
        transition: none !important
    }
}

.account-stage {
    width: min(100%, 590px)
}

.account-stage:has(>[data-onboarding-step="account"][hidden]) {
    display: none
}

.account-stage>.onboarding-card {
    width: 100%
}

.input-shell input:focus-visible {
    outline: 0
}

.login-shell .forgot-password {
    display: block;
    width: max-content;
    margin: 10px 0 0 auto;
    color: var(--purple);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none
}

.login-shell .auth-submit {
    width: 100%;
    margin-top: 0
}

.login-shell .account-stage {
    display: grid;
    gap: 18px
}

.login-signup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--muted);
    font-size: 13px;
    text-align: center
}

.login-signup a {
    color: var(--purple);
    font-weight: 750;
    text-underline-offset: 2px
}

.login-shell .page-message {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 50;
    max-width: min(420px, calc(100vw - 32px));
    margin: 0;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: var(--navy);
    background: #fff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .08)
}

.login-shell .page-message:empty {
    display: none
}

.login-shell .page-message.is-error,
.login-shell .page-message.is-success {
    color: var(--purple);
    font-weight: 700
}

.login-shell .password-toggle .eye-off,
.login-shell .password-toggle.is-visible .eye-on {
    display: none
}

.login-shell .password-toggle.is-visible .eye-off {
    display: block
}

.benefits svg {
    width: 39px;
    height: 39px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

/* Conteúdo interno da etapa Negócio; não altera o shell nem a Tela 01. */
.step-progress {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 0 0 31px;
    padding: 0;
    list-style: none
}

.step-progress li {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 7px;
    color: #686d91;
    font-size: 11px
}

.step-progress li:not(:last-child):after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 16px;
    left: 66%;
    width: 68%;
    height: 1px;
    background: #dedcf0
}

.step-progress li span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #dbd8ed;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 750;
    background: #f7f6fc
}

.step-progress li small {
    font-size: 11px
}

.step-progress .is-complete,
.step-progress .is-current {
    color: var(--purple)
}

.step-progress .is-complete span,
.step-progress .is-current span {
    border-color: var(--purple);
    color: #fff;
    background: #7A09D6;
    box-shadow: 0 5px 13px rgba(122, 9, 214, .18)
}

.step-progress .is-complete:after {
    background: var(--purple)
}

.step-progress .is-current small {
    font-weight: 800;
    color: var(--navy)
}

.business-heading {
    margin-bottom: 27px
}

.business-heading h2 {
    margin: 0;
    font-size: 35px;
    line-height: 1.06;
    letter-spacing: -1.8px
}

.business-heading p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45
}

.business-form {
    display: grid;
    gap: 20px
}

.input-note {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 11px
}

.select-shell {
    display: flex;
    align-items: center;
    min-height: 53px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfaff
}

.select-shell:focus-within {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(122, 9, 214, .13)
}

.select-shell>svg {
    flex: 0 0 auto;
    width: 23px;
    height: 23px;
    margin-left: 17px;
    fill: none;
    stroke: #8F35D8;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.select-shell select {
    min-width: 0;
    width: 100%;
    height: 51px;
    padding: 0 12px;
    border: 0;
    outline: 0;
    appearance: none;
    color: #777d9f;
    background: transparent
}

.select-shell .select-arrow {
    width: 20px;
    height: 20px;
    margin: 0 15px 0 0;
    stroke: #74339F
}

.business-form .primary-button {
    margin-top: 8px
}

.back-button {
    justify-self: center;
    padding: 3px 12px;
    border: 0;
    color: #312b62;
    font-weight: 700;
    background: transparent;
    cursor: pointer
}

.back-button span {
    margin-right: 8px;
    color: var(--purple);
    font-size: 20px
}

.back-button:focus-visible {
    outline: 3px solid rgba(122, 9, 214, .30);
    outline-offset: 2px
}

@media(max-width:600px) {
    .step-progress {
        margin-bottom: 26px
    }

    .step-progress li {
        gap: 5px
    }

    .step-progress li span {
        width: 29px;
        height: 29px
    }

    .step-progress li:not(:last-child):after {
        top: 14px
    }

    .step-progress li small {
        font-size: 9px
    }

    .business-heading h2 {
        font-size: 29px
    }

    .business-heading p {
        font-size: 13px
    }

    .business-heading p br {
        display: none
    }

    .select-shell select {
        font-size: 16px
    }
}

/* Conteúdo interno da etapa Estrutura. */
.structure-card {
    padding: 31px 30px 30px
}

.structure-card .step-progress {
    margin-bottom: 27px
}

.structure-heading {
    margin-bottom: 22px
}

.structure-heading h2 {
    margin: 0;
    font-size: 31px;
    line-height: 1.08;
    letter-spacing: -1.5px
}

.structure-heading p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.42
}

.professional-count {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 800
}

.professional-count input {
    width: 82px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--navy);
    font: inherit;
    background: #fff
}

.professional-block {
    padding: 10px;
    border-radius: 11px;
    background: #f4f1ff
}

.professional-block h3,
.services-section h3 {
    margin: 0;
    font-size: 13px
}

.professional-help {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35
}

.professional-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin-top: 7px;
    padding: 8px 10px;
    border-radius: 9px;
    background: #fff
}

.professional-avatar {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--purple);
    background: #f0ebff
}

.professional-avatar svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8
}

.professional-data {
    min-width: 0
}

.professional-name-line {
    display: flex;
    align-items: center;
    gap: 8px
}

.professional-name-line strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px
}

.professional-data input {
    width: 100%;
    height: 31px;
    padding: 0 8px;
    border: 1px solid var(--purple);
    border-radius: 7px;
    color: var(--navy)
}

.edit-professional,
.add-service {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #D1A8ED;
    border-radius: 9px;
    color: var(--purple);
    font-size: 11px;
    font-weight: 750;
    background: #fff;
    cursor: pointer
}

.edit-professional span {
    font-size: 18px
}

.services-section {
    margin-top: 20px
}

.services-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px
}

.services-heading p {
    max-width: 335px;
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1.3
}

.add-service {
    white-space: nowrap
}

.services-list {
    display: grid;
    gap: 5px
}

.service-row {
    display: grid;
    grid-template-columns: 18px minmax(120px, 1fr) 94px 96px 34px;
    gap: 6px;
    align-items: center;
    min-height: 43px;
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff
}

.service-handle {
    color: #8782b0;
    font-size: 18px
}

.service-row label {
    min-width: 0
}

.service-row input {
    width: 100%;
    height: 30px;
    padding: 0 5px;
    border: 1px solid transparent;
    border-radius: 5px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    background: transparent
}

.service-row input:hover,
.service-row input:focus {
    border-color: #D8B8EE;
    outline: 0;
    background: #faf8ff
}

.service-duration,
.service-price {
    display: flex;
    align-items: center;
    min-width: 0;
    border-left: 1px solid #e7e4f2;
    color: #6e7398
}

.service-duration>span {
    margin-left: 6px
}

.service-duration small {
    font-size: 12px;
    white-space: nowrap
}

.service-duration input {
    width: 48px;
    min-width: 48px
}

.service-price span {
    margin-left: 7px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap
}

.service-price input {
    padding-left: 3px
}

.remove-service {
    display: grid;
    place-items: center;
    justify-self: end;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    color: #e94343;
    font-size: 19px;
    background: transparent;
    cursor: pointer
}

.remove-service svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.confirm-service {
    display: none;
    font-size: 21px;
    font-weight: 800
}

.service-row.is-editing .remove-service {
    color: #168a4d
}

.service-row.is-editing .remove-service svg {
    display: none
}

.service-row.is-editing .confirm-service {
    display: inline
}

.remove-service:disabled {
    opacity: .35;
    cursor: not-allowed
}

.services-empty {
    margin: 8px 0;
    padding: 12px;
    border: 1px dashed #cfc8eb;
    border-radius: 8px;
    color: var(--muted);
    font-size: 11px;
    text-align: center
}

.structure-tip {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1.35;
    background: #f2efff
}

.structure-tip span {
    font-size: 25px;
    color: var(--purple)
}

.structure-actions {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 12px;
    margin-top: 20px
}

.structure-actions .primary-button {
    min-height: 52px
}

.structure-back {
  display: block;
  width: fit-content;
  min-height: auto;
  margin: 18px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  order: 2;
}

.structure-back span {
    margin-right: 8px;
    color: var(--purple);
    font-size: 19px
}

.structure-back:focus-visible,
.edit-professional:focus-visible,
.add-service:focus-visible,
.remove-service:focus-visible {
    outline: 3px solid rgba(122, 9, 214, .30);
    outline-offset: 2px
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

@media(max-width:600px) {
    .structure-heading h2 {
        font-size: 27px
    }

    .structure-heading p {
        font-size: 12px
    }

    .professional-row {
        grid-template-columns: 43px minmax(0, 1fr) auto;
        gap: 8px;
        padding: 7px
    }

    .professional-avatar {
        width: 40px;
        height: 40px
    }

    .professional-name-line {
        align-items: flex-start
    }

    .edit-professional {
        padding: 0 8px
    }

    .services-heading {
        align-items: flex-start
    }

    .services-heading p {
        max-width: 190px
    }

    .add-service {
        padding: 0 8px
    }

    .structure-actions {
        grid-template-columns: 1fr
    }

 }

/* Conteúdo interno da etapa Horários. */
.hours-card {
    padding: 31px 26px 29px
}

.hours-card .step-progress {
    margin-bottom: 25px
}

.hours-heading h2 {
    margin: 0;
    font-size: 29px;
    line-height: 1.1;
    letter-spacing: -1.3px
}

.hours-heading p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.42
}

.hours-heading {
    margin-bottom: 14px
}

.week-schedule {
    display: grid;
    gap: 5px
}

.day-schedule {
    display: grid;
    gap: 4px
}

.day-main {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) 38px 88px 20px 88px;
    grid-template-areas: "day switch start separator end";
    gap: 8px;
    align-items: center;
    min-height: 39px;
    padding: 4px 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff
}

.day-main>strong {
    grid-area: day;
    min-width: 0;
    font-size: 14px;
    white-space: nowrap
}

.day-main>span {
    grid-area: separator;
    font-size: 12px;
    text-align: center
}

.day-main .time-field:has(.day-start) {
    grid-area: start
}

.day-main .time-field:has(.day-end) {
    grid-area: end
}

.day-switch {
    grid-area: switch;
    position: relative;
    width: 38px;
    height: 21px
}

.day-switch input {
    position: absolute;
    opacity: 0
}

.day-switch>span {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: #c9c5dd;
    cursor: pointer
}

.day-switch>span:after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fff;
    transition: transform .18s
}

.day-switch input:checked+span {
    background: var(--purple)
}

.day-switch input:checked+span:after {
    transform: translateX(17px)
}

.day-switch input:focus-visible+span {
    outline: 3px solid rgba(122, 9, 214, .30);
    outline-offset: 2px
}

.time-field input {
    width: auto;
    inline-size: 88px;
    min-inline-size: 88px;
    height: 30px;
    padding: 0 4px;
    border: 1px solid #e0dcef;
    border-radius: 6px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    background: #fff
}

.time-field input:focus {
    border-color: var(--purple);
    outline: 0
}

.closed-label {
    display: none;
    grid-column: 3 / -1;
    grid-row: 1;
    margin: 0;
    color: #8c91aa;
    font-size: 12px
}

.day-schedule.is-closed .time-field,
.day-schedule.is-closed .day-main>span {
    display: none
}

.day-schedule.is-closed .closed-label {
    display: block
}

.hours-error {
    margin: 8px 0 0;
    padding: 9px 11px;
    border-radius: 7px;
    color: #a32938;
    font-size: 10px;
    background: #fff0f2
}

.hours-actions {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 12px;
    margin-top: 15px
}

.hours-actions .primary-button {
    min-height: 51px
}

.hours-back {
    border: 0;
    padding: 0;
    min-height: auto;
    width: fit-content;
    justify-self: center;
    color: var(--navy);
    font-weight: 750;
    background: transparent;
    cursor: pointer
}

.hours-back span {
    margin-right: 8px;
    color: var(--purple);
    font-size: 19px
}

.hours-back:focus-visible {
    outline: 3px solid rgba(122, 9, 214, .30);
    outline-offset: 2px
}

@media(max-width:600px) {
    .hours-heading h2 {
        font-size: 26px
    }

    .hours-heading p {
        font-size: 12px
    }

    .hours-actions {
        grid-template-columns: 1fr
    }

    .hours-back {
        min-height: 47px;
        order: 2
    }

}

@media(max-width:720px) {
    .hours-card {
        padding: 27px 4px
    }

    .day-main {
        grid-template-columns: minmax(0, 1fr) 38px 80px 14px 80px;
        grid-template-areas: "day switch start separator end";
        gap: 2px;
        padding: 7px 3px
    }

    .time-field input {
        inline-size: 80px;
        min-inline-size: 80px
    }
}

@media(max-width:350px) {
    .day-main {
        grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 38px;
        grid-template-areas:
            "day day day switch"
            "start separator end end";
        gap: 8px
    }

    .closed-label {
        grid-column: 1 / -1;
        grid-row: 2
    }
}

/* Conteúdo interno da etapa Concluir. */
.finish-card {
    padding: 31px 28px 29px
}

.finish-card .step-progress {
    margin-bottom: 24px
}

.finish-heading {
    text-align: center
}

.success-mark {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 12px;
    border: 14px solid #dff8ea;
    border-radius: 50%;
    color: #fff;
    font-size: 23px;
    font-weight: 850;
    background: #1ac46a;
    box-sizing: content-box
}

.finish-heading h2 {
    margin: 0 0 28px;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -.6px;
    color: var(--purple);
}



.finish-actions {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.finish-actions>button {
    min-height: 50px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-weight: 750;
    background: #1ac46a
}

.finish-actions .primary-button {
    width: auto;
    min-width: 202px
}

.finish-actions .primary-button:hover {
    background: #16ad5d
}

.finish-actions button:disabled {
    cursor: not-allowed;
    opacity: .72
}

@media(max-width:600px) {
    .finish-card {
        padding: 27px 17px
    }

    .success-mark {
        width: 50px;
        height: 50px;
        border-width: 11px
    }

    .finish-heading h2 {
        font-size: 29px
    }

    
    .finish-actions>button {
        min-height: 48px
    }
}

.header-login {
    display: flex;
    align-items: center;
    gap: 4px;
}


.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;
    flex: 0 0 30px;

    border: 2px solid #ff2d20;
    border-radius: 50%;

    color: #ff2d20 !important;
    font-family: Georgia, serif;
    font-size: 19px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
    text-transform: lowercase;
}
.info-icon-purple {
    border-color: var(--purple);
    color: var(--purple) !important;
}
.finish-celebration {
    margin: 0 0 14px;
    color: var(--purple);
    font-size: 34px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -1px;
}
/* Tela 01 — botão Continuar */
#account-submit {
    min-height: 58px;
    border-radius: 16px;
    

    background: #7A09D6;

    box-shadow:
       0 4px 0 #7a09d6,
    0 10px 20px rgba(122, 9, 214, .22);

    transform: translateY(0);
    transition:
        transform .15s ease,
        box-shadow .15s ease,
        filter .15s ease;
}

#account-submit:hover:not(:disabled) {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow:
      0 5px 0 #7a09d6,
    0 12px 22px rgba(122, 9, 214, .25);
}

#account-submit:active:not(:disabled) {
    transform: translateY(4px);
    box-shadow:
        0 2px 0 #6808B8,
        0 6px 12px rgba(122, 9, 214, .20);
}
#account-submit:disabled,
#business-form [type="submit"]:disabled {
  background: #d6d6df;
  border-color: #d6d6df;
  color: #ffffff;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}
.email-attention {
    border-color: #e94343 !important;
    animation: email-shake .3s ease;
}

@keyframes email-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-3px); }
}
/* Reflow interno 03/04: o card estreita antes do regime mobile da página (600px). */
@media (max-width: 720px) {
    .structure-card {
        padding: 27px 18px;
    }

    .service-row {
        grid-template-columns: 18px minmax(0, 1fr) minmax(0, 1fr) 30px;
        grid-template-areas:
            "handle name name remove"
            ". duration price .";
        gap: 7px;
    }

    .service-handle {
        grid-area: handle;
    }

    .service-row > label:first-of-type {
        grid-area: name;
    }

    .service-duration {
        grid-area: duration;
    }

    .service-price {
        grid-area: price;
    }

    .remove-service {
        grid-area: remove;
    }

}

.primary-button:disabled {
    background: #d1d5db;
    box-shadow: none;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 1;
}
