:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #2c2e30;
  background: #f5f6f9;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body { min-height: 100vh; }

.login-root {
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  background: #f5f6f9;
}

.login-panel {
  width: 480px;
  flex: 0 0 480px;
  padding: 48px 52px;
  background: #fff;
  border-right: 1px solid #eef1f6;
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.logo-mark, .brand-logo-large {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #326bfb;
  font-weight: 700;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  font-size: 12px;
  letter-spacing: .5px;
}

.logo-name { color: #2c2e30; font-size: 16px; font-weight: 700; letter-spacing: .3px; }

.login-title { margin: 0 0 6px; color: #2c2e30; font-size: 24px; line-height: 1.3; font-weight: 700; }
.login-desc { margin: 0 0 32px; color: #90949e; font-size: 13px; }

.login-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { color: #2c2e30; font-size: 13px; font-weight: 600; }

.form-input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #dfe3eb;
  border-radius: 6px;
  outline: none;
  color: #2c2e30;
  background: #fff;
  font: inherit;
  font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.form-input::placeholder { color: #a8adb8; }
.form-input:focus { border-color: #326bfb; box-shadow: 0 0 0 3px rgba(50, 107, 251, .12); }

.login-button {
  width: 100%;
  height: 44px;
  margin-top: 4px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #326bfb;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s ease, opacity .15s ease;
}

.login-button:hover { background: #245be4; }
.login-button:disabled { cursor: wait; opacity: .65; }

.form-status { min-height: 18px; margin: -4px 0 0; color: #d14343; font-size: 13px; line-height: 1.4; }
.form-status:empty { visibility: hidden; }
.login-footer { margin: 24px 0 0; color: #90949e; font-size: 13px; line-height: 1.5; }

.login-brand {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: #326bfb;
}

.brand-content { display: flex; max-width: 420px; flex-direction: column; gap: 16px; }
.brand-logo-large { width: 56px; height: 56px; border: 2px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.15); font-size: 18px; }
.brand-title { margin: 0; color: #fff; font-size: 32px; line-height: 1.25; font-weight: 700; letter-spacing: .5px; }
.brand-desc { margin: 0 0 8px; color: rgba(255,255,255,.7); font-size: 15px; }
.brand-features { display: flex; flex-direction: column; gap: 12px; }
.brand-feature-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.4; }
.brand-feature-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: rgba(255,255,255,.6); }

@media (max-width: 768px) {
  .login-root { display: block; }
  .login-brand { display: none; }
  .login-panel { width: 100%; min-height: 100vh; padding: 32px 24px 40px; border-right: 0; }
}
