/* ===== 仓小豚 K12 平台 全局样式（新设计语言：浅蓝灰底 / 白卡大圆角 / 蓝色胶囊） ===== */
:root {
    --primary: #2F7BF6;
    --primary-deep: #1A5FE0;
    --primary-light: #5E9BFA;
    --primary-grad: linear-gradient(135deg, #2F7BF6, #1A5FE0);
    --primary-soft: #EAF2FE;
    --bg-main: #EDF2F9;
    --bg-card: #FFFFFF;
    --text-primary: #1C2333;
    --text-secondary: #5B6B84;
    --text-muted: #93A1B8;
    --border-color: #E7EDF5;
    --shadow-card: 0 6px 24px rgba(31, 78, 180, .06);
    --shadow-pop: 0 16px 44px rgba(26, 95, 224, .14);
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 22px;
    --success: #22B07D;
    --success-soft: #E3F8F0;
    --danger: #F05A5A;
    --danger-soft: #FDECEC;
    --warning: #F5A623;
    --warning-soft: #FFF4E0;
    --sidebar-width: 224px;
    --header-height: 64px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-main);
}
a { text-decoration: none; }

/* ===== 侧边栏（白底 + 蓝色胶囊高亮） ===== */
.app-sidebar {
    position: fixed; left: 0; top: 0; bottom: 0;
    width: var(--sidebar-width);
    background: #fff;
    display: flex; flex-direction: column;
    z-index: 1000;
    transition: width .25s ease;
    box-shadow: 2px 0 18px rgba(31, 78, 180, .05);
}
.app-sidebar.collapsed { width: 72px; }
.app-sidebar.collapsed .brand-name,
.app-sidebar.collapsed .nav-item span { display: none; }
.app-sidebar.collapsed .nav-item { justify-content: center; padding: 12px 0; }

.sidebar-brand {
    display: flex; align-items: center; gap: 12px;
    padding: 20px 20px 16px;
}
.brand-logo {
    width: 54px; height: 54px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-name {
    font-size: 25px; font-weight: 800; white-space: nowrap;
    color: #1C3D78; letter-spacing: 1px;
}

.sidebar-nav { flex: 1; padding: 8px 12px; overflow-y: auto; }
.nav-item {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 14px;
    margin-bottom: 4px;
    color: var(--text-secondary);
    border-radius: 12px;
    transition: all .18s ease;
    cursor: pointer; white-space: nowrap;
    font-weight: 500;
}
.nav-item i { font-size: 18px; flex-shrink: 0; width: 24px; text-align: center; }
.nav-item:hover { background: var(--primary-soft); color: var(--primary-deep); }
.nav-item.active {
    background: var(--primary-grad);
    color: #fff;
    box-shadow: 0 8px 18px rgba(26, 95, 224, .30);
}

.sidebar-footer { padding: 12px; border-top: 1px solid var(--border-color); }
.logout-btn { color: var(--text-muted); }
.logout-btn:hover { background: var(--danger-soft); color: var(--danger); }

/* ===== 主区域 ===== */
.app-main {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex; flex-direction: column;
    transition: margin-left .25s ease;
}
.app-sidebar.collapsed ~ .app-main { margin-left: 72px; }

/* ===== 顶栏（白色通栏） ===== */
.app-header {
    height: var(--header-height);
    background: #fff;
    display: flex; align-items: center;
    padding: 0 24px;
    gap: 16px;
    box-shadow: 0 2px 12px rgba(31, 78, 180, .05);
    position: sticky; top: 0; z-index: 100;
}
.header-left { display: flex; align-items: center; gap: 14px; }
.sidebar-toggle {
    background: var(--bg-main); border: none; font-size: 18px; cursor: pointer;
    color: var(--text-secondary); width: 38px; height: 38px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    transition: all .18s;
}
.sidebar-toggle:hover { background: var(--primary-soft); color: var(--primary-deep); }
.role-badge {
    background: var(--primary-soft);
    color: var(--primary-deep);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex; align-items: center; gap: 6px;
}
.header-center { flex: 1; display: flex; justify-content: center; }
.header-search {
    display: flex; align-items: center; gap: 8px;
    background: var(--bg-main);
    border: 1.5px solid transparent;
    border-radius: 22px;
    padding: 8px 18px;
    width: 380px; max-width: 100%;
    transition: all .18s;
}
.header-search:focus-within { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47,123,246,.12); }
.header-search i { color: var(--text-muted); font-size: 15px; }
.search-input {
    border: none; background: none; outline: none;
    flex: 1; font-size: 14px; color: var(--text-primary);
}
.header-right { display: flex; align-items: center; gap: 18px; }
.student-tag {
    background: var(--primary-soft); color: var(--primary-deep);
    padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
    display: flex; align-items: center; gap: 5px;
}
.header-bell {
    position: relative; cursor: pointer; color: var(--text-secondary); font-size: 18px;
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background .18s;
}
.header-bell:hover { background: var(--bg-main); }
.bell-dot {
    position: absolute; top: 7px; right: 8px;
    width: 8px; height: 8px; background: var(--danger);
    border-radius: 50%; border: 1.5px solid #fff;
}
.header-avatar { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.avatar-circle {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--primary-grad);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 15px;
    box-shadow: 0 4px 10px rgba(26, 95, 224, .28);
}
.avatar-name { font-size: 13.5px; color: var(--text-primary); font-weight: 600; }

/* ===== 内容区 ===== */
.app-content { flex: 1; padding: 26px 28px; }

/* ===== 页面标题（设计图：内容区顶部大标题 + 副标题） ===== */
.page-head { margin-bottom: 22px; }
.page-head h2 {
    margin: 0 0 4px; font-size: 24px; font-weight: 800;
    color: var(--text-primary); letter-spacing: .5px;
    display: flex; align-items: center; gap: 10px;
}
.page-head h2::before {
    content: ""; width: 6px; height: 22px; border-radius: 3px;
    background: var(--primary-grad); display: inline-block;
}
.page-head .page-sub { margin: 0; font-size: 13.5px; color: var(--text-muted); }

/* ===== 卡片（白色大圆角轻阴影） ===== */
.card-cxt {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: none;
    padding: 24px;
    margin-bottom: 22px;
}
.card-cxt-title {
    font-size: 16.5px; font-weight: 700; margin-bottom: 18px;
    display: flex; align-items: center; gap: 9px;
    color: var(--text-primary);
}
.card-cxt-title i {
    color: var(--primary);
    width: 32px; height: 32px; border-radius: 10px;
    background: var(--primary-soft);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px;
}

/* ===== 统计卡片网格 ===== */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1400px) { .stat-grid-4 { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-card);
    border: none;
    display: flex; flex-direction: column; gap: 10px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.stat-icon {
    width: 42px; height: 42px; border-radius: 12px;
    background: var(--primary-soft); color: var(--primary-deep);
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.stat-icon.green { background: var(--success-soft); color: var(--success); }
.stat-icon.orange { background: var(--warning-soft); color: var(--warning); }
.stat-icon.red { background: var(--danger-soft); color: var(--danger); }
.stat-label { font-size: 13px; color: var(--text-secondary); }
.stat-value { font-size: 30px; font-weight: 800; color: var(--text-primary); line-height: 1.1; }
.stat-value.primary { color: var(--primary-deep); }
.stat-value.success { color: var(--success); }
.stat-value.warning { color: var(--warning); }

/* ===== 学生信息卡（蓝色渐变卡） ===== */
.student-card {
    background: linear-gradient(135deg, #C4DCFF 0%, #9EC2FA 60%, #8AB4F8 100%);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 22px;
    box-shadow: 0 10px 26px rgba(26, 95, 224, .18);
    position: relative; overflow: hidden;
}
.student-card::after {
    content: ""; position: absolute; right: -40px; top: -40px;
    width: 150px; height: 150px; border-radius: 50%;
    background: rgba(255,255,255,.16);
}
.student-avatar {
    width: 62px; height: 62px; border-radius: 50%;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: var(--primary-deep); flex-shrink: 0;
    border: 3px solid rgba(255,255,255,.75);
    box-shadow: 0 4px 12px rgba(26, 95, 224, .18);
    position: relative;
}
.avatar-edit-badge {
    position: absolute; right: -2px; bottom: -2px;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--primary-grad); color: #fff;
    border: 2px solid #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
    box-shadow: 0 2px 6px rgba(26, 95, 224, .3);
}
.student-info h4 { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: #16336E; }
.student-info p { margin: 0; font-size: 13px; color: rgba(22, 51, 110, .72); }
.subject-badge {
    display: inline-block; background: rgba(255,255,255,.92); color: var(--primary-deep);
    padding: 3px 12px; border-radius: 12px; font-size: 12px; font-weight: 700; margin-left: 8px;
    box-shadow: 0 2px 6px rgba(26, 95, 224, .12);
}

/* ===== 按钮（胶囊形） ===== */
.btn-cxt-primary {
    background: var(--primary-grad); color: #fff; border: none;
    padding: 10px 24px; border-radius: 22px;
    font-size: 14px; font-weight: 600; cursor: pointer; transition: all .18s;
    display: inline-flex; align-items: center; gap: 7px;
    box-shadow: 0 8px 18px rgba(26, 95, 224, .26);
}
.btn-cxt-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(26, 95, 224, .32); color: #fff; }
.btn-cxt-outline {
    background: #fff; color: var(--primary-deep); border: 1.5px solid #BCD4FB;
    padding: 10px 24px; border-radius: 22px;
    font-size: 14px; font-weight: 600; cursor: pointer; transition: all .18s;
    display: inline-flex; align-items: center; gap: 7px;
}
.btn-cxt-outline:hover { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-deep); }
.btn-cxt-danger {
    background: #fff; color: var(--danger); border: 1.5px solid #F6C6C6;
    padding: 10px 24px; border-radius: 22px;
    font-size: 14px; font-weight: 600; cursor: pointer; transition: all .18s;
    display: inline-flex; align-items: center; gap: 7px;
}
.btn-cxt-danger:hover { background: var(--danger-soft); }
.btn-cxt-sm { padding: 6px 16px; font-size: 13px; border-radius: 18px; }

/* ===== 上传区域（虚线圆角框） ===== */
.upload-zone {
    border: 2px dashed #A9C8F8;
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    background: linear-gradient(180deg, #F7FBFF, #EFF6FF);
    cursor: pointer; transition: all .2s;
}
.upload-zone:hover { border-color: var(--primary); background: #F0F7FF; }
.upload-zone .uz-icon { font-size: 52px; color: var(--primary); margin-bottom: 14px; }
.upload-zone h5 { color: var(--text-primary); margin-bottom: 8px; font-weight: 700; }
.upload-zone p { color: var(--text-muted); font-size: 13px; margin: 0; }

/* ===== 错题卡片 ===== */
.error-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: none;
    padding: 22px 24px;
    margin-bottom: 18px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.error-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-pop); }
.error-card-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px;
}
.error-id { font-size: 13px; color: var(--text-muted); }
.error-source { font-size: 13px; color: var(--text-secondary); }
.error-stem { font-size: 14.5px; line-height: 1.8; margin-bottom: 14px; color: var(--text-primary); }
.error-answers { display: flex; gap: 24px; margin-bottom: 16px; flex-wrap: wrap; }
.answer-block { display: flex; align-items: center; gap: 8px; }
.answer-label { font-size: 13px; color: var(--text-secondary); }
.answer-value { font-size: 14px; font-weight: 700; padding: 3px 12px; border-radius: 10px; }
.answer-value.wrong { color: var(--danger); background: var(--danger-soft); }
.answer-value.correct { color: var(--success); background: var(--success-soft); }
.status-tag {
    padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 4px;
}
.status-tag.not-consolidated { background: var(--warning-soft); color: var(--warning); }
.status-tag.redone { background: var(--primary-soft); color: var(--primary-deep); }
.status-tag.mastered { background: var(--success-soft); color: var(--success); }

/* ===== 批阅状态条 ===== */
.grading-status-bar {
    display: flex; gap: 26px;
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 16px 24px; margin-top: 18px;
}
.status-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-secondary); }
.status-item .dot { width: 9px; height: 9px; border-radius: 50%; }
.status-item.connected .dot { background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
.status-item.time .dot { background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.status-item.confidence .dot { background: var(--warning); box-shadow: 0 0 0 4px var(--warning-soft); }
.status-item b { color: var(--text-primary); }

/* ===== 三栏布局 ===== */
.three-panel { display: flex; gap: 22px; align-items: flex-start; }
.panel-left { flex: 0 0 240px; }
.panel-center { flex: 1; min-width: 0; }
.panel-right { flex: 0 0 320px; }

@media (max-width: 1200px) {
    .three-panel { flex-direction: column; }
    .panel-left, .panel-right { flex: none; width: 100%; }
}

/* ===== 两栏布局 ===== */
.two-panel { display: flex; gap: 22px; align-items: flex-start; }
.two-panel > .col-main { flex: 1.4; min-width: 0; }
.two-panel > .col-side { flex: 1; min-width: 0; }
@media (max-width: 1100px) { .two-panel { flex-direction: column; } .two-panel > * { width: 100%; } }

/* ===== 筛选栏 ===== */
.filter-bar {
    display: flex; flex-wrap: wrap; gap: 12px;
    margin-bottom: 22px; align-items: center;
}
.filter-bar select, .filter-bar input {
    border: 1.5px solid var(--border-color); border-radius: 20px;
    padding: 8px 16px; font-size: 13.5px; background: #fff;
    color: var(--text-primary); outline: none; transition: all .18s;
}
.filter-bar select:focus, .filter-bar input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47,123,246,.10); }

/* ===== 表格（白卡内） ===== */
.table-cxt { width: 100%; border-collapse: collapse; }
.table-cxt th {
    text-align: left; font-size: 13px; color: var(--text-muted); font-weight: 600;
    padding: 12px 14px; border-bottom: 1px solid var(--border-color);
    background: #F8FBFF; white-space: nowrap;
}
.table-cxt th:first-child { border-radius: 12px 0 0 12px; }
.table-cxt th:last-child { border-radius: 0 12px 12px 0; }
.table-cxt td {
    padding: 14px; font-size: 14px; color: var(--text-primary);
    border-bottom: 1px solid #F2F6FB; vertical-align: middle;
}
.table-cxt tbody tr { transition: background .15s; }
.table-cxt tbody tr:hover { background: #F8FBFF; }
.table-cxt tbody tr:last-child td { border-bottom: none; }

/* ===== 溯源面板 ===== */
.trace-panel {
    background: #fff; border-radius: var(--radius-lg);
    padding: 22px; box-shadow: var(--shadow-card);
}
.trace-panel h6 { font-weight: 700; margin-bottom: 14px; color: var(--text-primary); font-size: 15px; }
.trace-item {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 12px; border-radius: 12px; cursor: pointer;
    transition: all .18s; color: var(--text-secondary);
}
.trace-item:hover { background: var(--primary-soft); color: var(--primary-deep); }
.trace-item i { color: var(--primary); font-size: 18px; }

/* ===== 表单面板 ===== */
.form-panel {
    background: #fff; border-radius: var(--radius-lg);
    padding: 26px; box-shadow: var(--shadow-card);
}
.form-group-cxt { margin-bottom: 18px; }
.form-group-cxt label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 7px; font-weight: 600; }
.form-group-cxt input, .form-group-cxt select, .form-group-cxt textarea {
    width: 100%; border: 1.5px solid var(--border-color);
    border-radius: 12px; padding: 10px 14px; font-size: 14px;
    outline: none; background: #FBFDFF; transition: all .18s;
    color: var(--text-primary);
}
.form-group-cxt input:focus, .form-group-cxt select:focus, .form-group-cxt textarea:focus {
    border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(47,123,246,.10);
}

/* ===== 登录页 ===== */
.login-body {
    background: #f3f8ff;
    min-height: 100vh; margin: 0;
}
.login-container { width: 100%; max-width: 420px; padding: 20px; }
.login-card {
    background: #fff; border-radius: var(--radius-xl);
    padding: 40px; box-shadow: var(--shadow-pop);
}
.login-logo { text-align: center; margin-bottom: 30px; }
.login-logo .brand-logo { width: 64px; height: 64px; margin: 0 auto 12px; font-size: 32px; }
.login-logo h2 { color: var(--text-primary); font-size: 24px; }
.login-logo p { color: var(--text-muted); font-size: 14px; }

/* ===== 图表容器 ===== */
.chart-container { width: 100%; height: 300px; }

/* ===== 缩略图 ===== */
.thumb-list { display: flex; gap: 14px; flex-wrap: wrap; }
.thumb-item {
    width: 130px; height: 92px; border-radius: 12px;
    border: 1.5px solid var(--border-color); overflow: hidden; cursor: pointer;
    background: var(--bg-main); transition: all .18s;
}
.thumb-item:hover { border-color: var(--primary); box-shadow: 0 6px 16px rgba(26,95,224,.16); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

/* ===== 面包屑 ===== */
.breadcrumb-cxt { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; color: var(--text-muted); }
.breadcrumb-cxt a { color: var(--primary-deep); }

/* ===== 空状态 ===== */
.empty-state { text-align: center; padding: 64px 20px; color: var(--text-muted); }
.empty-state i { font-size: 52px; margin-bottom: 14px; display: block; color: #C4D4EC; }

/* ===== 分页 ===== */
.pagination-cxt { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.pagination-cxt a {
    padding: 7px 14px; border: 1.5px solid var(--border-color);
    border-radius: 18px; color: var(--text-secondary); font-weight: 600;
    transition: all .15s;
}
.pagination-cxt a:hover { border-color: var(--primary); color: var(--primary-deep); }
.pagination-cxt a.active { background: var(--primary-grad); color: #fff; border-color: transparent; box-shadow: 0 4px 10px rgba(26,95,224,.26); }

/* ===== 标签小胶囊 ===== */
.pill {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 11px; border-radius: 12px; font-size: 12px; font-weight: 700;
}
.pill.blue { background: var(--primary-soft); color: var(--primary-deep); }
.pill.green { background: var(--success-soft); color: var(--success); }
.pill.red { background: var(--danger-soft); color: var(--danger); }
.pill.orange { background: var(--warning-soft); color: var(--warning); }
.pill.gray { background: #EEF2F8; color: var(--text-secondary); }

/* ===== 通用弹窗（编辑账号 / 重置密码等） ===== */
.cxt-modal-mask {
    position: fixed; inset: 0; z-index: 1060;
    background: rgba(23, 42, 77, .42); backdrop-filter: blur(3px);
    display: flex; align-items: center; justify-content: center;
    animation: cxtMaskIn .18s ease;
}
@keyframes cxtMaskIn { from { opacity: 0; } to { opacity: 1; } }
.cxt-modal {
    width: 440px; max-width: calc(100vw - 40px); max-height: 88vh; overflow-y: auto;
    background: #fff; border-radius: 22px;
    box-shadow: 0 28px 70px rgba(20, 50, 110, .28);
    animation: cxtModalIn .22s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes cxtModalIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.cxt-modal-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px 0;
}
.cxt-modal-title { font-size: 17px; font-weight: 800; color: var(--text-primary); display: flex; align-items: center; gap: 9px; }
.cxt-modal-title i {
    width: 34px; height: 34px; border-radius: 11px; font-size: 16px;
    background: var(--primary-soft); color: var(--primary-deep);
    display: inline-flex; align-items: center; justify-content: center;
}
.cxt-modal-x {
    width: 32px; height: 32px; border: none; border-radius: 10px; cursor: pointer;
    background: #F1F5FB; color: var(--text-muted); font-size: 18px; line-height: 1;
    transition: all .15s;
}
.cxt-modal-x:hover { background: var(--danger-soft); color: var(--danger); transform: rotate(90deg); }
.cxt-modal-body { padding: 18px 24px 6px; }
.cxt-modal-foot {
    display: flex; gap: 10px; justify-content: flex-end;
    padding: 14px 24px 22px;
}
.cxt-modal-foot .btn-cxt-primary, .cxt-modal-foot .btn-cxt-outline { padding: 9px 24px; }
.cxt-field { margin-bottom: 15px; }
.cxt-field > label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 7px; }
.cxt-field input, .cxt-field select {
    width: 100%; height: 42px; border: 1.5px solid var(--border-color); border-radius: 12px;
    padding: 0 13px; font-size: 14px; background: #FAFCFF; outline: none; transition: all .16s;
}
.cxt-field input:focus, .cxt-field select:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(47,123,246,.10); }
.cxt-field .region-3 { display: flex; gap: 8px; }
.cxt-field .region-3 select { flex: 1; min-width: 0; padding: 0 6px; }
.cxt-field .pwd-wrap { position: relative; }
.cxt-field .pwd-wrap input { padding-right: 44px; }
.cxt-field .pwd-eye {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    width: 32px; height: 32px; border: none; background: transparent; cursor: pointer;
    color: var(--text-muted); font-size: 15px; border-radius: 8px;
}
.cxt-field .pwd-eye:hover { color: var(--primary-deep); background: var(--primary-soft); }
.cxt-modal-tip {
    display: flex; gap: 8px; align-items: flex-start;
    background: var(--primary-soft); color: var(--primary-deep);
    border-radius: 12px; padding: 10px 13px; font-size: 12.5px; line-height: 1.6;
    margin-bottom: 15px;
}
.cxt-modal-tip i { margin-top: 1px; }

/* ===== 账号管理筛选行 ===== */
.admin-filter {
    display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.admin-filter select, .admin-filter input {
    height: 40px; border: 1.5px solid var(--border-color); border-radius: 20px;
    padding: 0 15px; font-size: 13.5px; background: #fff; color: var(--text-primary);
    outline: none; transition: all .18s;
}
.admin-filter select { max-width: 150px; cursor: pointer; }
.admin-filter select:focus, .admin-filter input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47,123,246,.10); }
.admin-filter input { width: 190px; }
.admin-filter .btn-query {
    height: 40px; border: none; border-radius: 20px; padding: 0 26px; cursor: pointer;
    background: var(--primary-grad); color: #fff; font-size: 14px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 7px;
    box-shadow: 0 6px 16px rgba(26, 95, 224, .30); transition: all .18s;
}
.admin-filter .btn-query:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(26, 95, 224, .38); }
.admin-filter .btn-query:active { transform: scale(.97); }
.admin-filter .btn-reset {
    height: 40px; border-radius: 20px; padding: 0 18px; cursor: pointer;
    background: #fff; color: var(--text-secondary); border: 1.5px solid var(--border-color);
    font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
    transition: all .18s; text-decoration: none;
}
.admin-filter .btn-reset:hover { border-color: var(--primary); color: var(--primary-deep); background: var(--primary-soft); }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .app-sidebar { width: 72px; }
    .app-sidebar .brand-name, .app-sidebar .nav-item span { display: none; }
    .app-sidebar .nav-item { justify-content: center; padding: 12px 0; }
    .app-main { margin-left: 72px; }
    .stat-grid, .stat-grid-4 { grid-template-columns: 1fr; }
    .header-search { width: 200px; }
    .app-content { padding: 16px; }
    .avatar-name { display: none; }
}
