/* Estilos ob-* do onboarding. Compartilhados com a tela Meu Negócio, que reusa os mesmos
   cards de serviço/dia, inputs e seletor de logo — por isso ficam aqui e não no .razor. */

.ob-shell {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--uc-bg);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--uc-ink);
}

.ob-shell-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ob-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 6px 20px 22px;
    -webkit-overflow-scrolling: touch;
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
}

@keyframes obIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.ob-screen {
    animation: obIn .35s ease both;
}

.ob-header {
    padding: 4px 0 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 640px;
    margin: 0 auto;
}

.ob-header-row1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
}

.ob-back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 0;
    padding: 6px 8px 6px 0;
    min-height: 44px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--uc-ink-3);
    cursor: pointer;
}

    .ob-back-btn:hover {
        color: var(--uc-ink);
    }

.ob-saved-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--uc-ink-2);
}

.ob-saved-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--uc-status-ok);
    display: block;
}

.ob-header-row2 {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.ob-step-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--uc-ink);
}

.ob-step-counter {
    font-size: 12px;
    font-weight: 600;
    color: var(--uc-ink-2);
}

.ob-progress-track {
    height: 6px;
    border-radius: 99px;
    background: var(--uc-line);
    overflow: hidden;
}

.ob-progress-fill {
    height: 100%;
    border-radius: 99px;
    background: var(--uc-brand);
    transition: width .35s cubic-bezier(.4,0,.2,1);
}

.ob-error {
    background: var(--uc-error-bg);
    border: 1px solid var(--uc-error-border);
    color: var(--uc-error-text);
    border-radius: 12px;
    padding: .6rem .9rem;
    font-size: .85rem;
    margin-bottom: 1rem;
}

.ob-title {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    color: var(--uc-ink);
    margin: 6px 0 6px;
    line-height: 1.15;
    font-size: 30px;
}

.ob-title-welcome {
    font-family: 'Bevan', serif;
    font-size: 34px;
    line-height: 1.15;
    margin: 0 0 38px;
}

.ob-title-done {
    font-size: 34px;
    line-height: 1.12;
    margin: 0 0 10px;
}

.ob-sub {
    font-size: 15px;
    color: var(--uc-ink-3);
    margin: 0 0 20px;
}

.ob-field-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--uc-ink);
    margin-bottom: 8px;
}

    .ob-field-label small {
        font-weight: 500;
        color: var(--uc-ink-2);
    }

.ob-input {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    color: var(--uc-ink);
    background: var(--uc-surface);
    border: 1.5px solid var(--uc-border);
    border-radius: 16px;
    outline: none;
}

    .ob-input.ob-input-plain {
        font-weight: 400;
    }

    .ob-input:focus {
        border-color: var(--uc-action-text);
        box-shadow: 0 0 0 4px rgba(var(--uc-brand-rgb), .10);
    }

.ob-hint {
    font-size: 13px;
    color: var(--uc-ink-2);
    margin: 8px 0 0;
}

    .ob-hint.ob-hint-danger {
        color: var(--uc-action-text);
    }

.ob-avatar-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 26px;
}

.ob-avatar-circle {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    border-radius: 50%;
    border: 2px dashed var(--uc-border-strong);
    background: var(--uc-surface-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 28px;
    color: var(--uc-action-text);
    cursor: pointer;
    padding: 0;
}

.ob-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ob-avatar-btn {
    height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1.5px solid var(--uc-border);
    background: var(--uc-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--uc-ink);
    cursor: pointer;
}

    .ob-avatar-btn:hover {
        border-color: var(--uc-action-text);
        color: var(--uc-action-text);
    }

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

.ob-search {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    font-family: inherit;
    font-size: 16px;
    color: var(--uc-ink);
    background: var(--uc-surface-soft);
    border: 1.5px solid transparent;
    border-radius: 14px;
    outline: none;
    margin-bottom: 18px;
}

    .ob-search:focus {
        border-color: var(--uc-action-text);
        background: var(--uc-surface);
    }

.ob-cat-group {
    margin-bottom: 22px;
}

.ob-cat-group-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--uc-ink-2);
    margin-bottom: 10px;
}

.ob-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ob-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .16s ease;
    background: var(--uc-surface);
    border: 1.5px solid var(--uc-border);
    color: var(--uc-ink);
}

    .ob-chip.active {
        background: var(--uc-brand);
        border-color: var(--uc-action-text);
        color: var(--uc-brand-on);
    }

.ob-no-results {
    font-size: 15px;
    color: var(--uc-ink-3);
    padding: 20px 0;
}

.ob-service {
    background: var(--uc-surface-raised);
    border: 1.5px solid var(--uc-border);
    border-radius: 18px;
    padding: 14px 12px 14px 16px;
    transition: all .18s ease;
    margin-bottom: 10px;
}

    .ob-service.expanded {
        background: var(--uc-surface);
        border-color: var(--uc-action-text);
    }

.ob-service-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ob-service-toggle {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    background: none;
    border: 0;
    padding: 0;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    min-height: 44px;
    justify-content: center;
}

.ob-service-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--uc-ink);
}

.ob-service-meta {
    font-size: 14px;
    color: var(--uc-ink-3);
    font-weight: 500;
}

.ob-service-remove {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 12px;
    border: 0;
    background: transparent;
    color: var(--uc-ink-3);
    font-size: 20px;
    cursor: pointer;
}

    .ob-service-remove:hover {
        background: var(--uc-surface-soft);
        color: var(--uc-brand); /* --uc-action-text sobre creme suave fica em 4.31:1 */
    }

.ob-service-expanded {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--uc-line);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ob-sublabel {
    font-size: 13px;
    font-weight: 700;
    color: var(--uc-ink);
    margin-bottom: 8px;
}

.ob-textarea {
    height: auto;
    min-height: 72px;
    padding: 12px 16px;
    font-weight: 400;
    font-size: 15px;
    resize: vertical;
}

.ob-stepper {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--uc-border);
    border-radius: 14px;
    overflow: hidden;
    width: fit-content;
}

.ob-stepper-btn {
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--uc-surface);
    font-size: 20px;
    font-weight: 700;
    color: var(--uc-ink);
    cursor: pointer;
}

    .ob-stepper-btn:hover {
        background: var(--uc-surface-soft);
        color: var(--uc-brand); /* --uc-action-text sobre creme suave fica em 4.31:1 */
    }

.ob-stepper-input {
    width: 64px;
    height: 44px;
    border: 0;
    border-left: 1.5px solid var(--uc-border);
    border-right: 1.5px solid var(--uc-border);
    text-align: center;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: var(--uc-ink);
    outline: none;
}

.ob-stepper-suffix {
    font-size: 14px;
    font-weight: 600;
    color: var(--uc-ink-2);
}

.ob-time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.ob-price-field {
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0 14px;
    background: var(--uc-surface);
    border: 1.5px solid var(--uc-border);
    border-radius: 14px;
    flex: 1 1 auto;
}

.ob-price-prefix {
    font-size: 16px;
    font-weight: 700;
    color: var(--uc-ink-2);
    margin-right: 8px;
}

.ob-price-input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    color: var(--uc-ink);
}

.ob-add-service {
    width: 100%;
    height: 52px;
    margin-top: 2px;
    border-radius: 16px;
    border: 1.5px dashed var(--uc-border-strong);
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--uc-action-text);
    cursor: pointer;
}

    .ob-add-service:hover {
        background: var(--uc-surface-soft);
        border-color: var(--uc-action-text);
    }

.ob-days-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--uc-ink-2);
    margin: 24px 0 10px;
}

.ob-day {
    background: var(--uc-surface-raised);
    border: 1.5px solid var(--uc-border);
    border-radius: 18px;
    padding: 14px;
    transition: all .18s ease;
    margin-bottom: 8px;
}

    .ob-day.closed {
        background: var(--uc-surface-soft);
    }

    .ob-day.expanded {
        border-color: var(--uc-action-text);
    }

.ob-day-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ob-day-toggle-btn {
    flex: 1 1 auto;
    display: flex;
    align-items: baseline;
    gap: 10px;
    background: none;
    border: 0;
    padding: 0;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    min-height: 44px;
}

.ob-day-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--uc-ink);
    min-width: 92px;
}

.ob-day-hours {
    font-size: 14px;
    font-weight: 600;
    color: var(--uc-ink-3);
}

.ob-switch {
    width: 52px;
    height: 32px;
    flex: 0 0 52px;
    border-radius: 99px;
    border: 0;
    padding: 3px;
    cursor: pointer;
    display: flex;
    background: var(--uc-border);
    transition: background .2s ease;
    justify-content: flex-start;
}

    .ob-switch.on {
        background: var(--uc-brand);
        justify-content: flex-end;
    }

    /* Ligado, o botão vira --highlight (README, Meu Negócio). */
    .ob-switch.on .ob-switch-knob {
        background: var(--uc-highlight);
    }

.ob-switch-knob {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--uc-surface);
    display: block;
    box-shadow: 0 1px 3px rgba(var(--uc-brand-rgb),.2);
}

.ob-day-expanded {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--uc-line);
}

.ob-lunch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px dashed var(--uc-line);
    margin-top: 16px;
}

.ob-lunch-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--uc-ink-2);
}

.ob-lunch-hint {
    font-size: 14px;
    color: var(--uc-ink-3);
    margin: 10px 0 0;
}

.ob-apply-all {
    width: 100%;
    height: 46px;
    margin-top: 14px;
    border-radius: 13px;
    border: 1.5px solid var(--uc-border);
    background: var(--uc-surface);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--uc-ink);
    cursor: pointer;
}

    .ob-apply-all:hover {
        border-color: var(--uc-action-text);
        color: var(--uc-action-text);
    }

.ob-theme-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px;
}

.ob-theme-card {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border-radius: 16px;
    cursor: pointer;
    font-family: inherit;
    transition: all .16s ease;
    background: var(--uc-surface-raised);
    border: 1.5px solid var(--uc-border);
    color: var(--uc-ink);
}

    .ob-theme-card.active {
        background: var(--uc-surface);
        border: 2px solid var(--uc-brand);
    }

.ob-theme-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex: 0 0 18px;
    display: block;
}

.ob-theme-label {
    font-size: 15px;
    font-weight: 700;
}

.ob-preview {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--uc-border);
    margin-bottom: 26px;
}

.ob-preview-head {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ob-preview-avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    background: rgba(var(--uc-surface-rgb),.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Instrument Serif', serif;
    font-size: 18px;
}

.ob-preview-name {
    font-size: 17px;
    font-weight: 800;
}

.ob-preview-addr {
    font-size: 13px;
    opacity: .8;
}

.ob-preview-body {
    background: var(--uc-surface);
    padding: 14px 16px 16px;
}

.ob-preview-service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--uc-line);
}

.ob-preview-cta {
    width: 100%;
    height: 46px;
    margin-top: 12px;
    border: 0;
    border-radius: 14px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--uc-brand-on);
    cursor: pointer;
}

.ob-choice-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    cursor: pointer;
    font-family: inherit;
    transition: all .16s ease;
    background: var(--uc-surface);
    border: 1.5px solid var(--uc-border);
    color: var(--uc-ink);
    margin-bottom: 10px;
}

    .ob-choice-card.active {
        background: var(--uc-brand);
        border-color: var(--uc-action-text);
        color: var(--uc-brand-on);
    }

.ob-choice-title {
    font-size: 16px;
    font-weight: 700;
}

.ob-choice-sub {
    font-size: 14px;
    font-weight: 500;
    opacity: .78;
}

.ob-footer {
    flex: 0 0 auto;
    padding: 12px 20px calc(26px + env(safe-area-inset-bottom));
    background: linear-gradient(to top, var(--uc-bg) 62%, transparent);
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
}

.ob-counter {
    font-size: 13px;
    font-weight: 700;
    color: var(--uc-ink-3);
    text-align: center;
}

.ob-cta {
    width: 100%;
    height: 58px;
    border: 0;
    border-radius: 18px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all .18s ease;
    background: var(--uc-brand);
    color: var(--uc-brand-on);
    box-shadow: 0 6px 18px rgba(var(--uc-brand-rgb), .28);
}

    .ob-cta:disabled {
        background: var(--uc-disabled-bg);
        color: var(--uc-disabled-ink);
        cursor: not-allowed;
        box-shadow: none;
    }

.ob-skip {
    width: 100%;
    height: 40px;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--uc-ink-3);
    cursor: pointer;
}

.ob-welcome {
    padding-top: 12px;
}

.ob-logo {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto 50px;
}

.ob-welcome-text {
    font-size: 17px;
    line-height: 1.55;
    color: var(--uc-ink-2);
    margin: 0 0 26px;
}

.ob-reassure {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ob-reassure-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ob-reassure-check {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    background: var(--uc-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--uc-status-ok);
    font-weight: 800;
}

.ob-reassure-text {
    font-size: 15px;
    color: var(--uc-ink-2);
    font-weight: 500;
}

.ob-done-check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--uc-status-ok-bg);
    color: var(--uc-status-ok);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 22px;
}

.ob-done-text {
    font-size: 16px;
    line-height: 1.5;
    color: var(--uc-ink-2);
    margin: 0 0 22px;
}

.ob-link-card {
    background: var(--uc-surface);
    border: 1.5px solid var(--uc-border);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 14px;
}

.ob-link-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--uc-ink-2);
    margin-bottom: 6px;
}

.ob-link-url {
    font-size: 16px;
    font-weight: 700;
    color: var(--uc-ink);
    word-break: break-all;
    line-height: 1.4;
}

.ob-done-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ob-btn-dark, .ob-btn-outline {
    width: 100%;
    height: 56px;
    border-radius: 16px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.ob-btn-dark {
    border: 0;
    background: var(--uc-ink);
    color: var(--uc-brand-on);
}

.ob-btn-outline {
    border: 1.5px solid var(--uc-border);
    background: var(--uc-surface);
    color: var(--uc-ink);
}

    .ob-btn-outline:hover {
        border-color: var(--uc-action-text);
        color: var(--uc-action-text);
    }

.ob-discreet-link {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--uc-ink-3);
    margin-top: 14px;
    text-decoration: none;
}

.ob-pwa-card {
    margin-top: 24px;
    background: var(--uc-surface-soft);
    border: 1.5px solid var(--uc-border);
    border-radius: 20px;
    padding: 18px;
}

.ob-pwa-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ob-pwa-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 13px;
    background: var(--uc-surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ob-pwa-phone {
    width: 15px;
    height: 24px;
    border: 2px solid var(--uc-brand);
    border-radius: 4px;
    display: block;
}

.ob-pwa-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--uc-ink);
    margin-bottom: 4px;
}

.ob-pwa-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--uc-ink-2);
    margin: 0;
}

.ob-pwa-steps {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ob-pwa-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.ob-pwa-step-n {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 50%;
    background: var(--uc-brand);
    color: var(--uc-brand-on);
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ob-pwa-step-text {
    font-size: 15px;
    line-height: 1.45;
    color: var(--uc-ink-2);
    font-weight: 500;
}

.ob-pwa-confirm {
    width: 100%;
    height: 50px;
    margin-top: 4px;
    border-radius: 14px;
    border: 0;
    background: var(--uc-ink);
    color: var(--uc-brand-on);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.ob-pwa-installed {
    margin-top: 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--uc-status-ok);
}

.ob-pwa-toggle {
    width: 100%;
    height: 48px;
    margin-top: 14px;
    border-radius: 14px;
    border: 1.5px solid var(--uc-border-strong);
    background: var(--uc-surface);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--uc-action-text);
    cursor: pointer;
}

.ob-slug-url {
    color: var(--uc-ink);
    word-break: break-all;
}

.ob-slug-edit {
    background: none;
    border: 0;
    padding: 0 0 0 6px;
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    color: var(--uc-action-text);
    text-decoration: underline;
    cursor: pointer;
}
