@charset "UTF-8";
/* 登录页（app/index/view/user/login.html）。外层 class 以 cdl- 开头；表单内部沿用 Bootstrap class，在 .cdl-card 作用域内改样子。
 * 大屏放大用 .cdl 上的 zoom（--cdl-zoom）；页面 body 由布局（layout/user.html）提供，这里不碰。 */
.cdl { --night: #060a1a; --blue: #3567ff; --ink: #0b1020; --mute: #5b6478; --line: #dfe4ee;
  display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); min-height: calc(100vh / var(--cdl-zoom, 1)); zoom: var(--cdl-zoom, 1);
  background: #f4f6fc; color: #0b1020;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif; }
@media (min-width: 1760px) { .cdl { --cdl-zoom: 1.1; } }
@media (min-width: 2000px) { .cdl { --cdl-zoom: 1.2; } }
@media (min-width: 2240px) { .cdl { --cdl-zoom: 1.32; } }
@media (min-width: 2560px) { .cdl { --cdl-zoom: 1.45; } }
@media (min-width: 3000px) { .cdl { --cdl-zoom: 1.65; } }
@media (min-width: 3600px) { .cdl { --cdl-zoom: 1.9; } }

/* ---------- 左：深色品牌面（与首页首屏同一套：深夜蓝 + 流动的光斑 + 点阵） ---------- */
.cdl-side { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 44px clamp(36px, 4.4vw, 76px) 48px; color: #b6c2dc; background: var(--night); overflow: hidden; }
.cdl-side > * { position: relative; z-index: 1; }
.cdl-side__bg { position: absolute; inset: 0; z-index: 0; }
.cdl-side__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.4px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(80% 60% at 40% 35%, #000, transparent); mask-image: radial-gradient(80% 60% at 40% 35%, #000, transparent); }
.cdl-side__bg i { position: absolute; border-radius: 50%; filter: blur(90px); }
.cdl-side__bg i:nth-child(1) { left: -22%; top: -16%; width: 78%; aspect-ratio: 1; background: #2f5bff; opacity: .55; animation: cdl-a 17s ease-in-out infinite alternate; }
.cdl-side__bg i:nth-child(2) { right: -30%; top: 30%; width: 70%; aspect-ratio: 1; background: #7b5cff; opacity: .42; animation: cdl-b 21s ease-in-out infinite alternate; }
.cdl-side__bg i:nth-child(3) { left: 4%; bottom: -26%; width: 80%; aspect-ratio: 1.5; background: #1fb6a6; opacity: .26; animation: cdl-a 15s ease-in-out infinite alternate-reverse; }
@keyframes cdl-a { to { transform: translate(14%, 10%) scale(1.12); } }
@keyframes cdl-b { to { transform: translate(-12%, -14%) scale(.92); } }
@media (prefers-reduced-motion: reduce) { .cdl-side__bg i { animation: none; } }
.cdl-logo img { display: block; height: 36px; width: auto; }
.cdl-eyebrow { margin: 0 0 16px; font-size: 16px; font-weight: 700; letter-spacing: .08em; color: #8fb0ff; }
.cdl-h1 { overflow-wrap: anywhere; margin: 0 0 40px; font-size: clamp(34px, 3.5vw, 56px); line-height: 1.16; letter-spacing: -1px; font-weight: 800; color: #fff; }
.cdl-h1 em { display: block; font-style: normal; padding-bottom: .1em; background: linear-gradient(92deg, #7fa2ff 0%, #b79bff 52%, #ffb36b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cdl-points { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; max-width: 640px; }
.cdl-points li { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .11); backdrop-filter: blur(8px); }
.cdl-points svg { width: 50px; height: 50px; padding: 12px; border-radius: 14px; color: #c9d8ff; background: rgba(53, 103, 255, .3); }
.cdl-points b { display: block; margin-bottom: 3px; font-size: 19px; font-weight: 700; color: #fff; }
.cdl-points span { overflow-wrap: anywhere; display: block; text-wrap: pretty; font-size: 16px; line-height: 1.6; color: #b6c2dc; }
.cdl-apps { display: flex; flex-wrap: wrap; gap: 12px; }
.cdl-apps img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }

/* ---------- 右：表单 ---------- */
.cdl-main { display: flex; flex-direction: column; align-items: center; padding: 30px clamp(20px, 4vw, 64px) 30px; background: radial-gradient(700px 420px at 80% 0, #e6ecff 0, rgba(244, 246, 252, 0) 70%), #f4f6fc; }
.cdl-top { display: flex; align-items: center; justify-content: flex-end; width: 100%; min-height: 36px; }
.cdl-logo--dark { display: none; margin-right: auto; }
.cdl-logo--dark img { height: 32px; }
.cdl-back { font-size: 16px; font-weight: 600; color: var(--mute); text-decoration: none; }
.cdl-back:hover { color: var(--blue); }
.cdl-card { width: 100%; max-width: 520px; margin: auto 0; padding: 44px 44px 40px; background: #fff; border: 1px solid #e6eaf3; border-radius: 26px; box-shadow: 0 30px 70px rgba(15, 35, 95, .11), 0 4px 14px rgba(15, 35, 95, .05); }
.cdl-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin: 22px 0 0; font-size: 14.5px; }
.cdl-foot a { color: #7a8398; text-decoration: none; }
.cdl-foot a:hover { color: var(--blue); }

.cdl-card .fs-3 { font-size: 32px !important; line-height: 1.2; letter-spacing: -.5px; font-weight: 800 !important; color: var(--ink); }
.cdl-row { display: flex; }
.cdl-sub { overflow-wrap: anywhere; text-wrap: pretty; margin: 10px 0 0; font-size: 17px; line-height: 1.55; color: var(--mute); }
.cdl-card .mt-5 { margin-top: 26px !important; }
.cdl-card .mt-4 { margin-top: 16px !important; }
.cdl-card .mt-3 { margin-top: 14px !important; }
.cdl-card .font-size-08 { font-size: 15px; line-height: 1.6; }
.cdl-card .font-size-09 { font-size: 16px; }
.cdl-card .form-control { height: 56px; padding: 0 18px; font-size: 17.5px; color: var(--ink); background: #f7f9fd; border: 1.5px solid var(--line); border-radius: 14px; box-shadow: none; transition: border-color .15s, background .15s, box-shadow .15s; }
.cdl-card .form-control::placeholder { color: #8a93a8; }
.cdl-card .form-control:hover { border-color: #c5cde0; }
.cdl-card .form-control:focus { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(53, 103, 255, .14); }
.cdl-card .form-control.is-invalid { border-color: #e5484d; background-color: #fff; }
.cdl-card .form-control.is-invalid:focus { box-shadow: 0 0 0 4px rgba(229, 72, 77, .14); }
.cdl-card .invalid-feedback { margin-top: 6px; font-size: 14.5px; color: #d93a40; }
.cdl-card a.text-primary, .cdl-card .btn-link.text-primary { color: var(--blue) !important; font-weight: 600; text-decoration: none; }
.cdl-card a.text-primary:hover { text-decoration: underline; }
.cdl-card .btn-primary { height: 56px; padding: 0 22px !important; font-size: 18px; font-weight: 700 !important; border: 0; border-radius: 14px; background: var(--blue); box-shadow: 0 12px 26px rgba(53, 103, 255, .3); transition: background .15s, transform .15s, box-shadow .15s; }
.cdl-card .btn-primary:hover { background: #2450d8; transform: translateY(-1px); box-shadow: 0 16px 30px rgba(53, 103, 255, .36); }
.cdl-card .input-group { gap: 10px; }
.cdl-card .input-group > .form-control { border-radius: 14px !important; }
.cdl-card .input-group > .btn { width: auto !important; min-width: 132px; border-radius: 14px !important; font-size: 16px; box-shadow: none; }
.cdl-card .input-group > .btn-primary { background: #eaf0ff; color: var(--blue); }
.cdl-card .input-group > .btn-primary:hover { background: #dbe5ff; transform: none; }
.cdl-card .input-group > .btn-light { height: 56px; background: #f1f4fa; border: 0; color: var(--mute); }
.cdl-card hr { border-color: #cfd6e4; opacity: 1; }
.cdl-card .my-4 { margin: 24px 0 18px !important; }
.cdl-card .text-black-50 { color: #8a93a8 !important; }
.cdl-tip { overflow-wrap: anywhere; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; margin: 22px 0 0; padding: 13px 16px; border-radius: 14px; background: #f1f5ff; font-size: 15px; line-height: 1.55; color: #3b4a6b; }
.cdl-tip svg { width: 22px; height: 22px; margin-top: 1px; color: var(--blue); }

/* 第三方登录：两个等宽的按钮 */
.cdl-social { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cdl-social__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 6px 8px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font-size: 15px; font-weight: 600; line-height: 1.25; text-align: center; color: var(--ink); text-decoration: none; white-space: normal; transition: border-color .15s, background .15s; }
.cdl-social__btn:hover { border-color: #b9c3da; background: #f7f9fd; color: var(--ink); }
.cdl-social__btn img { flex: none; width: 20px; height: 20px; object-fit: contain; }
/* Google 的按钮只能由它自己的脚本画（iframe）：我们画一个样子一致的按钮，把 Google 画的真按钮透明地盖在上面接收点击 */
.cdl-social__g { position: relative; overflow: hidden; cursor: pointer; }
.cdl-social__g .g_id_signin { position: absolute; left: 0; top: 0; opacity: .01; transform: scale(1.7); transform-origin: 0 0; }

/* 验证码六格 */
.cdl-card .verify-input-group { width: auto !important; --bs-gutter-x: 10px; --bs-gutter-y: 0; }
.cdl-card .verify-input-group .form-control { height: 64px; padding: 0; font-size: 28px; font-weight: 700; text-align: center; }
.cdl-card #code-target { font-size: 18px; color: var(--ink); }

/* ---------- 窄屏：只留表单 ---------- */
@media (max-width: 1099px) {
  .cdl { grid-template-columns: 1fr; }
  .cdl-side { display: none; }
  .cdl-logo--dark { display: block; }
}
@media (max-width: 560px) {
  .cdl-main { padding: 18px 14px 22px; }
  .cdl-card { margin-top: 22px; padding: 28px 20px 26px; border-radius: 20px; }
  .cdl-card .fs-3 { font-size: 27px !important; }
  .cdl-social { grid-template-columns: 1fr; }
  .cdl-card .verify-input-group { --bs-gutter-x: 6px; }
  .cdl-card .verify-input-group .form-control { height: 52px; font-size: 22px; }
}
