/* EasyJob Admin 自定义样式 */

html, body { height: 100%; }
body { margin: 0; font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }

/* ========= 登录页 ========= */
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
}
.login-card { width: 360px; border: 0; border-radius: 12px; }

/* ========= 布局 ========= */
.layout {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: 220px;
    background: #1f2d3d;
    color: #cfd8e3;
    flex-shrink: 0;
    padding: 0;
}
.sidebar-brand {
    padding: 16px 18px;
    font-size: 18px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-nav .nav-link {
    color: #cfd8e3;
    padding: 10px 18px;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-nav .nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar-nav .menu-group { font-weight: 500; }
.sidebar-nav .menu-group[aria-expanded="false"] .chev { transform: rotate(-90deg); }
.sidebar-nav .chev { transition: transform .2s; font-size: 12px; }
.sidebar-nav .sub-link { padding-left: 46px; font-size: 14px; }
.sidebar-nav .sub-link.active { background: #4e73df; color: #fff; }

.main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #f4f6f9;
}
.topbar {
    height: 54px;
    background: #fff;
    border-bottom: 1px solid #e3e6ed;
    display: flex;
    align-items: center;
    padding: 0 20px;
}
.topbar-title { font-size: 16px; font-weight: 500; color: #333; }

.content { padding: 20px; flex: 1; overflow: auto; }

/* ========= 列表页 ========= */
.page-card { background: #fff; border: 1px solid #e3e6ed; border-radius: 6px; }
.page-card-header {
    padding: 14px 18px;
    border-bottom: 1px solid #eef0f4;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.page-card-body { padding: 12px 18px 18px; }
.table-sm-compact th, .table-sm-compact td { vertical-align: middle; font-size: 14px; }
.table-sm-compact th { background: #f8f9fb; font-weight: 500; color: #555; }
.action-col { white-space: nowrap; }

.pager-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 14px;
}
.pager-wrap .page-info { color: #888; }
