/* 登录页 — 交易所风格 */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --ex-bg: #0b0e11;
  --ex-surface: #1e2329;
  --ex-border: #2b3139;
  --ex-text: #eaecef;
  --ex-muted: #848e9c;
  --ex-accent: #f0b90b;
  --ex-font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
}

* { box-sizing: border-box; }

html, body.auth-page {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--ex-bg);
  color: var(--ex-text);
  font-family: var(--ex-font);
  -webkit-font-smoothing: antialiased;
}

body.auth-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 45vh;
  background: radial-gradient(ellipse at 50% 0%, rgba(240,185,11,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.auth-page .head {
  position: relative;
  z-index: 1;
  background: var(--ex-bg);
  width: 100%;
  height: 48px;
  line-height: 48px;
  border-bottom: 1px solid var(--ex-border);
  color: var(--ex-text);
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.auth-page .head > div {
  position: absolute;
  right: 16px;
  top: 0;
  height: 48px;
  display: flex;
  align-items: center;
}

.auth-page .head img {
  width: 22px;
  border-radius: 3px;
}

.auth-page .logo {
  position: relative;
  z-index: 1;
  width: 80px;
  margin: 56px auto 32px;
  display: block;
  border-radius: 18px;
  border: 2px solid var(--ex-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.auth-page .login {
  position: relative;
  z-index: 1;
  width: 88%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  height: 52px;
  background: var(--ex-surface);
  border: 1px solid var(--ex-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: border-color 0.2s;
}

.auth-page .login:focus-within {
  border-color: rgba(240, 185, 11, 0.5);
}

.auth-page .title {
  width: 72px;
  flex-shrink: 0;
  text-align: center;
  font-size: 13px;
  color: var(--ex-muted);
  font-weight: 500;
  border-right: 1px solid var(--ex-border);
  height: 100%;
  line-height: 52px;
}

.auth-page .ipu {
  flex: 1;
  height: 52px;
  padding: 0 14px;
  font-size: 15px;
  background: transparent;
  color: var(--ex-text);
  border: none;
}

.auth-page .ipu::placeholder { color: #5e6673; }

.auth-page input:focus { outline: none; }

.auth-page .submit {
  position: relative;
  z-index: 1;
  display: block;
  width: 88%;
  max-width: 400px;
  margin: 28px auto 0;
  height: 48px;
  line-height: 48px;
  background: linear-gradient(180deg, #f0b90b 0%, #d9a507 100%);
  color: #0b0e11;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(240, 185, 11, 0.3);
}

.auth-page .submit:active {
  transform: scale(0.98);
  opacity: 0.95;
}

.auth-page .foot {
  position: relative;
  z-index: 1;
  width: 88%;
  max-width: 400px;
  margin: 20px auto;
  text-align: center;
}

.auth-page .foot a,
.auth-page .foot span {
  color: var(--ex-accent);
  font-size: 14px;
  text-decoration: none;
}
