/* ============================================================
   base.css —— 全局基础样式（两个页面共用）
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* 品牌色：教育蓝 */
    --brand: #2f6bff;
    --brand-dark: #1e56e8;
    --brand-grad: linear-gradient(135deg, #3a7bfd 0%, #2456f0 100%);
    --text-main: #243049;
    --text-sub: #7a8699;
    --bg-page: #f4f6fa;
    --border: #e3e8f0;
    --danger: #e5484d;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-page);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---------- 顶部固定导航条 ---------- */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 60px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 40px;
    z-index: 100;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 30px; height: 30px; }
.brand-name { font-size: 18px; font-weight: 600; color: var(--text-main); letter-spacing: 1px; }

/* ---------- 通用登录按钮 ---------- */
.btn-login {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 8px;
    background: var(--brand-grad);
    color: #fff;
    font-size: 16px;
    letter-spacing: 6px;
    cursor: pointer;
    transition: box-shadow .2s, transform .1s;
}
.btn-login:hover { box-shadow: 0 8px 20px rgba(47, 107, 255, .35); }
.btn-login:active { transform: scale(.99); }
.btn-login:disabled { opacity: .6; cursor: not-allowed; }
