/* ========================================
   登录页样式
   ======================================== */

.auth-container {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 20px;
}

.auth-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(29,185,166,0.15);
  padding: 40px 28px 32px;
  text-align: center;
  width: 100%; max-width: 360px;
}

.auth-logo {
  font-size: 56px; margin-bottom: 12px;
}

.auth-title {
  font-size: 20px; font-weight: 600;
  color: #2D3A3A; margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 13px; color: #98A8A8;
  margin-bottom: 28px;
}

/* 微信/手机号分隔线 */
.auth-divider {
  display: flex; align-items: center;
  margin: 16px 0; color: var(--text-muted); font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: #e0e0e0;
}
.auth-divider span { padding: 0 12px; }

/* 头像（已登录） */
.auth-avatar {
  width: 72px; height: 72px;
  border-radius: 50%; background: var(--primary-light);
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; overflow: hidden;
}
.auth-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* 按钮 */
.auth-btn {
  display: block; width: 100%;
  padding: 13px 0; border-radius: 24px;
  font-size: 15px; font-weight: 500;
  transition: opacity 0.2s;
}
.auth-btn:active { opacity: 0.8; }
.auth-btn + .auth-btn { margin-top: 12px; }

.auth-btn-wx {
  background: linear-gradient(135deg, #07C160, #06AD56);
  color: #fff;
}
.auth-btn-phone {
  background: var(--primary); color: #fff;
}
.auth-btn-primary {
  background: var(--primary); color: #fff;
}
.auth-btn-ghost {
  background: var(--primary-light); color: var(--primary-dark);
}
.auth-btn-outline {
  background: transparent; color: var(--text-muted);
  border: 1px solid #e0e0e0;
}

/* 手机号输入 */
.auth-phone-form { margin-bottom: 8px; }

.auth-input {
  width: 100%; padding: 12px 16px;
  border: 1px solid #e0e0e0; border-radius: 12px;
  font-size: 15px; text-align: center;
  margin-bottom: 12px; background: #fafafa;
}
.auth-input:focus { border-color: var(--primary); background: #fff; }

/* 协议提示 */
.auth-tip {
  font-size: 11px; color: var(--text-muted);
  margin-top: 20px; line-height: 1.6;
}
