/* Complete profile (/customer-login/complete-profile) — lively one-screen signup */

body.cpf-page-lively {
    --kf-page-bg: var(--kf-nature-page, #f7faf8);
    background: var(--kf-nature-page-bg, #f8fcfa);
    background-size: 100% 100%;
}

body.cpf-page-lively.kf-portal-chrome-preview .bh-shell {
    max-width: var(--bh-layout-max, 420px);
    margin-left: auto;
    margin-right: auto;
}

body.cpf-page-lively.kf-portal-chrome-preview.with-login-bottom-nav .cph-shell {
    padding-bottom: calc(24px + var(--ca-lnav-h, 52px) + env(safe-area-inset-bottom, 0px));
}

body.cpf-page-lively.kf-portal-chrome-preview.bh-page.with-login-bottom-nav header.kph {
    margin-bottom: 0;
    box-shadow: none;
}

body.cpf-page-lively.kf-portal-chrome-preview.bh-page.with-login-bottom-nav .kph-hero {
    border-bottom: none;
    box-shadow: none;
}

body.cpf-page-lively main#cph-main.cpf-lively-main.cph-main {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    min-width: 0;
    background: transparent;
}

body.cpf-page-lively.bh-page:not(.bh-page--embed) main#cph-main.cph-lively-main > section.cpf-hub {
    padding: 0;
    margin: 0;
    max-width: none;
    width: 100%;
    border: none;
    box-shadow: none;
    background: transparent;
    overflow: visible;
}

body.cpf-page-lively .cpf-hub,
body.cpf-page-lively .cpf-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    box-shadow: none;
    background: transparent;
    overflow: visible;
}

@media (max-width: 767.98px) {
    body.cpf-page-lively .cpf-hub {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
}

/* Flow blocks — page gradient shows through (no hero slab / form card) */
body.cpf-page-lively .cpf-flow > * {
    background: transparent;
    border: none;
    box-shadow: none;
}

body.cpf-page-lively .cpf-step-hero {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    border: none;
    border-radius: 0;
    background: #ecfdf5;
}

body.cpf-page-lively .cpf-step-hero__photo {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(42vh, 14rem);
    object-fit: cover;
    object-position: center center;
}

body.cpf-page-lively .cpf-page-hero {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: var(--kf-portal-hero-pad-y, 12px) var(--kf-portal-hero-pad-x, 16px);
    text-align: center;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.cpf-page-lively .cpf-head-actions {
    position: absolute;
    top: calc(8px + env(safe-area-inset-top, 0px));
    left: 10px;
    z-index: 3;
    margin: 0;
}

body.cpf-page-lively .cpf-back {
    border-radius: 0;
    border: 1px solid rgba(16, 185, 129, 0.35);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
}

body.cpf-page-lively .cpf-page-hero__blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

body.cpf-page-lively .cpf-page-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.8;
}

body.cpf-page-lively .cpf-page-hero__blob--a {
    width: 130px;
    height: 130px;
    top: -32px;
    left: -24px;
    background: rgba(74, 222, 128, 0.58);
}

body.cpf-page-lively .cpf-page-hero__blob--b {
    width: 110px;
    height: 110px;
    top: -8px;
    right: -18px;
    background: rgba(251, 191, 36, 0.55);
}

body.cpf-page-lively .cpf-page-hero__blob--c {
    width: 90px;
    height: 90px;
    bottom: -22px;
    left: 40%;
    background: rgba(45, 212, 191, 0.5);
}

@media (prefers-reduced-motion: no-preference) {
    body.cpf-page-lively .cpf-page-hero__blob--a {
        animation: cpf-page-blob-drift 7s ease-in-out infinite;
    }

    body.cpf-page-lively .cpf-page-hero__blob--b {
        animation: cpf-page-blob-drift 8s ease-in-out infinite 0.8s;
    }

    body.cpf-page-lively .cpf-page-hero__blob--c {
        animation: cpf-page-blob-drift 6.5s ease-in-out infinite 1.4s;
    }
}

@keyframes cpf-page-blob-drift {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(6px, -8px) scale(1.06);
    }
}

body.cpf-page-lively .cpf-page-hero__top {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

body.cpf-page-lively .cpf-page-hero__eyebrow {
    margin: 0;
    padding: 5px 12px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

body.cpf-page-lively .cpf-page-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 6px 12px 6px 10px;
    border-radius: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #7c2d12;
    background: #fff7ed;
    border: 1px solid rgba(251, 146, 60, 0.45);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.18);
}

body.cpf-page-lively .cpf-page-hero__chip-icon {
    font-size: 1rem;
    line-height: 1;
}

body.cpf-page-lively .cpf-page-hero__title {
    position: relative;
    z-index: 1;
    margin: 0;
    text-align: center;
    background: #065f46;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.cpf-page-lively .cpf-page-hero__title--compact {
    font-size: clamp(1rem, 4.2vw, 1.2rem);
    line-height: 1.35;
    max-width: 22ch;
    margin-inline: auto;
}

body.cpf-page-lively .cpf-page-hero--compact {
    padding-bottom: 8px;
}

body.cpf-page-lively .cpf-step__title {
    margin: 4px 0 16px;
    padding: 10px 12px 10px 14px;
    font-size: clamp(1.12rem, 4.6vw, 1.32rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: #0f172a;
    text-align: left;
    border-left: 4px solid var(--kf-solid-orange, #ea580c);
    background: linear-gradient(
        90deg,
        var(--kf-nature-orange-pale, #ffedd5) 0%,
        rgba(255, 237, 213, 0.35) 45%,
        rgba(255, 237, 213, 0) 100%
    );
}

body.cpf-page-lively .cpf-step__actions {
    margin-top: 18px;
}

body.cpf-page-lively .cpf-step__actions--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
}

body.cpf-page-lively .cpf-step__back {
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid rgba(15, 23, 42, 0.14) !important;
    border-radius: 0 !important;
    font-size: clamp(0.9rem, 3.2vw, 1rem) !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.cpf-page-lively .cpf-step__next {
    margin-top: 0;
}

/* Step CTAs (Your details Next, Delivery Next, Create account): full form width.
   Portal CTA `width: auto` + max-width otherwise shrinks/centers the button. */
body.bh-page.cpf-page-lively .cpf-step__actions .ca-btn,
body.mh-page.cpf-page-lively .cpf-step__actions .ca-btn,
body.cpf-page-lively .cpf-step__actions .ca-btn {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 48px;
    margin: 0 !important;
    box-sizing: border-box;
}

body.bh-page.cpf-page-lively .cpf-step__actions .ca-btn.cpf-submit,
body.bh-page.cpf-page-lively .cpf-step__actions .ca-btn.cpf-step__next,
body.mh-page.cpf-page-lively .cpf-step__actions .ca-btn.cpf-submit,
body.mh-page.cpf-page-lively .cpf-step__actions .ca-btn.cpf-step__next,
body.cpf-page-lively .cpf-step__actions .ca-btn.cpf-submit,
body.cpf-page-lively .cpf-step__actions .ca-btn.cpf-step__next {
    margin: 0 !important;
    padding: 12px 14px !important;
    font-size: clamp(0.9rem, 3.2vw, 1rem) !important;
}

body.cpf-page-lively .cpf-step[hidden] {
    display: none !important;
}

body.cpf-page-lively .cpf-page-hero__title-accent {
    display: inline;
    background: #059669;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    body.cpf-page-lively .cpf-page-hero__title,
    body.cpf-page-lively .cpf-page-hero__title-accent {
        color: #065f46;
        background: none;
        -webkit-text-fill-color: unset;
    }
}

body.cpf-page-lively .cpf-page-hero__sub {
    position: relative;
    z-index: 1;
    margin: 10px auto 0;
    max-width: 38ch;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.45;
    color: rgba(15, 23, 42, 0.74);
    text-align: center;
}

body.cpf-page-lively .cpf-flash {
    width: 100%;
    max-width: 26rem;
    margin: 0 auto 10px;
    padding: 0 14px;
    box-sizing: border-box;
    border-radius: 0;
}

body.cpf-page-lively .cpf-form {
    position: relative;
    width: 100%;
    max-width: 26rem;
    margin: 0 auto;
    padding: 6px 14px calc(22px + var(--safe-b, 0px));
    box-sizing: border-box;
}

/* Absorb browser/password-manager autofill into decoys — not shown to users */
.cpf-autofill-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

body.cpf-page-lively .cpf-form .ca-input:-webkit-autofill,
body.cpf-page-lively .cpf-form .ca-input:-webkit-autofill:hover,
body.cpf-page-lively .cpf-form .ca-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.92) inset;
    box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.92) inset;
    -webkit-text-fill-color: #0f172a;
}

body.cpf-page-lively .cpf-field {
    margin-top: 14px;
}

body.cpf-page-lively .cpf-field:first-of-type {
    margin-top: 0;
}

body.cpf-page-lively .cpf-field--locate {
    margin-top: 0;
}

body.cpf-page-lively .cpf-locate-btn,
body.cpf-page-lively .cpf-form .cpf-locate-btn.ca-btn--ghost {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(22, 101, 52, 0.28);
    background: #ecfdf5;
    color: #14532d;
    font-weight: 700;
    border-radius: 0;
}

body.cpf-page-lively .cpf-form .cpf-locate-btn.ca-btn--ghost:hover {
    background: #dcfce7;
    border-color: rgba(22, 101, 52, 0.4);
}

body.cpf-page-lively .cpf-req {
    color: #b91c1c;
    font-weight: 700;
}

body.cpf-page-lively .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body.cpf-page-lively .cpf-form .ca-input {
    border-radius: 0;
    border-color: rgba(16, 185, 129, 0.25);
    background: rgba(255, 255, 255, 0.92);
}

body.cpf-page-lively .cpf-form .ca-input:focus {
    border-color: rgba(13, 148, 136, 0.55);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

body.cpf-page-lively .cpf-draft-msg {
    margin-top: 12px;
    min-height: 1.2em;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
}

body.cpf-page-lively .cpf-form .ca-btn.cpf-submit,
body.cpf-page-lively .cpf-form .ca-btn.cpf-step__next {
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
}

body.cpf-page-lively .cpf-step__actions .ca-btn.cpf-submit,
body.cpf-page-lively .cpf-step__actions .ca-btn.cpf-step__next {
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.cpf-page-lively .cpf-page-hero__eyebrow,
body.cpf-page-lively .cpf-page-hero__chip,
body.cpf-page-lively .cpf-back,
body.cpf-page-lively .cpf-flash,
body.cpf-page-lively .cpf-form .ca-input {
    border-radius: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
    body.cpf-page-lively .cpf-page-hero__blob {
        animation: none !important;
    }
}

/* Logged-in header + tab bar preview (disabled — complete profile signup) */
body.kf-portal-chrome-preview .kph--chrome-disabled .kph-hero__logo-link,
body.kf-portal-chrome-preview .kph--chrome-disabled .kph-wallet,
body.kf-portal-chrome-preview .kph--chrome-disabled .kph-icon-btn,
body.kf-portal-chrome-preview .kph--chrome-disabled .kph-pwa-install {
    pointer-events: none;
    cursor: default;
}

body.kf-portal-chrome-preview .kph--chrome-disabled .kph-pwa-install[disabled] {
    opacity: 0.65;
}

body.kf-portal-chrome-preview .ca-lnav--disabled .ca-lnav__link {
    pointer-events: none;
    cursor: default;
    -webkit-tap-highlight-color: transparent;
}

body.kf-portal-chrome-preview .ca-lnav--disabled .ca-lnav__link:not(.ca-lnav__link--active):not([aria-current='page']) {
    opacity: 0.58;
}

body.kf-portal-chrome-preview .ca-lnav--disabled .ca-lnav__link--active,
body.kf-portal-chrome-preview .ca-lnav--disabled .ca-lnav__link[aria-current='page'] {
    opacity: 1;
}

/* Locked chrome overlay — communicates that the header & bottom nav unlock
   only after the customer finishes signing up. CSS-only; both components
   already toggle the relevant classes on this preview page. */
body.kf-portal-chrome-preview .kph--chrome-disabled,
body.kf-portal-chrome-preview .ca-lnav--disabled {
    position: relative;
    isolation: isolate;
    overflow: visible;
}

body.kf-portal-chrome-preview .kph--chrome-disabled::after,
body.kf-portal-chrome-preview .ca-lnav--disabled::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(1.5px) saturate(0.95);
    -webkit-backdrop-filter: blur(1.5px) saturate(0.95);
    border-radius: inherit;
}

body.cpf-page .cpf-back {
    position: relative;
    z-index: 7;
}

body.cpf-page-lively .cpf-field-hint {
    margin: 6px 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #64748b;
}

body.cpf-page-lively .cpf-form .kf-pin-field__label {
    display: block;
    margin-bottom: 8px;
    font-size: var(--kf-app-fs-small, 0.75rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ca-muted, #64748b);
}

body.cpf-page-lively .cpf-form .kf-pin-boxes__row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
}

body.cpf-page-lively .cpf-form input.kf-pin-box {
    flex: 0 0 2.5rem;
    width: 2.5rem;
    min-width: 2.5rem;
    max-width: 2.5rem;
    height: 2.5rem;
    min-height: 2.5rem;
    border-radius: 0;
    border-color: rgba(16, 185, 129, 0.25);
    background: rgba(255, 255, 255, 0.92);
    line-height: 2.5rem;
}

body.cpf-page-lively .cpf-form input.kf-pin-box:focus {
    border-color: rgba(13, 148, 136, 0.55);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

body.cpf-page-lively .cpf-form input.kf-pin-box.filled {
    border-color: rgba(16, 185, 129, 0.45);
    background: #f0fdf4;
}

.kf-address-map {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.kf-address-map__search-row {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.kf-address-map__search-row--locate-only .kf-address-map__locate {
    width: 100%;
}

.kf-address-map__search {
    width: 100%;
}

.kf-address-map__locate {
    align-self: flex-start;
    min-height: 2.25rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.85rem;
}

body.cpf-page-lively .cpf-form .kf-address-map__locate.ca-btn--ghost {
    width: auto;
    max-width: 100%;
    margin-top: 0;
    min-height: auto;
    padding: 0.42rem 0.72rem;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: var(--kf-solid-orange, #ea580c) !important;
    background: var(--kf-nature-orange-pale, #ffedd5) !important;
    border: 1px solid rgba(234, 88, 12, 0.32) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.cpf-page-lively .cpf-form .kf-address-map__locate.ca-btn--ghost:hover {
    background: #fed7aa !important;
    filter: none;
}

body.cpf-page-lively .cpf-form .kf-address-map__locate.ca-btn--ghost:active {
    transform: none;
}

.kf-address-map__canvas {
    width: 100%;
    height: 220px;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.22);
    background: #eef2f7;
}

.kf-address-map__hint {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.35;
    color: rgba(15, 23, 42, 0.62);
}

.kf-address-map__hint--warn {
    color: #92400e;
}

.kf-address-map__hint.is-error {
    color: #b91c1c;
}

@media (min-width: 480px) {
    .kf-address-map__search-row {
        flex-direction: row;
        align-items: center;
    }

    .kf-address-map__search {
        flex: 1 1 auto;
    }
}

/* Full-screen login-shell complete profile */
body.kf-login-page.cpf-page {
    --kf-page-bg: transparent;
    background: #0b1710 !important;
    background-image: none !important;
}

body.kf-login-page.cpf-page .cpf-card .cpf-step__title {
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111216;
}

body.kf-login-page.cpf-page .cpf-card .cpf-step__title--compact {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.kf-login-page.cpf-page .cpf-field {
    margin: 0 0 12px;
}

body.kf-login-page.cpf-page .cpf-card .ca-label {
    display: block;
    margin: 0 0 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

body.kf-login-page.cpf-page .cpf-card .ca-label .cpf-req {
    color: #ffffff;
}

body.kf-login-page.cpf-page .cpf-card .kf-pin-field__label {
    color: #ffffff;
}

body.kf-login-page.cpf-page .cpf-card .ca-input {
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid rgba(17, 18, 22, 0.12);
    border-radius: 12px;
    background: #fff;
    font-size: 1rem;
    font-weight: 600;
    color: #111216;
}

body.kf-login-page.cpf-page .cpf-card .ca-input:focus {
    outline: none;
    border-color: rgba(28, 74, 48, 0.45);
    box-shadow: 0 0 0 3px rgba(47, 123, 79, 0.15);
}

body.kf-login-page.cpf-page .cpf-card .ca-btn:not(.ca-btn--ghost) {
    width: 100%;
    min-height: 48px;
    margin: 0;
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(145deg, #2f7b4f 0%, #1c4a30 100%);
    box-shadow: 0 12px 30px rgba(28, 74, 48, 0.24);
}

body.kf-login-page.cpf-page .cpf-card .cpf-step__back {
    border-radius: 12px !important;
    border: 1px solid rgba(15, 23, 42, 0.14) !important;
    background: #fff !important;
    color: #0f172a !important;
    box-shadow: none !important;
}

body.kf-login-page.cpf-page .cpf-card .cpf-step__actions {
    margin-top: 4px;
}

/* Card already clears the contact bar — don't pad the form for safe-area again. */
body.kf-login-page.cpf-page .cpf-card .cpf-form {
    max-width: none;
    margin: 0;
    padding: 0 !important;
}

body.kf-login-page.cpf-page .kf-card.cpf-card {
    height: fit-content;
    min-height: 0;
    align-self: flex-end;
    padding: 14px;
}

html.kf-android-webview body.kf-login-page.cpf-page .kf-card.cpf-card {
    padding-bottom: 14px !important;
}

body.kf-login-page.cpf-page .cpf-card .cpf-flash {
    margin: 0 0 12px;
}

body.kf-login-page.cpf-page .cpf-card .cpf-field-hint {
    margin: 6px 0 0;
    font-size: 0.78rem;
    color: #616773;
}

body.kf-login-page.cpf-page .kf-address-map__canvas {
    border-radius: 12px;
}

/* Signup step 2 — centered round PIN pills + single CTA */
body.kf-login-page.cpf-page .cpf-pin-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2px 0 0;
}

body.kf-login-page.cpf-page .cpf-pin-step__title {
    margin: 0 0 18px;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: #111216;
}

body.kf-login-page.cpf-page .cpf-pin-step__group {
    width: 100%;
    margin: 0 0 16px;
}

body.kf-login-page.cpf-page .cpf-pin-step__label {
    display: block;
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

body.kf-login-page.cpf-page .cpf-pin-step__field {
    margin: 0 auto;
    width: 100%;
    max-width: 17.5rem;
}

body.kf-login-page.cpf-page .cpf-pin-step__field .kf-pin-field__label {
    display: none;
}

body.kf-login-page.cpf-page .cpf-pin-step .kf-pin-boxes__row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
}

body.kf-login-page.cpf-page .cpf-pin-step input.kf-pin-box.cpf-pin-pill {
    flex: 0 0 3rem;
    width: 3rem;
    min-width: 3rem;
    max-width: 3rem;
    height: 3rem;
    min-height: 3rem;
    padding: 0;
    margin: 0;
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 14px rgba(4, 12, 8, 0.12);
    font-size: 1.2rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 3rem;
    text-align: center;
    color: #111216;
    -webkit-appearance: none;
    appearance: none;
}

body.kf-login-page.cpf-page .cpf-pin-step input.kf-pin-box.cpf-pin-pill:focus {
    outline: none;
    border-color: #86efac;
    box-shadow:
        0 0 0 3px rgba(34, 197, 94, 0.28),
        0 4px 14px rgba(4, 12, 8, 0.12);
}

body.kf-login-page.cpf-page .cpf-pin-step input.kf-pin-box.cpf-pin-pill.filled {
    border-color: #22c55e;
    background: #f0fdf4;
}

body.kf-login-page.cpf-page .cpf-pin-step__actions {
    width: 100%;
    margin-top: 8px;
}

body.kf-login-page.cpf-page .cpf-pin-step__submit {
    width: 100%;
    min-height: 50px;
    border-radius: 14px;
    font-size: 1rem;
    letter-spacing: -0.02em;
    box-shadow: 0 12px 28px rgba(28, 74, 48, 0.28);
}

body.kf-login-page.cpf-page .cpf-pin-step .cpf-draft-msg {
    width: 100%;
    margin: 0 0 10px;
    text-align: center;
}
