/* ============================================================
 * 登录页 —— 腾讯云 PC 端风格（前后台共用，无 logo 图形）
 * 白色导航条 + 白色大容器（左品牌插画 / 右表单页签）+ 灰色页脚
 * ============================================================ */

.tc-login {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f3f5f9;
    color: var(--admin-text, #444c59);
}

/* ---------- 顶部导航 ---------- */
.tc-topbar {
    height: 56px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid #eceef2;
}
.tc-topbar .brand {
    font-size: 17px;
    font-weight: 700;
    color: var(--admin-primary, #1677ff);
    letter-spacing: .3px;
}
.tc-topbar .brand span {
    font-size: 12.5px;
    font-weight: 400;
    color: var(--admin-text-muted, #8a919f);
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid #e3e6ec;
}
.tc-topbar .top-links { display: flex; gap: 24px; }
.tc-topbar .top-links a {
    font-size: 13px;
    color: var(--admin-text, #444c59);
    text-decoration: none;
}
.tc-topbar .top-links a:hover { color: var(--admin-primary, #1677ff); }

/* ---------- 中央舞台 ---------- */
.tc-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.tc-wrap {
    width: 100%;
    max-width: 920px;
    min-height: 480px;
    display: flex;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 6px 24px rgba(46, 61, 96, .08);
    overflow: hidden;
}

/* ---------- 左：品牌插画区 ---------- */
.tc-art {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 44px;
    background: linear-gradient(160deg, #eaf2ff 0%, #f2f8ff 60%, #eef6ff 100%);
    position: relative;
    overflow: hidden;
}
.tc-art h2 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
    color: #1a2b4c;
    letter-spacing: .3px;
    position: relative;
    z-index: 1;
}
.tc-art .tc-slogan {
    font-size: 13.5px;
    color: #5b6b85;
    line-height: 1.9;
    margin-bottom: 34px;
    position: relative;
    z-index: 1;
}

/* 抽象控制台插画（纯 CSS） */
.tc-illus { position: relative; height: 210px; z-index: 1; }
.tc-win {
    position: absolute;
    left: 0;
    top: 12px;
    width: 78%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(31, 66, 135, .14);
    overflow: hidden;
}
.tc-win-bar {
    height: 30px;
    background: #f0f4fa;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
}
.tc-win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9e2ef; }
.tc-win-bar i:first-child { background: #ffb4a8; }
.tc-win-bar i:nth-child(2) { background: #ffe0a3; }
.tc-win-bar i:nth-child(3) { background: #b3e0b8; }
.tc-win-body { padding: 16px 18px 20px; }
.tc-line { height: 9px; border-radius: 5px; background: #e8edf5; margin-bottom: 10px; }
.tc-line.w60 { width: 60%; }
.tc-line.w80 { width: 80%; }
.tc-line.blue { background: linear-gradient(90deg, #1677ff, #6cb0ff); width: 45%; }
.tc-chart {
    margin-top: 14px;
    height: 56px;
    display: flex;
    align-items: flex-end;
    gap: 7px;
}
.tc-chart i {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, #7fb2ff, #dbe9ff);
}
.tc-chart i:nth-child(2) { height: 55%; }
.tc-chart i:nth-child(1) { height: 35%; }
.tc-chart i:nth-child(3) { height: 80%; }
.tc-chart i:nth-child(4) { height: 60%; }
.tc-chart i:nth-child(5) { height: 100%; }

/* 浮动统计小卡 */
.tc-float {
    position: absolute;
    right: 0;
    bottom: 26px;
    width: 168px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(31, 66, 135, .16);
    padding: 13px 16px;
}
.tc-float .t { font-size: 11px; color: #8a95a8; display: flex; align-items: center; gap: 6px; }
.tc-float .t i { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; }
.tc-float b { display: block; font-size: 19px; color: #1a2b4c; margin-top: 4px; letter-spacing: .3px; }
.tc-float span { font-size: 11px; color: #16a34a; }

/* ---------- 右：表单区 ---------- */
.tc-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 46px 44px 34px;
}

.tc-tabs {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #eceef2;
    margin-bottom: 30px;
}
.tc-tab {
    position: relative;
    padding: 0 2px 13px;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--admin-text-muted, #8a919f);
    cursor: default;
}
.tc-tab.on { color: var(--admin-text-title, #1f2329); }
.tc-tab.on::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -1px;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: var(--admin-primary, #1677ff);
}

/* ---------- 表单 ---------- */
.tc-field { margin-bottom: 20px; }
.tc-field label {
    display: block;
    font-size: 13px;
    color: var(--admin-text, #444c59);
    margin-bottom: 8px;
}
.tc-field input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    font-size: 14px;
    color: var(--admin-text-title, #1f2329);
    background: #fff;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    outline: none;
    transition: border-color .16s, box-shadow .16s;
    box-sizing: border-box;
}
.tc-field input::placeholder { color: #b8bfcc; }
.tc-field input:focus {
    border-color: var(--admin-primary, #1677ff);
    box-shadow: 0 0 0 2px rgba(22, 119, 255, .10);
}

.tc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -4px 0 18px;
    font-size: 12.5px;
}
.tc-row a { color: var(--admin-primary, #1677ff); text-decoration: none; }
.tc-row a:hover { text-decoration: underline; }

.tc-btn {
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 4px;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #fff;
    background: var(--admin-primary, #1677ff);
    cursor: pointer;
    transition: background .16s, box-shadow .16s;
}
.tc-btn:hover { background: #0e63e0; box-shadow: 0 6px 16px rgba(22, 119, 255, .28); }
.tc-btn[disabled] { opacity: .6; cursor: not-allowed; }

/* 协议 */
.tc-agree {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 18px;
    font-size: 12px;
    color: var(--admin-text-muted, #8a919f);
    line-height: 1.6;
    cursor: pointer;
    user-select: none;
}
.tc-agree input { flex: none; width: 14px; height: 14px; margin-top: 2px; accent-color: var(--admin-primary, #1677ff); cursor: pointer; }
.tc-agree a { color: var(--admin-primary, #1677ff); text-decoration: none; }

.tc-alt {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 24px;
    font-size: 13px;
}
.tc-alt a { color: var(--admin-primary, #1677ff); text-decoration: none; }
.tc-alt a:hover { text-decoration: underline; }
.tc-alt .muted { color: var(--admin-text-muted, #8a919f); }

/* 错误 */
.tc-error {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 9px 12px;
    border-radius: 4px;
    font-size: 12.5px;
    border: 1px solid rgba(245, 63, 63, .30);
    background: #fff5f5;
    color: var(--admin-danger, #e3403f);
    animation: tc-in .3s ease backwards;
}
@keyframes tc-in { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- 页脚 ---------- */
.tc-foot {
    padding: 18px 40px 26px;
    text-align: center;
    font-size: 12px;
    color: #a5adb9;
    line-height: 1.9;
}
.tc-foot a { color: inherit; text-decoration: none; margin: 0 10px; }
.tc-foot a:hover { color: var(--admin-primary, #1677ff); }

/* ---------- 移动端 ---------- */
@media (max-width: 820px) {
    .tc-art { display: none; }
    .tc-wrap { max-width: 440px; min-height: 0; }
    .tc-topbar { padding: 0 18px; }
    .tc-topbar .brand span { display: none; }
}
