/* ============================================================
   akf-login.css — 登录/注册独立页样式（R3-C8 自模板 <style> 上提）
   作用域：.akf-login（service/login index + reg）
   ============================================================ */

        :root {
            --akf-primary: #2F6BFF;
            --akf-primary-dark: #2456D6;
            --akf-sidebar: #171E2C;
            --akf-text: #1F2329;
            --akf-text-sub: #86909C;
            --akf-line: #E5E6EB;
            --akf-radius: 10px;
        }
        * { box-sizing: border-box; }
        html, body { height: 100%; }
        body { margin: 0; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--akf-text); }

        .akf-login { display: flex; min-height: 100%; }
        /* 左侧品牌区 */
        .akf-brand {
            flex: 1 1 55%;
            background: linear-gradient(135deg, #171E2C 0%, #1E2A44 55%, #2F6BFF 160%);
            color: #fff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 8vh 8%;
            position: relative;
            overflow: hidden;
        }
        .akf-brand::before,
        .akf-brand::after {
            content: "";
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, .05);
        }
        .akf-brand::before { width: 420px; height: 420px; right: -140px; top: -140px; }
        .akf-brand::after { width: 260px; height: 260px; left: -90px; bottom: -90px; }
        .akf-brand-logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: 1px; margin-bottom: 6vh; }
        .akf-brand-logo i { width: 36px; height: 36px; border-radius: 9px; background: var(--akf-primary); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; }
        .akf-brand-logo img { height: 36px; width: auto; max-width: 160px; object-fit: contain; background: none; }
        .akf-brand h1 { font-size: 34px; line-height: 1.4; margin: 0 0 16px; font-weight: 600; position: relative; z-index: 1; }
        .akf-brand p { font-size: 15px; color: rgba(255,255,255,.65); margin: 0 0 6vh; position: relative; z-index: 1; }
        .akf-brand ul { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
        .akf-brand li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 18px; }
        .akf-brand li::before {
            content: "";
            width: 18px; height: 18px; border-radius: 50%;
            background: var(--akf-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat;
            flex: none;
        }
        /* 右侧表单区 */
        .akf-panel {
            flex: 1 1 45%;
            background: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 6%;
        }
        .akf-form-box { width: 100%; max-width: 360px; }
        .akf-form-box h2 { font-size: 24px; margin: 0 0 8px; }
        .akf-form-box .sub { color: var(--akf-text-sub); font-size: 13px; margin-bottom: 32px; }
        .akf-form-box .sub a { color: var(--akf-primary); text-decoration: none; }
        .akf-field { margin-bottom: 20px; }
        .akf-field label { display: block; font-size: 13px; color: var(--akf-text-sub); margin-bottom: 8px; }
        .akf-input-wrap { position: relative; }
        .akf-input {
            width: 100%; height: 44px; border: 1px solid var(--akf-line); border-radius: var(--akf-radius);
            padding: 0 14px; font-size: 14px; outline: none; transition: border-color .2s, box-shadow .2s;
            background: #fff;
        }
        .akf-input:focus { border-color: var(--akf-primary); box-shadow: 0 0 0 3px rgba(47,107,255,.12); }
        input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fff inset; }
        .akf-captcha-row { display: flex; gap: 10px; }
        .akf-captcha-row .akf-input { flex: 1; }
        .akf-captcha-img { height: 44px; border-radius: var(--akf-radius); border: 1px solid var(--akf-line); cursor: pointer; flex: none; }
        .akf-btn {
            width: 100%; height: 44px; border: none; border-radius: var(--akf-radius);
            background: var(--akf-primary); color: #fff; font-size: 15px; cursor: pointer;
            transition: background .2s; margin-top: 8px;
        }
        .akf-btn:hover { background: var(--akf-primary-dark); }
        .akf-eye {
            position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
            cursor: pointer; color: var(--akf-text-sub); font-size: 12px; user-select: none;
        }
        /* 版权行对齐表单栏：桌面端表单占视口右侧 55%~100%（.akf-panel flex-basis 45%），
           版权定位限定该区间内居中；移动端（≤860px 品牌区隐藏）在媒体查询内复位全局居中。 */
        .akf-copyright { position: fixed; bottom: 12px; left: 55%; width: 45%; text-align: center; color: var(--akf-text-sub); font-size: 12px; pointer-events: none; }
        @media (max-width: 860px) {
            .akf-brand { display: none; }
            .akf-panel { flex-basis: 100%; }
            .akf-copyright { left: 0; width: 100%; }
        }

/* --- 注册页协议勾选（R7-B3） ---
   layui 的 checkbox title 不支持内联 HTML，协议链接无法放进 title，
   故勾选框与链接分为同行两段独立元素。 */
.akf-field.akf-agree {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-top: -4px;
    margin-bottom: 18px;
}
.akf-field.akf-agree .layui-form-checkbox[lay-skin="primary"] { margin-right: 0; }
.akf-agree-links { font-size: 13px; color: var(--akf-text-sub); }
.akf-agree-links a { color: var(--akf-primary); text-decoration: none; }
.akf-agree-links a:hover { text-decoration: underline; }

/* --- 页脚版权行（含协议链接后需可点击） ---
   .akf-copyright 原本 pointer-events:none 以免遮挡页面，
   加入链接后须单独放开链接区域。 */
.akf-copyright { pointer-events: none; }
.akf-copyright a { color: var(--akf-text-sub); text-decoration: none; pointer-events: auto; margin: 0 6px; }
.akf-copyright a:hover { color: var(--akf-primary); text-decoration: underline; }
