/* login-fullscreen.css — 全屏登录页Showcase+品牌标识+轮播+表单面板+响应式 */
/* ================================================================
 * 全屏登录页 — Showcase + 登录一体化设计
 * ================================================================ */

.login-fullscreen {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: stretch;
}

.login-split-layout {
  display: flex;
  width: 100%;
  min-height: calc(100vh - 80px);
  gap: 0;
}

/* --- 左侧 Showcase 面板 --- */
.login-showcase-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.04) 0%, rgba(162, 155, 254, 0.02) 50%, rgba(253, 121, 168, 0.03) 100%);
  position: relative;
  overflow: hidden;
}

.login-showcase-panel::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.login-showcase-panel::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(253, 121, 168, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* --- 品牌标识 --- */
.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.login-brand-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 8px rgba(108, 92, 231, 0.2));
}

.login-brand-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 3px;
}

.login-brand-subtitle {
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  margin-top: -1px;
}

/* --- 大标语 --- */
.login-hero-text {
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.login-hero-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 12px;
}

.login-hero-highlight {
  background: linear-gradient(135deg, var(--accent), #FD79A8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-hero-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 380px;
}

/* --- Showcase 轮播 --- */
.login-showcase-carousel {
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.login-showcase-track {
  position: relative;
  min-height: 100px;
}

.login-showcase-card {
  display: none;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(108, 92, 231, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  animation: loginShowcaseFadeIn 0.5s ease-out;
}

.login-showcase-card.active {
  display: flex;
}

@keyframes loginShowcaseFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-showcase-card-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 0 20px rgba(108, 92, 231, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-showcase-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}

.login-showcase-card:hover .login-showcase-card-icon {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2), 0 0 30px rgba(108, 92, 231, 0.15);
}

.login-showcase-card-body {
  flex: 1;
  min-width: 0;
}

.login-showcase-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Noto Serif SC', serif;
}

.login-showcase-card-subtitle {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 2px;
}

.login-showcase-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 6px;
}

.login-showcase-dots {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.login-showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.15);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.login-showcase-dot.active {
  width: 24px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

/* --- 社交证明 --- */
.login-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.login-proof-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.login-proof-item i {
  color: var(--accent);
  font-size: 14px;
}

.login-proof-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

.login-proof-divider {
  width: 1px;
  height: 16px;
  background: rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

/* --- 右侧表单面板 --- */
.login-form-panel {
  flex: 0 0 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.login-form-wrapper {
  width: 100%;
  max-width: 360px;
}

/* 移动端品牌（桌面隐藏） */
.login-mobile-brand {
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  justify-content: center;
}

.login-mobile-brand-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- 表单标题 --- */
.login-form-header {
  margin-bottom: 24px;
}

.login-form-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.login-form-desc {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* --- Tab 切换条 --- */
.login-tab-bar {
  display: flex;
  position: relative;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  padding: 3px;
  margin-bottom: 24px;
}

.login-tab {
  flex: 1;
  padding: 10px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-tertiary);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.login-tab.active {
  color: var(--accent);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.login-tab:not(.active):hover {
  color: var(--text-secondary);
}

/* --- 表单输入 --- */
.login-form-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.login-input-group {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(0, 0, 0, 0.02);
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 0 14px;
  transition: all 0.3s ease;
}

.login-input-group:focus-within {
  border-color: var(--accent);
  background: rgba(108, 92, 231, 0.02);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.06);
}

.login-input-group > i {
  font-size: 16px;
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: color 0.3s;
}

.login-input-group:focus-within > i {
  color: var(--accent);
}

.login-input-group input {
  flex: 1;
  padding: 12px 10px;
  font-size: 14px;
  color: var(--text-primary);
  background: transparent;
  border: none;
  outline: none;
  min-width: 0;
}

.login-input-group input::placeholder {
  color: var(--text-tertiary);
}

.login-eye-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-tertiary);
  font-size: 16px;
  transition: color 0.2s;
}

.login-eye-btn:hover {
  color: var(--text-secondary);
}

/* --- 错误提示 --- */
.login-error {
  font-size: 13px;
  color: #ef4444;
  text-align: center;
  padding: 8px 12px;
  background: rgba(239, 68, 68, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(239, 68, 68, 0.1);
}

/* --- 提交按钮 --- */
.login-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.25);
  margin-top: 4px;
}

.login-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(108, 92, 231, 0.35);
}

.login-submit-btn:active {
  transform: translateY(0) scale(0.99);
}

.login-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.15);
}

.login-submit-btn i {
  font-size: 16px;
  transition: transform 0.3s;
}

.login-submit-btn:hover i {
  transform: translateX(3px);
}

/* --- 忘记密码/切换链接 --- */
.login-forgot-link {
  text-align: center;
  margin-top: 12px;
}

.login-forgot-link a {
  font-size: 12px;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.login-forgot-link a:hover {
  color: var(--accent);
}

.login-switch-text {
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 16px;
}

.login-switch-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.login-switch-link:hover {
  opacity: 0.8;
}

/* --- 找回密码 wrapper --- */
.login-forgot-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(100vh - 80px);
  padding: 40px 20px;
}

/* --- 响应式：移动端 --- */
@media (max-width: 768px) {
  .login-split-layout {
    flex-direction: column;
    min-height: auto;
  }

  .login-showcase-panel {
    display: none; /* 移动端隐藏Showcase，通过简化品牌展示 */
  }

  .login-form-panel {
    flex: 1;
    padding: 32px 20px;
  }

  .login-form-wrapper {
    max-width: 100%;
  }

  .login-mobile-brand {
    display: flex;
  }

  .login-fullscreen {
    min-height: calc(100vh - 140px);
  }
}

@media (max-width: 640px) {
  .login-form-panel {
    padding: 24px 16px;
  }

  .login-form-title {
    font-size: 20px;
    text-align: center;
  }

  .login-form-desc {
    text-align: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .login-showcase-panel {
    padding: 32px 28px;
  }

  .login-form-panel {
    flex: 0 0 380px;
    padding: 32px 24px;
  }

  .login-hero-title {
    font-size: 26px;
  }
}

