/*
 * MYPS customer authentication
 * Loaded automatically by Lagom 2 for the active "depth" style.
 * All rules are scoped to the authentication overrides to avoid changing the shop.
 */

body.page-login {
    min-height: 100vh;
    background:
        radial-gradient(circle at 14% 8%, rgba(74, 93, 206, .24), transparent 31%),
        radial-gradient(circle at 88% 92%, rgba(26, 145, 176, .16), transparent 30%),
        #080d15 !important;
}

body.page-login .main-body {
    background: transparent !important;
}

.myps-auth {
    --myps-auth-bg: #080d15;
    --myps-auth-surface: #111925;
    --myps-auth-surface-strong: #151f2d;
    --myps-auth-border: #273448;
    --myps-auth-border-soft: rgba(142, 161, 190, .18);
    --myps-auth-text: #f4f7ff;
    --myps-auth-muted: #98a7bc;
    --myps-auth-accent: #817cf8;
    --myps-auth-accent-strong: #6762e8;
    --myps-auth-cyan: #48c8ef;
    --myps-auth-success: #42d89b;
    position: relative;
    isolation: isolate;
    width: min(100%, 1040px) !important;
    max-width: 1040px !important;
    margin: 0 auto;
    padding: 48px 24px 32px;
    color: var(--myps-auth-text);
}

.myps-auth::before,
.myps-auth::after {
    position: fixed;
    z-index: -1;
    width: 430px;
    height: 430px;
    border-radius: 999px;
    content: "";
    pointer-events: none;
    filter: blur(100px);
    opacity: .18;
}

.myps-auth::before {
    top: -180px;
    left: -130px;
    background: var(--myps-auth-accent);
}

.myps-auth::after {
    right: -170px;
    bottom: -210px;
    background: var(--myps-auth-cyan);
}

.myps-auth .myps-auth-brand-header,
.login-header.myps-auth-brand-header {
    display: flex;
    justify-content: center;
    min-height: 48px;
    margin: 0 0 24px;
}

.myps-auth-brand {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    width: auto !important;
    max-width: none !important;
    color: #fff !important;
    text-decoration: none !important;
}

.myps-auth-brand:hover,
.myps-auth-brand:focus {
    color: #fff !important;
    text-decoration: none !important;
}

.myps-auth-brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    background: linear-gradient(145deg, #8c87ff, #625de1);
    box-shadow: 0 12px 32px rgba(102, 96, 232, .34), inset 0 1px 0 rgba(255, 255, 255, .22);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
}

.myps-auth-brand-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.myps-auth-brand-name {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .05em;
}

.myps-auth-brand-subtitle {
    margin-top: 4px;
    color: #9eacc0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.myps-auth .login-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    overflow: hidden;
    width: 100% !important;
    max-width: none !important;
    border: 1px solid var(--myps-auth-border) !important;
    border-radius: 26px !important;
    background: var(--myps-auth-surface) !important;
    box-shadow: 0 32px 90px rgba(0, 0, 0, .38), 0 1px 0 rgba(255, 255, 255, .03) inset !important;
}

.myps-auth-intro {
    position: relative;
    display: flex;
    grid-row: 1 / span 2;
    flex-direction: column;
    min-height: 570px;
    padding: 46px 42px 38px;
    overflow: hidden;
    border-right: 1px solid rgba(142, 161, 190, .14);
    background:
        radial-gradient(circle at 18% 10%, rgba(72, 200, 239, .17), transparent 34%),
        radial-gradient(circle at 90% 82%, rgba(129, 124, 248, .25), transparent 37%),
        linear-gradient(145deg, #111c2b 0%, #101827 52%, #161c38 100%);
}

.myps-auth-intro::before {
    position: absolute;
    top: -90px;
    right: -105px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(255, 255, 255, .025), 0 0 0 70px rgba(255, 255, 255, .018);
    content: "";
}

.myps-auth-intro-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid rgba(121, 219, 191, .22);
    border-radius: 999px;
    background: rgba(18, 70, 59, .22);
    color: #b9f5dc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
}

.myps-auth-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--myps-auth-success);
    box-shadow: 0 0 0 4px rgba(66, 216, 155, .12);
}

.myps-auth-intro-copy {
    position: relative;
    margin-top: auto;
    padding-top: 56px;
}

.myps-auth-kicker,
.myps-auth-eyebrow {
    margin: 0 0 10px;
    color: #aaa7ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.myps-auth-intro h2 {
    max-width: 330px;
    margin: 0;
    color: #fff;
    font-size: clamp(29px, 3vw, 40px);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.myps-auth-intro-copy > p:last-child {
    max-width: 350px;
    margin: 18px 0 0;
    color: #aebbd0;
    font-size: 14px;
    line-height: 1.65;
}

.myps-auth-features {
    position: relative;
    display: grid;
    gap: 12px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.myps-auth-features li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #dce5f3;
    font-size: 13px;
    line-height: 1.4;
}

.myps-auth-features li > span {
    display: grid;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 1px solid rgba(132, 126, 248, .36);
    border-radius: 7px;
    background: rgba(129, 124, 248, .12);
    color: #aaa7ff;
    font-size: 11px;
    font-weight: 800;
}

.myps-auth-intro-footer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 32px;
    color: #8292a9;
    font-size: 11px;
}

.myps-auth-shield {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 6px;
    background: rgba(72, 200, 239, .12);
    color: #6ed8f7;
    font-size: 10px;
    font-weight: 800;
}

.myps-auth .login-body {
    width: 100% !important;
    max-width: none !important;
    padding: 52px 52px 38px !important;
    background: var(--myps-auth-surface) !important;
    color: var(--myps-auth-text);
}

.myps-auth-heading {
    margin-bottom: 32px;
}

.myps-auth .login-title,
.myps-auth .login-body > .login-title {
    margin: 0 !important;
    color: var(--myps-auth-text) !important;
    font-size: 30px !important;
    font-weight: 750 !important;
    line-height: 1.18 !important;
    letter-spacing: -.025em;
    text-align: left !important;
}

.myps-auth-subtitle {
    margin: 10px 0 0;
    color: var(--myps-auth-muted);
    font-size: 13px;
    line-height: 1.55;
}

.myps-auth .login-desc {
    color: var(--myps-auth-muted) !important;
    line-height: 1.6;
    text-align: left !important;
}

.myps-auth .form-group {
    margin-bottom: 22px;
}

.myps-auth label {
    margin-bottom: 8px;
    color: #d7e0ee !important;
    font-size: 12px;
    font-weight: 700;
}

.myps-auth .form-control,
.myps-auth input[type="text"],
.myps-auth input[type="email"],
.myps-auth input[type="password"] {
    height: 50px;
    border: 1px solid #334158 !important;
    border-radius: 12px !important;
    background: #0d1420 !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .025) inset !important;
    color: #f6f8fd !important;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.myps-auth .form-control::placeholder,
.myps-auth input::placeholder {
    color: #6f7f96 !important;
    opacity: 1;
}

.myps-auth .form-control:hover,
.myps-auth input[type="text"]:hover,
.myps-auth input[type="email"]:hover,
.myps-auth input[type="password"]:hover {
    border-color: #465773 !important;
}

.myps-auth .form-control:focus,
.myps-auth input[type="text"]:focus,
.myps-auth input[type="email"]:focus,
.myps-auth input[type="password"]:focus {
    border-color: var(--myps-auth-accent) !important;
    outline: 0;
    background: #0f1724 !important;
    box-shadow: 0 0 0 4px rgba(129, 124, 248, .16) !important;
}

.myps-auth a {
    color: #aaa7ff;
    text-decoration: none;
}

.myps-auth a:hover,
.myps-auth a:focus {
    color: #cbc9ff;
    text-decoration: none;
}

.myps-auth .btn {
    min-height: 48px;
    border-radius: 12px !important;
    font-size: 13px;
    font-weight: 750;
    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}

.myps-auth .btn-primary {
    border-color: #817cf8 !important;
    background: linear-gradient(135deg, #8984fb 0%, #6863e9 100%) !important;
    box-shadow: 0 12px 28px rgba(104, 99, 233, .24) !important;
    color: #fff !important;
}

.myps-auth .btn-primary:hover,
.myps-auth .btn-primary:focus {
    border-color: #9894ff !important;
    background: linear-gradient(135deg, #9894ff 0%, #746ff0 100%) !important;
    box-shadow: 0 15px 34px rgba(104, 99, 233, .32) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.myps-auth .btn-default {
    border-color: #334158 !important;
    background: #151e2c !important;
    color: #d7e0ed !important;
}

.myps-auth .btn-default:hover,
.myps-auth .btn-default:focus {
    border-color: #4b5d78 !important;
    background: #1a2535 !important;
}

.myps-auth .checkbox {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0 !important;
    color: var(--myps-auth-muted) !important;
    font-weight: 500;
}

.myps-auth .icheckbox_square-blue,
.myps-auth .icheckbox_square-purple,
.myps-auth input[type="checkbox"] {
    margin-right: 8px;
}

.myps-auth .login-captcha {
    margin-bottom: 22px;
}

.myps-auth .login-divider {
    color: #718198;
}

.myps-auth .login-divider span:first-child,
.myps-auth .login-divider span:last-child {
    background: var(--myps-auth-border-soft) !important;
}

.myps-auth .login-footer {
    grid-column: 2;
    width: 100% !important;
    max-width: none !important;
    padding: 18px 52px 24px !important;
    border-top: 1px solid var(--myps-auth-border-soft) !important;
    background: var(--myps-auth-surface) !important;
    color: var(--myps-auth-muted);
    text-align: center;
}

.myps-auth .login-footer .text-light,
.myps-auth .login-footer .text-lighter {
    color: var(--myps-auth-muted) !important;
}

.myps-auth .login-language,
.page-login-secondary .myps-auth .login-language {
    margin-top: 20px;
    color: #77869b;
}

.myps-auth .login-language a {
    color: #9ba9bd;
}

.myps-auth .alert,
.myps-auth .message {
    border-radius: 12px;
}

.myps-auth .custom-alerts,
.myps-auth .providerLinkingFeedback {
    margin-bottom: 20px;
}

.myps-auth #frmTwoFactorChallenge .form-control,
.myps-auth #frmTwoFactorChallenge input {
    margin-bottom: 18px;
}

.myps-auth #frmTwoFactorBackup .btn-default {
    margin-top: 10px;
}

.myps-auth h4 {
    color: var(--myps-auth-text);
}

/* Registration uses a compact header and a wider single-column form. */
.myps-auth-register {
    width: min(100%, 900px) !important;
    max-width: 900px !important;
}

.myps-auth-register .login-wrapper {
    grid-template-columns: minmax(0, 1fr);
}

.myps-auth-register .myps-auth-intro {
    display: grid;
    grid-row: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    padding: 32px 44px;
    border-right: 0;
    border-bottom: 1px solid rgba(142, 161, 190, .14);
}

.myps-auth-register .myps-auth-intro-badge {
    grid-column: 1 / -1;
}

.myps-auth-register .myps-auth-intro-copy {
    align-self: end;
    margin: 0;
    padding-top: 28px;
}

.myps-auth-register .myps-auth-intro h2 {
    max-width: 470px;
    font-size: 30px;
}

.myps-auth-register .myps-auth-intro-copy > p:last-child {
    max-width: 520px;
    margin-top: 10px;
}

.myps-auth-register .myps-auth-features {
    align-self: end;
    margin: 28px 0 2px 36px;
}

.myps-auth-register .login-body {
    padding: 44px !important;
}

.myps-auth-register .login-footer {
    grid-column: 1;
    padding-right: 44px !important;
    padding-left: 44px !important;
}

.myps-auth-register .sub-heading,
.myps-auth-register .section-title,
.myps-auth-register h3 {
    margin-top: 32px;
    color: var(--myps-auth-text) !important;
}

.myps-auth-register .sub-heading span,
.myps-auth-register .section-title span {
    background: var(--myps-auth-surface) !important;
    color: #dce5f3 !important;
}

.myps-auth-register textarea.form-control,
.myps-auth-register select.form-control,
.myps-auth-register .selectize-input {
    border: 1px solid #334158 !important;
    border-radius: 12px !important;
    background: #0d1420 !important;
    color: #f6f8fd !important;
}

.myps-auth-register textarea.form-control {
    min-height: 96px;
    padding-top: 13px;
}

.myps-auth-register .selectize-input > input,
.myps-auth-register .selectize-input > .item {
    color: #f6f8fd !important;
}

.myps-auth-register .selectize-dropdown,
.myps-auth-register .dropdown-menu {
    border-color: #334158 !important;
    background: #111925 !important;
    color: #dce5f3 !important;
}

.myps-auth-register .panel,
.myps-auth-register .card {
    border-color: var(--myps-auth-border-soft) !important;
    background: #0f1723 !important;
}

.myps-auth-register .progress {
    background: #222e40 !important;
}

@media (max-width: 900px) {
    .myps-auth {
        max-width: 660px !important;
        padding-top: 32px;
    }

    .myps-auth .login-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    .myps-auth-intro {
        grid-row: auto;
        min-height: auto;
        padding: 30px 34px;
        border-right: 0;
        border-bottom: 1px solid rgba(142, 161, 190, .14);
    }

    .myps-auth-intro-copy {
        margin-top: 0;
        padding-top: 26px;
    }

    .myps-auth-intro h2 {
        max-width: none;
        font-size: 28px;
    }

    .myps-auth-intro-copy > p:last-child {
        max-width: 540px;
        margin-top: 12px;
    }

    .myps-auth-features,
    .myps-auth-intro-footer {
        display: none;
    }

    .myps-auth .login-footer {
        grid-column: 1;
    }

    .myps-auth-register .myps-auth-intro {
        display: block;
    }

    .myps-auth-register .myps-auth-features {
        display: grid;
        margin: 22px 0 0;
    }
}

@media (max-width: 575px) {
    .myps-auth {
        width: 100% !important;
        padding: 24px 14px 20px;
    }

    .myps-auth .myps-auth-brand-header,
    .login-header.myps-auth-brand-header {
        justify-content: flex-start;
        margin-bottom: 18px;
        padding-left: 4px;
    }

    .myps-auth-brand-mark {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .myps-auth .login-wrapper {
        border-radius: 20px !important;
    }

    .myps-auth-intro {
        padding: 24px 22px;
    }

    .myps-auth-intro-badge {
        padding: 7px 10px;
        font-size: 10px;
    }

    .myps-auth-intro h2 {
        font-size: 24px;
    }

    .myps-auth-intro-copy > p:last-child {
        font-size: 13px;
    }

    .myps-auth .login-body {
        padding: 30px 22px 26px !important;
    }

    .myps-auth-heading {
        margin-bottom: 26px;
    }

    .myps-auth .login-title,
    .myps-auth .login-body > .login-title {
        font-size: 26px !important;
    }

    .myps-auth .login-footer {
        padding: 17px 22px 20px !important;
    }

    .myps-auth-register .myps-auth-intro,
    .myps-auth-register .login-body {
        padding: 26px 22px !important;
    }

    .myps-auth-register .myps-auth-intro h2 {
        font-size: 24px;
    }

    .myps-auth-register .myps-auth-features {
        display: none;
    }

    .myps-auth .form-control,
    .myps-auth input[type="text"],
    .myps-auth input[type="email"],
    .myps-auth input[type="password"] {
        height: 48px;
        font-size: 16px;
    }

    .myps-auth .d-flex.space-between {
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .myps-auth *,
    .myps-auth *::before,
    .myps-auth *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ========================================================================== */
/* MYPS customer dashboard                                                     */
/* ========================================================================== */

.page-clientareahome .myps-client-dashboard {
    --myps-dash-surface: #111925;
    --myps-dash-surface-soft: #151f2d;
    --myps-dash-border: #28364a;
    --myps-dash-border-soft: rgba(144, 161, 188, .16);
    --myps-dash-text: #f2f6ff;
    --myps-dash-muted: #92a1b6;
    --myps-dash-primary: #817cf8;
    --myps-dash-cyan: #48c8ef;
    --myps-dash-success: #43d89b;
    --myps-dash-warning: #f3b64c;
    position: relative;
    color: var(--myps-dash-text);
}

.page-clientareahome .myps-dashboard-welcome {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 224px;
    margin-bottom: 22px;
    padding: 38px 42px;
    overflow: hidden;
    border: 1px solid var(--myps-dash-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 82% 10%, rgba(72, 200, 239, .18), transparent 34%),
        radial-gradient(circle at 8% 100%, rgba(129, 124, 248, .22), transparent 36%),
        linear-gradient(135deg, #121d2b 0%, #111925 56%, #161c37 100%);
    box-shadow: 0 22px 64px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .035);
}

.page-clientareahome .myps-dashboard-welcome::before {
    position: absolute;
    top: -126px;
    right: 12%;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(255, 255, 255, .018), 0 0 0 88px rgba(255, 255, 255, .012);
    content: "";
    pointer-events: none;
}

.page-clientareahome .myps-dashboard-welcome-copy,
.page-clientareahome .myps-dashboard-welcome-actions {
    position: relative;
    z-index: 1;
}

.page-clientareahome .myps-dashboard-welcome-copy {
    max-width: 650px;
}

.page-clientareahome .myps-dashboard-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    color: #aaa7ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.page-clientareahome .myps-dashboard-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--myps-dash-success);
    box-shadow: 0 0 0 5px rgba(67, 216, 155, .12);
}

.page-clientareahome .myps-dashboard-welcome h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 760;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.page-clientareahome .myps-dashboard-welcome p {
    max-width: 610px;
    margin: 15px 0 0;
    color: #aebbd0;
    font-size: 14px;
    line-height: 1.65;
}

.page-clientareahome .myps-dashboard-welcome-actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 10px;
    min-width: 210px;
}

.page-clientareahome .myps-dashboard-welcome-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    border-radius: 11px;
    font-weight: 700;
}

.page-clientareahome .myps-dashboard-welcome-actions .btn-primary {
    border-color: #817cf8;
    background: linear-gradient(135deg, #8b86fb, #6863e9);
    box-shadow: 0 12px 28px rgba(104, 99, 233, .25);
}

.page-clientareahome .myps-dashboard-welcome-actions .btn-default {
    border-color: #34435a;
    background: rgba(15, 23, 35, .66);
    color: #dce5f3;
}

.page-clientareahome .myps-dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.page-clientareahome .myps-dashboard-metric {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 124px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid var(--myps-dash-border);
    border-radius: 17px;
    background: var(--myps-dash-surface);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .025);
    color: var(--myps-dash-text);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.page-clientareahome .myps-dashboard-metric::after {
    position: absolute;
    right: -34px;
    bottom: -48px;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: currentColor;
    content: "";
    opacity: .035;
    pointer-events: none;
}

.page-clientareahome .myps-dashboard-metric:hover,
.page-clientareahome .myps-dashboard-metric:focus {
    border-color: #475b78;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .2);
    color: var(--myps-dash-text);
    text-decoration: none;
    transform: translateY(-2px);
}

.page-clientareahome .myps-dashboard-metric-icon {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    margin-right: 15px;
    place-items: center;
    border: 1px solid rgba(129, 124, 248, .24);
    border-radius: 14px;
    background: rgba(129, 124, 248, .12);
    color: #a7a3ff;
    font-size: 19px;
}

.page-clientareahome .myps-dashboard-metric.is-warning .myps-dashboard-metric-icon {
    border-color: rgba(243, 182, 76, .25);
    background: rgba(243, 182, 76, .11);
    color: var(--myps-dash-warning);
}

.page-clientareahome .myps-dashboard-metric.is-success .myps-dashboard-metric-icon {
    border-color: rgba(67, 216, 155, .24);
    background: rgba(67, 216, 155, .1);
    color: var(--myps-dash-success);
}

.page-clientareahome .myps-dashboard-metric.is-info .myps-dashboard-metric-icon {
    border-color: rgba(72, 200, 239, .24);
    background: rgba(72, 200, 239, .1);
    color: var(--myps-dash-cyan);
}

.page-clientareahome .myps-dashboard-metric.is-credit .myps-dashboard-metric-icon {
    border-color: rgba(197, 132, 247, .24);
    background: rgba(197, 132, 247, .1);
    color: #c584f7;
}

.page-clientareahome .myps-dashboard-metric-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.page-clientareahome .myps-dashboard-metric-copy small {
    overflow: hidden;
    margin-bottom: 3px;
    color: var(--myps-dash-muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.page-clientareahome .myps-dashboard-metric-copy strong {
    overflow: hidden;
    color: var(--myps-dash-text);
    font-size: 27px;
    font-weight: 760;
    line-height: 1.08;
    letter-spacing: -.025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-clientareahome .myps-dashboard-metric-copy strong.myps-dashboard-money {
    font-size: 20px;
}

.page-clientareahome .myps-dashboard-metric-copy > span {
    overflow: hidden;
    margin-top: 5px;
    color: #77879d;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-clientareahome .myps-dashboard-metric-arrow {
    margin-left: auto;
    color: #56667e;
    font-size: 12px;
    transition: color .18s ease, transform .18s ease;
}

.page-clientareahome .myps-dashboard-metric:hover .myps-dashboard-metric-arrow {
    color: #aaa7ff;
    transform: translateX(3px);
}

.page-clientareahome .myps-dashboard-shortcuts {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 34px;
    padding: 10px;
    overflow-x: auto;
    border: 1px solid var(--myps-dash-border-soft);
    border-radius: 15px;
    background: rgba(17, 25, 37, .66);
    scrollbar-width: thin;
}

.page-clientareahome .myps-dashboard-shortcuts-label {
    flex: 0 0 auto;
    padding: 0 12px 0 5px;
    color: #728197;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.page-clientareahome .myps-dashboard-shortcuts a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #aab7c9;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

.page-clientareahome .myps-dashboard-shortcuts a i {
    color: #8580f6;
}

.page-clientareahome .myps-dashboard-shortcuts a:hover,
.page-clientareahome .myps-dashboard-shortcuts a:focus {
    border-color: #33445c;
    background: #182334;
    color: #fff;
}

.page-clientareahome .myps-dashboard-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 16px;
}

.page-clientareahome .myps-dashboard-section-head span {
    display: block;
    margin-bottom: 5px;
    color: #8580f6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.page-clientareahome .myps-dashboard-section-head h2 {
    margin: 0;
    color: var(--myps-dash-text);
    font-size: 22px;
    font-weight: 740;
    letter-spacing: -.02em;
}

.page-clientareahome .myps-dashboard-section-head > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 2px;
    color: #aaa7ff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.page-clientareahome .myps-dashboard-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0 0 26px;
}

.page-clientareahome .myps-dashboard-panel {
    min-width: 0;
}

.page-clientareahome .myps-dashboard-panel-wide {
    grid-column: 1 / -1;
}

.page-clientareahome .myps-dashboard-panels .panel {
    height: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--myps-dash-border) !important;
    border-radius: 17px !important;
    background: var(--myps-dash-surface) !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .025) !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.page-clientareahome .myps-dashboard-panels .panel:hover {
    border-color: #3c4e68 !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .2) !important;
    transform: translateY(-1px);
}

.page-clientareahome .myps-dashboard-panels .panel-heading {
    min-height: 57px;
    padding: 16px 18px !important;
    border-bottom: 1px solid var(--myps-dash-border-soft) !important;
    background: var(--myps-dash-surface-soft) !important;
}

.page-clientareahome .myps-dashboard-panels .panel-title {
    display: flex;
    align-items: center;
    margin: 0 !important;
    color: var(--myps-dash-text) !important;
    font-size: 13px !important;
    font-weight: 730 !important;
}

.page-clientareahome .myps-dashboard-panels .panel-title > i {
    display: grid;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    place-items: center;
    border-radius: 9px;
    background: rgba(129, 124, 248, .12);
    color: #9d99ff;
}

.page-clientareahome .myps-dashboard-panels .panel-body,
.page-clientareahome .myps-dashboard-panels .panel-footer,
.page-clientareahome .myps-dashboard-panels .list-group {
    background: var(--myps-dash-surface) !important;
}

.page-clientareahome .myps-dashboard-panels .panel-body {
    color: #aebbd0;
}

.page-clientareahome .myps-dashboard-panels .panel-footer {
    border-top-color: var(--myps-dash-border-soft) !important;
}

.page-clientareahome .myps-dashboard-panels .list-group-item {
    border-color: var(--myps-dash-border-soft) !important;
    background: transparent !important;
    color: #dce5f3 !important;
    transition: background-color .16s ease;
}

.page-clientareahome .myps-dashboard-panels a.list-group-item:hover,
.page-clientareahome .myps-dashboard-panels a.list-group-item:focus {
    background: #172232 !important;
}

.page-clientareahome .client-home-alerts {
    margin-bottom: 18px !important;
    border-radius: 14px;
    box-shadow: none !important;
}

.page-clientareahome .client-home-alert {
    overflow: hidden;
    border-radius: 12px;
}

@media (max-width: 1199px) {
    .page-clientareahome .myps-dashboard-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .page-clientareahome .myps-dashboard-welcome {
        align-items: flex-start;
        flex-direction: column;
        min-height: 0;
        padding: 30px;
    }

    .page-clientareahome .myps-dashboard-welcome-actions {
        flex-direction: row;
        width: 100%;
        min-width: 0;
    }

    .page-clientareahome .myps-dashboard-welcome-actions .btn {
        flex: 1;
    }

    .page-clientareahome .myps-dashboard-shortcuts {
        margin-bottom: 28px;
    }

    .page-clientareahome .myps-dashboard-shortcuts-label {
        display: none;
    }

    .page-clientareahome .myps-dashboard-panels {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-clientareahome .myps-dashboard-panel-wide {
        grid-column: auto;
    }
}

@media (max-width: 520px) {
    .page-clientareahome .myps-dashboard-welcome {
        padding: 25px 22px;
        border-radius: 18px;
    }

    .page-clientareahome .myps-dashboard-welcome h1 {
        font-size: 29px;
    }

    .page-clientareahome .myps-dashboard-welcome-actions {
        flex-direction: column;
    }

    .page-clientareahome .myps-dashboard-metrics {
        grid-template-columns: minmax(0, 1fr);
        gap: 11px;
    }

    .page-clientareahome .myps-dashboard-metric {
        min-height: 104px;
        padding: 17px;
    }

    .page-clientareahome .myps-dashboard-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-clientareahome .myps-dashboard-section-head h2 {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-clientareahome .myps-client-dashboard *,
    .page-clientareahome .myps-client-dashboard *::before,
    .page-clientareahome .myps-client-dashboard *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
