/* client.css — 独立客户工作台（登录/注册 + 账户隔离后的私有空间） */

/* 主站板块在这个页面全部隐藏，只保留客户工作台与所有弹窗 DOM */
.client-page #top,
.client-page #original,
.client-page #models,
.client-page #service,
.client-page #custom,
.client-page #package,
.client-page #expert,
.client-page #expertHub,
.client-page .site-footer,
.client-page .safety-bar { display: none !important; }

.client-page { background: #f4f7fb; min-height: 100vh; }

/* 顶部条：深墨蓝控制台 */
.client-page .cl-header { position: sticky; top: 0; z-index: 50; background: #0d2138; border-bottom: 1px solid rgba(255,255,255,.08); }
.client-page .cl-header .header-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.client-page .cl-header .logo { color: #8ab8ee; }
.client-page .cl-header .logo-text { color: #fff; }
.client-page .cl-header .logo-text b { color: #6aa9f5; }
.client-page .cl-header .logo-text small { color: #7f9ab8; }
.client-page .cl-header .nav-link { color: #b7c9de; padding: 7px 10px; }
.client-page .cl-header .nav-link.active { color: #fff; border-color: #6aa9f5; }
.client-page .cl-header .nav-link:hover { color: #fff; }
.client-page .cl-header .lang-toggle { border: 1px solid rgba(255,255,255,.24); background: transparent; color: #cfe2fa; border-radius: 20px; padding: 6px 13px; font-size: 12px; font-weight: 700; cursor: pointer; }
.client-page .cl-header .btn-ghost { border-color: rgba(255,255,255,.24); color: #cfe2fa; background: transparent; font-size: 12px; text-decoration: none; }
.client-page .cl-header .btn-ghost:hover { border-color: #6aa9f5; color: #fff; }
.client-page .cl-header .menu-toggle { color: #cfe2fa; }

.cl-account-chip { display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 4px 6px 4px 10px; }
.cl-avatar { width: 25px; height: 25px; border-radius: 50%; background: #6aa9f5; color: #0d2138; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.cl-account-name { font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; }
.cl-account-id { font-size: 10px; color: #8fa9c6; letter-spacing: .4px; white-space: nowrap; }
.cl-account-chip .btn-ghost { padding: 4px 10px !important; border-radius: 16px !important; }

/* 登录页：深墨蓝品牌栏 + 白色表单栏 */
.cl-auth { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; padding: 48px 20px; position: relative; overflow: hidden; }
.cl-auth-bg { position: absolute; inset: 0; background: radial-gradient(circle at 18% 12%, rgba(47,109,246,.13), transparent 42%), radial-gradient(circle at 88% 88%, rgba(13,33,56,.09), transparent 40%); pointer-events: none; }
.cl-auth-card { position: relative; width: min(940px, 95vw); display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid #dce5f0; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(9,28,54,.14); }
.cl-auth-brand { background: #0d2138; color: #fff; padding: 38px 36px; display: flex; flex-direction: column; justify-content: space-between; min-height: 560px; }
.cl-brand-mark { font-size: 11px; letter-spacing: 2.4px; color: #8ab8ee; font-weight: 700; }
.cl-brand-mark b { color: #6aa9f5; }
.cl-brand-rule { width: 42px; height: 2px; background: #6aa9f5; margin: 18px 0 26px; }
.cl-auth-brand h1 { font-size: 26px; font-weight: 700; letter-spacing: -.5px; line-height: 1.38; margin-bottom: 12px; }
.cl-auth-brand p { font-size: 13px; color: #a9bdd4; line-height: 1.75; margin-bottom: 24px; }
.cl-brand-list { list-style: none; border-top: 1px solid rgba(255,255,255,.12); margin: 0; padding: 0; }
.cl-brand-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.cl-brand-list span { font-size: 11px; color: #6aa9f5; font-family: var(--font-mono, monospace); padding-top: 2px; letter-spacing: .5px; flex-shrink: 0; }
.cl-brand-list em { font-size: 13px; font-style: normal; color: #e6f0fb; }
.cl-brand-foot { font-size: 10px; letter-spacing: 1.6px; color: #5f7b9c; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; margin-top: 10px; }
.cl-auth-form-side { padding: 40px 40px 34px; display: flex; flex-direction: column; justify-content: center; }
.cl-auth-inner { width: 100%; }
.cl-eyebrow { font-size: 11px; letter-spacing: 1.8px; color: #8492a8; font-weight: 700; margin-bottom: 18px; }
.cl-tabs { display: flex; gap: 6px; border-bottom: 1px solid #e3eaf3; margin-bottom: 22px; }
.cl-tab { border: 0; background: transparent; color: #7a8aa0; font-size: 14px; font-weight: 700; padding: 10px 16px 12px; cursor: pointer; border-bottom: 2px solid transparent; }
.cl-tab.active { color: #1668dc; border-bottom-color: #1668dc; }
.cl-form { display: flex; flex-direction: column; }
.cl-label { font-size: 12px; font-weight: 700; color: #43546c; margin: 11px 0 6px; }
.cl-form .svc-input { width: 100%; }
.cl-submit { width: 100%; justify-content: center; margin-top: 24px; padding: 13px; font-size: 15px; }
.cl-demo { width: 100%; justify-content: center; margin-top: 10px; border: 1px dashed #9fc2ee; background: #f4f9ff; color: #1668dc; border-radius: 8px; padding: 9px 12px; font-size: 12px; font-weight: 600; cursor: pointer; }
.cl-demo:hover { background: #e9f3ff; }
.cl-auth-note { font-size: 11.5px; color: var(--ink-3); line-height: 1.65; margin-top: 18px; padding: 10px 12px; background: #fff7ed; border-left: 3px solid #ef9f27; border-radius: 6px; }

/* 工作台隐私提示 */
.client-page #clientWorkspace { padding-top: 8px; }
.client-page .client-section { padding-top: 22px; }
.cl-privacy { font-size: 12.5px; color: #185fa5; background: #eef5ff; border: 1px solid #cfe2fa; border-radius: 10px; padding: 10px 14px; margin-bottom: 18px; line-height: 1.6; }

/* toast 失败态 */
.toast.bad { background: #a32d2d !important; }

@media (max-width: 900px) {
  .cl-auth-card { grid-template-columns: 1fr; max-width: 480px; }
  .cl-auth-brand { display: none; }
  .cl-auth-form-side { padding: 32px 24px; }
  .cl-brand-list { display: none; }
  .cl-account-id { display: none; }
}
