body.pb-buyers-login-page,
body.pb-buyers-password-reset-page,
body.pb-buyers-login-page.pb-buyers-product-detail-page,
body.pb-buyers-password-reset-page.pb-buyers-product-detail-page {
    margin: 0;
    min-height: 100vh;
    background: #05070d;
}

body.pb-buyers-login-page .pb-buyers-login-page-shell,
body.pb-buyers-password-reset-page .pb-buyers-login-page-shell {
    min-height: 100vh;
}

.pb-buyers-login-page-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: clamp(24px, 5vw, 64px) clamp(14px, 4vw, 48px);
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 22% 38%, rgba(212, 173, 95, .22), transparent 38%),
        radial-gradient(circle at 76% 42%, rgba(75, 154, 255, .22), transparent 38%),
        linear-gradient(135deg, #05070d 0%, #0a0f18 52%, #05070d 100%);
}

.pb-buyers-login-page-background-media {
    position: fixed;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.48) saturate(1.04) contrast(1.06);
    transform: scale(1.015);
}

.pb-buyers-login-page-background-scrim {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 28% 44%, rgba(212, 173, 95, .22), transparent 34%),
        radial-gradient(circle at 72% 46%, rgba(63, 146, 255, .26), transparent 34%),
        linear-gradient(90deg, rgba(2, 4, 8, .84), rgba(3, 8, 16, .58) 50%, rgba(2, 4, 8, .84)),
        rgba(1, 3, 8, .52);
    backdrop-filter: blur(2px);
}

.pb-buyers-login-page-main {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(600px, 100%);
    min-height: min(680px, calc(100vh - 48px));
}

.pb-buyers-login-page-stage {
    position: relative;
    width: 100%;
}

.pb-buyers-login-page .pb-buyers-wip-login-card,
.pb-buyers-password-reset-page .pb-buyers-wip-login-card,
.pb-buyers-login-page-card {
    position: relative;
    inset: auto;
    left: auto;
    top: auto;
    z-index: 3;
    width: min(560px, calc(100vw - 32px));
    max-height: none;
    margin: 0 auto;
    padding: 2.35rem 2.45rem 1.55rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.pb-buyers-login-page .pb-buyers-wip-login-card:hover,
.pb-buyers-login-page .pb-buyers-wip-login-card:focus-within,
.pb-buyers-password-reset-page .pb-buyers-wip-login-card:hover,
.pb-buyers-password-reset-page .pb-buyers-wip-login-card:focus-within {
    transform: none;
}

.pb-buyers-login-page .pb-buyers-wip-login-form,
.pb-buyers-password-reset-page .pb-buyers-wip-login-form {
    gap: 0.86rem;
}

.pb-buyers-login-page .pb-buyers-wip-login-card__header h2,
.pb-buyers-password-reset-page .pb-buyers-wip-login-card__header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.pb-buyers-login-page .pb-buyers-wip-login-card__header p,
.pb-buyers-password-reset-page .pb-buyers-wip-login-card__header p {
    margin-top: 0.38rem;
    font-size: 0.98rem;
}

.pb-buyers-login-page .pb-buyers-wip-login-card__rule,
.pb-buyers-password-reset-page .pb-buyers-wip-login-card__rule {
    margin: 0.45rem auto 0.9rem;
}

.pb-buyers-login-page .pb-buyers-wip-login-field,
.pb-buyers-password-reset-page .pb-buyers-wip-login-field {
    gap: 0.42rem;
    font-size: 0.93rem;
}

.pb-buyers-login-page .pb-buyers-wip-login-field input,
.pb-buyers-password-reset-page .pb-buyers-wip-login-field input {
    min-height: 52px;
    padding-top: 0.74rem;
    padding-bottom: 0.74rem;
    font-size: 0.98rem;
}

.pb-buyers-login-page .pb-buyers-wip-login-submit,
.pb-buyers-password-reset-page .pb-buyers-wip-login-submit {
    min-height: 54px;
    font-size: 1.2rem;
}

.pb-buyers-login-page .pb-buyers-wip-login-separator,
.pb-buyers-password-reset-page .pb-buyers-wip-login-separator {
    gap: 0.9rem;
    font-size: 0.95rem;
}

.pb-buyers-login-page .pb-buyers-wip-login-card__signup,
.pb-buyers-password-reset-page .pb-buyers-wip-login-card__signup {
    min-height: 38px;
    font-size: 0.94rem;
}

.pb-buyers-login-page .pb-buyers-wip-login-card__signup a,
.pb-buyers-password-reset-page .pb-buyers-wip-login-card__signup a {
    appearance: none;
    border: 0;
    background: transparent;
    color: #9fcfff;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.pb-buyers-login-page .pb-buyers-wip-login-card__signup a:hover,
.pb-buyers-login-page .pb-buyers-wip-login-card__signup a:focus,
.pb-buyers-password-reset-page .pb-buyers-wip-login-card__signup a:hover,
.pb-buyers-password-reset-page .pb-buyers-wip-login-card__signup a:focus {
    color: #d8ecff;
    text-decoration: underline;
}

.pb-buyers-password-reset-card .pb-buyers-wip-form-message {
    margin-bottom: 0.15rem;
}

.pb-buyers-password-reset-help {
    margin: -0.1rem 0 0.2rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.86rem;
    line-height: 1.48;
}

.pb-buyers-password-reset-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.pb-buyers-login-page .pb-buyers-public-footer,
.pb-buyers-password-reset-page .pb-buyers-public-footer {
    position: relative;
    z-index: 4;
}

@media (max-width: 720px) {
    .pb-buyers-login-page-shell {
        align-items: flex-start;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .pb-buyers-login-page-main {
        min-height: auto;
    }

    .pb-buyers-login-page .pb-buyers-wip-login-card,
    .pb-buyers-password-reset-page .pb-buyers-wip-login-card,
    .pb-buyers-login-page-card {
        width: min(100%, calc(100vw - 24px));
        padding: 2.35rem 1.15rem 1.35rem;
    }

    .pb-buyers-login-page .pb-buyers-wip-login-row,
    .pb-buyers-login-page .pb-buyers-wip-login-card__signup,
    .pb-buyers-password-reset-page .pb-buyers-wip-login-row,
    .pb-buyers-password-reset-page .pb-buyers-wip-login-card__signup {
        align-items: flex-start;
        flex-direction: column;
    }
}
