/* Xreference auth pages */

:root {
    --ps-auth-navy: #062338;
    --ps-auth-navy-deep: #031726;
    --ps-auth-green: #7cc242;
    --ps-auth-orange: #ff6b2c;
    --ps-auth-orange-dark: #e65318;
    --ps-auth-ink: #102033;
    --ps-auth-text: #526273;
    --ps-auth-muted: #6f7f93;
    --ps-auth-border: #dbe4ec;
    --ps-auth-panel: #ffffff;
    --ps-auth-soft: #f4f8fb;
    --ps-auth-blue: #2f6fa6;
}

.ps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 23px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ps-btn:hover {
    transform: translateY(-1px);
}

.ps-btn-green {
    color: #ffffff !important;
    background: var(--ps-auth-green);
    box-shadow: 0 12px 26px rgba(124, 194, 66, .22);
}

.ps-btn-green:hover {
    color: #ffffff !important;
    background: #6caf35;
}

.ps-btn-green i {
    color: #ffffff;
}

html,
body {
    min-height: 100%;
}

body.ps-auth-body {
    min-height: 100vh;
    margin: 0;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(3, 23, 38, .96) 0%, rgba(6, 35, 56, .88) 46%, rgba(6, 35, 56, .50) 100%),
        url('/app-admin-desktop/Assets/images/slider1.jpg') center center / cover no-repeat;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
}

.ps-auth-page--with-site-chrome {
    display: flex;
    flex-direction: column;
}

.ps-auth-page--with-site-chrome .ps-site-header,
.ps-auth-page--with-site-chrome .ps-site-footer {
    position: relative;
    z-index: 4;
}

.ps-auth-page .pt-80 {
    padding-top: 80px;
}

.ps-auth-page .pb-20 {
    padding-bottom: 20px;
}

.ps-auth-page .pt-50 {
    padding-top: 50px;
}

.ps-auth-page .pb-55 {
    padding-bottom: 55px;
}

.ps-auth-page .mb-30 {
    margin-bottom: 30px;
}

.ps-auth-page .mb-50 {
    margin-bottom: 50px;
}

.ps-auth-page .text-lg-left {
    text-align: left;
}

.ps-auth-page .text-lg-right {
    text-align: right;
}

.ps-auth-shell {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.ps-auth-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 10%, rgba(124,194,66,.16), transparent 28%),
        linear-gradient(135deg, rgba(3,23,38,.15) 0%, rgba(3,23,38,.52) 100%);
    pointer-events: none;
}

.ps-auth-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: .28;
    pointer-events: none;
}

.ps-auth-inner {
    width: min(1400px, calc(100% - 56px));
    min-height: 100vh;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: auto 1fr;
}

.ps-auth-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 150px;
    padding: 28px 0 22px 0;
    border-bottom: 1px solid rgba(255,255,255,.13);
}

.ps-auth-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.ps-auth-logo img {
    display: block;
    width: min(470px, 42vw);
    height: auto;
}

.ps-auth-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.ps-auth-back i {
    color: var(--ps-auth-green);
    font-size: 16px;
}

.ps-auth-back:hover {
    color: #ffffff;
    text-decoration: underline;
}

.ps-auth-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 450px);
    gap: clamp(46px, 7vw, 110px);
    align-items: center;
    padding: 42px 0 54px 0;
}

.ps-auth-copy {
    max-width: 720px;
}

.ps-auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--ps-auth-green);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ps-auth-eyebrow i {
    font-size: 14px;
}

.ps-auth-title {
    margin: 0 0 24px 0;
    color: #ffffff;
    font-size: clamp(48px, 5.1vw, 78px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: 0;
}

.ps-auth-title span {
    color: var(--ps-auth-green);
}

.ps-auth-lead {
    max-width: 640px;
    margin: 0 0 22px 0;
    color: rgba(255,255,255,.86);
    font-size: 19px;
    line-height: 1.62;
}

.ps-auth-supporting {
    max-width: 660px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 15px;
    line-height: 1.7;
}

.ps-auth-feature-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
    margin-top: 36px;
}

.ps-auth-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 70px;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 7px;
    background: rgba(255,255,255,.07);
    color: #ffffff;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.25;
}

.ps-auth-feature i {
    flex: 0 0 auto;
    color: var(--ps-auth-green);
    font-size: 22px;
}

/* Auth card */

.ps-auth-card {
    width: 100%;
    max-width: 450px;
    margin-left: auto;
    padding: 34px 36px 30px 36px;
    border: 1px solid rgba(219,228,236,.92);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.96) 100%);
    color: var(--ps-auth-ink);
    box-shadow:
        0 22px 60px rgba(0,0,0,.25),
        0 1px 0 rgba(255,255,255,.75) inset;
}

.ps-auth-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--ps-auth-border);
}

.ps-auth-card-title {
    margin: 0 0 8px 0;
    color: var(--ps-auth-ink);
    font-size: 31px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
}

.ps-auth-card-subtitle {
    margin: 0;
    color: var(--ps-auth-muted);
    font-size: 14px;
    line-height: 1.45;
}

.ps-auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 6px 11px;
    border: 1px solid #d4e4f3;
    border-radius: 6px;
    background: #eef5fc;
    color: #274c72;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.ps-auth-badge i {
    color: #2f6fa6;
}

.ps-auth-form {
    margin: 0;
}

.ps-auth-field {
    margin-bottom: 16px;
}

.ps-auth-field label {
    display: block;
    margin: 0 0 7px 0;
    color: var(--ps-auth-ink);
    font-size: 12px;
    font-weight: 900;
}

.ps-auth-input-wrap {
    position: relative;
}

.ps-auth-input-wrap i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #8293a8;
    font-size: 14px;
    pointer-events: none;
}

.ps-auth-input-wrap .ps-auth-eye,
.ps-auth-input-wrap button.ps-auth-eye {
    left: auto;
    right: 14px;
    pointer-events: auto;
}

.ps-auth-input-wrap input {
    width: 100%;
    height: 50px;
    padding: 0 44px;
    border: 1px solid #cfdbe7;
    border-radius: 6px;
    background: #ffffff;
    color: var(--ps-auth-ink);
    font-size: 14px;
    font-weight: 700;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.ps-auth-input-wrap input::placeholder {
    color: #9aa8ba;
}

.ps-auth-input-wrap input:focus {
    border-color: #8bb9df;
    box-shadow: 0 0 0 3px rgba(47,111,166,.12);
}

.ps-auth-input-wrap button.ps-auth-eye {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #8293a8;
    cursor: pointer;
}

.ps-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(180deg, var(--ps-auth-orange) 0%, #fb551f 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(255,107,44,.24);
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.ps-auth-btn:hover {
    background: var(--ps-auth-orange-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 15px 28px rgba(255,107,44,.30);
}

.ps-auth-link-row {
    margin-top: 13px;
    text-align: center;
}

.ps-auth-link-row a {
    color: #006fd6;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.ps-auth-link-row a:hover {
    text-decoration: underline;
}

.ps-auth-notice {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 11px;
    margin-top: 22px;
    padding: 14px 15px;
    border: 1px solid #d9e8ce;
    border-radius: 7px;
    background: #f4faef;
    color: #34495e;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.45;
}

.ps-auth-notice i {
    color: var(--ps-auth-green);
    font-size: 17px;
    margin-top: 1px;
}

.ps-auth-station-inline-alert {
    margin: 0 0 18px;
    border-color: #cfe1ff;
    background: #f3f8ff;
    color: #17395f;
}

.ps-auth-station-inline-alert i {
    color: #126ff7;
}

.ps-auth-station-inline-alert strong,
.ps-auth-station-inline-alert span,
.ps-auth-station-inline-alert em {
    display: block;
}

.ps-auth-station-inline-alert strong {
    color: #071126;
    font-size: 13px;
    font-weight: 900;
}

.ps-auth-station-inline-alert span {
    margin-top: 4px;
}

.ps-auth-station-inline-alert em {
    margin-top: 6px;
    color: #126ff7;
    font-style: normal;
    font-weight: 900;
}

.ps-auth-card-footer {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
    padding-top: 21px;
    border-top: 1px solid var(--ps-auth-border);
}

.ps-auth-card-footer i {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef8e7;
    color: var(--ps-auth-green);
    font-size: 18px;
}

.ps-auth-card-footer p {
    margin: 0;
    color: var(--ps-auth-text);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 750;
}

.ps-auth-card-footer a {
    color: #006fd6;
    font-weight: 900;
    text-decoration: none;
}

.ps-auth-card-footer a:hover {
    text-decoration: underline;
}

/* Compact variants for 2FA / reset / forgot */

.ps-auth-card.is-compact {
    max-width: 430px;
    padding: 30px 34px 28px 34px;
}

.ps-auth-card.is-compact .ps-auth-card-header {
    margin-bottom: 18px;
    padding-bottom: 16px;
}

.ps-auth-card.is-compact .ps-auth-card-title {
    font-size: 28px;
}

.ps-auth-card.is-compact .ps-auth-notice {
    margin-top: 18px;
}

.ps-auth-card.is-compact .ps-auth-card-footer {
    margin-top: 20px;
    padding-top: 18px;
}

.ps-auth-code-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.ps-auth-code-row input {
    width: 100%;
    height: 56px;
    padding: 0;
    border: 1px solid #d3def0;
    border-radius: 8px;
    background: #fbfdff;
    color: #071126;
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    outline: none;
    box-shadow: 0 10px 22px rgba(15, 44, 80, .06);
    caret-color: #0f66dc;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.ps-auth-code-row input:focus {
    border-color: rgba(39, 132, 246, .86);
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(39, 132, 246, .13),
        0 14px 28px rgba(15, 44, 80, .10);
}

.ps-auth-small-text {
    margin: 12px 0 0 0;
    color: var(--ps-auth-muted);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.ps-auth-error,
.ps-auth-success {
    margin: 0 0 16px 0;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.45;
}

.ps-auth-error {
    border: 1px solid #f0c3bd;
    background: #fff4f2;
    color: #9d2c20;
}

.ps-auth-success {
    border: 1px solid #cfe4c3;
    background: #f4faef;
    color: #386b20;
}

/* Current desktop login view */

.ps-auth-page,
.ps-auth-page * {
    box-sizing: border-box;
}

.ps-auth-page {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    background:
        linear-gradient(90deg, rgba(3, 23, 38, .96) 0%, rgba(6, 35, 56, .88) 46%, rgba(6, 35, 56, .50) 100%),
        url('/app-admin-desktop/Assets/images/slider1.jpg') center center / cover no-repeat;
    color: #ffffff;
}

.ps-auth-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 10%, rgba(124,194,66,.16), transparent 28%),
        linear-gradient(135deg, rgba(3,23,38,.15) 0%, rgba(3,23,38,.52) 100%);
    pointer-events: none;
}

.ps-auth-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: .28;
    pointer-events: none;
}

.ps-auth-page-bottom {
    position: absolute;
    left: -5vw;
    right: -5vw;
    bottom: -8vw;
    height: 15vw;
    min-height: 120px;
    background: #f4f8fb;
    border-top: 7px solid var(--ps-auth-green);
    transform: rotate(-3deg);
    transform-origin: 0 0;
    z-index: 1;
}

.ps-auth-page--with-site-chrome .ps-auth-page-bottom {
    display: none;
}

.ps-auth-container {
    width: min(1500px, calc(100% - 72px));
    min-height: auto;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.ps-auth-page--with-site-chrome .ps-auth-container {
    flex: 1 0 auto;
}

.ps-auth-page--with-site-chrome .ps-auth-main {
    min-height: calc(100vh - 470px);
    padding: 72px 0 88px;
}

.ps-auth-topbar {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 28px 0 22px;
    border-bottom: 1px solid rgba(255,255,255,.13);
}

.ps-auth-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.ps-auth-brand-logo {
    display: block;
    width: min(470px, 42vw);
    height: auto;
}

.ps-auth-nav {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.ps-auth-nav a {
    color: rgba(255,255,255,.78);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.ps-auth-nav a:hover,
.ps-auth-nav a:focus {
    color: #ffffff;
}

.ps-auth-private-note {
    max-width: 660px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 15px;
    line-height: 1.7;
}

.ps-auth-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
}

.ps-auth-trust li {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 70px;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 7px;
    background: rgba(255,255,255,.07);
    color: #ffffff;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.25;
}

.ps-auth-trust i {
    flex: 0 0 auto;
    color: var(--ps-auth-green);
    font-size: 20px;
}

.ps-auth-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    float: right;
    margin: -2px 0 14px 16px;
    padding: 6px 11px;
    border: 1px solid #d4e4f3;
    border-radius: 6px;
    background: #eef5fc;
    color: #274c72;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.ps-auth-card-badge i {
    color: var(--ps-auth-blue);
}

.ps-auth-card-header h2 {
    margin: 0 0 8px;
    color: var(--ps-auth-ink);
    font-size: 40px;
    line-height: 1.05;
    font-weight: 900;
}

.ps-auth-card-header p {
    margin: 0;
    color: var(--ps-auth-muted);
    font-size: 14px;
    line-height: 1.45;
}

.ps-auth-form .form-group {
    margin-bottom: 16px;
}

.ps-auth-form label {
    display: block;
    margin: 0 0 7px;
    color: var(--ps-auth-ink);
    font-size: 12px;
    font-weight: 900;
}

.ps-input-wrap,
.ps-custom-select-wrap,
.ps-custom-select {
    position: relative;
    width: 100%;
}

.ps-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #8293a8;
    font-size: 14px;
    pointer-events: none;
}

.ps-auth-form .form-control,
.ps-auth-form .ps-custom-select-btn {
    width: 100%;
    min-height: 50px;
    padding: 0 44px;
    border: 1px solid #cfdbe7;
    border-radius: 6px;
    background: #ffffff;
    color: var(--ps-auth-ink);
    font-size: 14px;
    font-weight: 700;
    outline: none;
    box-shadow: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.ps-auth-form .form-control::placeholder {
    color: #9aa8ba;
}

.ps-auth-form .form-control:focus,
.ps-auth-form .ps-custom-select.is-open .ps-custom-select-btn,
.ps-auth-form .ps-custom-select-btn:focus {
    border-color: #8bb9df;
    box-shadow: 0 0 0 3px rgba(47,111,166,.12);
}

.ps-auth-form input[type="password"]::-ms-reveal,
.ps-auth-form input[type="password"]::-ms-clear {
    display: none;
}

.ps-password-toggle {
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #8293a8;
    cursor: pointer;
}

.ps-password-toggle:hover,
.ps-password-toggle:focus {
    background: #f0f5f9;
    color: var(--ps-auth-ink);
    outline: none;
}

.ps-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(180deg, var(--ps-auth-orange) 0%, #fb551f 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(255,107,44,.24);
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.ps-auth-submit:hover,
.ps-auth-submit:focus {
    background: var(--ps-auth-orange-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 15px 28px rgba(255,107,44,.30);
    outline: none;
}

.ps-auth-links {
    margin-top: 13px;
    text-align: center;
}

.ps-auth-links a {
    color: #006fd6;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.ps-auth-links a:hover {
    text-decoration: underline;
}

.ps-auth-invite-note {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 11px;
    margin: 22px 0 0;
    padding: 14px 15px;
    border: 1px solid #d9e8ce;
    border-radius: 7px;
    background: #f4faef;
    color: #34495e;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.45;
}

.ps-auth-invite-note i {
    color: var(--ps-auth-green);
    font-size: 17px;
    margin-top: 1px;
}

.ps-auth-support {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
    padding-top: 21px;
    border-top: 1px solid var(--ps-auth-border);
}

.ps-auth-support i {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef8e7;
    color: var(--ps-auth-green);
    font-size: 18px;
}

.ps-auth-support p {
    margin: 0;
    color: var(--ps-auth-text);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 750;
}

.ps-auth-support a {
    color: #006fd6;
    font-weight: 900;
    text-decoration: none;
}

.ps-auth-support a:hover {
    text-decoration: underline;
}

.ps-select.ps-select-native {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.ps-custom-select-btn {
    display: block;
    position: relative;
    padding-right: 46px !important;
    line-height: 30px;
    text-align: left;
    cursor: pointer;
}

.ps-custom-select-btn::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #667085;
    border-bottom: 2px solid #667085;
    transform: translateY(-60%) rotate(45deg);
    transition: transform .18s ease;
}

.ps-custom-select.is-open .ps-custom-select-btn::after {
    transform: translateY(-40%) rotate(-135deg);
}

.ps-custom-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    max-height: 260px;
    margin: 0;
    padding: 6px 0;
    overflow: auto;
    list-style: none;
    border: 1px solid #d7e0ea;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(3, 23, 38, .18);
}

.ps-custom-select.is-open .ps-custom-select-menu {
    display: block;
}

.ps-custom-select-option {
    display: block;
    width: 100%;
    padding: 10px 15px;
    border: 0;
    background: #ffffff;
    color: var(--ps-auth-ink);
    font-size: 15px;
    font-weight: 750;
    text-align: left;
    cursor: pointer;
}

.ps-custom-select-option:hover,
.ps-custom-select-option:focus,
.ps-custom-select-option.is-hovered {
    background: #f4faef;
    color: var(--ps-auth-ink);
    outline: none;
}

.ps-custom-select-option.is-selected {
    font-weight: 900;
}

.ps-custom-select-option.is-disabled {
    color: #9aa3b5;
    cursor: not-allowed;
}

.ps-auth-footer {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 74px;
    padding: 14px 24px 24px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    text-align: center;
}

.ps-auth-footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.ps-auth-footer a {
    color: rgba(255,255,255,.80);
    font-weight: 700;
    text-decoration: none;
}

.ps-auth-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.ps-auth-footer-sep {
    color: var(--ps-auth-green);
}

/* Public auth shell: match the create-account body style. */

body.ps-auth-body {
    background: #f7f8fc;
    color: #40506a;
    font-family: Arial, Helvetica, sans-serif;
}

.ps-auth-page {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 150px 0 128px;
    overflow: hidden;
    background:
        radial-gradient(circle at 76% 18%, rgba(98, 54, 232, .34), transparent 32%),
        radial-gradient(circle at 15% 80%, rgba(53, 183, 41, .10), transparent 28%),
        linear-gradient(135deg, #1b0f48 0%, #281664 48%, #3b1790 100%);
    color: #ffffff;
}

.ps-auth-page::before {
    content: "";
    position: absolute;
    inset: auto -10% -72px -10%;
    height: 210px;
    background: #f7f8fc;
    transform: skewY(-2.4deg);
    transform-origin: top left;
    z-index: 0;
    pointer-events: none;
}

.ps-auth-bg-grid {
    display: none;
}

.ps-auth-container {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
}

.ps-auth-page--with-site-chrome .ps-auth-container {
    flex: 0 1 auto;
}

.ps-auth-page--with-site-chrome .ps-auth-main,
.ps-auth-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 520px;
    align-items: center;
    gap: 62px;
    width: min(1320px, calc(100% - 72px));
    min-height: 0;
    margin: 0 auto;
    padding: 0;
}

.ps-auth-copy {
    max-width: 610px;
    color: #ffffff;
}

.ps-auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.11);
    color: #eee8ff;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.ps-auth-eyebrow i {
    color: #35b729;
    font-size: 13px;
}

.ps-auth-title {
    margin: 0 0 24px;
    color: #ffffff;
    font-size: clamp(44px, 5.4vw, 68px);
    line-height: .98;
    letter-spacing: 0;
    font-weight: 950;
}

.ps-auth-title span {
    color: #ffffff;
}

.ps-auth-lead {
    max-width: 560px;
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 19px;
    line-height: 1.72;
}

.ps-auth-lead + .ps-auth-lead {
    margin-top: 18px;
    color: rgba(255,255,255,.72);
    font-size: 16px;
    line-height: 1.66;
}

.ps-auth-actions,
.ps-auth-trust,
.ps-auth-card-badge {
    display: none;
}

.ps-auth-card {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(226, 219, 248, .96);
    border-radius: 22px;
    background: #ffffff;
    color: #10073f;
    box-shadow: 0 30px 82px rgba(8, 10, 35, .34);
}

.ps-auth-card-header {
    display: block;
    margin: 0;
    padding: 30px 30px 18px;
    border-bottom: 1px solid #ebe7f8;
}

.ps-auth-card-header h2 {
    margin: 0 0 8px;
    color: #10073f;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: 0;
    font-weight: 950;
}

.ps-auth-card-header p {
    margin: 0;
    color: #63708b;
    font-size: 15px;
    line-height: 1.55;
}

.ps-auth-form {
    padding: 24px 30px 30px;
}

.ps-auth-form .form-group {
    margin-bottom: 18px;
}

.ps-auth-form label {
    display: block;
    margin-bottom: 8px;
    color: #10073f;
    font-size: 13px;
    font-weight: 900;
}

.ps-input-icon {
    display: none;
}

.ps-auth-form .form-control,
.ps-auth-form .ps-custom-select-btn {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #ded8ef;
    border-radius: 10px;
    background: #fbfbfe;
    color: #17213a;
    font-size: 15px;
    font-weight: 700;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.ps-auth-form .form-control:focus,
.ps-auth-form .ps-custom-select.is-open .ps-custom-select-btn,
.ps-auth-form .ps-custom-select-btn:focus {
    border-color: #6236e8;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(98, 54, 232, .12);
    outline: none;
}

.ps-auth-submit {
    width: 100%;
    min-height: 0;
    margin-top: 0;
    padding: 15px 18px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #7242f4 0%, #5022d8 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(92, 47, 225, .30);
    transition: transform .18s ease, box-shadow .18s ease;
}

.ps-auth-submit:hover,
.ps-auth-submit:focus {
    background: linear-gradient(135deg, #7242f4 0%, #5022d8 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 20px 42px rgba(92, 47, 225, .38);
    outline: none;
}

.ps-auth-links {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #ebe7f8;
    color: #8a82a6;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
}

.ps-auth-links a,
.ps-auth-support a {
    color: #5022d8;
    font-weight: 950;
    text-decoration: none;
}

.ps-auth-links a:hover,
.ps-auth-support a:hover {
    text-decoration: underline;
}

.ps-auth-support,
.ps-auth-security-note {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #ebe7f8;
}

.ps-auth-support i,
.ps-auth-security-note i {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef8e7;
    color: #35b729;
    font-size: 18px;
}

.ps-auth-support p,
.ps-auth-security-note p {
    margin: 0;
    color: #40506a;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 750;
}

.ps-auth-password-rules {
    margin: 0 0 18px;
    padding-left: 0;
    color: #10073f;
    list-style: none;
    font-size: 15px;
    line-height: 1.55;
}

.ps-auth-password-rules li {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 5px;
}

.ps-auth-password-rules i {
    color: #10073f;
    font-size: 13px;
}

.ps-auth-password-rules .is-met i {
    color: #35b729;
}

@media (max-width: 991px) {
    .ps-auth-page {
        padding: 112px 0;
    }

    .ps-auth-page--with-site-chrome .ps-auth-main,
    .ps-auth-main {
        grid-template-columns: 1fr;
        gap: 36px;
        width: min(620px, calc(100% - 36px));
    }

    .ps-auth-copy {
        text-align: center;
        margin: 0 auto;
    }

    .ps-auth-lead {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .ps-auth-page {
        padding: 104px 0 96px;
    }

    .ps-auth-title {
        font-size: 40px;
    }

    .ps-auth-lead {
        font-size: 16px;
    }

    .ps-auth-card-header,
    .ps-auth-form {
        padding-left: 22px;
        padding-right: 22px;
    }
}
/* Auth result cards */

.ps-auth-invitation-dialog {
    width: min(560px, calc(100vw - 34px));
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: transparent;
    color: #061126;
    overflow: visible;
}

.ps-auth-invitation-dialog::backdrop {
    background: rgba(2, 8, 24, .76);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
}

body.ps-auth-invitation-open {
    overflow: hidden;
}

.ps-auth-invitation-card {
    overflow: hidden;
    border: 1px solid rgba(132, 177, 231, .42);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 38px 110px rgba(0, 11, 35, .52);
}

.ps-auth-invitation-brand {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 24px;
    background:
        radial-gradient(circle at 88% 18%, rgba(45, 150, 255, .28), transparent 38%),
        linear-gradient(135deg, #031027 0%, #092c55 100%);
}

.ps-auth-invitation-brand img {
    display: block;
    width: 178px;
    max-width: 48%;
    height: auto;
}

.ps-auth-invitation-brand span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
    color: #dcecff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ps-auth-invitation-content {
    padding: 32px 34px 30px;
    text-align: left;
}

.ps-auth-invitation-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 23px;
    background: linear-gradient(145deg, #eaf4ff 0%, #d8ebff 100%);
    color: #1578ff;
    font-size: 34px;
    position: relative;
}

.ps-auth-invitation-icon > span {
    position: absolute;
    right: -6px;
    bottom: -6px;
    width: 29px;
    height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #ffffff;
    border-radius: 999px;
    background: #55b929;
    color: #ffffff;
    font-size: 12px;
}

.ps-auth-invitation-eyebrow {
    margin: 0 0 7px;
    color: #1578ff;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ps-auth-invitation-card h2 {
    margin: 0 0 11px;
    color: #061126;
    font-size: 36px;
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -.025em;
}

.ps-auth-invitation-lead {
    margin: 0;
    color: #50627e;
    font-size: 16px;
    line-height: 1.6;
}

.ps-auth-invitation-next {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0 20px;
    padding: 16px 17px;
    border: 1px solid #d7e8fb;
    border-radius: 15px;
    background: #f4f9ff;
}

.ps-auth-invitation-next > i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 13px;
    background: #ffffff;
    color: #1578ff;
    font-size: 18px;
    box-shadow: 0 7px 18px rgba(21, 120, 255, .12);
}

.ps-auth-invitation-next strong,
.ps-auth-invitation-next span {
    display: block;
}

.ps-auth-invitation-next strong {
    margin-bottom: 3px;
    color: #102443;
    font-size: 14px;
    font-weight: 950;
}

.ps-auth-invitation-next span {
    color: #687993;
    font-size: 13px;
    line-height: 1.45;
}

.ps-auth-invitation-button {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #1578ff 0%, #0b4ed8 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(21, 120, 255, .28);
    transition: transform .16s ease, box-shadow .16s ease;
}

.ps-auth-invitation-button:hover,
.ps-auth-invitation-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 19px 39px rgba(21, 120, 255, .36);
}

.ps-auth-invitation-button:focus-visible {
    outline: 3px solid rgba(21, 120, 255, .24);
    outline-offset: 3px;
}

.ps-auth-existing-email-options {
    margin: 24px 0 20px;
}

.ps-auth-existing-email-options .ps-auth-invitation-next {
    margin: 14px 0 0;
}

.ps-auth-existing-email-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

.ps-auth-invitation-button--secondary {
    border: 1px solid #b9d4f4;
    background: #f4f9ff;
    color: #0b4ed8;
    text-decoration: none;
    box-shadow: none;
}

.ps-auth-invitation-button--secondary:hover,
.ps-auth-invitation-button--secondary:focus-visible {
    color: #0b4ed8;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(21, 120, 255, .14);
}

.ps-auth-invitation-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 16px 0 0;
    color: #7a8aa2;
    font-size: 12px;
    font-weight: 750;
    text-align: center;
}

.ps-auth-invitation-trust i {
    color: #55b929;
}

.ps-auth-invitation-dialog--error .ps-auth-invitation-icon {
    background: linear-gradient(145deg, #fff2f2 0%, #ffe2e2 100%);
    color: #d94444;
}

.ps-auth-invitation-dialog--error .ps-auth-invitation-icon > span {
    background: #e34d4d;
}

.ps-auth-invitation-dialog--error .ps-auth-invitation-eyebrow,
.ps-auth-invitation-dialog--error .ps-auth-invitation-next > i {
    color: #c83232;
}

.ps-auth-invitation-dialog--error .ps-auth-invitation-next {
    border-color: #f2d1d1;
    background: #fff7f7;
}

.ps-auth-invitation-dialog--error .ps-auth-invitation-next > i {
    box-shadow: 0 7px 18px rgba(200, 50, 50, .12);
}

.ps-auth-invitation-dialog--error .ps-auth-invitation-trust i {
    color: #c83232;
}

@media (max-width: 575px) {
    .ps-auth-invitation-brand {
        min-height: 68px;
        padding: 15px 18px;
    }

    .ps-auth-invitation-brand img {
        width: 150px;
    }

    .ps-auth-invitation-brand span {
        font-size: 9px;
    }

    .ps-auth-invitation-content {
        padding: 26px 22px 24px;
    }

    .ps-auth-invitation-card h2 {
        font-size: 30px;
    }

    .ps-auth-existing-email-actions {
        grid-template-columns: 1fr;
    }
}

body.ps-auth-body .swal2-container {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px !important;
    background: rgba(4, 24, 39, .56) !important;
    box-sizing: border-box !important;
}

body.ps-auth-body .swal2-container .swal2-modal {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
}

.swal2-modal.ps-auth-email-sent-modal,
.swal2-modal.ps-auth-reset-expired-modal,
.swal2-modal.ps-auth-password-updated-modal,
.swal2-modal.ps-auth-2fa-failed-modal,
.swal2-modal.ps-auth-station-connecting-modal,
.swal2-modal.ps-auth-station-offline-modal,
.swal2-modal.ps-auth-signup-unavailable-modal,
.swal2-popup.ps-auth-email-sent-modal,
.swal2-popup.ps-auth-reset-expired-modal,
.swal2-popup.ps-auth-password-updated-modal,
.swal2-popup.ps-auth-2fa-failed-modal,
.swal2-popup.ps-auth-station-connecting-modal,
.swal2-popup.ps-auth-station-offline-modal,
.swal2-popup.ps-auth-signup-unavailable-modal {
    width: min(620px, calc(100vw - 34px)) !important;
    padding: 0 !important;
    border-radius: 22px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    box-shadow: 0 34px 90px rgba(8, 10, 35, .34) !important;
}

.ps-auth-email-sent-modal .swal2-content,
.ps-auth-reset-expired-modal .swal2-content,
.ps-auth-password-updated-modal .swal2-content,
.ps-auth-2fa-failed-modal .swal2-content,
.ps-auth-station-connecting-modal .swal2-content,
.ps-auth-station-offline-modal .swal2-content,
.ps-auth-signup-unavailable-modal .swal2-content,
.ps-auth-email-sent-modal .swal2-html-container,
.ps-auth-reset-expired-modal .swal2-html-container,
.ps-auth-password-updated-modal .swal2-html-container,
.ps-auth-2fa-failed-modal .swal2-html-container,
.ps-auth-station-connecting-modal .swal2-html-container,
.ps-auth-station-offline-modal .swal2-html-container,
.ps-auth-signup-unavailable-modal .swal2-html-container {
    margin: 0 !important;
    padding: 0 !important;
    color: #10073f !important;
    text-align: left !important;
}

.ps-auth-page--closed {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 18px;
}

.ps-auth-page--closed .ps-auth-bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.ps-auth-closed-container {
    width: min(620px, 100%);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ps-auth-page--closed .ps-auth-card {
    max-width: none;
    margin: 0;
    padding: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 34px 90px rgba(8, 10, 35, .34);
}

.ps-auth-email-sent-card,
.ps-auth-reset-expired-card,
.ps-auth-password-updated-card,
.ps-auth-2fa-failed-card,
.ps-auth-station-connecting-card,
.ps-auth-station-offline-card,
.ps-auth-signup-unavailable-card {
    padding: 36px 38px 34px;
    background: #ffffff;
    color: #10073f;
}

.ps-auth-email-icon,
.ps-auth-reset-expired-icon,
.ps-auth-password-updated-icon,
.ps-auth-2fa-failed-icon,
.ps-auth-station-offline-icon,
.ps-auth-signup-unavailable-icon {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px;
    border-radius: 22px;
    background: #eef8e7;
    color: #35b729;
    font-size: 34px;
    position: relative;
}

.ps-auth-reset-expired-icon {
    background: #fff4dd;
    color: #d88914;
}

.ps-auth-2fa-failed-icon {
    background: #fff0ef;
    color: #e65348;
}

.ps-auth-station-offline-icon {
    background: #fff0ef;
    color: #e65348;
}

.ps-auth-signup-unavailable-icon {
    background: #fff4dd;
    color: #d88914;
}

.ps-auth-station-spinner {
    width: 72px;
    height: 72px;
    margin: 0 0 22px;
    border: 7px solid #e8f2ff;
    border-top-color: #2787f7;
    border-right-color: #73b5ff;
    border-radius: 999px;
    animation: ps-auth-spin .9s linear infinite;
}

@keyframes ps-auth-spin {
    to {
        transform: rotate(360deg);
    }
}

.ps-auth-email-icon span {
    position: absolute;
    right: -5px;
    bottom: -5px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffffff;
    border-radius: 999px;
    background: #35b729;
    color: #ffffff;
    font-size: 13px;
}

.ps-auth-email-sent-card h2,
.ps-auth-reset-expired-card h2,
.ps-auth-password-updated-card h2,
.ps-auth-2fa-failed-card h2,
.ps-auth-station-connecting-card h2,
.ps-auth-station-offline-card h2,
.ps-auth-signup-unavailable-card h2 {
    margin: 0 0 10px;
    color: #10073f;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: 0;
}

.ps-auth-email-lead,
.ps-auth-reset-expired-lead,
.ps-auth-password-updated-lead,
.ps-auth-2fa-failed-copy,
.ps-auth-station-offline-lead,
.ps-auth-signup-unavailable-lead {
    margin: 0 0 8px;
    color: #263752;
    font-size: 17px;
    line-height: 1.55;
    font-weight: 800;
}

.ps-auth-email-copy,
.ps-auth-reset-expired-note,
.ps-auth-password-updated-copy,
.ps-auth-2fa-failed-card p,
.ps-auth-station-connecting-card p,
.ps-auth-station-offline-card p,
.ps-auth-signup-unavailable-card p {
    margin: 0 0 18px;
    color: #63708b;
    font-size: 15px;
    line-height: 1.6;
}

.ps-auth-email-divider {
    height: 1px;
    margin: 22px 0;
    background: #ebe7f8;
}

.ps-auth-email-checklist {
    padding: 20px;
    border: 1px solid #e5def8;
    border-radius: 16px;
    background: #faf8ff;
}

.ps-auth-email-checklist h3 {
    margin: 0 0 12px;
    color: #10073f;
    font-size: 17px;
    font-weight: 950;
}

.ps-auth-email-checklist ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ps-auth-email-checklist li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 8px 0 0;
    color: #33425f;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 750;
}

.ps-auth-email-checklist li:first-child {
    margin-top: 0;
}

.ps-auth-email-checklist li i {
    margin-top: 3px;
    color: #35b729;
    font-size: 13px;
}

.ps-auth-email-help,
.ps-auth-expired-help,
.ps-auth-updated-help,
.ps-auth-2fa-help,
.ps-auth-station-offline-help,
.ps-auth-signup-unavailable-help {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 22px 0 0 !important;
    padding-top: 18px;
    border-top: 1px solid #ebe7f8;
    color: #63708b !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

.ps-auth-email-help i,
.ps-auth-expired-help i,
.ps-auth-updated-help i,
.ps-auth-2fa-help i,
.ps-auth-station-offline-help i,
.ps-auth-signup-unavailable-help i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #eef8e7;
    color: #35b729;
}

.ps-auth-email-help a,
.ps-auth-expired-help a,
.ps-auth-updated-help a,
.ps-auth-2fa-help a,
.ps-auth-station-offline-help a,
.ps-auth-signup-unavailable-help a {
    color: #5022d8;
    font-weight: 950;
    text-decoration: none;
}

.ps-auth-email-help a:hover,
.ps-auth-expired-help a:hover,
.ps-auth-updated-help a:hover,
.ps-auth-2fa-help a:hover,
.ps-auth-station-offline-help a:hover,
.ps-auth-signup-unavailable-help a:hover {
    text-decoration: underline;
}

.ps-auth-expired-button,
.ps-auth-updated-button,
.ps-auth-2fa-button,
.ps-auth-station-offline-button,
.ps-auth-signup-unavailable-button {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #7242f4 0%, #5022d8 100%);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 950;
    text-decoration: none !important;
    box-shadow: 0 16px 34px rgba(92, 47, 225, .30);
}

.ps-auth-expired-login,
.ps-auth-updated-login,
.ps-auth-2fa-login {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
    color: #5022d8;
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
}

.ps-auth-expired-login:hover,
.ps-auth-updated-login:hover,
.ps-auth-2fa-login:hover {
    text-decoration: underline;
}

@media (max-width: 575px) {
    .ps-auth-email-sent-card,
    .ps-auth-reset-expired-card,
    .ps-auth-password-updated-card,
    .ps-auth-2fa-failed-card,
    .ps-auth-station-connecting-card,
    .ps-auth-station-offline-card,
    .ps-auth-signup-unavailable-card {
        padding: 30px 24px;
    }

    .ps-auth-email-sent-card h2,
    .ps-auth-reset-expired-card h2,
    .ps-auth-password-updated-card h2,
    .ps-auth-2fa-failed-card h2,
    .ps-auth-station-connecting-card h2,
    .ps-auth-station-offline-card h2,
    .ps-auth-signup-unavailable-card h2 {
        font-size: 28px;
    }
}

/* Xreference auth skin over the copied portal scaffold. */
body.xr-auth-body {
    --ps-auth-navy: #061126;
    --ps-auth-navy-deep: #020713;
    --ps-auth-green: #2d96ff;
    --ps-auth-orange: #1578ff;
    --ps-auth-orange-dark: #0b4ed8;
    --ps-auth-ink: #061126;
    --ps-auth-blue: #1578ff;
    --xr-auth-bg: url('/app-admin-desktop/Assets/images/xreference-hero-bg.png');
    min-height: 100vh;
    background: #020614;
}

body.xr-auth-body .ps-auth-page {
    min-height: 100vh;
    padding-top: 92px;
    color: #ffffff;
    background:
        radial-gradient(circle at 82% 26%, rgba(39, 132, 246, 0.24), transparent 34%),
        linear-gradient(90deg, rgba(2, 6, 18, 0.97) 0%, rgba(4, 14, 33, 0.88) 48%, rgba(2, 7, 18, 0.74) 100%),
        var(--xr-auth-bg),
        linear-gradient(135deg, #020614, #071a38 62%, #020614);
    background-size: auto, auto, cover, auto;
    background-position: center;
}

body.xr-auth-body .ps-auth-page::before {
    content: "";
    position: absolute;
    inset: 0;
    height: auto;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 42%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 92px);
    transform: none;
    pointer-events: none;
}

body.xr-auth-body .ps-auth-bg-grid {
    background:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 92px 92px;
}

body.xr-auth-body .ps-auth-main {
    gap: 5rem;
}

body.xr-auth-body .ps-auth-title {
    font-size: 4.55rem;
    letter-spacing: 0;
}

body.xr-auth-body .ps-auth-title span,
body.xr-auth-body .ps-auth-eyebrow,
body.xr-auth-body .ps-auth-trust i,
body.xr-auth-body .ps-input-icon,
body.xr-auth-body .ps-auth-card-badge i,
body.xr-auth-body .ps-auth-support i,
body.xr-auth-body .ps-auth-security-note i {
    color: #2d96ff;
}

body.xr-auth-body .ps-auth-eyebrow i {
    color: #ffffff;
}

body.xr-auth-body .ps-btn-green,
body.xr-auth-body .ps-auth-submit,
body.xr-auth-body .ps-auth-updated-button,
body.xr-auth-body .ps-auth-expired-button,
body.xr-auth-body .ps-auth-2fa-button,
body.xr-auth-body .ps-auth-station-offline-button,
body.xr-auth-body .ps-auth-signup-unavailable-button {
    background: linear-gradient(135deg, #1578ff 0%, #0b4ed8 100%);
    box-shadow: 0 18px 38px rgba(21, 120, 255, 0.25);
}

body.xr-auth-body .ps-btn-green:hover,
body.xr-auth-body .ps-auth-submit:hover,
body.xr-auth-body .ps-auth-submit:focus {
    background: linear-gradient(135deg, #2787f7, #0f66dc);
}

body.xr-auth-body .ps-auth-card {
    margin-top: clamp(5.5rem, 11vh, 7.5rem);
    border-color: rgba(125, 180, 255, 0.26);
    border-radius: 14px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35), 0 0 42px rgba(21, 120, 255, 0.12);
}

body.xr-auth-body .ps-auth-card-header h2,
body.xr-auth-body .ps-auth-email-sent-card h2,
body.xr-auth-body .ps-auth-reset-expired-card h2,
body.xr-auth-body .ps-auth-password-updated-card h2,
body.xr-auth-body .ps-auth-2fa-failed-card h2,
body.xr-auth-body .ps-auth-station-connecting-card h2,
body.xr-auth-body .ps-auth-station-offline-card h2,
body.xr-auth-body .ps-auth-signup-unavailable-card h2 {
    color: #061126;
    letter-spacing: 0;
}

body.xr-auth-body .ps-auth-links a,
body.xr-auth-body .ps-auth-support a,
body.xr-auth-body .ps-auth-expired-login,
body.xr-auth-body .ps-auth-updated-login,
body.xr-auth-body .ps-auth-2fa-login,
body.xr-auth-body .ps-auth-station-offline-help a,
body.xr-auth-body .ps-auth-signup-unavailable-help a {
    color: #0b66e8;
}

body.xr-auth-body .ps-auth-station-spinner {
    border-color: #d9eaff;
    border-top-color: #1578ff;
    border-right-color: #ff6926;
}

body.xr-auth-body .swal2-modal.ps-auth-login-failed-modal,
body.xr-auth-body .swal2-modal.ps-auth-login-locked-modal,
body.xr-auth-body .swal2-popup.ps-auth-login-failed-modal,
body.xr-auth-body .swal2-popup.ps-auth-login-locked-modal {
    width: min(430px, calc(100vw - 34px)) !important;
    padding: 0 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    box-shadow: 0 34px 90px rgba(8, 10, 35, 0.36) !important;
}

body.xr-auth-body .swal2-modal.ps-auth-station-connecting-modal,
body.xr-auth-body .swal2-popup.ps-auth-station-connecting-modal {
    width: min(360px, calc(100vw - 34px)) !important;
    border-radius: 14px !important;
}

body.xr-auth-body .swal2-modal.ps-auth-station-offline-modal,
body.xr-auth-body .swal2-popup.ps-auth-station-offline-modal {
    width: min(500px, calc(100vw - 34px)) !important;
    border-radius: 14px !important;
}

body.xr-auth-body .ps-auth-login-failed-modal .swal2-html-container,
body.xr-auth-body .ps-auth-login-locked-modal .swal2-html-container {
    margin: 0 !important;
    padding: 0 !important;
}

body.xr-auth-body .ps-auth-login-failed-card {
    padding: 36px 32px 18px;
    color: #061126;
    text-align: center;
}

body.xr-auth-body .ps-auth-login-shield {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    margin: 0 auto 21px;
    border: 1px solid #dcecff;
    border-radius: 999px;
    background:
        radial-gradient(circle, #ffffff 0 46%, rgba(234, 242, 255, 0.88) 47% 100%);
    color: #126ff7;
    font-size: 48px;
    box-shadow:
        0 0 0 10px rgba(234, 242, 255, 0.54),
        0 0 0 21px rgba(234, 242, 255, 0.30);
}

body.xr-auth-body .ps-auth-login-shield span {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    transform: translate(-50%, -34%);
    border-radius: 999px;
    background: #126ff7;
    color: #ffffff;
    font-size: 11px;
}

body.xr-auth-body .ps-auth-login-failed-card h2 {
    margin: 0 0 12px;
    color: #061126;
    font-size: 24px;
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: 0;
}

body.xr-auth-body .ps-auth-login-failed-lead,
body.xr-auth-body .ps-auth-login-locked-copy {
    max-width: 350px;
    margin: 0 auto 20px;
    color: #33425f;
    font-size: 15px;
    line-height: 1.52;
    font-weight: 650;
}

body.xr-auth-body .ps-auth-login-alert {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: center;
    margin: 0 0 20px;
    padding: 13px 14px;
    border: 1px solid #cfe3fb;
    border-radius: 8px;
    background: #edf6ff;
    color: #263752;
    text-align: left;
    font-size: 13px;
    line-height: 1.42;
    font-weight: 750;
}

body.xr-auth-body .ps-auth-login-alert i {
    color: #126ff7;
    font-size: 17px;
}

body.xr-auth-body .ps-auth-login-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(176px, 100%);
    min-height: 44px;
    margin: 0 auto;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, #1578ff 0%, #0b4ed8 100%);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(21, 120, 255, 0.30);
}

body.xr-auth-body .ps-auth-login-primary:hover,
body.xr-auth-body .ps-auth-login-primary:focus {
    background: linear-gradient(135deg, #2787f7, #0f66dc);
    transform: translateY(-1px);
    outline: none;
}

body.xr-auth-body .ps-auth-login-or {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
    align-items: center;
    width: min(240px, 100%);
    margin: 18px auto 16px;
    color: #526273;
}

body.xr-auth-body .ps-auth-login-or span {
    height: 1px;
    background: #dbe4ec;
}

body.xr-auth-body .ps-auth-login-or em {
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
}

body.xr-auth-body .ps-auth-login-link {
    display: inline-flex;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #0b66e8;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

body.xr-auth-body .ps-auth-login-link:hover,
body.xr-auth-body .ps-auth-login-link:focus {
    text-decoration: underline;
    outline: none;
}

body.xr-auth-body .ps-auth-login-help {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    margin: 24px 0 0;
    padding: 12px 14px;
    border: 1px solid #dbe8f8;
    border-radius: 7px;
    background: #f6f9ff;
    color: #526273;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 750;
}

body.xr-auth-body .ps-auth-login-help i {
    color: #126ff7;
    font-size: 15px;
}

body.xr-auth-body .ps-auth-login-help p {
    margin: 0;
}

body.xr-auth-body .ps-auth-login-help a {
    color: #0b66e8;
    font-weight: 900;
    text-decoration: none;
}

body.xr-auth-body .ps-auth-login-help a:hover,
body.xr-auth-body .ps-auth-login-help a:focus {
    text-decoration: underline;
}

body.xr-auth-body .ps-auth-login-locked-card .ps-auth-login-primary {
    width: min(198px, 100%);
}

body.xr-auth-body .ps-auth-station-connecting-card {
    padding: 32px 36px 30px;
    color: #061126;
    text-align: center;
}

body.xr-auth-body .ps-auth-station-connecting-card .ps-auth-station-spinner {
    width: 62px;
    height: 62px;
    margin: 0 auto 22px;
    border-width: 7px;
}

body.xr-auth-body .ps-auth-station-connecting-card h2 {
    margin: 0 0 14px;
    color: #061126;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
}

body.xr-auth-body .ps-auth-station-connecting-card p {
    margin: 0 auto;
    color: #33425f;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 650;
}

body.xr-auth-body .ps-auth-station-connecting-divider {
    height: 1px;
    margin: 22px 0 16px;
    background: #dbe4ec;
}

body.xr-auth-body .ps-auth-station-connecting-card .ps-auth-station-connecting-note {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #526273;
    font-size: 13px;
    font-weight: 750;
}

body.xr-auth-body .ps-auth-station-connecting-note i {
    color: #526273;
}

body.xr-auth-body .ps-auth-station-offline-card {
    padding: 32px 36px 34px;
    color: #061126;
    text-align: center;
}

body.xr-auth-body .ps-auth-station-offline-icon {
    width: 94px;
    height: 94px;
    margin: 0 auto 22px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #126ff7;
    font-size: 42px;
}

body.xr-auth-body .ps-auth-station-offline-icon span {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    color: #126ff7;
    font-size: 24px;
}

body.xr-auth-body .ps-auth-station-offline-icon strong {
    position: absolute;
    right: 5px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 3px solid #ffffff;
    border-radius: 999px;
    background: #2d96ff;
    color: #ffffff;
    font-size: 17px;
    line-height: 1;
}

body.xr-auth-body .ps-auth-station-offline-card h2 {
    margin: 0 0 18px;
    color: #061126;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
}

body.xr-auth-body .ps-auth-station-offline-card .ps-auth-station-offline-lead,
body.xr-auth-body .ps-auth-station-offline-card p {
    margin: 0 auto 19px;
    color: #33425f;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 650;
}

body.xr-auth-body .ps-auth-station-offline-status {
    display: grid;
    gap: 8px;
    margin: 0 0 20px;
    padding: 13px 16px;
    border: 1px solid #cfe1ff;
    border-radius: 8px;
    background: #f3f8ff;
    color: #17395f;
    text-align: left;
}

body.xr-auth-body .ps-auth-station-offline-status span,
body.xr-auth-body .ps-auth-station-offline-status strong {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    color: inherit;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 850;
}

body.xr-auth-body .ps-auth-station-offline-status i {
    color: #126ff7;
}

body.xr-auth-body .ps-auth-station-offline-help {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin: 4px 0 26px !important;
    padding-top: 18px;
    border-top: 1px solid #dbe4ec;
    color: #526273 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    text-align: left;
}

body.xr-auth-body .ps-auth-station-offline-help i {
    width: auto;
    height: auto;
    background: transparent;
    color: #126ff7;
    font-size: 16px;
}

body.xr-auth-body .ps-auth-station-offline-help p {
    margin: 0;
    white-space: nowrap;
}

body.xr-auth-body .ps-auth-station-offline-help a {
    color: #0b66e8;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

body.xr-auth-body .ps-auth-station-offline-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

body.xr-auth-body .ps-auth-station-offline-button,
body.xr-auth-body .ps-auth-station-offline-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none !important;
    cursor: pointer;
}

body.xr-auth-body .ps-auth-station-offline-button {
    border: 0;
    background: linear-gradient(135deg, #1578ff 0%, #0b4ed8 100%);
    color: #ffffff !important;
}

body.xr-auth-body .ps-auth-station-offline-secondary {
    border: 1px solid rgba(21, 120, 255, 0.72);
    background: #ffffff;
    color: #0b66e8;
}

body.xr-auth-body .ps-auth-station-offline-button:hover,
body.xr-auth-body .ps-auth-station-offline-button:focus {
    background: linear-gradient(135deg, #2787f7, #0f66dc);
    transform: translateY(-1px);
    outline: none;
}

body.xr-auth-body .ps-auth-station-offline-secondary:hover,
body.xr-auth-body .ps-auth-station-offline-secondary:focus {
    background: #f4f8ff;
    outline: none;
}

body.xr-auth-body .swal2-modal.ps-auth-signup-unavailable-modal,
body.xr-auth-body .swal2-popup.ps-auth-signup-unavailable-modal {
    width: min(500px, calc(100vw - 34px)) !important;
    border-radius: 14px !important;
}

body.xr-auth-body .ps-auth-signup-unavailable-card {
    padding: 30px 36px 0;
    color: #061126;
    text-align: center;
}

body.xr-auth-body .ps-auth-signup-unavailable-icon {
    width: 92px;
    height: 92px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #126ff7;
    font-size: 32px;
}

body.xr-auth-body .ps-auth-signup-unavailable-icon span {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #eaf2ff;
    border-radius: 999px;
    background: #eaf2ff;
    color: #126ff7;
    font-size: 16px;
}

body.xr-auth-body .ps-auth-signup-unavailable-card h2 {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.18;
}

body.xr-auth-body .ps-auth-signup-unavailable-card .ps-auth-signup-unavailable-lead {
    max-width: 390px;
    margin: 0 auto 25px;
    color: #263752;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 700;
}

body.xr-auth-body .ps-auth-signup-unavailable-form {
    margin: 0;
    text-align: left;
}

body.xr-auth-body .ps-auth-signup-unavailable-field {
    margin: 0 0 16px;
}

body.xr-auth-body .ps-auth-signup-unavailable-field label {
    display: block;
    margin: 0 0 8px;
    color: #061126;
    font-size: 13px;
    font-weight: 900;
}

body.xr-auth-body .ps-auth-signup-unavailable-input {
    position: relative;
}

body.xr-auth-body .ps-auth-signup-unavailable-input i {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: #7183a1;
    font-size: 16px;
    pointer-events: none;
}

body.xr-auth-body .ps-auth-signup-unavailable-input input {
    width: 100%;
    min-height: 50px;
    padding: 0 16px 0 48px;
    border: 1px solid #cfdbe7;
    border-radius: 8px;
    background: #ffffff;
    color: #061126;
    font-size: 15px;
    font-weight: 750;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}

body.xr-auth-body .ps-auth-signup-unavailable-input input::placeholder {
    color: #98a7bc;
}

body.xr-auth-body .ps-auth-signup-unavailable-input input:focus {
    border-color: rgba(21, 120, 255, 0.72);
    box-shadow: 0 0 0 4px rgba(21, 120, 255, 0.12);
}

body.xr-auth-body .ps-auth-signup-unavailable-card .ps-auth-signup-unavailable-button {
    min-height: 52px;
    margin-top: 6px;
    border-radius: 8px;
    font-size: 15px;
}

body.xr-auth-body .ps-auth-signup-unavailable-button:hover,
body.xr-auth-body .ps-auth-signup-unavailable-button:focus {
    background: linear-gradient(135deg, #2787f7, #0f66dc);
    transform: translateY(-1px);
    outline: none;
}

body.xr-auth-body .ps-auth-signup-unavailable-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 12px;
    border: 1px solid rgba(21, 120, 255, 0.64);
    border-radius: 8px;
    background: #ffffff;
    color: #0b66e8;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}

body.xr-auth-body .ps-auth-signup-unavailable-secondary:hover,
body.xr-auth-body .ps-auth-signup-unavailable-secondary:focus {
    background: #f4f8ff;
    text-decoration: none;
    outline: none;
}

body.xr-auth-body .ps-auth-signup-unavailable-help {
    margin: 24px -36px 0 !important;
    padding: 18px 36px !important;
    border-top: 1px solid #e4ebf5;
    background: #f6f9ff;
    text-align: left;
}

body.xr-auth-body .ps-auth-signup-unavailable-help p {
    margin: 0;
}

body.xr-auth-body .ps-auth-signup-unavailable-help i {
    background: #eaf2ff;
    color: #126ff7;
}

@media (max-width: 991px) {
    body.xr-auth-body .ps-auth-title {
        font-size: 3.35rem;
    }

    body.xr-auth-body .ps-auth-main {
        gap: 2.5rem;
    }
}

@media (max-width: 575px) {
    body.xr-auth-body .ps-auth-title {
        font-size: 2.65rem;
    }
}
