/* ==========================================================================
   HOTKR 后台管理 v3 (zmanage) 浅色主题
   设计基调:白底 + 浅灰 #f0f2f5 + 深蓝 #2d6cdf 主色 + 橙色 #ff7800 强调
   15px 圆角,清晰专业
   ========================================================================== */

/* 全局重置 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
    font-family: "Microsoft YaHei", "Segoe UI", "PingFang SC", Arial, sans-serif;
    font-size: 14px;
    color: #2c3e50;
    background: #f0f2f5;
    overflow-x: hidden;
}
a { text-decoration: none; color: #2d6cdf; }
a:hover { color: #1a4ba8; text-decoration: none; }
img { border: 0; vertical-align: middle; }
input, select, textarea, button { font-family: inherit; font-size: 14px; outline: none; }

/* ==========================================================================
   1. 通用容器与面板 - 与前台一致 1000px 居中
   ========================================================================== */
.zm-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 16px;
    min-height: 100vh;
}
.zm-panel {
    background: #ffffff;
    border: 1px solid #e8ecef;
    border-radius: 10px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}
.zm-panel-head {
    height: 44px;
    line-height: 44px;
    padding: 0 18px;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 15px;
    background: linear-gradient(180deg, #fafbfc 0%, #f4f6f8 100%);
    border-bottom: 1px solid #e8ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.zm-panel-head .zm-panel-title::before {
    content: "▎";
    color: #2d6cdf;
    margin-right: 6px;
    font-weight: 700;
}
.zm-panel-head .zm-panel-actions a {
    color: #2d6cdf;
    font-size: 13px;
    margin-left: 10px;
    padding: 4px 12px;
    border: 1px solid #d6deea;
    border-radius: 6px;
    background: #ffffff;
    transition: all 0.2s;
}
.zm-panel-head .zm-panel-actions a:hover {
    background: #2d6cdf;
    color: #fff;
    border-color: #2d6cdf;
}
.zm-panel-body { padding: 18px; }

/* ==========================================================================
   2. 顶部导航 - 1000px 居中容器 + 标签页式按钮
   ========================================================================== */
.zm-topbar {
    width: 100%;
    height: 72px;
    background: #ffffff;
    border-bottom: 1px solid #e8ecef;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}
.zm-topbar-inner {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 24px;
}

/* 品牌 */
.zm-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
    text-decoration: none;
    flex-shrink: 0;
}
.zm-brand:hover { text-decoration: none; }
.zm-brand-icon {
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: linear-gradient(135deg, #2d6cdf 0%, #1a4ba8 100%);
    color: #fff;
    border-radius: 8px;
    font-size: 18px;
    box-shadow: 0 2px 4px rgba(45, 108, 223, 0.25);
}
.zm-brand-text {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #2c3e50;
    line-height: 1.2;
}
.zm-brand-text small {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: #94a3b8;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 1px;
}

/* 标签页式导航 - 胶囊式,带悬停边框 */
.zm-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    margin-left: 8px;
}
.zm-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: all 0.2s;
    text-decoration: none;
    border-radius: 22px;
    border: 1.5px solid transparent;
    background: transparent;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.zm-tab:hover {
    color: #2c3e50;
    text-decoration: none;
    border-color: #2c3e50;
    background: #ffffff;
}
.zm-tab-icon {
    font-size: 16px;
    opacity: 0.85;
    line-height: 1;
}
.zm-tab:hover .zm-tab-icon,
.zm-tab.zm-tab-active .zm-tab-icon { opacity: 1; }
.zm-tab.zm-tab-active {
    color: #2d6cdf;
    font-weight: 600;
    background: #ffffff;
    border-color: #2d6cdf;
    box-shadow: 0 2px 6px rgba(45, 108, 223, 0.18);
}

/* 顶部右侧 */
.zm-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.zm-btn-new {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 14px;
    background: #2d6cdf;
    color: #ffffff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(45, 108, 223, 0.3);
}
.zm-btn-new span { font-size: 16px; line-height: 1; margin-right: 2px; font-weight: 600; }
.zm-btn-new:hover {
    background: #1a4ba8;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(45, 108, 223, 0.4);
    transform: translateY(-1px);
}

/* 用户胶囊 */
.zm-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    background: #f8fafc;
    border: 1px solid #e8ecef;
    border-radius: 18px;
    color: #4a5568;
    font-size: 13px;
}
.zm-user-avatar {
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    background: linear-gradient(135deg, #2d6cdf 0%, #6b9bff 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.zm-user-name {
    font-weight: 600;
    color: #2c3e50;
}

/* 图标按钮(退出等) */
.zm-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #94a3b8;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.zm-icon-btn:hover {
    background: #fdecec;
    color: #e53e3e;
    border-color: #fbb;
    text-decoration: none;
}

/* ==========================================================================
   3. 左侧侧栏 (分类)
   ========================================================================== */
.zm-sidebar {
    width: 200px;
    background: #ffffff;
    border-right: 1px solid #e8ecef;
    height: 100%;
    overflow-y: auto;
    padding: 14px 0;
}
.zm-sidebar-title {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 18px;
    border-bottom: 1px solid #f0f2f5;
    margin-bottom: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.zm-sidebar-title::before { content: "▣ "; color: #2d6cdf; }
.zm-sidebar ul { list-style: none; }
.zm-sidebar li a {
    display: block;
    color: #4a5568;
    padding: 10px 18px 10px 30px;
    font-size: 13px;
    border-left: 3px solid transparent;
    transition: all 0.2s;
    position: relative;
}
.zm-sidebar li a::before {
    content: "›";
    position: absolute;
    left: 16px;
    color: #cbd5e0;
    font-weight: 700;
}
.zm-sidebar li a:hover {
    background: #f4f8fe;
    color: #2d6cdf;
    text-decoration: none;
    border-left-color: #cbd5e0;
}
.zm-sidebar li a.zm-sidebar-active {
    background: linear-gradient(90deg, #eef3fb 0%, transparent 100%);
    color: #2d6cdf;
    border-left-color: #2d6cdf;
    font-weight: 600;
}
.zm-sidebar li a.zm-sidebar-active::before { color: #2d6cdf; }
.zm-sidebar .zm-sidebar-badge {
    float: right;
    background: #ff7800;
    color: #fff;
    font-size: 11px;
    padding: 1px 8px;
    border-radius: 10px;
    margin-top: 2px;
}
.zm-sidebar .zm-sidebar-empty {
    padding: 14px 18px;
    color: #94a3b8;
    font-size: 12px;
    font-style: italic;
}

/* ==========================================================================
   4. 面包屑/操作条 (subbar) - 950px 居中
   ========================================================================== */
.zm-subbar {
    width: 100%;
    height: 42px;
    background: #ffffff;
    border-bottom: 1px solid #e8ecef;
    display: flex;
    align-items: stretch;
}
.zm-subbar-inner {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}
.zm-breadcrumb {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}
.zm-breadcrumb a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s;
}
.zm-breadcrumb a:hover { color: #2d6cdf; }
.zm-bc-sep { color: #cbd5e0; }
.zm-bc-cur {
    color: #2c3e50;
    font-weight: 600;
}
.zm-subbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.zm-btn-mini {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: #ffffff;
    color: #4a5568;
    border: 1px solid #d6deea;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
.zm-btn-mini:hover {
    background: #f4f8fe;
    color: #2d6cdf;
    border-color: #2d6cdf;
    text-decoration: none;
}
.zm-btn-mini-primary {
    background: #2d6cdf;
    color: #ffffff;
    border-color: #2d6cdf;
}
.zm-btn-mini-primary:hover {
    background: #1a4ba8;
    color: #ffffff;
    border-color: #1a4ba8;
}

/* ==========================================================================
   5. 数据表
   ========================================================================== */
.zm-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: #2c3e50;
    font-size: 13px;
    table-layout: fixed; /* 严格按列宽,不被内容撑开 */
    margin: 0 auto;      /* 表格水平居中 */
}
.zm-table thead th {
    background: #f8fafc;
    color: #4a5568;
    font-weight: 600;
    text-align: left;
    padding: 11px 14px;
    border-bottom: 2px solid #e8ecef;
    font-size: 12px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-transform: uppercase;
}
.zm-table thead th:first-child { border-top-left-radius: 0; }
.zm-table thead th:last-child  { border-top-right-radius: 0; }
.zm-table tbody td {
    padding: 12px 10px;
    border-bottom: 1px solid #f0f2f5;
    vertical-align: middle;
    color: #2c3e50;
}
.zm-table tbody tr { transition: background 0.15s; background: #ffffff; }
.zm-table tbody tr:nth-child(even) { background: #fafbfc; }
.zm-table tbody tr:hover { background: #f4f8fe; }
.zm-table tbody tr.zm-row-active { background: #eef3fb; }
.zm-table .zm-col-id {
    /* ID 列只放 checkbox,不显示数字 */
    width: 40px;
    text-align: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
    white-space: nowrap;
}
.zm-table .zm-col-cat {
    width: 80px;
    white-space: nowrap; /* 分类标签单行 */
}
.zm-table .zm-col-title {
    /* 标题列:flex 布局,标题占满,标签靠右聚拢 */
    min-width: 0;
    overflow: hidden;
    padding-right: 8px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}
.zm-table .zm-col-title > a {
    flex: 1 1 auto;
    min-width: 0;
    color: #2c3e50;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.zm-table .zm-col-title > a:hover { color: #2d6cdf; }
.zm-table .zm-col-title .zm-tag {
    flex-shrink: 0;
    margin-left: 0 !important;
}
.zm-table .zm-col-act { width: 82px; text-align: center; white-space: nowrap; }
.zm-table .zm-col-num {
    text-align: right;
    font-family: Consolas, monospace;
    color: #2d6cdf;
    width: 70px;
    white-space: nowrap;
}
.zm-table .zm-col-time {
    text-align: left;
    color: #94a3b8;
    font-family: Consolas, monospace;
    font-size: 12px;
    width: 104px;
    white-space: nowrap;
}
.zm-table .zm-col-img { width: 60px; }
.zm-table .zm-col-img img { width: 50px; height: 40px; object-fit: cover; border-radius: 6px; border: 1px solid #e8ecef; }
.zm-table .zm-tag {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
    margin-right: 4px;
    white-space: nowrap;       /* 标签不换行(关键:资料실不折行) */
    vertical-align: middle;
}
.zm-table .zm-tag-cat    { background: #eef3fb; color: #2d6cdf; border: 1px solid #d6deea; }
.zm-table .zm-tag-tj     { background: #fff1e0; color: #ff7800; border: 1px solid #ffd9b3; }
.zm-table .zm-tag-img    { background: #e6f7f7; color: #00a4a4; border: 1px solid #b3e0e0; }
.zm-table .zm-tag-date   { background: transparent; color: #94a3b8; font-family: Consolas, monospace; }
.zm-table .zm-empty {
    text-align: center;
    color: #94a3b8;
    padding: 36px 0;
    font-size: 14px;
}
.zm-table .zm-empty::before {
    content: "📭";
    display: block;
    font-size: 32px;
    margin-bottom: 8px;
    opacity: 0.5;
}

/* 表格内联控件(分类下拉、复选框组) */
.zm-table-toolbar {
    background: #fafbfc;
    padding: 12px 16px;
    border-bottom: 1px solid #e8ecef;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #4a5568;
}
.zm-table-toolbar .zm-label { color: #94a3b8; }
.zm-table-toolbar select { margin-left: 4px; }

/* ==========================================================================
   6. 按钮
   ========================================================================== */
.zm-btn {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.5;
    background: transparent;
    color: #4a5568;
    text-decoration: none;
    user-select: none;
}
.zm-btn:hover { transform: translateY(-1px); text-decoration: none; }
.zm-btn-primary {
    background: #2d6cdf;
    color: #ffffff;
    border-color: #2d6cdf;
    box-shadow: 0 1px 3px rgba(45, 108, 223, 0.25);
}
.zm-btn-primary:hover { color: #fff; background: #1a4ba8; border-color: #1a4ba8; box-shadow: 0 3px 8px rgba(45, 108, 223, 0.35); }
.zm-btn-blue {
    background: #ffffff;
    color: #2d6cdf;
    border-color: #2d6cdf;
}
.zm-btn-blue:hover { background: #2d6cdf; color: #ffffff; }
.zm-btn-ghost {
    background: #ffffff;
    color: #4a5568;
    border-color: #d6deea;
}
.zm-btn-ghost:hover { background: #f4f8fe; color: #2d6cdf; border-color: #2d6cdf; }
.zm-btn-danger {
    background: #ffffff;
    color: #e53e3e;
    border-color: #fbb;
}
.zm-btn-danger:hover { background: #e53e3e; color: #fff; border-color: #e53e3e; }
.zm-btn-sm { padding: 3px 10px; font-size: 12px; }
.zm-btn-lg { padding: 9px 22px; font-size: 14px; }

/* 图标按钮(表格操作列用) */
.zm-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 26px;
    padding: 0;
    border-radius: 4px;
    border: 1px solid #d6deea;
    background: #ffffff;
    color: #4a5568;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    line-height: 1;
    vertical-align: middle;
}
.zm-btn-icon:hover {
    background: #2d6cdf;
    color: #ffffff;
    border-color: #2d6cdf;
    text-decoration: none;
    transform: translateY(-1px);
}
.zm-btn-icon.zm-btn-icon-danger {
    color: #e53e3e;
    border-color: #fbb;
}
.zm-btn-icon.zm-btn-icon-danger:hover {
    background: #e53e3e;
    color: #fff;
    border-color: #e53e3e;
}
.zm-btn-icon + .zm-btn-icon { margin-left: 4px; }
.zm-btn-block { display: block; width: 100%; text-align: center; }
.zm-btn[disabled],
.zm-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ==========================================================================
   7. 表单
   ========================================================================== */
.zm-form { width: 100%; }
.zm-form .zm-form-row {
    display: flex;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px dashed #f0f2f5;
}
.zm-form .zm-form-row:last-child { border-bottom: 0; }
.zm-form .zm-form-label {
    width: 160px;
    flex-shrink: 0;
    text-align: right;
    padding-right: 18px;
    color: #4a5568;
    font-weight: 600;
    padding-top: 9px;
    font-size: 13px;
}
.zm-form .zm-form-label .zm-req { color: #e53e3e; margin-left: 4px; }
.zm-form .zm-form-field { flex: 1; min-width: 0; }
.zm-form .zm-form-tip { color: #94a3b8; font-size: 12px; margin-top: 6px; }

.zm-input,
.zm-form .zm-form-field input[type=text],
.zm-form .zm-form-field input[type=password],
.zm-form .zm-form-field input[type=number],
.zm-form .zm-form-field select,
.zm-form .zm-form-field textarea {
    width: 100%;
    max-width: 520px;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #d6deea;
    border-radius: 6px;
    color: #2c3e50;
    font-size: 14px;
    transition: all 0.2s;
}
.zm-form .zm-form-field input[type=checkbox] { width: auto; margin-right: 6px; vertical-align: middle; }
.zm-form .zm-form-field input[type=radio]    { width: auto; margin: 0 4px 0 10px; vertical-align: middle; }
.zm-form .zm-form-field textarea { min-height: 120px; resize: vertical; }
.zm-form .zm-form-field select { cursor: pointer; }
.zm-input:focus,
.zm-form .zm-form-field input:focus,
.zm-form .zm-form-field select:focus,
.zm-form .zm-form-field textarea:focus {
    border-color: #2d6cdf;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(45, 108, 223, 0.12);
}
.zm-form .zm-form-field input[size] { max-width: none; }
.zm-form .zm-form-field input[size="5"]  { max-width: 80px; }
.zm-form .zm-form-field input[size="15"] { max-width: 220px; }
.zm-form .zm-form-field input[size="30"] { max-width: 380px; }
.zm-form .zm-form-field input[size="80"] { max-width: 600px; }
.zm-form .zm-form-field input[size="100"]{ max-width: 720px; }

.zm-form-actions {
    padding: 20px 0 0 178px;
    border-top: 1px solid #f0f2f5;
    margin-top: 10px;
}
.zm-form-actions .zm-btn + .zm-btn { margin-left: 10px; }

/* ==========================================================================
   8. 提示/空态
   ========================================================================== */
.zm-tip {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 14px;
    border-left: 3px solid;
}
.zm-tip-info    { background: #eef3fb; border-color: #2d6cdf; color: #1a4ba8; }
.zm-tip-warn    { background: #fff7e6; border-color: #ffaa00; color: #b37900; }
.zm-tip-error   { background: #fdecec; border-color: #e53e3e; color: #c53030; }
.zm-tip-success { background: #e6f7eb; border-color: #38a169; color: #276749; }

/* ==========================================================================
   9. 分页
   ========================================================================== */
.zm-pager {
    text-align: right;
    padding: 16px;
    color: #94a3b8;
    font-size: 13px;
}
.zm-pager a, .zm-pager span {
    display: inline-block;
    padding: 5px 11px;
    margin: 0 2px;
    border-radius: 6px;
    background: #ffffff;
    color: #4a5568;
    border: 1px solid #e8ecef;
    transition: all 0.15s;
}
.zm-pager a:hover { background: #2d6cdf; color: #ffffff; border-color: #2d6cdf; text-decoration: none; }
.zm-pager .zm-pager-current {
    background: #2d6cdf;
    color: #ffffff;
    border-color: #2d6cdf;
    font-weight: 700;
}
.zm-pager select {
    background: #ffffff;
    color: #2c3e50;
    border: 1px solid #d6deea;
    border-radius: 6px;
    padding: 4px 6px;
    margin: 0 4px;
}

/* ==========================================================================
   10. 登录页
   ========================================================================== */
.zm-login-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 20%, rgba(45, 108, 223, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 120, 0, 0.05) 0%, transparent 40%),
        #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
}
.zm-login-card {
    width: 380px;
    background: #ffffff;
    border: 1px solid #e8ecef;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
}
.zm-login-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2d6cdf 0%, #ff7800 50%, #2d6cdf 100%);
}
.zm-login-card h1 {
    color: #2c3e50;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4px;
    letter-spacing: 1px;
}
.zm-login-card .zm-login-sub {
    color: #94a3b8;
    font-size: 12px;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 2px;
}
.zm-login-card .zm-login-logo {
    text-align: center;
    font-size: 44px;
    color: #2d6cdf;
    margin-bottom: 10px;
}
.zm-login-form .zm-login-field {
    margin-bottom: 18px;
    position: relative;
}
.zm-login-form label {
    display: block;
    color: #4a5568;
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 600;
}
.zm-login-form input {
    width: 100%;
    padding: 11px 14px 11px 42px;
    background: #ffffff;
    border: 1px solid #d6deea;
    border-radius: 8px;
    color: #2c3e50;
    font-size: 14px;
    transition: all 0.2s;
}
.zm-login-form input:focus {
    border-color: #2d6cdf;
    box-shadow: 0 0 0 3px rgba(45, 108, 223, 0.12);
    outline: none;
}
.zm-login-form .zm-login-icon {
    position: absolute;
    left: 14px;
    top: 36px;
    color: #94a3b8;
    font-size: 16px;
    pointer-events: none;
}
.zm-login-form .zm-btn-login {
    width: 100%;
    padding: 12px;
    background: #2d6cdf;
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 6px;
    box-shadow: 0 2px 6px rgba(45, 108, 223, 0.3);
}
.zm-login-form .zm-btn-login:hover {
    background: #1a4ba8;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(45, 108, 223, 0.4);
}
.zm-login-form .zm-btn-login:active { transform: translateY(0); }
.zm-login-foot {
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px dashed #e8ecef;
}
.zm-login-foot a { color: #94a3b8; }
.zm-login-foot a:hover { color: #2d6cdf; }

/* 错误浮条 */
.zm-login-error {
    background: #fdecec;
    color: #c53030;
    border: 1px solid #fbb;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    display: none;
}
.zm-login-error.zm-show { display: block; animation: zmShake 0.4s; }
@keyframes zmShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

/* ==========================================================================
   11. 工具类
   ========================================================================== */
.zm-mt-8  { margin-top: 8px; }
.zm-mt-12 { margin-top: 12px; }
.zm-mt-16 { margin-top: 16px; }
.zm-mb-0  { margin-bottom: 0 !important; }
.zm-text-muted { color: #94a3b8; }
.zm-text-primary { color: #2d6cdf; }
.zm-text-warning { color: #ff7800; }
.zm-text-danger { color: #e53e3e; }
.zm-text-right { text-align: right; }
.zm-text-center { text-align: center; }
.zm-flex { display: flex; }
.zm-flex-between { display: flex; align-items: center; justify-content: space-between; }
.zm-flex-gap-8 { display: flex; gap: 8px; }
.zm-flex-gap-12 { display: flex; gap: 12px; }

/* ==========================================================================
   12. 响应式
   ========================================================================== */
@media (max-width: 1024px) {
    .zm-form .zm-form-label { width: 120px; }
    .zm-form-actions { padding-left: 138px; }
}
@media (max-width: 768px) {
    .zm-topbar { padding: 0 12px; height: auto; flex-wrap: wrap; }
    .zm-topbar .zm-logo { margin: 8px 0; }
    .zm-topbar .zm-nav { flex-wrap: wrap; }
    .zm-form .zm-form-label { width: 100px; }
    .zm-form-actions { padding-left: 0; text-align: center; }
    .zm-form-actions .zm-btn { display: block; width: 100%; margin: 6px 0 !important; }
}
