/* ============================================================
   实名认证聚合平台 - 前台实名入口页
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --page-from: #eef2ff;
  --page-to: #f8fafc;
  --card-bg: #ffffff;
  --text: #182230;
  --text-dim: #6b778c;
  --input-bg: #f7f8fc;
  --input-border: #e3e7ef;
  --input-focus: #6e5bff;
  --btn-from: #6e5bff;
  --btn-to: #8b7bff;
  --danger: #e5484d;
  --success: #12a150;
}

body {
  min-height: 100vh;
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(820px 460px at 14% 6%, rgba(110, 91, 255, 0.14), transparent 62%),
    radial-gradient(700px 440px at 86% 92%, rgba(245, 38, 106, 0.11), transparent 64%),
    linear-gradient(150deg, var(--page-from), var(--page-to));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.entry-page {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.entry-card {
  width: 100%;
  padding: 34px 30px 24px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid #e7eaf2;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.1);
}

/* ---------- 头部 ---------- */

.entry-head {
  text-align: center;
  margin-bottom: 22px;
}

.entry-head h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.entry-head p {
  margin-top: 7px;
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ---------- 表单 ---------- */

.entry-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.entry-label {
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
}

.entry-input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.entry-input {
  text-align: center;
  letter-spacing: 10px;
  font-weight: 700;
  padding-left: 10px;
}

.entry-input::placeholder {
  letter-spacing: 10px;
  color: #b6bdca;
  font-weight: 400;
}

.entry-input:focus {
  border-color: var(--input-focus);
  box-shadow: 0 0 0 3px rgba(110, 91, 255, 0.13);
  background: #fff;
}

/* ---------- 系统选择卡片 ---------- */

.brand-entries {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.brand-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--input-border);
  border-radius: 12px;
  background: #fbfcfe;
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.16s ease, box-shadow 0.2s ease;
}

.brand-entry:hover {
  border-color: #cfd6e4;
  background: #fff;
  transform: translateY(-1px);
}

.brand-entry.is-on {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(110, 91, 255, 0.11);
}

.brand-entry.is-on.dmsh {
  border-color: rgba(245, 38, 106, 0.7);
  box-shadow: 0 0 0 3px rgba(245, 38, 106, 0.13);
}

.brand-entry.is-on.pxqsh {
  border-color: rgba(110, 91, 255, 0.75);
  box-shadow: 0 0 0 3px rgba(110, 91, 255, 0.14);
}

.brand-entry.is-on.my {
  border-color: rgba(255, 102, 0, 0.75);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.14);
}

.brand-entry-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
}

.brand-entry-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-entry.dmsh .brand-entry-icon {
  background: #fff;
  box-shadow: 0 2px 8px rgba(245, 38, 106, 0.16);
}

.brand-entry.pxqsh .brand-entry-icon {
  background: #fff;
  box-shadow: 0 2px 8px rgba(110, 91, 255, 0.16);
}

.brand-entry.my .brand-entry-icon {
  background: #fff;
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.16);
}

.brand-entry-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-entry-copy strong {
  font-size: 15px;
  font-weight: 700;
}

.brand-entry-copy small {
  font-size: 11.5px;
  color: var(--text-dim);
}

.brand-entry-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #d6dbe5;
  font-size: 11px;
  color: transparent;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.brand-entry.is-on .brand-entry-check {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(120deg, #6e5bff, #8b7bff);
}

.brand-entry.dmsh.is-on .brand-entry-check {
  background: linear-gradient(120deg, #f5266a, #ff6b9d);
}

.brand-entry.my.is-on .brand-entry-check {
  background: linear-gradient(120deg, #ff8c1a, #ff6600);
}

/* ---------- 按钮 ---------- */

.entry-btn {
  margin-top: 22px;
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(100deg, var(--btn-from) 0%, var(--btn-to) 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: transform 0.18s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 12px 24px rgba(110, 91, 255, 0.24);
}

.entry-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(110, 91, 255, 0.3);
}

.entry-btn:active:not(:disabled) {
  transform: translateY(0);
  opacity: 0.92;
}

.entry-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- 提示 ---------- */

.entry-error {
  min-height: 18px;
  margin-top: 12px;
  font-size: 12.5px;
  text-align: center;
  color: var(--danger);
}

.entry-error.success {
  color: var(--success);
}

/* ---------- 底部 ---------- */

.entry-foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #eef0f5;
  text-align: center;
}

.foot-link {
  font-size: 12.5px;
  color: var(--text-dim);
  text-decoration: none;
  outline: none;
  transition: color 0.2s ease;
}

.foot-link:hover {
  color: var(--text);
}

.entry-footnote {
  margin-top: 20px;
  font-size: 11.5px;
  letter-spacing: 0.6px;
  color: #98a2b3;
  text-align: center;
}

@media (max-width: 480px) {
  .entry-card {
    padding: 26px 20px 20px;
  }
}
