* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", -apple-system, sans-serif;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.login-wrap { width: 420px; }
.brand { text-align: center; margin-bottom: 28px; }
.brand h1 { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.brand p  { font-size: 13px; opacity: 0.8; letter-spacing: 0.5px; }

.card {
  background: #fff; color: #333;
  border-radius: 14px; padding: 28px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
}
.role-tabs { display: flex; margin-bottom: 22px; border-bottom: 1px solid #eaeaea; }
.role-tab {
  flex: 1; padding: 12px 0;
  background: none; border: none; cursor: pointer;
  font-size: 15px; color: #888;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.role-tab.active { color: #2a5298; border-bottom-color: #2a5298; font-weight: 600; }

label { display: block; font-size: 13px; color: #555; margin: 14px 0 6px; }
input[type=text], input[type=password] {
  width: 100%; padding: 11px 12px;
  border: 1px solid #ddd; border-radius: 8px;
  font-size: 14px;
  transition: border 0.15s;
}
input:focus { border-color: #2a5298; outline: none; }

.primary {
  margin-top: 22px; width: 100%; padding: 12px;
  background: #2a5298; color: #fff;
  border: none; border-radius: 8px;
  font-size: 15px; cursor: pointer;
  transition: background 0.15s;
}
.primary:hover { background: #1e3c72; }

.hint { color: #d33; font-size: 13px; margin-top: 12px; min-height: 18px; text-align: center; }
.footer { text-align: center; font-size: 12px; opacity: 0.7; margin-top: 18px; }
