/* re-lab L7 卡密登录页样式 */

* { box-sizing: border-box; }

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

body {
  background: #eef1f6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.card {
  width: 360px;
  background: #ffffff;
  border-radius: 10px;
  padding: 28px 26px 24px;
  box-shadow: 0 6px 24px rgba(20, 35, 60, .10),
              0 1px 3px rgba(20, 35, 60, .06);
}

h1 {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  color: #16233a;
  letter-spacing: .5px;
}

.sub {
  margin: 6px 0 18px;
  font-size: 13px;
  color: #8a94a6;
}

.notice {
  background: #fffbe8;
  border: 1px solid #ffe9a8;
  color: #96751a;
  font-size: 12.5px;
  line-height: 1.5;
  padding: 9px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.err {
  color: #e03a3a;
  font-size: 12.5px;
  height: 18px;
  line-height: 18px;
  margin-bottom: 6px;
}

.input {
  width: 100%;
  height: 42px;
  border: 1px solid #d5dbe5;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  color: #16233a;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.input::placeholder { color: #a9b2c1; }

.input:focus {
  border-color: #2b7fff;
  box-shadow: 0 0 0 3px rgba(43, 127, 255, .12);
}

.row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 18px;
  font-size: 13px;
  color: #3d4a5c;
  cursor: pointer;
  user-select: none;
}

.row input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #16233a;
  cursor: pointer;
}

.btn {
  display: block;
  width: 100%;
  height: 42px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s, opacity .15s;
}

.btn:active { transform: translateY(1px); }

.btn-outline {
  background: #ffffff;
  border: 1px solid #d5dbe5;
  color: #16233a;
}

.btn-outline:hover { border-color: #b6c0cf; background: #fafbfd; }

.btn-primary {
  margin-top: 10px;
  background: #16233a;
  border: 1px solid #16233a;
  color: #ffffff;
}

.btn-primary:hover { background: #223354; }

.btn[disabled] { opacity: .55; cursor: not-allowed; }

.panel {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #3d4a5c;
  white-space: pre-wrap;
  word-break: break-all;
}

.panel:empty { display: none; }

.panel.ok {
  background: #f0f9f2;
  border: 1px solid #c6e6cf;
  color: #21633a;
  border-radius: 6px;
  padding: 10px 12px;
}
