/* ============================================================
   XXX案例管理SAAS - 全局样式
   主色: 科技蓝渐变 #1e3c72 → #2a5298
   ============================================================ */

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 14px; color: #333; background: #f0f2f5; }
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }
img { max-width: 100%; border: none; }

/* ---------- 科技蓝渐变背景 ---------- */
.tech-blue-gradient {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4a90d9 100%);
}
.tech-blue-gradient-light {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.tech-blue-btn {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 14px;
    cursor: pointer;
    transition: all .3s;
}
.tech-blue-btn:hover {
    background: linear-gradient(135deg, #2a5298, #1e3c72);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 60, 114, .4);
}

/* ---------- 登录页 ---------- */
.login-wrapper {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4a90d9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.login-wrapper::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%);
    top: -200px; right: -200px;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}
.login-wrapper::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
    bottom: -150px; left: -150px;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}
@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

.login-box {
    position: relative;
    z-index: 2;
    width: 420px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    overflow: hidden;
}
.login-header {
    padding: 30px 30px 20px;
    text-align: center;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
}
.login-header .logo-icon {
    width: 64px; height: 64px;
    background: rgba(255,255,255,.2);
    border-radius: 16px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    backdrop-filter: blur(10px);
}
.login-header h1 { font-size: 20px; font-weight: 600; }
.login-header p { font-size: 12px; opacity: .85; margin-top: 4px; }

.login-body { padding: 30px; }
.login-tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 24px;
}
.login-tabs li {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    cursor: pointer;
    color: #888;
    position: relative;
    font-weight: 500;
    transition: color .3s;
}
.login-tabs li.active { color: #1e3c72; }
.login-tabs li.active::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 20%; right: 20%;
    height: 2px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 2px;
}

.form-group { margin-bottom: 18px; position: relative; }
.form-group label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 11px 14px 11px 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all .3s;
    background: #fafbfc;
}
.form-control:focus {
    border-color: #2a5298;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, .1);
}
.form-group .input-icon {
    position: absolute;
    left: 14px; top: 38px;
    color: #aaa;
    font-size: 16px;
}
.form-group .form-control:focus ~ .input-icon { color: #2a5298; }

.btn-primary {
    padding: 13px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s;
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(30,60,114,.4); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-sms {
    position: absolute;
    right: 6px; top: 32px;
    padding: 7px 14px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}
.btn-sms:disabled { background: #ccc; cursor: not-allowed; }

/* ---------- 主布局 ---------- */
.app-layout {
    display: flex;
    min-height: 100vh;
}
.app-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(84deg, #0c2045 0%, #ffffff 100%);
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 0 24px 0 240px;
}
.app-logo {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 220px;    
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 2px 0 8px rgba(0,0,0,.1);
}
.app-logo i { margin-right: 10px; font-size: 22px; }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.header-right .user-info {
    display: flex; align-items: center; gap: 8px;
    color: #555; cursor: pointer; padding: 6px 12px; border-radius: 20px;
    transition: background .2s;
}
.header-right .user-info:hover { background: #f0f2f5; }
.header-right .user-avatar {
    width: 34px; height: 34px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px;
}
.role-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    color: #fff;
    margin-left: 6px;
}

/* ---------- 侧边栏 ---------- */
.app-sidebar {
    position: fixed;
    top: 60px; left: 0; bottom: 0;
    width: 220px;
    background: linear-gradient(180deg, #1e3c72 0%, #1a305d 100%);
    color: #cbd5e0;
    overflow-y: auto;
    padding-top: 12px;
    z-index: 90;
}
.sidebar-menu .menu-item { margin-bottom: 2px; }
.sidebar-menu .menu-item > a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #cbd5e0;
    transition: all .2s;
    cursor: pointer;
    font-size: 14px;
}
.sidebar-menu .menu-item > a i {
    width: 24px; margin-right: 10px;
    font-size: 16px; text-align: center;
}
.sidebar-menu .menu-item:hover > a {
    background: rgba(255,255,255,.08);
    color: #fff;
}
.sidebar-menu .menu-item.active > a {
    background: linear-gradient(90deg, rgba(74,144,217,.3) 0%, transparent 100%);
    color: #fff;
    border-left: 3px solid #4a90d9;
}
.sidebar-menu .submenu {
    display: none;
    background: rgba(0,0,0,.15);
}
.sidebar-menu .menu-item.open > .submenu { display: block; }
.sidebar-menu .submenu a {
    display: block;
    padding: 10px 20px 10px 54px;
    font-size: 13px;
    color: #a0aec0;
    transition: all .2s;
}
.sidebar-menu .submenu a:hover { color: #fff; background: rgba(255,255,255,.05); }
.sidebar-menu .submenu a.active {
    color: #4a90d9;
    background: rgba(74,144,217,.1);
}
.menu-arrow { margin-left: auto; transition: transform .3s; font-size: 12px; }
.menu-item.open > a .menu-arrow { transform: rotate(90deg); }

/* ---------- 主内容区 ---------- */
.app-main {
    margin-left: 220px;
    margin-top: 60px;
    padding: 20px;
    min-height: calc(100vh - 60px);
    width: 99%;
    max-width: 2400px;
}

.page-header {
    background: #fff;
    border-radius: 10px;
    padding: 18px 24px;
    margin-bottom: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.page-header h2 { font-size: 18px; font-weight: 600; color: #1e3c72; }
.breadcrumb { font-size: 13px; color: #888; margin-top: 4px; }
.breadcrumb i { margin: 0 6px; color: #ccc; }

/* ---------- 统计卡片 ---------- */
.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}
.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.stat-card .stat-icon {
    position: absolute;
    right: 20px; top: 50%;
    transform: translateY(-50%);
    width: 56px; height: 56px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    color: #fff;
}
.stat-card h3 { font-size: 13px; color: #888; margin-bottom: 8px; font-weight: 400; }
.stat-card .stat-value {
    font-size: 28px; font-weight: 700; color: #1e3c72;
}
.stat-card .stat-sub { font-size: 12px; color: #aaa; margin-top: 6px; }

.stat-icon.blue   { background: linear-gradient(135deg, #667eea, #764ba2); }
.stat-icon.green  { background: linear-gradient(135deg, #11998e, #38ef7d); }
.stat-icon.orange { background: linear-gradient(135deg, #f093fb, #f5576c); }
.stat-icon.purple { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.stat-icon.red    { background: linear-gradient(135deg, #eb3349, #f45c43); }
.stat-icon.gold   { background: linear-gradient(135deg, #f7971e, #ffd200); }

/* ---------- 通用卡片 ---------- */
.panel {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    margin-bottom: 18px;
}
.panel-title {
    font-size: 15px; font-weight: 600; color: #1e3c72;
    padding-bottom: 14px; margin-bottom: 16px;
    border-bottom: 1px solid #f0f2f5;
    display: flex; align-items: center; justify-content: flex-start;
}
.panel-title .title-icon {
    display: inline-block;
    width: 4px; height: 16px;
    background: linear-gradient(180deg, #1e3c72, #2a5298);
    border-radius: 2px;
    margin-right: 10px;
    vertical-align: middle;
}
.panel-title2 {
    font-size: 15px; font-weight: 600; color: #1e3c72;
    padding-bottom: 14px; margin-bottom: 16px;
    border-bottom: 1px solid #f0f2f5;
    display: flex; align-items: center; justify-content: space-between;
}
.panel-title2 .title-icon {
    display: inline-block;
    width: 4px; height: 16px;
    background: linear-gradient(180deg, #1e3c72, #2a5298);
    border-radius: 2px;
    margin-right: 10px;
    vertical-align: middle;
}

/* ---------- 表格 ---------- */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.data-table thead th {
    background: #f7f9fc;
    color: #555;
    font-weight: 600;
    text-align: left;
    padding: 12px 14px;
    border-bottom: 2px solid #eef0f5;
}
.data-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #f2f3f5;
    color: #444;
}
.data-table tbody tr:hover { background: #f8faff; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table .actions a {
    margin-right: 8px;
    color: #2a5298;
    cursor: pointer;
    font-size: 12px;
    transition: color .2s;
}
.data-table .actions a:hover { text-decoration: underline; }
.data-table .actions a.danger { color: #b9b1b0; }
.data-table .empty-row td {
    text-align: center;
    padding: 60px 20px;
    color: #aaa;
}
.data-table .empty-row i { font-size: 40px; color: #ddd; margin-bottom: 10px; display: block; }

/* ---------- 状态标签 ---------- */
.status-tag {
    display: inline-block;
    padding: 3px 0;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
}
.status-pending    { color: #e65100; }
.status-processing { color: #1565c0; }
.status-closed     { color: #2e7d32; }
.status-cancelled  { color: #616161; }

/* ---------- 筛选栏 ---------- */
.filter-bar {
    background: #f7f9fc;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.filter-bar .form-group { margin-bottom: 0; }
.filter-bar label { display: inline; margin-right: 6px; color: #666; font-size: 13px; }
.filter-bar input, .filter-bar select {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    min-width: 140px;
}
.filter-bar input:focus, .filter-bar select:focus {
    border-color: #2a5298; outline: none;
}

/* ---------- 多选标签 ---------- */
.filter-tags-wrap {
    background: #fff;
    border-radius: 8px;
    padding: 5px 16px 5px;
    margin-bottom: 5px;
    border: 1px solid #eef0f5;
}
.filter-tags-wrap .ft-label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
    font-weight: 500;
}
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.filter-tag {
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    border: 1px solid #dde3ee;
    background: #fff;
    color: #555;
    user-select: none;
    transition: all .15s ease;
    line-height: 1.4;
}
.filter-tag:hover {
    border-color: #2a5298;
    color: #2a5298;
}
.filter-tag.active {
    background: #2a5298;
    border-color: #2a5298;
    color: #fff;
    box-shadow: 0 2px 6px rgba(42,82,152,.25);
}
.filter-tag .ft-color-dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 6px;
    border: none;
    font-size: 13px;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}
.btn-primary { background: linear-gradient(135deg, #1e3c72, #2a5298); color: #fff; }
.btn-success { background: linear-gradient(135deg, #11998e, #38ef7d); color: #fff; }
.btn-warning { background: linear-gradient(135deg, #f093fb, #f5576c); color: #fff; }
.btn-danger  { background: linear-gradient(135deg, #eb3349, #f45c43); color: #fff; }
.btn-default { background: #f0f2f5; color: #555; }
.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0,0,0,.15); }

/* ---------- 模态弹窗 (参考layui风格) ---------- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn .2s;
}
.modal-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    width: 520px;
    max-width: 95vw;
    max-height: 90vh;
    overflow: hidden;
    animation: modalIn .25s;
    display: flex;
    flex-direction: column;
}
.modal-lg { width: 720px; }
.modal-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header .close-btn {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .2s;
}
.modal-header .close-btn:hover { background: rgba(255,255,255,.3); }
.modal-body { padding: 20px; overflow-y: auto; flex: 1; }
.modal-footer {
    padding: 14px 20px;
    border-top: 1px solid #f0f2f5;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
    from { opacity: 0; transform: translateY(-20px) scale(.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Toast 提示 (强化版) ---------- */
.toast-container {
    position: fixed;
    top: 80px; right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}
.toast-item {
    min-width: 260px;
    max-width: 400px;
    padding: 14px 18px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,.2);
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 14px;
    animation: toastIn .35s cubic-bezier(.21,1.02,.73,1) forwards;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}
.toast-item.success { background: linear-gradient(135deg, #11998e, #38ef7d); }
.toast-item.error   { background: linear-gradient(135deg, #eb3349, #f45c43); }
.toast-item.warning { background: linear-gradient(135deg, #f7971e, #ffd200); }
.toast-item.info    { background: linear-gradient(135deg, #1e3c72, #2a5298); }
.toast-item .toast-icon { font-size: 20px; }
.toast-item .toast-close {
    margin-left: auto;
    cursor: pointer;
    opacity: .7;
    font-size: 16px;
}
.toast-item .toast-close:hover { opacity: 1; }
.toast-item.hiding { animation: toastOut .3s ease forwards; }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100%); }
}

/* ---------- 表单 ---------- */
.form-row { display: flex; gap: 16px; margin-bottom: 16px; }
.form-row .form-group { flex: 1; margin-bottom: 0; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-size: 13px;
    font-weight: 500;
}
.form-group label .required { color: #e74c3c; font-weight: bold; margin-left: 2px; }
.form-control, .form-select, textarea.form-control {
    padding: 10px 5px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    transition: all .3s;
}
.form-control:focus, .form-select:focus, textarea.form-control:focus {
    border-color: #2a5298;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, .1);
}
.form-control[readonly] { background: #f7f9fc; color: #888; }
textarea.form-control { resize: vertical; min-height: 80px; }

/* ---------- 分页 ---------- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
    color: #666;
}
.pagination .page-item {
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fff;
    transition: all .2s;
}
.pagination .page-item:hover:not(.disabled):not(.active) {
    border-color: #2a5298; color: #2a5298;
}
.pagination .page-item.active {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff; border-color: transparent;
}
.pagination .page-item.disabled { color: #ccc; cursor: not-allowed; }

/* ---------- 文件上传 ---------- */
.upload-area {
    border: 2px dashed #d0d5dd;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: #999;
    cursor: pointer;
    transition: all .3s;
    background: #fafbfc;
}
.upload-area:hover { border-color: #2a5298; color: #2a5298; background: #f5f9ff; }
.upload-area.has-files { border-color: #2a5298; background: #f5f9ff; }
.upload-area i { font-size: 32px; margin-bottom: 8px; display: block; color: #2a5298; }
.upload-area .upload-tip { font-size: 12px; color: #aaa; margin-top: 8px; }
.upload-list { margin-top: 14px; }
.upload-list .file-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: #f7f9fc;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 13px;
}
.upload-list .file-item i.file-type {
    width: 32px; height: 32px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    margin-right: 10px;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0;
}
.file-type.image { background: linear-gradient(135deg, #667eea, #764ba2); }
.file-type.pdf   { background: linear-gradient(135deg, #eb3349, #f45c43); }
.file-type.word  { background: linear-gradient(135deg, #2a5298, #4a90d9); }
.file-type.excel { background: linear-gradient(135deg, #11998e, #38ef7d); }
.file-type.other { background: #95a5a6; }
.upload-list .file-item .file-name { flex: 1; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-list .file-item .file-size { color: #999; font-size: 12px; margin: 0 12px; }
.upload-list .file-item .file-remove {
    color: #b3b3b3; cursor: pointer; font-size: 14px;
    padding: 4px;
}

/* ---------- 详情页 ---------- */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
}
.detail-item {
    display: flex;
    font-size: 13px;
}
.detail-item .label {
    width: 110px;
    color: #888;
    flex-shrink: 0;
}
.detail-item .value {
    color: #333;
    font-weight: 500;
    word-break: break-all;
}

/* ---------- 时间轴 ---------- */
.timeline { padding: 10px 0; }
.timeline-item {
    position: relative;
    padding-left: 28px;
    padding-bottom: 20px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: 7px; top: 0; bottom: -6px;
    width: 2px;
    background: linear-gradient(180deg, #2a5298, #e0e5ec);
}
.timeline-item:last-child::before { display: none; }
.timeline-item .dot {
    position: absolute;
    left: 0; top: 2px;
    width: 16px; height: 16px;
    background: #2a5298;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #2a5298;
}
.timeline-item .time { font-size: 12px; color: #999; margin-bottom: 4px; }
.timeline-item .content { color: #333; font-size: 13px; }

/* ---------- 图表占位 ---------- */
.chart-container { height: 280px; position: relative; }

/* ---------- 系统 Logo 图片 ---------- */
.app-logo .site-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    margin-right: 10px;
    object-fit: contain;
    background: rgba(255,255,255,.15);
    padding: 2px;
    vertical-align: middle;
}
.login-header .login-logo-img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    margin: 0 auto 12px;
    display: block;
    object-fit: contain;
    background: rgba(255,255,255,.2);
    padding: 4px;
    backdrop-filter: blur(10px);
}
@media (max-width: 768px) {
    .app-logo .site-logo-img { margin-right: 0; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
    .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .app-sidebar { width: 60px; }
    .app-logo { width: 60px; padding: 0; justify-content: center; }
    .app-logo span.logo-text { display: none; }
    .app-header { padding-left: 80px; }
    .app-main { margin-left: 60px; }
    .sidebar-menu .menu-item > a span:not(.menu-arrow) { display: none; }
    .sidebar-menu .submenu { display: none !important; }
}
