/* ========== Yoote 登录页 v6 ========== */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #F5F7FA;
  overflow-x: hidden;
}

#loginPage {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  background: #F5F7FA;
  margin: 0;
  padding: 0;
}

/* 顶部 Logo */
.login-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 32px;
  background: #F5F7FA;
}



/* 主体 */
.login-main {
  display: flex;
  flex: 1;
  gap: 32px;
  padding: 0 60px 60px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  align-items: flex-start;
  box-sizing: border-box;
}

/* 左侧卡片 */
.login-card {
  width: 420px;
  flex-shrink: 0;
  background: #FFFFFF;
  border: 1px solid #E8E8E8;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.login-card h2 {
  font-size: 24px;
  font-weight: 600;
  color: #16191F;
  margin: 0 0 8px 0;
}

.login-card .subtitle {
  font-size: 13px;
  color: #687078;
  margin: 0 0 28px 0;
}

.login-err {
  color: #D13212;
  font-size: 13px;
  background: #FFF1F0;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #FFCCC7;
  margin-bottom: 16px;
  display: none;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: #16191F;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #D5DBDB;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s;
  background: #FFFFFF;
  color: #16191F;
  box-sizing: border-box;
}

.form-group input::placeholder {
  color: #AAB7B8;
}

.form-group input:focus {
  border-color: #1890FF;
  box-shadow: 0 0 0 3px rgba(24,144,255,0.12);
  outline: none;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background: #1890FF;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 12px;
}

.login-btn:hover {
  background: #40A9FF;
  box-shadow: 0 4px 12px rgba(24,144,255,0.25);
}

.login-btn:active {
  background: #096DD9;
}

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

/* 右侧展示区 */
.login-showcase {
  flex: 1;
  min-width: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #0A2540 0%, #1890FF 100%);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.login-showcase::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  top: -200px;
  right: -200px;
  border-radius: 50%;
  pointer-events: none;
}

.login-showcase h3 {
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 10px 0;
  position: relative;
  z-index: 1;
}

.login-showcase .tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin: 0 0 36px 0;
  position: relative;
  z-index: 1;
}

/* 品牌列表 */
.news-section {
  position: relative;
  z-index: 1;
}

.news-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-item {
  display: flex;
  align-items: flex-start;
  padding: 12px 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  border-left: 3px solid rgba(77, 208, 225, 0.6);
  transition: all 0.2s;
}

.news-item:hover {
  background: rgba(255,255,255,0.14);
}

.news-icon {
  font-size: 18px;
  margin-right: 12px;
  flex-shrink: 0;
}

.news-text {
  flex: 1;
}

.news-headline {
  font-size: 13px;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.4;
  margin-bottom: 3px;
}

.news-meta {
  font-size: 11.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

/* 底部 */
.login-footer-bar {
  text-align: center;
  padding: 16px;
  font-size: 12px;
  color: #AAB7B8;
  background: #F5F7FA;
}

@media (max-width: 900px) {
  .login-main {
    flex-direction: column;
    padding: 0 20px 40px;
  }
  .login-card {
    width: 100%;
  }
  .login-showcase {
    display: none;
  }
}


/* logo 尺寸最终版 */
.login-header img {
  height: 60px !important;
  width: auto !important;
  max-width: 400px !important;
  max-height: 60px !important;
}

/* ===== 优化 v1：按钮渐变 ===== */
.login-btn {
  background: linear-gradient(135deg, #1890FF 0%, #40A9FF 100%);
  box-shadow: 0 4px 12px rgba(24,144,255,0.25);
}

.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(24,144,255,0.35);
}

/* ===== 优化 v2：输入框 ===== */
.form-group input {
  border: 1.5px solid #D5DBDB;
  background: #FAFBFC;
}

.form-group input:focus {
  border-color: #1890FF;
  background: #FFFFFF;
}

/* ===== 展示区装饰：右下角云朵 ===== */
.showcase-cloud {
  position: absolute;
  bottom: -20px;
  right: -40px;
  width: 320px;
  height: 180px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

/* 保证内容在云朵之上 */
.login-showcase h3,
.login-showcase .tagline,
.login-showcase .news-section {
  position: relative;
  z-index: 1;
}

/* ===== 登录按钮：渐变 + 阴影 ===== */
.login-btn {
  background: linear-gradient(135deg, #1890FF 0%, #40A9FF 100%) !important;
  box-shadow: 0 4px 12px rgba(24,144,255,0.25) !important;
  transition: all 0.2s;
}

.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(24,144,255,0.35) !important;
}

/* ===== 输入框：边框加深 ===== */
.form-group input {
  border: 1.5px solid #D5DBDB !important;
  background: #FAFBFC !important;
}

.form-group input:focus {
  border-color: #1890FF !important;
  background: #FFFFFF !important;
  box-shadow: 0 0 0 3px rgba(24,144,255,0.12) !important;
}
