﻿/* Global stylesheet, intentionally scoped to the account shell. Load AFTER site/app CSS. */
.pf-account {
    --pf-ink: #192b38;
    --pf-muted: #61717d;
    --pf-orange: #ed6009;
    --pf-action: #b94700;
    --pf-line: #dfe5e9;
    --pf-paper: #fafaf8;
    box-sizing: border-box;
    min-height: 100dvh;
    background: var(--pf-paper);
    color: var(--pf-ink);
    font-family: Roboto,"Segoe UI",Arial,sans-serif;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    padding: 0 40px
}

    .pf-account *, .pf-account *::before, .pf-account *::after {
        box-sizing: border-box
    }

    .pf-account a {
        color: var(--pf-ink);
        text-underline-offset: 4px
    }

        .pf-account a:hover {
            color: var(--pf-action)
        }

.pf-account-header, .pf-account-footer {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.pf-account-header {
    padding: 28px 0
}

    .pf-account-header > a:last-child {
        font-size: 13px;
        font-weight: 600;
        text-decoration: none
    }

.pf-account-logo img {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto
}

.pf-account-main {
    width: 100%;
    max-width: 1120px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    align-items: stretch;
    border: 1px solid var(--pf-line);
    border-radius: 24px;
    overflow: hidden;
    background: white;
    box-shadow: 0 20px 65px #192b380a
}

.pf-account-story {
    position: relative;
    padding: 58px 48px;
    background: var(--pf-ink);
    color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center
}

    .pf-account-story::after {
        content: "";
        position: absolute;
        right: -180px;
        top: -160px;
        width: 400px;
        height: 400px;
        border: 1px solid #ffffff10;
        border-radius: 50%;
        pointer-events: none
    }

.pf-account-eyebrow {
    font-size: 10px;
    letter-spacing: 1.8px;
    font-weight: 700;
    color: #fbb587;
    margin-bottom: 24px
}

.pf-account-story h2 {
    font-size: clamp(34px,3.6vw,48px);
    line-height: 1.12;
    letter-spacing: -1.5px;
    font-weight: 600;
    margin: 0 0 24px;
    color: #fff
}

    .pf-account-story h2 span {
        color: #fba56e
    }

.pf-account-story > p {
    color: #c6d1d8;
    font-size: 15px;
    max-width: 360px;
    margin: 0 0 32px
}

.pf-account-cycle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
    border-top: 1px solid #ffffff24;
    padding-top: 26px
}

    .pf-account-cycle > div {
        display: grid;
        grid-template-columns: 24px 1fr;
        gap: 2px 8px
    }

    .pf-account-cycle span {
        color: #fba56e;
        font-size: 11px;
        padding-top: 3px
    }

    .pf-account-cycle strong {
        font-size: 14px;
        font-weight: 500
    }

    .pf-account-cycle small {
        grid-column: 2;
        color: #b9c9d3;
        font-size: 11px;
        line-height: 1.6
    }

.pf-account-signature {
    font-size: 12px;
    letter-spacing: .4px;
    color: #c6d1d8;
    margin-top: 38px
}

.pf-account-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px
}

.pf-account-form {
    width: 100%;
    max-width: 400px;
    margin: auto
}

.pf-account-content h1 {
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -.8px;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--pf-ink)
}

.pf-account-content h2, .pf-account-content h3, .pf-account-content h4 {
    color: var(--pf-ink)
}

.pf-account-intro {
    color: var(--pf-muted);
    font-size: 14px;
    margin-bottom: 28px
}

.pf-account-kicker {
    color: var(--pf-action);
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 10px;
    margin: 0 0 14px
}

.pf-account .form-label {
    font-size: 13px;
    color: var(--pf-ink);
    font-weight: 600;
    margin-bottom: 8px
}

.pf-account .form-control, .pf-account .form-select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cbd5dc;
    border-radius: 8px;
    padding: 11px 13px;
    font: inherit;
    font-size: 14px;
    color: var(--pf-ink);
    background: #fff;
    box-shadow: none
}

    .pf-account .form-control::placeholder {
        color: #74818b
    }

    .pf-account .form-control:focus, .pf-account .form-select:focus {
        border-color: #697e8d;
        box-shadow: 0 0 0 3px #192b3812;
        outline: none
    }

.pf-account .btn-primary {
    background: var(--pf-ink);
    border: 1px solid var(--pf-ink);
    color: #fff;
    border-radius: 8px;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

    .pf-account .btn-primary:hover {
        background: #294252;
        color: #fff;
        border-color: #294252
    }

.pf-account .btn-outline-primary {
    color: var(--pf-ink);
    border-color: #cbd5dc;
    border-radius: 8px;
    padding: 11px 18px
}

    .pf-account .btn-outline-primary:hover {
        background: var(--pf-ink);
        color: white
    }

.pf-account button:disabled {
    opacity: .6;
    cursor: not-allowed
}

.pf-account .form-check-input:checked {
    background-color: var(--pf-ink);
    border-color: var(--pf-ink)
}

.pf-account .form-check-label {
    font-size: 13px
}

.pf-account-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 20px 0
}

    .pf-account-options a {
        font-size: 12px;
        font-weight: 500
    }

.pf-account .form-check {
    margin: 0
}

.pf-account-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0;
    color: var(--pf-muted);
    font-size: 11px
}

    .pf-account-divider::before, .pf-account-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--pf-line)
    }

.pf-account .pf-microsoft-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    background: white;
    border: 1px solid #cbd5dc;
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--pf-ink);
    cursor: pointer
}

    .pf-account .pf-microsoft-button:hover {
        background: #f5f7f8;
        border-color: #97a9b5
    }

    .pf-account .pf-microsoft-button svg {
        flex-shrink: 0
    }

.pf-account-password {
    position: relative
}

    .pf-account-password .form-control {
        padding-right: 66px
    }

    .pf-account-password button {
        position: absolute;
        right: 5px;
        top: 5px;
        bottom: 5px;
        min-width: 52px;
        background: none;
        border: 0;
        border-radius: 5px;
        font: inherit;
        font-size: 11px;
        font-weight: 600;
        color: var(--pf-muted);
        cursor: pointer
    }

        .pf-account-password button:hover {
            background: #f1f4f6;
            color: var(--pf-ink)
        }

.pf-account-register {
    border-top: 1px solid var(--pf-line);
    margin-top: 28px;
    padding-top: 22px;
    text-align: center;
    font-size: 13px;
    color: var(--pf-muted)
}

    .pf-account-register a {
        font-weight: 600;
        color: var(--pf-action)
    }

.pf-account .validation-message, .pf-account .text-danger {
    font-size: 12px;
    color: #b42318 !important;
    margin-top: 6px
}

.pf-account .invalid {
    border-color: #b42318
}

.pf-account .alert {
    border-radius: 8px;
    font-size: 13px
}

.pf-account .text-muted {
    color: var(--pf-muted) !important
}

.pf-account :is(a,button,input,select,textarea):focus-visible {
    outline: 3px solid #ed600980;
    outline-offset: 3px
}

.pf-account-footer {
    padding: 28px 0;
    font-size: 11px;
    color: var(--pf-muted)
}

    .pf-account-footer nav {
        display: flex;
        gap: 22px
    }

    .pf-account-footer a {
        color: var(--pf-muted);
        text-decoration: none
    }

.pf-account-footer-tagline {
    letter-spacing: .3px
}

.pf-skip {
    position: absolute;
    top: 8px;
    left: 8px;
    transform: translateY(-150%);
    z-index: 100;
    padding: 10px 16px;
    background: white;
    border: 2px solid var(--pf-action);
    border-radius: 6px
}

    .pf-skip:focus {
        transform: none
    }
/* Wide pages own their internal card arrangement; the shell supplies only branding/footer. */
.pf-account--wide .pf-account-main {
    max-width: 1180px;
    display: block;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    margin: 24px auto 40px
}

.pf-account--wide .pf-account-content {
    display: block;
    padding: 0
}

.pf-account-content > .card-body {
    padding: 0 !important
}

@media(min-width:1500px) {
    .pf-account-main {
        margin-top: auto;
        margin-bottom: auto
    }
}

@media(max-width:960px) {
    .pf-account {
        padding: 0 24px
    }

    .pf-account-story {
        padding: 40px 30px
    }

    .pf-account-content {
        padding: 36px 28px
    }

    .pf-account-story h2 {
        font-size: 36px
    }

    .pf-account-cycle {
        grid-template-columns: 1fr;
        gap: 16px
    }
}

@media(max-width:720px) {
    .pf-account {
        padding: 0 18px
    }

    .pf-account-header {
        padding: 22px 0
    }

    .pf-account-logo img {
        width: 150px
    }

    .pf-account-header > a:last-child {
        font-size: 12px
    }

    .pf-account-main {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 12px auto 28px;
        border-radius: 16px
    }

    .pf-account-story {
        padding: 26px 28px
    }

    .pf-account-eyebrow {
        font-size: 9px;
        margin-bottom: 12px
    }

    .pf-account-story h2 {
        font-size: 27px;
        margin-bottom: 0;
        letter-spacing: -.6px
    }

        .pf-account-story h2 br {
            display: none
        }

        .pf-account-story h2 span {
            display: block
        }

    .pf-account-story > p, .pf-account-cycle, .pf-account-signature {
        display: none
    }

    .pf-account-content {
        padding: 30px 26px
    }

        .pf-account-content h1 {
            font-size: 27px
        }

    .pf-account-footer {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 20px 0;
        gap: 12px 24px
    }

    .pf-account-footer-tagline {
        display: none
    }

    .pf-account--wide .pf-account-main {
        max-width: 100%;
        margin-top: 12px
    }

    .pf-account-options {
        flex-wrap: wrap
    }
}

@media(prefers-reduced-motion:reduce) {
    .pf-account * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }
}
/* Existing Marketplace content, inside the new wide shell. Keep its current page styles. */
.pf-account #pf-marketplace-activation {
    font-family: inherit;
    background: transparent
}

    .pf-account #pf-marketplace-activation .pf-main {
        padding: 0;
        margin: 0 auto 32px
    }

    .pf-account #pf-marketplace-activation .pf-card {
        border-color: var(--pf-line);
        box-shadow: 0 12px 36px #192b3807;
        border-radius: 16px
    }

    .pf-account #pf-marketplace-activation .pf-primary-link {
        text-decoration: none !important
    }

    .pf-account #pf-marketplace-activation .pf-summary {
        background: #f0f3f4
    }

    .pf-account #pf-marketplace-activation .pf-lead {
        font-size: 17px
    }

.pf-account {
    background: linear-gradient( rgba(250, 250, 248, 0.78), rgba(250, 250, 248, 0.88) ), url("/image/bgpmplanzoom.jpg") center / cover no-repeat;
    background-attachment: fixed;
}

/* Keep the forms clear against the image. */
.pf-account-content {
    background: #fff;
}

/* Wider pages retain their own cards. */
.pf-account--wide .pf-account-content {
    background: transparent;
}

@media (max-width: 720px) {
    .pf-account {
        background-attachment: scroll;
    }
}

.pf-account .pf-password-page {
    width: 100%;
    max-width: 400px;
    min-width: 0;
    margin-inline: auto;
}

    .pf-account .pf-password-page form {
        display: block;
        width: 100%;
        min-width: 0;
    }

.pf-account .pf-password-field {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin-bottom: 20px;
}

    .pf-account .pf-password-field > label {
        position: static;
        display: block;
        width: auto;
        height: auto;
        margin: 0;
        padding: 0;
        transform: none;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.5;
        color: var(--pf-ink);
    }

    .pf-account .pf-password-field .form-control {
        position: static;
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: 48px;
        padding: 12px 14px;
        font-size: 14px;
        line-height: 1.5;
        border-radius: 8px;
    }

    .pf-account .pf-password-field .validation-message {
        margin: 0;
        font-size: 12px;
    }

.pf-account .pf-password-submit {
    width: 100%;
    margin-top: 4px;
}

.pf-account .pf-back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

    .pf-account .pf-back-link > span {
        font-size: 21px;
        line-height: 1;
    }