/* ===== 纯黑白极简登录风格（居中单列） ===== */

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    height: 100%;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #000000;
    color: #ffffff;
}

.login-box {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px 60px;
    background: #000000;
}

/* 隐藏左侧品牌区 */
.banner { display: none !important; }

/* === 主内容卡片（居中） === */
.login-content-box {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    text-align: center;
    margin-bottom: 36px;
    padding: 0;
}

.logo img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #222222;
    filter: brightness(2);
}

.login-form {
    width: 100%;
}

/* 表单内容包裹层 */
.login-form .login_tab,
.login-form .login_form_box,
.login-form .reg_form_box {
    width: 100%;
}

/* === Tab 切换 === */
.login_tab {
    display: flex;
    gap: 36px;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 14px;
    margin-bottom: 32px;
}

.login_label {
    font-size: 15px;
    font-weight: 600;
    color: #555555;
    cursor: pointer;
    letter-spacing: 1px;
    transition: color 0.25s;
}
.login_label:hover { color: #999999; }

.label_active {
    color: #ffffff !important;
    border-bottom: 2px solid #ffffff;
}

/* === 输入框（圆角）=== */
.form_input_div,
.form_input_code_div { margin-top: 16px; }
.form_input_div:first-child { margin-top: 0; }

.form_input {
    width: 100%;
    height: 52px;
    padding: 0 20px;
    border: 1px solid #222222;
    border-radius: 12px;
    background: #0c0c0c;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.25s;
    font-family: inherit;
}
.form_input:focus {
    border-color: #444444;
    background: #111111;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.03);
}
.form_input::placeholder { color: #555555; }

/* 验证码行 */
.form_input_code_div {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 16px;
}
.form_input_code_div .form_input {
    height: 52px;
    border-radius: 12px;
}

/* 获取验证码按钮 */
.code {
    height: 52px;
    padding: 0 18px;
    white-space: nowrap;
    color: #000000;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.25s;
    font-family: inherit;
}
.code:hover { background: #e8e8e8; transform: translateY(-1px); }
.code.disabled { opacity: 0.45; pointer-events: none; }

/* === 协议勾选 === */
.user_word {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
}
.user_word input[type="checkbox"] {
    width: 16px; height: 16px;
    accent-color: #ffffff;
    cursor: pointer; flex-shrink: 0;
}
.user_word a { color: #777777; text-decoration: none; }
.user_word a:hover { color: #aaaaaa; }

/* === 提交按钮（白底黑字 大圆角）=== */
.user_login_submit {
    width: 100%;
    height: 52px;
    margin-top: 24px;
    border: none;
    border-radius: 12px;
    background: #ffffff;
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
}
.user_login_submit:hover {
    background: #e8e8e8;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255,255,255,0.08);
}
.user_login_submit:active { transform: translateY(0) scale(0.99); }

/* === 底部工具栏 === */
.login-tool {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 22px;
}
.login-tool a {
    font-size: 13px;
    color: #666666;
    text-decoration: none;
}
.login-tool a:hover { color: #cccccc; }

/* === 页脚 === */
.footer {
    text-align: center;
    padding: 28px 0 0;
    margin-top: 40px;
    font-size: 11px;
    color: #333333;
    letter-spacing: 1px;
    width: 100%;
}
.footer a { color: #444444; text-decoration: none; }
.footer a:hover { color: #666666; }

/* === 响应式 === */
@media screen and (max-width: 520px) {
    .login-box { padding: 24px 16px 48px; }
    .logo img { width: 60px; height: 60px; }
    .code { font-size: 12px; padding: 0 12px; }
}
