/* LS-CRM client login — warm "client pass" theme */
.auth-page.auth-page--client {
    --client-rose: #f472b6;
    --client-violet: #8b7cff;
    --client-cyan: #38d6e6;
    --client-gradient: linear-gradient(118deg, #f472b6 0%, #a78bfa 48%, #38d6e6 100%);
    align-items: flex-start;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 28px 24px;
    background:
        radial-gradient(circle at 14% 4%, rgba(244, 114, 182, 0.18), transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(139, 124, 255, 0.17), transparent 36%),
        radial-gradient(circle at 50% 108%, rgba(56, 214, 230, 0.12), transparent 42%),
        #07060d;
}

.client-aurora {
    position: fixed;
    z-index: 0;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    opacity: 0.2;
}

.client-aurora--rose {
    top: -220px;
    left: -120px;
    width: 520px;
    height: 520px;
    background: #f472b6;
}

.client-aurora--violet {
    top: 18%;
    right: -200px;
    width: 460px;
    height: 460px;
    background: #8b7cff;
    opacity: 0.16;
}

.client-aurora--cyan {
    bottom: -240px;
    left: 38%;
    width: 420px;
    height: 420px;
    background: #38d6e6;
    opacity: 0.1;
}

.client-stage {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    pointer-events: none;
}

.client-stage span {
    color: transparent;
    font-size: clamp(150px, 30vw, 430px);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    -webkit-text-stroke: 1px rgba(244, 114, 182, 0.055);
    transform: rotate(-7deg) translateY(4%);
    user-select: none;
}

.client-auth {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: min(500px, 100%);
    margin: auto;
}

.client-auth__brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.client-auth__brand .auth-brand {
    gap: 10px;
}

.client-auth__brand .auth-brand__mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--client-gradient);
    box-shadow: 0 12px 30px rgba(244, 114, 182, 0.26);
    font-size: 16px;
}

.client-auth__brand .auth-brand__text strong {
    font-size: 16px;
}

.client-auth__brand .auth-brand__text small {
    font-size: 9.5px;
    letter-spacing: 0.18em;
}

.client-pass {
    position: relative;
    width: 100%;
    border: 1px solid rgba(244, 114, 182, 0.18);
    border-radius: 26px;
    background: rgba(13, 10, 22, 0.8);
    box-shadow:
        0 36px 110px rgba(0, 0, 0, 0.62),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    backdrop-filter: blur(14px);
    animation: clientPassIn 560ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes clientPassIn {
    from { opacity: 0; transform: translateY(18px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.client-pass__hero {
    position: relative;
    padding: 26px 30px 24px;
    border-bottom: 1px solid rgba(244, 114, 182, 0.14);
    background:
        radial-gradient(circle at 100% 0%, rgba(244, 114, 182, 0.24), transparent 46%),
        radial-gradient(circle at 0% 100%, rgba(139, 124, 255, 0.24), transparent 52%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 60%);
    overflow: hidden;
}

.client-pass__hero::after {
    content: "";
    position: absolute;
    top: -130px;
    right: -70px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(244, 114, 182, 0.24);
    border-radius: 50%;
    box-shadow:
        0 0 0 34px rgba(244, 114, 182, 0.035),
        0 0 0 68px rgba(139, 124, 255, 0.025);
    pointer-events: none;
}

.client-pass__kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    color: #f9a8d4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.client-pass__kicker .icon {
    width: 13px;
    height: 13px;
}

.client-pass__hero h1 {
    position: relative;
    z-index: 1;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.04;
}

.client-pass__hero h1 span {
    background: linear-gradient(100deg, #f9a8d4 0%, #c4b5fd 48%, #7fe8f3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.client-pass__hero p {
    position: relative;
    z-index: 1;
    max-width: 390px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.55;
}

.client-pass__chips {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.client-pass__chips li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border: 1px solid rgba(148, 158, 200, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: #c7cbe0;
    font-size: 10.5px;
    font-weight: 600;
}

.client-pass__chips .icon {
    width: 12px;
    height: 12px;
    color: #f9a8d4;
}

.client-pass__body {
    padding: 24px 30px 28px;
}

.client-pass__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.client-pass__avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border: 1px solid rgba(244, 114, 182, 0.22);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(244, 114, 182, 0.18), rgba(139, 124, 255, 0.14));
    color: #f9a8d4;
}

.client-pass__avatar .icon {
    width: 20px;
    height: 20px;
}

.client-pass__head h2 {
    font-size: 22px;
    letter-spacing: -0.03em;
}

.client-pass__head p {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.auth-page--client .field__control input:focus {
    border-color: rgba(244, 114, 182, 0.55);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.1);
}

.auth-page--client .field__action:hover {
    color: #f9a8d4;
}

.auth-page--client .auth-submit {
    background: var(--client-gradient);
    box-shadow: 0 16px 40px rgba(244, 114, 182, 0.24);
}

.auth-page--client .auth-submit:hover {
    box-shadow: 0 20px 50px rgba(167, 139, 250, 0.34);
}

.client-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(244, 114, 182, 0.28);
    border-radius: 11px;
    background: rgba(244, 114, 182, 0.07);
    color: #fbcfe8;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.35;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.client-switch .icon {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
}

.client-switch .icon:last-child {
    margin-left: auto;
}

.client-switch:hover {
    border-color: rgba(244, 114, 182, 0.5);
    background: rgba(244, 114, 182, 0.12);
    color: #ffe4f1;
}

.client-pass__help {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed rgba(244, 114, 182, 0.16);
    color: var(--dim);
    font-size: 11.5px;
    line-height: 1.45;
}

.client-pass__help .icon {
    width: 15px;
    height: 15px;
    margin-top: 1px;
    flex: 0 0 auto;
    color: #f9a8d4;
}

.client-auth__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    color: var(--dim);
    font-size: 10.5px;
    letter-spacing: 0.02em;
}

.client-auth__footer a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-weight: 600;
    transition: color 180ms ease;
}

.client-auth__footer a:hover {
    color: #f9a8d4;
}

.client-auth__footer .icon {
    width: 13px;
    height: 13px;
}

@media (max-width: 560px) {
    .auth-page.auth-page--client {
        padding: 18px 14px 24px;
    }

    .client-auth {
        gap: 14px;
    }

    .client-auth__brand .auth-brand__text strong {
        font-size: 15px;
    }

    .client-pass {
        border-radius: 22px;
    }

    .client-pass__hero {
        padding: 24px 22px 22px;
    }

    .client-pass__hero h1 {
        font-size: 28px;
    }

    .client-pass__body {
        padding: 22px;
    }

    .client-pass__head h2 {
        font-size: 20px;
    }

    .client-auth__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 380px) {
    .client-pass__hero h1 {
        font-size: 25px;
    }

    .client-pass__chips li {
        font-size: 10px;
    }
}

@media (min-width: 981px) and (max-height: 780px) {
    .client-pass__hero {
        padding: 22px 30px 20px;
    }

    .client-pass__hero h1 {
        font-size: 29px;
    }

    .client-pass__hero p {
        font-size: 12px;
    }

    .client-pass__chips {
        margin-top: 12px;
    }

    .client-pass__body {
        padding: 20px 30px 22px;
    }

    .client-pass__head {
        margin-bottom: 16px;
    }
}
