/* Login */
.login-page {
  min-height: 100vh;
  background: #f6f8fc;
}

.login-page .icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr);
  min-height: 100vh;
}

.login-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 34px 48px 28px;
  color: #e8eef9;
  background:
    radial-gradient(800px 500px at 8% 5%, rgba(37, 99, 235, 0.22), transparent 60%),
    radial-gradient(700px 500px at 92% 90%, rgba(6, 182, 212, 0.1), transparent 60%),
    #07111f;
}

.visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 185, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 185, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
  pointer-events: none;
}

.visual-glow {
  position: absolute;
  top: 20%;
  left: 40%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12), transparent 68%);
  pointer-events: none;
}

.login-visual .brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  color: #f5f9ff;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(145deg, #2f7df6, #1d4ed8);
  border: 1px solid rgba(147, 197, 253, 0.35);
  border-radius: 11px;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #dceaff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.brand-text span {
  margin-top: 3px;
  color: #7f94b4;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.visual-copy {
  position: relative;
  z-index: 2;
  max-width: 540px;
  margin: auto 0;
  padding: 48px 0 34px;
}

.visual-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #7dd3fc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.visual-eyebrow .pulse-dot {
  width: 6px;
  height: 6px;
}

.visual-copy h1 {
  margin-top: 18px;
  color: #f1f7ff;
  font-size: clamp(42px, 4.4vw, 62px);
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.visual-copy > p {
  max-width: 450px;
  margin-top: 20px;
  color: #91a5c2;
  font-size: 14px;
  line-height: 1.85;
}

.visual-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.visual-points > div {
  padding: 13px;
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid rgba(148, 185, 255, 0.11);
  border-radius: 11px;
}

.visual-points > div > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 8px;
}

.visual-points .icon {
  width: 14px;
  height: 14px;
}

.visual-points strong {
  display: block;
  color: #dce8f9;
  font-size: 11.5px;
  font-weight: 650;
}

.visual-points em {
  display: block;
  margin-top: 2px;
  color: #6f84a2;
  font-size: 9.5px;
  font-style: normal;
}

.visual-card {
  position: relative;
  z-index: 2;
  width: min(100%, 460px);
  margin-bottom: 34px;
  padding: 15px;
  background: rgba(13, 26, 44, 0.72);
  border: 1px solid rgba(148, 185, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.mini-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 10px;
  color: #8ca2c0;
  border-bottom: 1px solid rgba(148, 185, 255, 0.09);
  font-size: 9.5px;
}

.mini-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #5eead4;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.mini-live i {
  width: 5px;
  height: 5px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 7px #10b981;
}

.mini-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1px solid rgba(148, 185, 255, 0.06);
}

.mini-row:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex: 0 0 auto;
}

.mini-icon .icon {
  width: 13px;
  height: 13px;
}

.mini-icon.green { color: #6ee7b7; background: rgba(16, 185, 129, 0.1); }
.mini-icon.blue { color: #93c5fd; background: rgba(59, 130, 246, 0.1); }
.mini-icon.amber { color: #fcd34d; background: rgba(245, 158, 11, 0.1); }

.mini-row > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.4;
}

.mini-row strong {
  color: #c7d7ec;
  font-size: 10.5px;
  font-weight: 600;
}

.mini-row em {
  overflow: hidden;
  color: #657b99;
  font-family: var(--mono);
  font-size: 8.5px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-time {
  margin-left: auto;
  color: #5c7291;
  font-size: 8.5px;
  white-space: nowrap;
}

.visual-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #526783;
  font-size: 9.5px;
}

.visual-foot > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.visual-foot .pulse-dot {
  width: 5px;
  height: 5px;
}

/* Form panel */
.login-main {
  display: grid;
  place-items: center;
  padding: 40px;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(37, 99, 235, 0.045), transparent 60%),
    #f6f8fc;
}

.login-panel {
  width: min(100%, 390px);
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 52px;
  color: #7b8799;
  font-size: 11.5px;
  font-weight: 550;
}

.back-home:hover {
  color: #1d4ed8;
}

.back-home .icon {
  width: 14px;
  height: 14px;
}

.login-kicker {
  color: #2563eb;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.19em;
}

.login-head h1 {
  margin-top: 8px;
  color: #0b1424;
  font-size: 34px;
  font-weight: 780;
  letter-spacing: -0.05em;
}

.login-head p {
  margin-top: 8px;
  color: #7b8799;
  font-size: 13px;
}

.login-error {
  margin-top: 22px;
}

.login-form {
  margin-top: 28px;
}

.login-form .field + .field {
  margin-top: 17px;
}

.login-form .field label {
  margin-bottom: 1px;
  font-size: 12px;
}

.login-input {
  position: relative;
}

.login-input > .icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 13px;
  width: 17px;
  height: 17px;
  color: #98a2b3;
  transform: translateY(-50%);
  pointer-events: none;
}

.login-input .input {
  min-height: 48px;
  padding-left: 39px;
  padding-right: 44px;
  background: #fff;
  border-color: #dbe2ee;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.02);
}

.login-input .input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #98a2b3;
  background: transparent;
  border: 0;
  border-radius: 7px;
  transform: translateY(-50%);
}

.password-toggle:hover {
  color: #334155;
  background: #f3f6fa;
}

.password-toggle .icon {
  width: 16px;
  height: 16px;
}

.login-submit {
  min-height: 49px;
  margin-top: 24px;
  border-radius: 10px;
  font-size: 14px;
}

.login-hint {
  display: flex;
  gap: 11px;
  margin-top: 24px;
  padding: 13px;
  background: #fffaf0;
  border: 1px solid #f4dfb4;
  border-radius: 10px;
}

.hint-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #b45309;
  background: #fff2d8;
  border-radius: 8px;
  flex: 0 0 auto;
}

.hint-icon .icon {
  width: 14px;
  height: 14px;
}

.login-hint strong {
  display: block;
  color: #86510b;
  font-size: 11.5px;
  font-weight: 680;
}

.login-hint p {
  margin-top: 2px;
  color: #9a6b23;
  font-size: 10.5px;
  line-height: 1.6;
}

.login-hint code {
  padding: 1px 4px;
  color: #7c4305;
  background: rgba(180, 83, 9, 0.09);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 0.95em;
}

.login-security {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 26px;
  padding-top: 18px;
  color: #98a2b3;
  border-top: 1px solid #e7ebf3;
  font-size: 9.5px;
  line-height: 1.6;
}

.login-security .icon {
  width: 13px;
  height: 13px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.login-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  color: #a4adbd;
  font-size: 9.5px;
}

.login-footer a {
  color: #8b95a7;
}

.login-footer a:hover {
  color: #1d4ed8;
}

@media (max-width: 1060px) {
  .login-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  }

  .login-visual {
    padding: 30px 34px 24px;
  }

  .visual-copy h1 {
    font-size: 40px;
  }

  .visual-points {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .visual-points > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
  }

  .visual-points > div > span {
    margin-bottom: 0;
  }

  .visual-card {
    display: none;
  }
}

@media (max-width: 820px) {
  .login-shell {
    display: block;
  }

  .login-visual {
    display: block;
    padding: 20px 24px;
    border-radius: 0 0 20px 20px;
  }

  .login-visual .brand {
    margin: 0 auto;
  }

  .visual-copy,
  .visual-foot,
  .visual-points {
    display: none;
  }

  .login-main {
    min-height: calc(100vh - 78px);
    padding: 34px 24px;
    place-items: start center;
  }

  .login-panel {
    width: min(100%, 410px);
  }

  .back-home {
    display: none;
  }

  .login-head h1 {
    font-size: 30px;
  }
}

/* KT验证系统 品牌头像（用户提供的 logo） */
.brand-mark {
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
