/* ============================================================

   PAINT FOR LIFE — CUSTOMER LOGIN / REGISTER

   Clean single-column auth design.

============================================================ */



*,

*::before,

*::after {

    box-sizing: border-box;

}



html {

    min-width: 320px;

    background: #edf6f4;

}



body.page-auth {

    --auth-brand: #2b565e;

    --auth-brand-dark: #1f454c;

    --auth-brand-light: #4f7e83;

    --auth-border: #cfddda;

    --auth-muted: #70807d;



    min-width: 320px;

    min-height: 100vh;

    margin: 0;

    background:

        radial-gradient(circle at 9% 9%, rgba(246, 226, 195, .65), transparent 22%),

        radial-gradient(circle at 90% 88%, rgba(164, 219, 213, .36), transparent 28%),

        linear-gradient(135deg, #f8f7ef 0%, #edf7f4 55%, #e2f1ef 100%);

    color: #203330;

    font-family: "Outfit", Arial, sans-serif;

}



.customer-auth-page button,

.customer-auth-page input {

    font: inherit;

}



.customer-auth-main {

    display: grid;

    min-height: calc(100vh - 180px);

    place-items: center;

    padding: clamp(24px, 4vw, 58px);

}



.customer-auth-card {

    position: relative;

    display: grid;

    width: min(1180px, 100%);

    min-height: 690px;

    grid-template-columns: minmax(0, 56%) minmax(360px, 44%);

    overflow: hidden;

    border: 1px solid rgba(43, 86, 94, .12);

    border-radius: 22px;

    background: #fff;

    box-shadow: 0 28px 75px rgba(31, 69, 76, .14);

}



.customer-auth-form-side {

    position: relative;

    z-index: 2;

    display: flex;

    min-width: 0;

    flex-direction: column;

    justify-content: center;

    padding: 38px clamp(42px, 5vw, 76px);

    background:

        radial-gradient(circle at 8% 16%, rgba(241, 229, 202, .38), transparent 22%),

        #fff;

}



.customer-auth-logo {

    display: inline-flex;

    width: fit-content;

    align-items: center;

    margin: 0 auto 22px;

}



.customer-auth-logo img {

    display: block;

    width: 145px;

    max-height: 54px;

    object-fit: contain;

}



.customer-auth-panel {

    width: min(100%, 430px);

    margin-inline: auto;

    transition:

        opacity 240ms ease,

        transform 280ms ease;

}



.customer-auth-panel[hidden] {

    display: none !important;

}



.customer-auth-panel.is-entering {

    opacity: 0;

    transform: translateX(20px);

}



.customer-auth-heading {

    margin-bottom: 24px;

    text-align: center;

}



.customer-auth-heading h1 {

    margin: 0 0 8px;

    color: var(--auth-brand);

    font-size: clamp(2rem, 3vw, 2.7rem);

    font-weight: 600;

    letter-spacing: -.035em;

    line-height: 1.05;

}



.customer-auth-heading p {

    max-width: 330px;

    margin: 0 auto;

    color: var(--auth-muted);

    font-size: .88rem;

    line-height: 1.5;

}



.customer-auth-alert {

    margin: 0 0 13px;

    padding: 10px 12px;

    border: 1px solid #efd2cf;

    border-radius: 9px;

    background: #fff4f3;

    color: #99413e;

    font-size: .76rem;

    line-height: 1.45;

}



.customer-auth-alert--success {

    border-color: #cce3d6;

    background: #eef8f2;

    color: #317250;

}



.customer-auth-alert a {

    color: inherit;

    font-weight: 600;

}



.customer-auth-checkout-notice {

    display: grid;

    gap: 3px;

    margin: 0 0 13px;

    padding: 11px 13px;

    border: 1px solid #dfe8e6;

    border-radius: 10px;

    background: #edf5f4;

    color: var(--auth-brand);

    font-size: .76rem;

    line-height: 1.45;

}



.customer-auth-checkout-notice strong,

.customer-auth-checkout-notice span {

    display: block;

}



.customer-auth-checkout-notice strong {

    font-weight: 700;

}



.customer-auth-checkout-notice span {

    color: #50635f;

}



.customer-auth-form {

    display: grid;

    gap: 14px;

}



.customer-auth-form--register {

    gap: 11px;

}



.customer-auth-field {

    display: block;

}



.customer-auth-input {

    position: relative;

    display: flex;

    min-height: 50px;

    align-items: center;

    border: 1px solid var(--auth-border);

    border-radius: 6px;

    background: rgba(255,255,255,.92);

    transition:

        border-color 160ms ease,

        box-shadow 160ms ease,

        background 160ms ease;

}



.customer-auth-input:focus-within {

    border-color: var(--auth-brand-light);

    background: #fff;

    box-shadow: 0 0 0 3px rgba(43, 86, 94, .08);

}



.customer-auth-input > svg {

    width: 18px;

    height: 18px;

    flex: 0 0 18px;

    margin-left: 13px;

    fill: none;

    stroke: var(--auth-brand);

    stroke-width: 1.65;

    stroke-linecap: round;

    stroke-linejoin: round;

}



.customer-auth-input input {

    width: 100%;

    min-width: 0;

    height: 48px;

    padding: 0 46px 0 12px;

    border: 0;

    outline: 0;

    background: transparent;

    color: #203330;

    font-size: .86rem;

}



.customer-auth-input input::placeholder {

    color: #8d9a97;

    opacity: 1;

}



.customer-auth-eye {

    position: absolute;

    right: 5px;

    display: grid;

    width: 38px;

    height: 38px;

    place-items: center;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: transparent;

    color: #697a77;

    cursor: pointer;

}



.customer-auth-eye:hover,

.customer-auth-eye:focus-visible {

    background: #edf5f4;

    color: var(--auth-brand);

}



.customer-auth-eye svg {

    width: 18px;

    height: 18px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.55;

    stroke-linecap: round;

    stroke-linejoin: round;

}



.customer-auth-options {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 14px;

    padding-top: 1px;

}



.customer-auth-options > a {

    color: var(--auth-brand);

    font-size: .73rem;

    font-weight: 500;

    text-decoration: underline;

    text-underline-offset: 2px;

}



.customer-auth-check {

    display: inline-flex;

    align-items: flex-start;

    gap: 8px;

    color: #60706c;

    font-size: .73rem;

    line-height: 3.85;

}



.customer-auth-check input {

    width: 15px;

    height: 15px;

    min-width: 15px;

    margin: 2px 0 0;

    accent-color: var(--auth-brand);

}



.customer-auth-terms {

    margin-top: 1px;

}



.customer-auth-terms a {

    color: var(--auth-brand);

    text-decoration: underline;

    text-underline-offset: 2px;

}



.customer-auth-primary,

.customer-auth-secondary {

    min-height: 48px;

    padding: 11px 18px;

    border-radius: 5px;

    font-family: inherit;

    font-weight: 600;

    cursor: pointer;

    transition:

        background 160ms ease,

        color 160ms ease,

        border-color 160ms ease,

        transform 160ms ease;

}



.customer-auth-primary {

    width: 100%;

    margin-top: 2px;

    border: 1px solid var(--auth-brand);

    background: var(--auth-brand);

    color: #fff;

    font-size: .86rem;

}



.customer-auth-primary:hover,

.customer-auth-primary:focus-visible {

    border-color: var(--auth-brand-dark);

    background: var(--auth-brand-dark);

    transform: translateY(-1px);

}



.customer-auth-switch {

    display: grid;

    justify-items: center;

    margin-top: 14px;

    text-align: center;

}



.customer-auth-switch > span {

    display: grid;

    width: 100%;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    gap: 10px;

    color: #84918e;

    font-size: .7rem;

}



.customer-auth-switch > span::before,

.customer-auth-switch > span::after {

    height: 1px;

    background: #dde6e4;

    content: "";

}



.customer-auth-switch p {

    margin: 10px 0 8px;

    color: #697774;

    font-size: .73rem;

}



.customer-auth-secondary {

    min-width: 140px;

    min-height: 40px;

    border: 1px solid var(--auth-brand);

    background: transparent;

    color: var(--auth-brand);

    font-size: .78rem;

}



.customer-auth-secondary:hover,

.customer-auth-secondary:focus-visible {

    background: var(--auth-brand);

    color: #fff;

}





/* ============================================================

   CAPTCHA

============================================================ */

.math-captcha {

    display: grid;

    grid-template-columns: minmax(0, 1fr) 140px;

    gap: 12px;

    align-items: end;

    box-sizing: border-box;

    width: 100%;

    padding: 13px;

    border: 1px solid #dfe8e6;

    border-radius: 10px;

    background: #edf5f4;

}



.math-captcha label {

    display: grid;

    gap: 5px;

    margin: 0;

}



.math-captcha label span {

    margin: 0;

    color: #2b565e;

    font-size: .74rem;

    font-weight: 700;

}



.math-captcha label em {

    color: #bf4f4f;

    font-style: normal;

}



.math-captcha label strong {

    color: #2b565e;

    font-size: .95rem;

    font-weight: 700;

}



.math-captcha input[type="text"] {

    width: 100%;

    min-height: 44px;

    box-sizing: border-box;

    padding: 0 12px;

    border: 1px solid #d4dfdd;

    border-radius: 10px;

    background: #fff;

    color: #17211f;

}





@media (max-width: 900px) {

    .customer-auth-main {

        padding: 24px;

    }



    .customer-auth-card {

        grid-template-columns: minmax(0, 58%) minmax(300px, 42%);

        min-height: 650px;

    }



    .customer-auth-form-side {

        padding: 34px;

    }



    .customer-auth-promo {

        padding: 40px 28px;

    }

}





@media (max-width: 720px) {

    body.page-auth {

        background:

            radial-gradient(circle at 88% 8%, rgba(136, 207, 200, .32), transparent 26%),

            radial-gradient(circle at 5% 96%, rgba(244, 222, 188, .45), transparent 28%),

            #f8fbfa;

    }



    .customer-auth-main {

        min-height: auto;

        align-items: start;

        padding: 24px 14px;

    }



    .customer-auth-card {

        display: block;

        width: min(100%, 470px);

        min-height: auto;

        overflow: visible;

        border: 0;

        border-radius: 18px;

        background: rgba(255,255,255,.92);

        box-shadow: 0 18px 50px rgba(31, 69, 76, .08);

    }



    .customer-auth-form-side {

        min-height: 0;

        padding: 28px 22px 24px;

        border-radius: 18px;

        background:

            radial-gradient(circle at 92% 0, rgba(191, 226, 220, .46), transparent 23%),

            radial-gradient(circle at 4% 100%, rgba(244, 224, 193, .4), transparent 25%),

            rgba(255,255,255,.96);

    }



    .customer-auth-logo {

        margin-bottom: 18px;

    }



    .customer-auth-logo img {

        width: 132px;

    }



    .customer-auth-panel {

        width: 100%;

    }



    .customer-auth-heading {

        margin-bottom: 20px;

    }



    .customer-auth-heading h1 {

        font-size: 1.8rem;

    }



    .customer-auth-heading p {

        max-width: 290px;

        font-size: .8rem;

    }



    .customer-auth-input {

        min-height: 49px;

    }



    .customer-auth-input input {

        height: 47px;

        font-size: 16px;

    }



    .customer-auth-primary {

        min-height: 48px;

    }



    .math-captcha {

        grid-template-columns: 1fr;

    }



    .customer-auth-promo {

        display: none;

    }

}





@media (max-width: 390px) {

    .customer-auth-main {

        padding: 16px 10px;

    }



    .customer-auth-form-side {

        padding: 24px 16px 20px;

    }



    .customer-auth-logo img {

        width: 120px;

    }



    .customer-auth-heading h1 {

        font-size: 1.65rem;

    }



    .customer-auth-options {

        gap: 9px;

    }



    .customer-auth-options > a,

    .customer-auth-check {

        font-size: .69rem;

    }

}

/* ============================================================
   CLEAN AUTH LAYOUT UPDATE
   - No page decorative background
   - No form/card background, border or shadow
   - No promotional side panel
   - Register form uses 2 columns on desktop only
============================================================ */

html,
body.page-auth {
    background: #fff;
}

body.page-auth {
    min-height: 100svh;
}

.customer-auth-main {
    min-height: calc(100svh - 160px);
    padding: clamp(18px, 3vw, 38px) clamp(16px, 3vw, 32px);
}

.customer-auth-card {
    display: block;
    width: min(620px, 100%);
    min-height: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: width 200ms ease;
}

.customer-auth-page[data-auth-mode="register"] .customer-auth-card {
    width: min(920px, 100%);
}

.customer-auth-form-side {
    min-height: 0;
    padding: 22px 0 28px;
    background: transparent;
}

.customer-auth-panel {
    width: min(100%, 430px);
}

.customer-auth-page[data-auth-mode="register"] .customer-auth-panel--register {
    width: 100%;
    max-width: 900px;
}

.customer-auth-page[data-auth-mode="register"] .customer-auth-heading p {
    max-width: 520px;
}

.customer-auth-form--register {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 13px;
}

.customer-auth-form--register > .customer-auth-field--full,
.customer-auth-form--register > .customer-auth-form__full {
    grid-column: 1 / -1;
}

.customer-auth-recaptcha {
    min-width: 0;
}

.customer-auth-recaptcha > * {
    max-width: 100%;
}

.customer-auth-form--register .customer-auth-terms {
    align-items: flex-start;
    margin-top: 1px;
}

.customer-auth-form--register .customer-auth-primary {
    width: 100%;
    margin-top: 1px;
}

@media (max-width: 720px) {
    html,
    body.page-auth {
        background: #fff;
    }

    .customer-auth-main {
        min-height: auto;
        padding: 24px 14px;
    }

    .customer-auth-card,
    .customer-auth-page[data-auth-mode="register"] .customer-auth-card {
        width: min(100%, 470px);
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .customer-auth-form-side {
        padding: 24px 0 20px;
        border-radius: 0;
        background: transparent;
    }

    .customer-auth-page[data-auth-mode="register"] .customer-auth-panel--register {
        width: 100%;
        max-width: none;
    }

    .customer-auth-form--register {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .customer-auth-form--register > .customer-auth-field--full,
    .customer-auth-form--register > .customer-auth-form__full {
        grid-column: auto;
    }
}

@media (max-width: 390px) {
    .customer-auth-main {
        padding: 16px 10px;
    }

    .customer-auth-form-side {
        padding: 22px 0 18px;
    }
}

