body.customer-auth-page {
    background: #fff !important;
    color: #0f172a;
    font-family: "Krub", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
}

body.customer-auth-page .skip-to-content {
    display: none;
}

.customer-auth {
    align-items: center;
    display: flex;
    height: var(--customer-auth-viewport-height, 100vh);
    height: var(--customer-auth-viewport-height, 100dvh);
    isolation: isolate;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    padding: clamp(18px, 3vh, 36px) 18px;
    position: relative;
}

.customer-auth::after {
    background:
        radial-gradient(circle at 34% 45%, rgba(244, 63, 94, .08), transparent 34%),
        radial-gradient(circle at 66% 54%, rgba(14, 165, 233, .12), transparent 37%);
    bottom: 78px;
    content: "";
    height: 260px;
    left: 50%;
    pointer-events: none;
    position: absolute;
    transform: translateX(-50%);
    width: min(520px, 86vw);
    z-index: -1;
}

.customer-auth__frame {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 100%;
    transform: scale(var(--customer-auth-fit-scale, 1));
    transform-origin: center center;
    width: 100%;
}

.customer-auth__shell {
    align-items: center;
    display: grid;
    flex: 0 1 auto;
    justify-items: center;
    max-width: 430px;
    padding: 0;
    width: 100%;
}

.customer-auth__shell.is-register {
    max-width: 680px;
}

.customer-auth__logo {
    color: #020617;
    display: flex;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    justify-content: center;
    line-height: 1;
    margin: 0 auto 4px;
    text-decoration: none;
    width: 100%;
}

.customer-auth__logo img {
    display: block;
    height: auto;
    max-height: 58px;
    max-width: min(188px, 54vw);
    object-fit: contain;
    width: auto;
}

.customer-auth__tagline {
    color: #2563eb;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 clamp(12px, 1.8vh, 18px);
    text-align: center;
}

.customer-auth__benefits {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: clamp(18px, 3vh, 30px);
    width: 100%;
}

.customer-auth__benefits article {
    align-items: center;
    background: #f5f7fc;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    min-height: 80px;
    padding: 14px 8px 11px;
    text-align: center;
}

.customer-auth__benefits svg {
    color: #2563eb;
    height: 32px;
    margin-bottom: 7px;
    stroke-width: 1.8;
    width: 32px;
}

.customer-auth__benefits article:first-child svg {
    color: #16a34a;
}

.customer-auth__benefits article:last-child svg {
    color: #e11d48;
}

.customer-auth__benefits strong,
.customer-auth__benefits span {
    display: block;
    line-height: 1.2;
}

.customer-auth__benefits strong {
    color: #0f172a;
    font-size: 12px;
    font-weight: 500;
}

.customer-auth__benefits span {
    color: #334155;
    font-size: 11px;
    font-weight: 400;
    margin-top: 2px;
}

.customer-auth__title {
    color: #020617;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 0 0 clamp(16px, 2.6vh, 26px);
    text-align: center;
}

.customer-auth__form {
    display: grid;
    gap: 12px;
    width: 100%;
}

.customer-auth__form.is-register-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-auth__wide {
    grid-column: 1 / -1;
}

.customer-auth__field {
    display: grid;
    gap: 7px;
    margin: 0;
}

.customer-auth__field > span:first-child,
.customer-auth .form-label {
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    padding-left: 14px;
}

.customer-auth__input-wrap,
.customer-auth .customer-identity-field__control {
    align-items: center;
    display: flex;
    position: relative;
}

.customer-auth__input-wrap .customer-auth__control,
.customer-auth .form-control,
.customer-auth .form-select {
    background-color: #fff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    color: #0f172a !important;
    font-size: 14px;
    height: 44px;
    outline: 0 !important;
    width: 100%;
}

html:root body.customer-auth-page .customer-auth .customer-auth__input-wrap > .form-control.customer-auth__control,
html:root body.customer-auth-page .customer-auth .customer-billing-identity .form-control,
html:root body.customer-auth-page .customer-auth .customer-billing-identity .form-select {
    background-color: #fff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    color: #0f172a !important;
    height: 44px !important;
    outline: 0 !important;
}

.customer-auth__input-wrap .customer-auth__control {
    padding-left: 42px;
}

.customer-auth .form-control:focus,
.customer-auth .form-control:focus-visible,
.customer-auth .form-select:focus,
.customer-auth .form-select:focus-visible {
    border-color: #1288e8 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

html:root body.customer-auth-page .customer-auth .customer-auth__input-wrap .customer-auth__control:focus,
html:root body.customer-auth-page .customer-auth .customer-auth__input-wrap .customer-auth__control:focus-visible,
html:root body.customer-auth-page .customer-auth .form-select:focus,
html:root body.customer-auth-page .customer-auth .form-select:focus-visible {
    border-color: #1288e8 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.customer-auth__input-wrap svg {
    color: #64748b;
    height: 18px;
    left: 14px;
    pointer-events: none;
    position: absolute;
    width: 18px;
    z-index: 1;
}

.customer-auth__input-wrap input {
    min-width: 0;
}

.customer-auth__input-wrap input::placeholder {
    color: #748196;
}

.customer-auth__form-row {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin: 2px 0 4px;
}

.customer-auth__remember,
.customer-auth__terms {
    align-items: center;
    color: #475569;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 7px;
    margin: 0;
}

.customer-auth__remember input,
.customer-auth__terms input {
    accent-color: #1288e8;
}

.customer-auth__form-row a,
.customer-auth__terms a,
.customer-auth__help,
.customer-auth__footer a {
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
}

.customer-auth__form-row a {
    font-size: 13px;
}

.customer-auth__submit {
    background: #000 !important;
    border: 0 !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    height: 50px;
    min-height: 50px;
    width: 100%;
}

.customer-auth__divider {
    align-items: center;
    color: #111827;
    display: flex;
    font-size: 14px;
    font-weight: 400;
    gap: 16px;
    margin: clamp(18px, 2.8vh, 28px) 0 14px;
    width: 100%;
}

.customer-auth__divider::before,
.customer-auth__divider::after {
    background: #e2e8f0;
    content: "";
    flex: 1 1 auto;
    height: 1px;
}

.customer-auth__social {
    display: flex;
    gap: 13px;
    justify-content: center;
}

.customer-auth-social-link {
    align-items: center;
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
    display: inline-flex;
    height: 48px;
    justify-content: center;
    transition: transform .18s ease, box-shadow .18s ease;
    width: 48px;
}

.customer-auth-social-link:hover,
.customer-auth-social-link:focus-visible {
    box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.customer-auth-social-link img {
    display: block;
    height: 29px;
    width: 29px;
}

.customer-auth__register {
    color: #0f172a;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    margin: clamp(14px, 2vh, 22px) 0 0;
    text-align: center;
}

.customer-auth__register a {
    color: inherit;
    font-weight: 400;
}

.customer-auth__register a strong {
    font-weight: 700;
}

.customer-auth__help {
    display: inline-flex;
    font-size: 14px;
    margin-top: clamp(14px, 2.1vh, 24px);
}

.customer-auth__footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;
    justify-content: center;
    margin-top: clamp(18px, 3vh, 30px);
    position: relative;
    width: 100%;
}

.customer-auth__footer a {
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    padding: 0 12px;
}

.customer-auth__footer a + a {
    border-left: 1px solid #cbd5e1;
}

.customer-auth__alert {
    border-radius: 12px;
    display: grid;
    font-size: 13px;
    font-weight: 700;
    gap: 4px;
    grid-column: 1 / -1;
    line-height: 1.45;
    padding: 10px 12px;
}

.customer-auth__alert.is-success {
    background: #ecfdf5;
    color: #047857;
}

.customer-auth__alert.is-error {
    background: #fef2f2;
    color: #b91c1c;
}

.customer-auth__alert.is-warning {
    background: #fffbeb;
    color: #92400e;
}

.customer-auth .customer-billing-identity {
    display: grid;
    gap: 10px;
}

.customer-auth .customer-billing-identity .mb-3,
.customer-auth .customer-billing-identity .row {
    margin: 0 !important;
}

.customer-auth .customer-billing-identity .row {
    row-gap: 10px;
}

.customer-auth .customer-company-lookup {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #dbe3ed;
    border-radius: 999px;
    color: #475569;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    position: absolute;
    right: 4px;
    width: 36px;
}

.customer-auth .customer-company-lookup svg {
    height: 17px;
    width: 17px;
}

.customer-auth .customer-identity-field__status,
.customer-auth .form-text,
.customer-auth .customer-password-contract__help,
.customer-auth .customer-password-contract__status {
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

.customer-auth .customer-password-contract {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: grid;
    gap: 8px;
    padding: 10px 12px;
}

.customer-auth .customer-password-contract__intro {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.customer-auth .customer-password-contract__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.customer-auth .customer-password-contract__generate,
.customer-auth .customer-password-contract__copy {
    background: #fff;
    border: 1px solid #dbe3ed;
    border-radius: 999px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
    min-height: 32px;
    padding: 0 12px;
}

.customer-auth .customer-password-contract__suggestion {
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    color: #0f172a;
    font-size: 13px;
    padding: 8px 10px;
}

@media (max-width: 767.98px) {
    .customer-auth {
        justify-content: center;
        padding: 14px 16px max(12px, env(safe-area-inset-bottom));
    }

    .customer-auth__shell,
    .customer-auth__shell.is-register {
        max-width: 360px;
    }

    .customer-auth__logo img {
        max-height: 48px;
        max-width: min(164px, 50vw);
    }

    .customer-auth__tagline {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .customer-auth__benefits {
        margin-bottom: 16px;
    }

    .customer-auth__benefits article {
        min-height: 70px;
        padding: 10px 6px 8px;
    }

    .customer-auth__benefits svg {
        height: 28px;
        margin-bottom: 5px;
        width: 28px;
    }

    .customer-auth__benefits strong {
        font-size: 11px;
    }

    .customer-auth__benefits span {
        font-size: 10px;
    }

    .customer-auth__title {
        font-size: 19px;
        margin-bottom: 14px;
    }

    .customer-auth__form,
    .customer-auth__form.is-register-form {
        gap: 9px;
        grid-template-columns: 1fr;
    }

    .customer-auth__field {
        gap: 5px;
    }

    .customer-auth__input-wrap .customer-auth__control,
    .customer-auth .form-control,
    .customer-auth .form-select {
        height: 42px;
    }

    .customer-auth__divider {
        margin: 16px 0 12px;
    }

    .customer-auth-social-link {
        height: 44px;
        width: 44px;
    }

    .customer-auth__register {
        margin-top: 14px;
    }

    .customer-auth__help {
        margin-top: 12px;
    }

    .customer-auth__form-row {
        align-items: center;
        flex-direction: row;
        gap: 8px;
        white-space: nowrap;
    }

    .customer-auth__form-row a,
    .customer-auth__remember {
        font-size: 12px;
        white-space: nowrap;
    }

    .customer-auth .customer-password-contract__intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .customer-auth__footer {
        margin-top: 16px;
        padding-bottom: env(safe-area-inset-bottom);
    }
}

@media (max-width: 767.98px) and (max-height: 700px) {
    .customer-auth {
        padding: 8px 16px max(6px, env(safe-area-inset-bottom));
    }

    .customer-auth::after {
        bottom: 44px;
        height: min(150px, 26vh);
    }

    .customer-auth__logo {
        margin-bottom: 2px;
    }

    .customer-auth__logo img {
        max-height: 34px;
        max-width: min(132px, 42vw);
    }

    .customer-auth__tagline {
        font-size: 12px;
        line-height: 1.15;
        margin-bottom: 6px;
    }

    .customer-auth__benefits {
        gap: 6px;
        margin-bottom: 10px;
    }

    .customer-auth__benefits article {
        border-radius: 10px;
        min-height: 48px;
        padding: 6px 4px;
    }

    .customer-auth__benefits svg {
        height: 20px;
        margin-bottom: 3px;
        width: 20px;
    }

    .customer-auth__benefits strong {
        font-size: 10px;
        line-height: 1.1;
    }

    .customer-auth__benefits span {
        display: none;
    }

    .customer-auth__title {
        font-size: 18px;
        line-height: 1.15;
        margin-bottom: 8px;
    }

    .customer-auth__form,
    .customer-auth__form.is-register-form {
        gap: 6px;
    }

    .customer-auth__field {
        gap: 3px;
    }

    .customer-auth__field > span:first-child,
    .customer-auth .form-label {
        font-size: 11px;
        padding-left: 12px;
    }

    .customer-auth__input-wrap .customer-auth__control,
    .customer-auth .form-control,
    .customer-auth .form-select {
        font-size: 13px;
        height: 38px;
        padding-left: 40px;
    }

    .customer-auth__input-wrap svg {
        height: 16px;
        width: 16px;
    }

    .customer-auth__form-row {
        gap: 6px;
    }

    .customer-auth__form-row a,
    .customer-auth__remember,
    .customer-auth__terms {
        font-size: 11px;
    }

    .customer-auth__submit {
        font-size: 14px;
        height: 40px;
        min-height: 40px;
        padding-bottom: 0;
        padding-top: 0;
    }

    .customer-auth__divider {
        font-size: 12px;
        gap: 10px;
        margin: 10px 0 8px;
    }

    .customer-auth__social {
        gap: 10px;
    }

    .customer-auth-social-link {
        height: 36px;
        width: 36px;
    }

    .customer-auth-social-link img {
        height: 24px;
        width: 24px;
    }

    .customer-auth__register {
        font-size: 12px;
        line-height: 1.25;
        margin-top: 8px;
    }

    .customer-auth__help {
        font-size: 12px;
        margin-top: 8px;
    }

    .customer-auth__footer {
        margin-top: 8px;
    }

    .customer-auth__footer a {
        font-size: 10px;
        padding: 0 8px;
    }

    .customer-auth .customer-billing-identity,
    .customer-auth .customer-password-contract {
        display: none;
    }
}

@media (max-width: 340px) and (max-height: 620px) {
    .customer-auth__benefits article {
        min-height: 44px;
    }

    .customer-auth__title {
        font-size: 17px;
    }

    .customer-auth__register {
        margin-left: auto;
        margin-right: auto;
        max-width: 270px;
    }

    .customer-auth__footer a {
        padding: 0 5px;
    }
}
