* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(700px 460px at 50% 35%, rgba(37, 99, 235, 0.06), transparent 70%),
    #f3f5f9;
  color: #0f172a;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

.login-shell {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(400px, 100%);
  padding: 28px 28px 22px;
  border: 1px solid #e3e8f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid #edf0f5;
}

.login-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  background: #334155;
  position: relative;
}

.login-mark::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 21px;
  width: 20px;
  height: 13px;
  border-radius: 3px;
  background: #e2e8f0;
}

.login-mark::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 13px;
  width: 14px;
  height: 12px;
  border: 3px solid #e2e8f0;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  box-sizing: border-box;
}

.login-brand b {
  display: block;
  font-size: 12px;
  letter-spacing: 0.13em;
}

.login-brand span {
  display: block;
  margin-top: 2px;
  color: #94a3b8;
  font-size: 8px;
  letter-spacing: 0.12em;
}

h1 {
  margin: 22px 0 6px;
  font-size: 20px;
  font-weight: 650;
}

.login-desc {
  margin: 0 0 20px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.6;
}

label {
  display: block;
  margin-bottom: 7px;
  color: #475569;
  font-size: 10px;
  font-weight: 600;
}

input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #dbe2ec;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font-size: 14px;
  outline: none;
}

input:focus {
  border-color: #0f9f6e;
  box-shadow: 0 0 0 3px rgba(15, 159, 110, 0.1);
}

button {
  width: 100%;
  height: 42px;
  margin-top: 12px;
  border: 0;
  border-radius: 8px;
  background: #0f9f6e;
  color: #ffffff;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

button:hover {
  background: #0c8a5e;
}

button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.login-error {
  margin-top: 10px;
  color: #c62f36;
  font-size: 10.5px;
  line-height: 1.5;
}

.login-foot {
  margin: 18px 0 0;
  color: #94a3b8;
  font-size: 9px;
  line-height: 1.5;
}
