﻿:root {
  --bg-main: #eef2f9;
  --bg-accent: linear-gradient(135deg, #eff6ff 0%, #e6f4f1 100%);
  --text-main: #162038;
  --text-muted: #5b6480;
  --primary: #2e77ff;
  --success: #1fa76b;
  --warning: #e59a0f;
  --danger: #df4d55;
  --neu-light: #ffffff;
  --neu-shadow-dark: #cfd6e4;
  --neu-shadow-light: #ffffff;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.hero-bg {
  background: var(--bg-accent);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 12px 12px 24px var(--neu-shadow-dark), -10px -10px 20px var(--neu-shadow-light);
}

.neu-card {
  border: 0;
  border-radius: 20px;
  background: #edf2fa;
  box-shadow: 10px 10px 20px #cfd6e4, -8px -8px 16px #ffffff;
}

.neu-card .card-header {
  border-bottom: 0;
  background: transparent;
  color: var(--text-main);
  font-weight: 600;
}

.form-control,
.form-select {
  border-radius: 12px;
  border: 1px solid #dbe3f1;
}

.btn {
  border-radius: 12px;
  padding: 0.6rem 1rem;
  font-weight: 600;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

#qrImage {
  max-width: 220px;
  width: 100%;
  border-radius: 14px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.qr-login-tip {
  background: linear-gradient(135deg, #f5f9ff 0%, #eef8f2 100%);
  border: 1px solid #d8e7fb;
  border-radius: 14px;
  padding: 10px 12px;
}

.qr-login-title {
  font-size: 0.83rem;
  color: #47648f;
  font-weight: 700;
  margin-bottom: 4px;
}

.qr-login-text {
  font-size: 0.9rem;
  color: #2e4368;
  line-height: 1.5;
}

.log-box {
  max-height: 220px;
  overflow-y: auto;
  background: #f8faff;
  border-radius: 12px;
  border: 1px solid #dfe7f5;
  padding: 10px;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #e8efff;
  color: #3657a6;
  font-weight: 600;
  font-size: 0.86rem;
}

.hero-note {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #d7e2f7;
  border-radius: 14px;
  color: #314263;
  font-size: 0.92rem;
}

.notice-mask {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.35);
  backdrop-filter: blur(3px);
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.notice-card {
  width: min(480px, 100%);
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.22);
  padding: 18px 18px 16px;
  border-top: 4px solid #6b7b97;
  animation: notice-pop 0.18s ease-out;
}

.notice-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.notice-text {
  color: #3f4d67;
  line-height: 1.7;
  white-space: pre-wrap;
}

.notice-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}

.notice-success { border-top-color: var(--success); }
.notice-warning { border-top-color: var(--warning); }
.notice-danger { border-top-color: var(--danger); }
.notice-info { border-top-color: var(--primary); }

@keyframes notice-pop {
  from { transform: translateY(8px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

@media (max-width: 767px) {
  .hero-bg {
    border-radius: 16px;
    padding: 16px;
  }

  .notice-card {
    border-radius: 14px;
    padding: 14px;
  }
}
