/* ==========================================================================
   anim-tools-auth.css · 登录门卡片（Slice 2）
   --------------------------------------------------------------------------
   强制登录：未登录时全屏盖住应用（z-index 顶过 canvas 9001 / lightbox 9999）。
   冷米底 + 玫瑰豆沙主色 + 细线，Claude.ai 风格，零 emoji。
   ========================================================================== */

.aat-auth-gate {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(245, 246, 248, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* 登录门开着时禁止背后滚动 */
body.aat-auth-locked { overflow: hidden; }

.aat-auth-card {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  border: 1px solid var(--line, rgba(139, 157, 175, 0.14));
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(17, 24, 39, 0.08);
  padding: 32px 28px 24px;
  box-sizing: border-box;
}

/* ── 品牌头 ── */
.aat-auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 18px 0 30px;          /* 去掉标题/副标后，logo 下移 + 放大居中 */
}
.aat-auth-brand img {
  width: 100%;
  max-width: 240px;   /* 宽幅 wordmark 不超过下方 pill / 表单的左右边距 */
  height: auto;
  opacity: 0.95;
}
.aat-auth-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text, #111827);
  letter-spacing: 0.2px;
}
.aat-auth-sub {
  font-size: 12.5px;
  color: var(--text-3, #6b7280);
}

/* ── tab 切换 ── */
.aat-auth-tabs {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: var(--bg, #f5f6f8);
  border-radius: 10px;
  margin-bottom: 18px;
}
.aat-auth-tab {
  flex: 1;
  appearance: none;
  border: none;
  background: transparent;
  border-radius: 8px;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--text-3, #6b7280);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.aat-auth-tab:hover { color: var(--text, #111827); }
.aat-auth-tab.is-active {
  background: #ffffff;
  color: var(--text, #111827);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
}

/* ── 表单 ── */
.aat-auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aat-auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.aat-auth-field > span {
  font-size: 12px;
  color: var(--text-2, #4b5563);
  font-weight: 500;
}
.aat-auth-field input {
  appearance: none;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line-strong, #e5e7eb);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text, #111827);
  background: #ffffff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.aat-auth-field input::placeholder { color: var(--text-mute, #9aa4af); }
.aat-auth-field input:focus {
  outline: none;
  border-color: #E60012;                       /* UTEN logo 红 */
  box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.12);
}

.aat-auth-error {
  min-height: 16px;
  font-size: 12px;
  color: var(--atb-coral-d, #8A4E45);
  line-height: 1.4;
}

.aat-auth-submit {
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: 11px 0;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: #E60012;                          /* UTEN logo 红（替换原豆沙红） */
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.aat-auth-submit:hover { background: #C40010; }
.aat-auth-submit:disabled { opacity: 0.6; cursor: default; }

.aat-auth-foot {
  margin-top: 16px;
  text-align: center;
  font-size: 11.5px;
  color: var(--text-mute, #9aa4af);
}
