/* 品牌颜色变量 — 完全沿用原版配色 */
        :root {
            --hw-dark: #1e2b3a;       /* 深色背景/管理员标签 */
            --hw-primary: #1e5fd9;     /* 主蓝色 — 按钮、链接、焦点 */
            --hw-bg-light: #eef2f6;    /* 页面背景 */
            --hw-border: #dae1ec;       /* 边框色 */
            --hw-text-dark: #1f3147;    /* 标题深色 */
            --hw-text-muted: #4f658d;   /* 辅助文字 */
            --hw-badge-bg: #ecf3ff;     /* 徽章背景 */
        }

        body {
            background-color: var(--hw-bg-light);
            font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
            
            /* min-height: 100vh; */
            display: flex;
            /* align-items: center; */
            justify-content: center;
            padding: 16px;
            margin: 0;
        }

        /* 卡片 — 使用 Bootstrap card 为基础，叠加自定义圆角/阴影 */
        .card.login-card {
            max-width: 440px;           /* 桌面舒适宽度，移动自适应 */
            width: 100%;
            border: 1px solid var(--hw-border);
            border-radius: 0px;
            box-shadow: 0 20px 35px rgba(0, 20, 40, 0.12), 0 8px 18px rgba(0,0,0,0.03);
            overflow: hidden;
            margin-top: 8%;
        }

        /* 顶部管理员/帮助标签 (自定义背景) */



        /* 品牌区域 */
        .brand {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin: 6px 0 0px;
        }
        .brand-icon {
            width: 48px;
            height: 48px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            font-weight: 600;
        }
        .brand-text {
            font-size: 28px;
            font-weight: 600;
            color: var(--hw-text-dark);
            line-height: 1.2;
        }
        .brand-text small {
            font-size: 16px;
            font-weight: 400;
            color: #6f8aac;
            margin-left: 6px;
        }

        /* 欢迎语 + (0/1) 徽章 */
        .welcome {
            color: var(--hw-text-muted);
            font-size: 15px;
            text-align: center;
            border-bottom: 1px dashed var(--hw-border);
            padding-bottom: 8px;
            margin: 0 24px 4px 24px;
        }
        .badge-01 {
            background-color: var(--hw-badge-bg);
            color: var(--hw-primary);
            font-size: 12px;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 40px;
            border: 1px solid #cddcff;
            margin-left: 8px;
        }

        /* 表单区域 (padding 通过 card-body 处理) */
        .card-body {
            padding: 6px 24px 8px 24px;
        }

        /* 自定义输入框标签 (带必填红星和徽章) */
        .input-label {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 14px;
            font-weight: 500;
            color: var(--hw-text-dark);
            margin-bottom: 6px;
        }

        /* Bootstrap 表单控件微调 — 圆角和背景色 */
        .form-control {
            border: 1px solid var(--hw-border);
            border-radius: 0px;
            padding: 0.5rem 0.75rem;
            background-color: #f9fcff;
            font-size: 15px;
            transition: 0.2s;
        }
        .form-control:focus {
            border-color: var(--hw-primary);
            box-shadow: 0 0 0 3px rgba(30,95,217,0.15);
            background-color: #ffffff;
        }
        .form-control::placeholder {
            color: #a7bbd6;
            font-weight: 300;
        }

        /* 记住密码与忘记密码一行 */
        .row-actions {
            display: flex;
            align-items: center;
            justify-content: space-between;
            /* margin: 16px 0 22px; */
        }
        /* 自定义复选框 (保持原风格，但使用Bootstrap结构) */
        .form-check {
            display: flex;
            align-items: center;
            padding-left: 1.5rem;
            margin-bottom: 0;
        }
        .form-check-input {
            margin-right: 8px;
            width: 20px;
            height: 20px;
            border: 1px solid #b7cef0;
            border-radius: 5px;
            background-color: #f0f5fe;
            cursor: default;
        }
        .form-check-input:checked {
            background-color: var(--hw-primary);
            border-color: var(--hw-primary);
        }
        .form-check-label {
            color: #3b4f6e;
            font-size: 15px;
        }
        .forgot-link {
            color: var(--hw-primary);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            padding: 6px 14px;
            background-color: #eef5ff;
            border-radius: 40px;
            transition: background 0.1s;
        }
        .forgot-link:hover {
            background-color: #e0ebff;
        }

        /* 登录按钮 — 品牌蓝色，大圆角 */
        .btn-login {
            background-color: var(--hw-primary);
            border: none;
            color: white;
            width: 100%;
            padding: 0.5rem 0;
            border-radius: 40px;
            font-size: 18px;
            font-weight: 600;
            letter-spacing: 0.5px;
            box-shadow: 0 8px 18px rgba(30,95,217,0.25);
            transition: background 0.2s;
            margin-bottom: 22px;
            border: 1px solid #1a4fb0;
        }
        .btn-login:active {
            background-color: #1b52c2;
        }

        /* OR 分隔线 (flex居中) */
        .divider {
            display: flex;
            align-items: center;
            color: #8aa2c0;
            font-size: 13px;
            margin: 14px 0 18px;
        }
        .divider::before,
        .divider::after {
            content: "";
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, transparent, #d4dfec, transparent);
        }
        .divider span {
            margin: 0 16px;
        }

        /* 社交按钮行 — 使用Bootstrap栅格 */
        .social-row {
            display: flex;
            gap: 16px;
            margin-bottom: 22px;
        }
        .social-btn {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background-color: #f4f8ff;
            border: 1px solid var(--hw-border);
            border-radius: 40px;
            padding: 12px 0;
            color: #2a405c;
            font-size: 15px;
            font-weight: 500;
            text-decoration: none;
            transition: background 0.15s;
        }
        .social-btn i {
            font-size: 18px;
        }
        .social-btn.fb {
            color: #1877f2;
        }
        .social-btn.google {
            color: #db4437;
        }
        .social-btn:active {
            background-color: #e9f0f7;
        }

        /* 注册链接 */
        .register-link {
            text-align: center;
            margin-top: 10px;
            padding-top: 16px;
            border-top: 1px solid #ecf2f9;
        }
        .register-link a {
            color: var(--hw-primary);
            text-decoration: none;
            font-weight: 500;
            font-size: 15px;
            background: #eaf1fd;
            padding: 8px 28px;
            border-radius: 40px;
            display: inline-block;
        }
        .register-link a:active {
            background: #d9e6ff;
        }

        /* 底部版权 */
        .footer-copy {
            text-align: center;
            padding: 16px 24px 20px;
            font-size: 12px;
            color: #8a9fc0;
            border-top: 1px solid #edf2f9;
            background-color: #fafdff;
        }

        label {
            display: inline-block;
            max-width: 100%;
            font-weight: 700;
        }
        label.required::before{
            color: #ff0000;
            content: "*";
            font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
        }
        label.error{
            color: #dd0000;
            margin-left: 6px;
            text-transform: none;
        }
        .help-block{
            display: block;
            margin-top: 5px;
            margin-bottom: 10px;
            color: #737373;
            font-size: 14px;
        }

