/* The same authentication forms and validation, with the approved light surface. */
@media screen {
    body[data-auth-refinement] {
        color-scheme: light;
        background: #f1f5f3;
        color: #19352e;
    }

    body[data-auth-refinement] .auth-refinement-frame {
        min-height: 100svh;
        padding: 32px 20px;
        background: #f1f5f3;
    }

    body[data-auth-refinement] .auth-refinement-card {
        max-width: 460px;
        padding: 32px;
        gap: 28px;
        border: 1px solid #dce5e0;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 12px 40px #173f3708;
    }

    body[data-auth-refinement] :is(h1, h2) {
        font-size: 26px;
        line-height: 1.35;
        letter-spacing: -.6px;
        color: #19352e;
    }

    body[data-auth-refinement] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) {
        min-width: 0;
        width: 100%;
        min-height: 44px;
        border-radius: 8px;
        background: #fff;
        color: #19352e;
    }

    body[data-auth-refinement] :is(button, nav a) {
        min-height: 44px;
        line-height: 1.5;
        white-space: normal;
    }

    body[data-auth-refinement] :is(a, button, input, select, textarea):focus-visible {
        outline: 3px solid #32745f;
        outline-offset: 3px;
    }

    body[data-auth-refinement] button:disabled {
        opacity: .65;
        cursor: not-allowed;
    }
}

@media screen and (max-width: 640px) {
    body[data-auth-refinement] .auth-refinement-frame {
        justify-content: flex-start;
        padding: 24px 16px;
    }

    body[data-auth-refinement] .auth-refinement-card {
        padding: 24px 18px;
    }

    body[data-auth-refinement] :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select, textarea) {
        font-size: 16px;
    }
}
