/* ===================== 入口页 ===================== */
.entry-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 45%, #0ea5e9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.entry-wrap { width: 100%; max-width: 1000px; text-align: center; }

.entry-brand { color: #fff; margin-bottom: 44px; }
.entry-logo {
  width: 66px; height: 66px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .3);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700; color: #fff;
  backdrop-filter: blur(6px);
}
.entry-brand h1 { font-size: 30px; font-weight: 700; letter-spacing: 2px; }
.entry-brand p { margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .7); letter-spacing: 3px; text-transform: uppercase; }

.entry-title { color: rgba(255, 255, 255, .92); font-size: 17px; font-weight: 500; margin-bottom: 26px; }

.entry-cards { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }

.entry-card {
  flex: 1 1 300px;
  max-width: 380px;
  padding: 38px 30px 30px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 45px rgba(2, 20, 60, .25);
  transition: .28s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.entry-card:hover { transform: translateY(-8px); box-shadow: 0 26px 55px rgba(2, 20, 60, .35); }

.entry-card-icon {
  width: 88px; height: 88px;
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  background: var(--primary-light);
  color: var(--primary);
}
.entry-card:nth-child(2) .entry-card-icon { background: #ecfdf5; color: var(--success); }

.entry-card h3 { font-size: 21px; margin-bottom: 10px; color: var(--text); }
.entry-card p { font-size: 13px; color: var(--text-2); line-height: 1.7; margin-bottom: 22px; }

.entry-btn {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  transition: .2s;
}
.entry-card:hover .entry-btn { background: var(--primary-dark); }
.entry-card:nth-child(2) .entry-btn { background: var(--success); }
.entry-card:nth-child(2):hover .entry-btn { background: #15803d; }

.entry-foot { margin-top: 40px; color: rgba(255, 255, 255, .55); font-size: 12px; }

/* ===================== 登录页 ===================== */
.login-body { min-height: 100vh; background: #eef2f7; display: flex; align-items: center; justify-content: center; padding: 20px; }

.login-panel {
  width: 100%;
  max-width: 940px;
  min-height: 540px;
  display: flex;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 60px rgba(2, 20, 60, .18);
}

.login-left {
  flex: 1 1 46%;
  padding: 52px 42px;
  background: linear-gradient(150deg, #1e3a8a, #2563eb 55%, #0ea5e9);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-logo {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .28);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700;
  margin-bottom: 22px;
}
.login-left h1 { font-size: 25px; letter-spacing: 1px; margin-bottom: 12px; }
.login-slogan { font-size: 13px; color: rgba(255, 255, 255, .78); line-height: 1.8; margin-bottom: 30px; }
.login-points li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
  line-height: 2.2;
}
.login-points li::before {
  content: '';
  position: absolute; left: 0; top: 13px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #7dd3fc;
}

.login-right { flex: 1 1 54%; display: flex; align-items: center; justify-content: center; padding: 40px 34px; }
.login-box { width: 100%; max-width: 340px; }
.login-box h2 { font-size: 22px; margin-bottom: 8px; }
.login-sub { font-size: 13px; color: var(--text-2); margin-bottom: 28px; }

.login-field { margin-bottom: 18px; }
.login-field label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 7px; }
.login-field input {
  width: 100%; height: 44px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: .18s;
}
.login-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, .1); }

.login-row { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 20px; }
.login-check { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.login-check input { accent-color: var(--primary); }
.login-mode {
  font-size: 12px; padding: 2px 10px; border-radius: 20px;
  background: var(--primary-light); color: var(--primary);
}

.login-tip { margin-top: 16px; text-align: center; font-size: 12px; color: var(--text-3); }
.login-back { margin-top: 22px; text-align: center; font-size: 13px; }
.login-back a { color: var(--primary); }
.login-back a:hover { text-decoration: underline; }

/* ===================== 响应式 ===================== */
@media (max-width: 860px) {
  .login-panel { flex-direction: column; min-height: auto; }
  .login-left { padding: 34px 26px; }
  .login-points { display: none; }
  .login-slogan { margin-bottom: 0; }
  .login-right { padding: 30px 24px 36px; }
  .entry-brand h1 { font-size: 23px; }
  .entry-card { flex: 1 1 100%; max-width: 100%; }
}
