:root {
    --bg-deep: #0F1115;
    --bg-panel: #161920; 
    --accent-blue: #2d96ff; 
    --input-bg: #1f232d;
    --text-main: #FFFFFF;
    --text-dim: #707785;
    --btn-secondary: #2c323f;
    --divider-color: rgba(255, 255, 255, 0.1);
    font-size: 14px;  /* 原为16px */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    font-size: 1rem;  /* 现在等于15px */
    background-color: var(--bg-deep);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    overflow: hidden;
    text-align: left;
}

.app-container {
    width: 1320px;
    height: 840px;
    background-color: var(--bg-panel);
    border-radius: 40px;
    display: flex;
    position: relative;
    box-shadow: 0 80px 160px rgba(0,0,0,0.7);
    overflow: hidden;
}

.wave-line {
    position: absolute;
    top: 0;
    left: 58%;
    height: 100%;
    width: 120px;
    z-index: 5;
    pointer-events: none;
    opacity: 0.1;
}

.content-section {
    flex: 1;
    padding: 90px 120px;
    display: flex;
    flex-direction: column;
    z-index: 10;
    align-items: flex-start;
}

.visual-section {
    flex: 1;
    padding: 0 120px;  /* 添加相同的左右padding */
    position: relative;
    background-image: url('/front-page-banner/T-LOGIN.jpg');
    background-size: cover;
    background-position: calc(100% + 125px) center; /* 向右移动200px */
}

.visual-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, 
        var(--bg-panel) 0%, 
        rgba(22, 25, 32, 0.9) 20%,
        rgba(22, 25, 32, 0.6) 50%,
        transparent 100%
    );
    z-index: 2;
}

.header {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    width: 100%;
    justify-content: flex-start;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-dot {
    width: 32px;
    height: 32px;
    background: var(--accent-blue);
    border-radius: 8px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.logo-cn {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.logo-en {
    font-weight: 600;
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 2.5px;
    margin-top: 2px;
}

.hero { 
    margin-bottom: 50px; 
    width: 100%;
    text-align: left;
}

.slogan {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-dim);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 22px;
    opacity: 0.8;
    min-height: 1rem;
}

.title {
    font-size: 3.6rem;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title span { 
    color: var(--accent-blue); 
}

.login-hint { 
    font-size: 0.95rem; 
    color: var(--text-dim); 
}

.login-hint a { 
    color: var(--accent-blue); 
    text-decoration: none; 
    font-weight: 600; 
    margin-left: 5px; 
}

.form-container {
    width: 100%;
    max-width: 440px;
    margin: 0;
}

.input-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.input-group {
    background: var(--input-bg);
    border-radius: 14px;
    padding: 12px 20px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: 0.3s;
    text-align: left;
}

.input-group:focus-within {
    border-color: var(--accent-blue);
    background: #252a36;
}

.input-group label {
    display: block;
    font-size: 0.6rem;
    color: var(--text-dim);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 4px;
}

.input-group input {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    outline: none;
    font-weight: 500;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
    align-items: flex-start;
    width: 100%;
}

.btn {
    padding: 18px 30px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.btn-primary { 
    background: var(--accent-blue); 
    color: #fff; 
    box-shadow: 0 10px 30px rgba(45,150,255,0.25); 
}

.btn:hover { 
    filter: brightness(1.2); 
    transform: translateY(-2px); 
}

.other-login-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%; 
    align-items: flex-start;
    text-align: left;
}

.methods-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    justify-content: flex-start;
}

.methods-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--divider-color);
}

.methods-divider span {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    margin: 0;
}

.social-icons {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    gap: 20px;
    margin: 0;
}

.social-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--btn-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
}

.social-btn:hover {
    transform: translateY(-3px);
    background: #363d4d;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

.social-btn svg {
    width: 28px;
    height: 28px;
}

.footer-mark {
    position: absolute;
    bottom: 50px;
    right: 60px;
    z-index: 10;
    opacity: 0.6;
}

/* 状态提示样式 - 左对齐 */
#status-display {
  color: #ff6b6b;
  margin-top: 15px;
  font-size: 0.85rem;
  min-height: 20px;
  text-align: left !important;
  width: 100%;
  padding-left: 5px;
  font-weight: 500;
}

/* 成功状态的颜色 */
#status-display.success {
  color: #4CAF50;
}

/* 错误状态的颜色 */
#status-display.error {
  color: #ff6b6b;
}



/* 微信登录按钮 - 参考Google按钮样式 */
.social-btn.wechat-btn {
    background: var(--btn-secondary) !important; /* #2c323f 深灰色背景 */
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.social-btn.wechat-btn:hover {
    background: #363d4d !important; /* 悬停时稍亮 */
    border-color: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}