/**
 * 和光通聘企业端：首页 / 登录 / 注册 — 简约商务风，纯 CSS
 */
:root {
    --zhyp-primary: #1677ff;
    --zhyp-primary-light: #4096ff;
    --zhyp-primary-soft: #69b1ff;
    /* 与官网弹层一致的浅底主按钮 / 验证码按钮 */
    --zhyp-btn-soft-bg: #f0f6fc;
    --zhyp-btn-soft-bg-hover: #e4edf7;
    --zhyp-btn-soft-border: #b8cce6;
    --zhyp-btn-soft-border-hover: #9bb3d4;
    --zhyp-btn-soft-text: #1a4a7a;
    --zhyp-brand-deep: #032a7a;
    --zhyp-brand-mid: #0d4fc4;
    --zhyp-text: #1f1f1f;
    --zhyp-muted: #8c8c8c;
    --zhyp-border: #e5e7eb;
    --zhyp-card-radius: 12px;
    --zhyp-input-radius: 6px;
    --zhyp-row-h: 2.875rem;
    --zhyp-transition: all 0.2s ease;
}

html {
    font-size: 16px;
}

/* 登录页顶满视口，消除默认留白条 */
html.zhyp-html-login,
html.zhyp-html-login body {
    margin: 0;
    padding: 0;
    height: 100%;
}

html.zhyp-html-login body.zhyp-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
}

/* 飞书式登录 / 注册：整页浅灰渐变底（.zhyp-split--login-fly） */
html.zhyp-html-login body:has(.zhyp-split--login-fly) {
    background: linear-gradient(180deg, #ffffff 0%, #f6f7f9 38%, #f0f1f4 100%);
}

.zhyp-page {
    min-height: 100vh;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--zhyp-text);
    -webkit-font-smoothing: antialiased;
    animation: zhyp-fade-in 0.5s ease forwards;
    opacity: 0;
}

@keyframes zhyp-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.zhyp-split {
    display: flex;
    min-height: 100vh;
}

.zhyp-brand-panel {
    flex: 0 0 45%;
    max-width: 45%;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            155deg,
            var(--zhyp-brand-deep) 0%,
            var(--zhyp-brand-mid) 28%,
            var(--zhyp-primary) 52%,
            #2a7ce8 78%,
            var(--zhyp-primary-soft) 100%
        );
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: clamp(2.5rem, 5vh, 4rem) clamp(1.75rem, 3vw, 3rem) clamp(2rem, 4vh, 3.5rem);
    box-sizing: border-box;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.06);
}

/* 光晕 + 右侧与表单区的柔和过渡 */
.zhyp-brand-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 70% at 0% 0%, rgba(255, 255, 255, 0.14) 0%, transparent 52%),
        radial-gradient(ellipse 70% 55% at 100% 15%, rgba(120, 190, 255, 0.2) 0%, transparent 48%),
        radial-gradient(ellipse 60% 50% at 40% 100%, rgba(255, 255, 255, 0.08) 0%, transparent 55%);
    pointer-events: none;
}

/* 极淡斜向纹理，增强「大屏商务」质感 */
.zhyp-brand-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: repeating-linear-gradient(
        -18deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.55) 2px,
        rgba(255, 255, 255, 0.55) 3px
    );
    pointer-events: none;
}

.zhyp-waves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.5;
}

.zhyp-waves svg {
    position: absolute;
    width: 150%;
    left: -25%;
    height: auto;
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.08));
}

.zhyp-waves .w1 { bottom: 8%; opacity: 0.55; }
.zhyp-waves .w2 { bottom: 14%; opacity: 0.38; left: -8%; }
.zhyp-waves .w3 { top: 18%; opacity: 0.28; transform: rotate(180deg); }

.zhyp-brand-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    max-width: 22rem;
}

.zhyp-brand-title {
    font-size: clamp(2rem, 4.8vw, 3.125rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    margin: 0 0 1rem;
    line-height: 1.15;
    text-shadow:
        0 2px 20px rgba(0, 0, 0, 0.18),
        0 0 40px rgba(255, 255, 255, 0.12);
    font-feature-settings: "kern" 1;
}

.zhyp-brand-slogan {
    font-size: clamp(1rem, 1.6vw, 1.125rem);
    font-weight: 300;
    opacity: 0.92;
    margin: 0;
    letter-spacing: 0.35em;
    line-height: 1.7;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.12);
}

.zhyp-brand-footer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    text-align: center;
    font-size: 0.8125rem;
    line-height: 2;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.12em;
    padding-top: 1.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    width: min(100%, 20rem);
}

.zhyp-form-panel {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(22, 119, 255, 0.04) 0%, transparent 55%),
        linear-gradient(180deg, #e8ecf4 0%, #f2f5f9 42%, #eef1f7 100%);
    box-sizing: border-box;
}

.zhyp-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: var(--zhyp-card-radius);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 28px 56px -16px rgba(15, 23, 42, 0.14),
        0 12px 24px -8px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(15, 23, 42, 0.035);
    padding: clamp(2.25rem, 4vw, 2.75rem) clamp(2rem, 4vw, 3rem);
    box-sizing: border-box;
}

.zhyp-card-title {
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 700;
    text-align: center;
    margin: 0 0 0.5rem;
    color: var(--zhyp-text);
    letter-spacing: 0.02em;
}

.zhyp-card-sub {
    font-size: 0.9375rem;
    color: #666;
    text-align: center;
    margin: 0 0 0.5rem;
    font-weight: 400;
}

.zhyp-card-tagline {
    font-size: 0.8125rem;
    color: #9a9a9a;
    text-align: center;
    margin: 0 auto 2rem;
    line-height: 1.65;
    max-width: 24em;
}

.zhyp-login-tabs {
    display: flex;
    border-bottom: 1px solid var(--zhyp-border);
    margin-bottom: 1.625rem;
}

.zhyp-login-tabs .zhyp-tab {
    flex: 1;
    text-align: center;
    padding: 0.75rem 0 0.85rem;
    cursor: pointer;
    font-size: 1rem;
    color: var(--zhyp-muted);
    position: relative;
    transition: var(--zhyp-transition);
    user-select: none;
}

.zhyp-login-tabs .zhyp-tab:hover {
    color: var(--zhyp-text);
}

.zhyp-login-tabs .zhyp-tab.active {
    color: var(--zhyp-text);
    font-weight: 600;
}

.zhyp-login-tabs .zhyp-tab.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 22%;
    width: 56%;
    height: 3px;
    background: var(--zhyp-primary);
    border-radius: 2px;
}

.zhyp-tab-pane {
    display: none;
}

.zhyp-tab-pane.active {
    display: block;
}

.zhyp-field {
    margin-bottom: 1.125rem;
}

/* 校验错误：提示在整栏输入框下方，不挤在 flex 行右侧 */
.zhyp-field.has-error .zhyp-input-wrap {
    border-color: #ff4d4f;
    box-shadow: 0 0 0 1px rgba(255, 77, 79, 0.18);
}

.zhyp-card .zhyp-field > .msg-box,
.zhyp-login-card .zhyp-field > .msg-box {
    display: block;
    width: 100%;
    margin-top: 0.375rem;
    line-height: 1.45;
}

.zhyp-card .zhyp-field > .msg-box .msg-wrap,
.zhyp-login-card .zhyp-field > .msg-box .msg-wrap {
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.zhyp-card .zhyp-field > .msg-box .n-arrow,
.zhyp-card .zhyp-field > .msg-box .n-icon,
.zhyp-login-card .zhyp-field > .msg-box .n-arrow,
.zhyp-login-card .zhyp-field > .msg-box .n-icon {
    display: none !important;
}

.zhyp-card .zhyp-field > .msg-box .n-msg,
.zhyp-login-card .zhyp-field > .msg-box .n-msg {
    font-size: 0.8125rem;
    color: #ff4d4f;
    font-weight: 400;
    animation: zhyp-err-in 0.22s ease;
}

@keyframes zhyp-err-in {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zhyp-input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid var(--zhyp-border);
    border-radius: var(--zhyp-input-radius);
    height: var(--zhyp-row-h);
    padding: 0 0.75rem 0 0.65rem;
    transition: var(--zhyp-transition);
    background: #fff;
}

.zhyp-input-wrap:focus-within {
    border-color: var(--zhyp-primary);
    box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.18);
}

.zhyp-input-wrap .fa {
    color: var(--zhyp-muted);
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.zhyp-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    height: 100%;
    padding: 0 0.5rem;
    font-size: 0.9375rem;
    background: transparent;
    color: var(--zhyp-text);
}

.zhyp-input-wrap input::placeholder {
    color: #bbb;
}

.zhyp-row-sms {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.zhyp-row-sms .zhyp-input-wrap {
    flex: 1;
}

.zhyp-btn-sms {
    flex-shrink: 0;
    min-width: 7.5rem;
    height: var(--zhyp-row-h);
    padding: 0 0.75rem;
    border: 1px solid var(--zhyp-btn-soft-border);
    border-radius: var(--zhyp-input-radius);
    background: var(--zhyp-btn-soft-bg);
    color: var(--zhyp-btn-soft-text);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--zhyp-transition);
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.zhyp-btn-sms:hover:not(:disabled) {
    background: var(--zhyp-btn-soft-bg-hover);
    border-color: var(--zhyp-btn-soft-border-hover);
}

.zhyp-btn-sms:disabled {
    background: #f5f5f5;
    border-color: #e8e8e8;
    color: #bfbfbf;
    cursor: not-allowed;
    box-shadow: none;
}

/* 验证码 Tab：与密码 Tab 同宽同高的「获取验证码」行 */
.zhyp-btn-sms--full {
    display: block;
    width: 100%;
    height: var(--zhyp-row-h);
    margin: 0.25rem 0 1.5rem;
    padding: 0 0.75rem;
    border: 1px solid var(--zhyp-btn-soft-border);
    border-radius: var(--zhyp-input-radius);
    background: var(--zhyp-btn-soft-bg);
    color: var(--zhyp-btn-soft-text);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--zhyp-transition);
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.zhyp-btn-sms--full:hover:not(:disabled) {
    background: var(--zhyp-btn-soft-bg-hover);
    border-color: var(--zhyp-btn-soft-border-hover);
}

.zhyp-btn-sms--full:disabled {
    background: #f5f5f5;
    border-color: #e8e8e8;
    color: #bfbfbf;
    cursor: not-allowed;
    box-shadow: none;
}

.zhyp-btn-primary--tab-sms {
    margin-top: 0;
}

.zhyp-check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    margin-top: 0.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: var(--zhyp-row-h);
    box-sizing: border-box;
}

.zhyp-custom-check {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--zhyp-muted);
    user-select: none;
}

.zhyp-custom-check input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.zhyp-check-ui {
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid var(--zhyp-border);
    border-radius: 4px;
    margin-right: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--zhyp-transition);
    flex-shrink: 0;
}

.zhyp-custom-check input:checked + .zhyp-check-ui {
    background: var(--zhyp-primary);
    border-color: var(--zhyp-primary);
}

.zhyp-custom-check input:checked + .zhyp-check-ui::after {
    content: "";
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-0.5px, -0.5px);
}

.zhyp-custom-check input:focus-visible + .zhyp-check-ui {
    box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.25);
}

.zhyp-link {
    color: var(--zhyp-primary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--zhyp-transition);
}

.zhyp-link:hover {
    color: #0958d9;
    text-decoration: underline;
}

.zhyp-btn-primary {
    width: 100%;
    height: var(--zhyp-row-h);
    border: 1px solid var(--zhyp-btn-soft-border);
    border-radius: var(--zhyp-input-radius);
    background: var(--zhyp-btn-soft-bg);
    color: var(--zhyp-btn-soft-text);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--zhyp-transition);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.zhyp-btn-primary:hover {
    background: var(--zhyp-btn-soft-bg-hover);
    border-color: var(--zhyp-btn-soft-border-hover);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.zhyp-btn-primary:active {
    box-shadow: 0 1px 1px rgba(15, 23, 42, 0.06);
}

.zhyp-foot-note {
    text-align: center;
    margin-top: 1.375rem;
    font-size: 0.875rem;
    color: var(--zhyp-muted);
    line-height: 1.55;
}

.zhyp-home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, #f0f7ff 0%, #fff 45%, #f5f7fa 100%);
}

.zhyp-home-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
}

.zhyp-home-brand {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--zhyp-primary);
    margin: 0 0 1rem;
}

.zhyp-home-welcome {
    font-size: 1.125rem;
    color: var(--zhyp-text);
    margin: 0 0 0.5rem;
    max-width: 28rem;
    line-height: 1.6;
}

.zhyp-home-desc {
    font-size: 0.875rem;
    color: var(--zhyp-muted);
    margin: 0 0 2rem;
    max-width: 22rem;
    line-height: 1.7;
}

.zhyp-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.zhyp-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 8.5rem;
    height: var(--zhyp-row-h);
    padding: 0 1.5rem;
    border-radius: var(--zhyp-input-radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--zhyp-transition);
    border: 2px solid var(--zhyp-primary);
    color: var(--zhyp-primary);
    background: #fff;
}

.zhyp-btn-outline:hover {
    background: rgba(22, 119, 255, 0.06);
    transform: translateY(-2px);
}

.zhyp-btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 8.5rem;
    height: var(--zhyp-row-h);
    padding: 0 1.5rem;
    border-radius: var(--zhyp-input-radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(180deg, var(--zhyp-primary-light) 0%, var(--zhyp-primary) 100%);
    box-shadow: 0 4px 16px rgba(22, 119, 255, 0.35);
    border: none;
    transition: var(--zhyp-transition);
}

.zhyp-btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 119, 255, 0.4);
    color: #fff;
}

.zhyp-home-footer {
    padding: 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--zhyp-muted);
}

.zhyp-home-footer a {
    color: var(--zhyp-muted);
    text-decoration: none;
}

.zhyp-home-footer a:hover {
    color: var(--zhyp-primary);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
 * 登录页飞书式动效：左插画 + 右白卡片（仅 zhyp-split--login-fly）
 * -------------------------------------------------------------------------- */
.zhyp-split--login-fly {
    flex-direction: row;
    align-items: stretch;
    min-height: 100vh;
    min-height: 100dvh;
}

.zhyp-split--login-fly .zhyp-form-panel--login-fly,
.zhyp-split--login-fly .zhyp-illustration-panel {
    min-height: 100vh;
    min-height: 100dvh;
}

.zhyp-form-panel--login-fly {
    flex: 0 0 46%;
    max-width: 46%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 4vh, 3rem) clamp(1.25rem, 3vw, 2.5rem);
    box-sizing: border-box;
    background: #f5f6f7;
}

.zhyp-split--login-fly .zhyp-illustration-panel {
    flex: 1 1 54%;
    min-width: 0;
    opacity: 0;
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.zhyp-page--ready .zhyp-split--login-fly .zhyp-illustration-panel {
    opacity: 1;
}

/* 纯白圆角卡片 + 轻阴影（飞书质感） */
.zhyp-split--login-fly .zhyp-login-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 2.25rem 2rem 1.75rem;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--zhyp-card-radius);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 40px -16px rgba(15, 23, 42, 0.12),
        0 4px 12px -4px rgba(15, 23, 42, 0.06);
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.26s,
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.26s,
        box-shadow 0.32s ease,
        border-color 0.32s ease;
}

.zhyp-page--ready .zhyp-split--login-fly .zhyp-login-card {
    opacity: 1;
    transform: translateY(0);
}

.zhyp-page--ready .zhyp-split--login-fly .zhyp-login-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.05),
        0 20px 48px -14px rgba(15, 23, 42, 0.14),
        0 8px 20px -6px rgba(22, 119, 255, 0.08);
}

.zhyp-login-card-kicker {
    margin: 0 0 1rem;
    font-size: 0.8125rem;
}

.zhyp-login-card-title {
    margin: 0 0 0.35rem;
    font-size: 1.375rem;
    font-weight: 600;
    color: #1f1f1f;
    letter-spacing: -0.02em;
}

.zhyp-login-card-lead {
    margin: 0 0 1.625rem;
    font-size: 0.875rem;
    color: var(--zhyp-muted);
    line-height: 1.55;
}

.zhyp-login-card .zhyp-login-tabs {
    margin-bottom: 1.5rem;
}

.zhyp-login-card-footer {
    margin: 1.5rem 0 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--zhyp-muted);
}

.zhyp-illus-panel-footer {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
    font-size: 0.8125rem;
    color: #8c8c8c;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.zhyp-illus-footer-link {
    color: var(--zhyp-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.zhyp-illus-footer-link:hover {
    color: #0958d9;
    text-decoration: underline;
}

@keyframes zhyp-login-shake {
    0%,
    100% {
        transform: translateX(0);
    }
    15% {
        transform: translateX(-8px);
    }
    30% {
        transform: translateX(8px);
    }
    45% {
        transform: translateX(-5px);
    }
    60% {
        transform: translateX(5px);
    }
    75% {
        transform: translateX(-2px);
    }
}

@keyframes zhyp-login-card-success {
    to {
        opacity: 0;
        transform: translateY(-22px) scale(0.985);
    }
}

@keyframes zhyp-illus-success-nudge {
    0%,
    100% {
        transform: translateY(0);
    }
    35% {
        transform: translateY(-10px);
    }
    65% {
        transform: translateY(-3px);
    }
}

@keyframes zhyp-tab-pane-in {
    from {
        opacity: 0;
        transform: translateY(7px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zhyp-login-state--shake .zhyp-login-card {
    animation: zhyp-login-shake 0.45s ease;
}

.zhyp-login-state--success .zhyp-login-card {
    animation: zhyp-login-card-success 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: none;
}

.zhyp-login-state--success .zhyp-illus-scene {
    animation: zhyp-illus-success-nudge 0.62s ease;
}

.zhyp-split--login-fly .zhyp-tab-pane--fly.active {
    animation: zhyp-tab-pane-in 0.34s cubic-bezier(0.4, 0, 0.2, 1);
}

.zhyp-illustration-panel {
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem 3rem;
    box-sizing: border-box;
}

.zhyp-illus-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 70% at 80% 20%, rgba(22, 119, 255, 0.09) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 10% 80%, rgba(82, 196, 26, 0.08) 0%, transparent 50%),
        linear-gradient(160deg, #f5f9ff 0%, #e8f2ff 35%, #dceaff 70%, #eef4fc 100%);
    pointer-events: none;
}

.zhyp-illus-cloud {
    position: absolute;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 4px 24px rgba(22, 119, 255, 0.08);
    pointer-events: none;
    opacity: 0.65;
}

.zhyp-illus-cloud--a {
    width: 120px;
    height: 44px;
    top: 14%;
    left: -40px;
    animation: zhyp-cloud-drift 22s linear infinite;
}

.zhyp-illus-cloud--b {
    width: 88px;
    height: 32px;
    top: 42%;
    left: -60px;
    opacity: 0.5;
    animation: zhyp-cloud-drift 28s linear infinite;
    animation-delay: -8s;
}

.zhyp-illus-cloud--c {
    width: 140px;
    height: 48px;
    bottom: 18%;
    left: -80px;
    opacity: 0.55;
    animation: zhyp-cloud-drift 26s linear infinite;
    animation-delay: -14s;
}

@keyframes zhyp-cloud-drift {
    0% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(calc(50vw + 120px)) translateY(-6px);
    }
    100% {
        transform: translateX(calc(100vw + 200px)) translateY(0);
    }
}

.zhyp-illus-scene {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.zhyp-illus-svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 12px 28px rgba(22, 119, 255, 0.12));
}

.zhyp-split--login-fly .zhyp-illustration-item {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

/* 插画先于右侧卡片显现（短错峰） */
.zhyp-split--login-fly .zhyp-illus-item-1 { transition-delay: 0.06s; }
.zhyp-split--login-fly .zhyp-illus-item-2 { transition-delay: 0.16s; }
.zhyp-split--login-fly .zhyp-illus-item-3 { transition-delay: 0.26s; }
.zhyp-split--login-fly .zhyp-illus-item-4 { transition-delay: 0.36s; }

.zhyp-page--ready .zhyp-split--login-fly .zhyp-illustration-item {
    opacity: 1;
    transform: translateY(0);
}

.zhyp-illus-brand {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 1.25rem;
}

.zhyp-illus-brand-title {
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 700;
    color: #1677ff;
    letter-spacing: 0.12em;
    margin: 0 0 0.35rem;
}

.zhyp-illus-brand-sub {
    margin: 0;
    font-size: 0.8125rem;
    color: #8c8c8c;
    letter-spacing: 0.06em;
}

/* 输入框 / 按钮微动效强化（登录飞书页） */
.zhyp-split--login-fly .zhyp-input-wrap {
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.2s ease;
}

.zhyp-split--login-fly .zhyp-input-wrap:focus-within {
    transform: translateY(-1px) scale(1.008);
    border-color: var(--zhyp-primary);
    box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.14);
}

.zhyp-split--login-fly .zhyp-field.has-error .zhyp-input-wrap:focus-within {
    border-color: #ff4d4f;
    box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.12);
}

.zhyp-split--login-fly .zhyp-input-wrap input {
    caret-color: var(--zhyp-primary);
}

.zhyp-split--login-fly .zhyp-btn-primary {
    transition: box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.zhyp-split--login-fly .zhyp-btn-primary:hover {
    transform: none;
    filter: none;
}

.zhyp-split--login-fly .zhyp-btn-primary:active {
    transform: none;
}

.zhyp-split--login-fly .zhyp-btn-sms {
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.zhyp-split--login-fly .zhyp-btn-sms:hover:not(:disabled) {
    transform: none;
    filter: none;
}

.zhyp-split--login-fly .zhyp-btn-sms:active:not(:disabled) {
    transform: none;
}

.zhyp-split--login-fly .zhyp-check-ui {
    transition:
        border-color 0.22s ease,
        background 0.22s ease,
        transform 0.2s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.zhyp-split--login-fly .zhyp-custom-check input:checked + .zhyp-check-ui {
    transform: scale(1.05);
}

.zhyp-split--login-fly .zhyp-login-fly-tabs .zhyp-tab {
    transition: color 0.22s ease, font-weight 0.15s ease;
}

.zhyp-split--login-fly .zhyp-login-fly-tabs .zhyp-tab.active::after {
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.22s ease;
}

@media (prefers-reduced-motion: reduce) {
    .zhyp-split--login-fly .zhyp-login-card,
    .zhyp-split--login-fly .zhyp-illustration-item,
    .zhyp-split--login-fly .zhyp-illustration-panel,
    .zhyp-illus-brand,
    .zhyp-illus-cloud {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }

    .zhyp-login-state--shake .zhyp-login-card,
    .zhyp-login-state--success .zhyp-login-card,
    .zhyp-login-state--success .zhyp-illus-scene {
        animation: none !important;
    }

    .zhyp-split--login-fly .zhyp-login-card {
        opacity: 1;
        transform: none;
    }

    .zhyp-page--ready .zhyp-split--login-fly .zhyp-login-card:hover {
        transform: none;
    }

    .zhyp-split--login-fly .zhyp-illustration-item,
    .zhyp-page--ready .zhyp-split--login-fly .zhyp-illustration-panel {
        opacity: 1;
        transform: none;
    }

    .zhyp-illus-brand {
        opacity: 1;
        transform: none;
    }

    .zhyp-split--login-fly .zhyp-tab-pane--fly.active {
        animation: none !important;
    }
}

@media (max-width: 900px) {
    .zhyp-split {
        flex-direction: column;
    }

    .zhyp-split--login-fly {
        flex-direction: column;
    }

    /* 避免窄屏下左右栏各 100vh 叠成双倍高度 */
    .zhyp-split--login-fly .zhyp-form-panel--login-fly,
    .zhyp-split--login-fly .zhyp-illustration-panel {
        min-height: 0;
    }

    .zhyp-form-panel--login-fly {
        flex: none;
        max-width: none;
        order: 1;
        padding-top: 1.75rem;
    }

    .zhyp-split--login-fly .zhyp-illustration-panel {
        order: 2;
        min-height: 200px;
        padding: 1.5rem 1rem 1rem;
    }

    .zhyp-split--login-fly .zhyp-illus-scene {
        max-width: 320px;
    }

    .zhyp-page--ready .zhyp-split--login-fly .zhyp-login-card:hover {
        transform: none;
    }

    .zhyp-brand-panel {
        flex: none;
        max-width: none;
        min-height: 36vh;
        padding: 2rem 1.5rem;
    }

    .zhyp-brand-inner {
        padding: 1rem 0;
        flex: 0;
    }

    .zhyp-brand-title {
        letter-spacing: 0.12em;
    }

    .zhyp-brand-slogan {
        letter-spacing: 0.2em;
    }

    .zhyp-brand-footer {
        border-top: none;
        padding-top: 0;
        letter-spacing: 0.08em;
    }

    .zhyp-form-panel {
        flex: 1;
        padding: 1.5rem 1rem 2rem;
    }

    .zhyp-card {
        padding: 1.85rem 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   企业入驻 / 公共顶栏（layout entry_public.html）
   原先仅有 HTML class，无对应样式，顶栏会像「和光通聘首页企业控制台…」挤成一行纯文本
   -------------------------------------------------------------------------- */

body.zhyp-entry-public-wrap {
    background: #f4f6f9;
}

body.zhyp-entry-public-wrap.zhyp-page {
    margin: 0;
}

.zhyp-entry-public-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--zhyp-border);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.zhyp-entry-public-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    box-sizing: border-box;
}

.zhyp-entry-public-brand {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--zhyp-text);
    text-decoration: none;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.zhyp-entry-public-brand:hover,
.zhyp-entry-public-brand:focus {
    color: #000;
    text-decoration: none;
}

.zhyp-entry-public-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 1.125rem;
    font-size: 0.9375rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.zhyp-entry-public-nav a {
    color: var(--zhyp-text);
    text-decoration: none;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.zhyp-entry-public-nav a:hover,
.zhyp-entry-public-nav a:focus {
    color: var(--zhyp-primary);
    text-decoration: none;
}

.zhyp-entry-public-nav a.zhyp-entry-nav-console {
    font-weight: 600;
    color: var(--zhyp-text);
}

.zhyp-entry-public-user {
    color: var(--zhyp-text);
    font-size: 0.875rem;
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zhyp-entry-public-main {
    min-height: calc(100vh - 3.25rem);
    box-sizing: border-box;
}

.zhyp-entry-public-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 1rem 2.5rem;
    box-sizing: border-box;
}

body.zhyp-entry-flow .zhyp-entry-public-inner {
    max-width: 1320px;
}

@media (max-width: 576px) {
    .zhyp-entry-public-header-inner {
        padding: 0.65rem 0.875rem;
    }

    .zhyp-entry-public-nav {
        width: 100%;
        justify-content: flex-start;
        row-gap: 0.5rem;
    }
}

/* —— 全页登录 / 注册（zhyp_auth 布局）补充 —— */
.zhyp-brand-title--compact {
    font-size: clamp(1.35rem, 3.2vw, 2.35rem);
    letter-spacing: 0.1em;
}

.zhyp-link--on-dark {
    color: rgba(255, 255, 255, 0.95) !important;
    text-decoration: none;
    font-weight: 500;
}

.zhyp-link--on-dark:hover {
    color: #fff !important;
    text-decoration: underline;
}

.zhyp-brand-dot {
    margin: 0 0.35rem;
    opacity: 0.75;
}

.zhyp-card-kicker {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
}

.zhyp-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--zhyp-text);
}

.zhyp-alert {
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    line-height: 1.55;
    margin: 0 0 1rem;
}

.zhyp-alert--info {
    background: #e6f4ff;
    border: 1px solid #bae0ff;
    color: #0958d9;
}

.zhyp-card-bottom {
    text-align: center;
    margin: 1.25rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--zhyp-border);
    font-size: 0.875rem;
    color: var(--zhyp-muted);
}

.zhyp-login-tabs .zhyp-tab {
    border: none;
    background: transparent;
    font: inherit;
    font-family: inherit;
    cursor: pointer;
}
