    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      min-height: 100vh;
      overflow: hidden;
      position: relative;
    }

    /* 动态渐变背景 */
    .bg-gradient {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #1e3a5f 50%, #0f172a 75%, #1e293b 100%);
      background-size: 400% 400%;
      animation: gradientShift 15s ease infinite;
      z-index: 0;
    }
    @keyframes gradientShift {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    /* 网格装饰 */
    .grid-overlay {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
      background-size: 60px 60px;
      z-index: 1;
    }

    /* 浮动光球 */
    .orb {
      position: fixed;
      border-radius: 50%;
      filter: blur(80px);
      opacity: 0.35;
      z-index: 1;
      animation: orbFloat 20s ease-in-out infinite;
    }
    .orb-1 {
      width: 400px; height: 400px;
      background: radial-gradient(circle, #3b82f6, transparent 70%);
      top: -100px; left: -100px;
      animation-delay: 0s;
    }
    .orb-2 {
      width: 300px; height: 300px;
      background: radial-gradient(circle, #10b981, transparent 70%);
      bottom: -50px; right: -50px;
      animation-delay: -7s;
      animation-duration: 25s;
    }
    .orb-3 {
      width: 250px; height: 250px;
      background: radial-gradient(circle, #8b5cf6, transparent 70%);
      top: 50%; left: 50%;
      animation-delay: -14s;
      animation-duration: 22s;
    }
    @keyframes orbFloat {
      0%, 100% { transform: translate(0, 0) scale(1); }
      33% { transform: translate(50px, -30px) scale(1.1); }
      66% { transform: translate(-30px, 40px) scale(0.9); }
    }

    /* 主容器 */
    .login-wrapper {
      position: relative;
      z-index: 2;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .login-card {
      width: 960px;
      max-width: 100%;
      background: rgba(255,255,255,0.06);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-radius: 24px;
      border: 1px solid rgba(255,255,255,0.1);
      display: flex;
      overflow: hidden;
      box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
    }

    /* 左侧品牌区 */
    .login-brand {
      flex: 1;
      padding: 60px 50px;
      background: linear-gradient(180deg, rgba(59,130,246,0.15) 0%, rgba(16,185,129,0.08) 100%);
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }
    .login-brand::before {
      content: '';
      position: absolute;
      top: -50%; left: -50%;
      width: 200%; height: 200%;
      background: radial-gradient(circle at 30% 70%, rgba(59,130,246,0.12) 0%, transparent 50%);
    }
    .brand-icon {
      width: 64px; height: 64px;
      background: linear-gradient(135deg, #3b82f6, #10b981);
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 32px;
      position: relative;
      box-shadow: 0 10px 30px rgba(59,130,246,0.3);
    }
    .brand-icon i {
      font-size: 28px;
      color: #fff;
    }
    .brand-title {
      font-size: 32px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 12px;
      position: relative;
      letter-spacing: -0.5px;
    }
    .brand-subtitle {
      font-size: 15px;
      color: rgba(255,255,255,0.55);
      line-height: 1.7;
      position: relative;
      max-width: 320px;
    }
    .brand-stats {
      display: flex;
      gap: 32px;
      margin-top: 48px;
      position: relative;
    }
    .brand-stat {
      text-align: center;
    }
    .brand-stat-value {
      font-size: 28px;
      font-weight: 700;
      color: #fff;
      line-height: 1;
    }
    .brand-stat-label {
      font-size: 12px;
      color: rgba(255,255,255,0.45);
      margin-top: 6px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    /* 右侧表单区 */
    .login-form-area {
      width: 420px;
      padding: 60px 45px;
      background: rgba(15,23,42,0.7);
    }
    .form-header {
      margin-bottom: 36px;
    }
    .form-header h2 {
      font-size: 24px;
      font-weight: 600;
      color: #fff;
      margin-bottom: 8px;
    }
    .form-header p {
      font-size: 14px;
      color: rgba(255,255,255,0.4);
    }

    .input-group {
      margin-bottom: 24px;
      position: relative;
    }
    .input-group label {
      display: block;
      font-size: 13px;
      font-weight: 500;
      color: rgba(255,255,255,0.6);
      margin-bottom: 8px;
      transition: color 0.2s;
    }
    .input-group.focused label {
      color: #3b82f6;
    }
    .input-wrapper {
      position: relative;
    }
    .input-wrapper i {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: rgba(255,255,255,0.3);
      font-size: 14px;
      transition: color 0.2s;
    }
    .input-group.focused .input-wrapper i {
      color: #3b82f6;
    }
    .input-wrapper input {
      width: 100%;
      height: 48px;
      padding: 0 14px 0 42px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 12px;
      font-size: 14px;
      color: #fff;
      outline: none;
      transition: all 0.3s;
    }
    .input-wrapper input::placeholder {
      color: rgba(255,255,255,0.25);
    }
    .input-wrapper input:focus {
      background: rgba(255,255,255,0.08);
      border-color: #3b82f6;
      box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
    }
    .input-wrapper input.has-icon-right {
      padding-right: 110px;
    }

    .input-error {
      color: #f87171;
      font-size: 12px;
      margin-top: 6px;
      display: none;
      align-items: center;
      gap: 4px;
    }
    .input-error i {
      font-size: 12px;
    }

    .code-row {
      display: flex;
      gap: 10px;
    }
    .code-row .input-wrapper {
      flex: 1;
    }
    .code-row .input-wrapper input {
      padding-right: 14px;
    }
    .code-btn {
      width: 120px;
      height: 48px;
      background: linear-gradient(135deg, #3b82f6, #2563eb);
      color: #fff;
      border: none;
      border-radius: 12px;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s;
      white-space: nowrap;
      box-shadow: 0 4px 12px rgba(59,130,246,0.25);
    }
    .code-btn:hover:not(:disabled) {
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(59,130,246,0.35);
    }
    .code-btn:disabled {
      background: rgba(255,255,255,0.08);
      color: rgba(255,255,255,0.3);
      box-shadow: none;
      cursor: not-allowed;
    }

    .submit-btn {
      width: 100%;
      height: 52px;
      background: linear-gradient(135deg, #3b82f6, #10b981);
      color: #fff;
      border: none;
      border-radius: 12px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
      margin-top: 12px;
      box-shadow: 0 8px 20px rgba(59,130,246,0.3);
      position: relative;
      overflow: hidden;
    }
    .submit-btn::before {
      content: '';
      position: absolute;
      top: 0; left: -100%;
      width: 100%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      transition: left 0.5s;
    }
    .submit-btn:hover:not(:disabled)::before {
      left: 100%;
    }
    .submit-btn:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(59,130,246,0.4);
    }
    .submit-btn:disabled {
      background: rgba(255,255,255,0.08);
      color: rgba(255,255,255,0.3);
      box-shadow: none;
      cursor: not-allowed;
    }

    .form-footer {
      margin-top: 28px;
      text-align: center;
    }
    .form-footer p {
      font-size: 12px;
      color: rgba(255,255,255,0.3);
      line-height: 1.8;
    }
    .form-footer a {
      color: #3b82f6;
      text-decoration: none;
    }

    /* 分隔线装饰 */
    .divider {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: 24px 0;
    }
    .divider-line {
      flex: 1;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    }
    .divider-text {
      font-size: 12px;
      color: rgba(255,255,255,0.3);
    }

    /* 响应式 */
    @media (max-width: 768px) {
      .login-card {
        flex-direction: column;
        width: 100%;
      }
      .login-brand {
        padding: 40px 30px;
        text-align: center;
      }
      .brand-icon {
        margin: 0 auto 24px;
      }
      .brand-stats {
        justify-content: center;
      }
      .login-form-area {
        width: 100%;
        padding: 40px 30px;
      }
      .orb {
        display: none;
      }
    }


/* ==================== 右上角 Toast 通知 ==================== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.08);
  min-width: 300px;
  max-width: 380px;
  transform: translateX(140%);
  opacity: 0;
  transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-left: 4px solid;
  position: relative;
  overflow: hidden;
}

.toast-item.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-item.success { border-left-color: #52c41a; }
.toast-item.error   { border-left-color: #ff4d4f; }
.toast-item.warning { border-left-color: #faad14; }
.toast-item.info    { border-left-color: #1890ff; }

.toast-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.toast-item.success .toast-icon { background: #f6ffed; color: #52c41a; }
.toast-item.error   .toast-icon { background: #fff2f0; color: #ff4d4f; }
.toast-item.warning .toast-icon { background: #fffbe6; color: #faad14; }
.toast-item.info    .toast-icon { background: #e6f4ff; color: #1890ff; }

.toast-content { flex: 1; min-width: 0; }
.toast-title {
  font-size: 15px;
  font-weight: 600;
  color: #262626;
  line-height: 1.4;
}
.toast-desc {
  font-size: 13px;
  color: #8c8c8c;
  margin-top: 3px;
  line-height: 1.4;
}

.toast-close {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #bfbfbf;
  font-size: 11px;
  transition: all 0.2s;
  flex-shrink: 0;
  margin-left: 4px;
}
.toast-close:hover {
  background: #f5f5f5;
  color: #595959;
}

/* 底部进度条 */
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 0 0 0 12px;
  width: 100%;
}
.toast-item.success .toast-progress { background: #52c41a; }
.toast-item.error   .toast-progress { background: #ff4d4f; }
.toast-item.warning .toast-progress { background: #faad14; }
.toast-item.info    .toast-progress { background: #1890ff; }

/* 移动端适配 */
@media (max-width: 768px) {
  .toast-container {
    top: 12px;
    right: 12px;
    left: 12px;
    align-items: stretch;
  }
  .toast-item {
    min-width: auto;
    max-width: none;
  }
}
