/* ============================================
   京津冀·鄂一大家 — Aero Glass 政务风格主题
   ============================================ */

:root {
    --aero-blue:        #1a5fa8;
    --aero-blue-dark:   #0d3d6b;
    --aero-blue-light:  #3a8fdc;
    --aero-sky:         #e8f4fc;
    --aero-glass-bg:    rgba(220, 238, 255, 0.72);
    --aero-glass-border:rgba(120, 180, 240, 0.60);
    --aero-glass-shadow:0 4px 24px rgba(10, 60, 120, 0.18), 0 1px 0 rgba(255,255,255,0.7) inset;
    --aero-highlight:   rgba(255,255,255,0.85);
    --aero-stripe:      rgba(255,255,255,0.15);
    --aero-text:        #1a2a3a;
    --aero-text-muted:  #5a7a9a;
    --aero-red:         #c0392b;
    --aero-green:       #1a7a3a;
    --aero-orange:      #c47a00;
    --aero-border:      #8ab4d8;
    --sidebar-width:    220px;
    --right-sidebar-w:  240px;
    --header-height:    54px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Microsoft YaHei', 'SimHei', 'Arial', sans-serif;
    font-size: 14px;
    color: var(--aero-text);
    background: #c8daea url('../img/bg_pattern.png') repeat;
    background-image: linear-gradient(160deg, #b8d4ee 0%, #d0e8f8 40%, #aecce6 100%);
    min-height: 100vh;
}

/* ===== 滚动条 ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(180,210,240,0.3); }
::-webkit-scrollbar-thumb { background: rgba(30,100,180,0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(30,100,180,0.65); }

/* ===== 顶部导航栏 ===== */
.top-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height);
    z-index: 1000;
    background: linear-gradient(180deg,
        rgba(60,130,210,0.92) 0%,
        rgba(25,90,170,0.96) 50%,
        rgba(15,65,130,0.98) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 2px 12px rgba(0,30,80,0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    padding: 0 18px;
    gap: 16px;
}

.top-header::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.header-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #fff 0%, #cce4ff 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,30,80,0.3), 0 1px 0 rgba(255,255,255,0.5) inset;
    font-size: 18px;
    font-weight: 900;
    color: var(--aero-blue-dark);
}

.header-logo .site-title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    white-space: nowrap;
}

.header-logo .site-sub {
    font-size: 11px;
    color: rgba(200,225,255,0.85);
    letter-spacing: 1px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.header-nav a {
    color: rgba(220,238,255,0.9);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    border: 1px solid transparent;
    white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
    color: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

/* 消息铃铛/信封 */
.msg-bell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 6px;
    cursor: pointer;
    color: rgba(220,238,255,0.9);
    font-size: 18px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    transition: all 0.2s;
    text-decoration: none;
}

.msg-bell:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.msg-bell .badge {
    position: absolute;
    top: -4px; right: -4px;
    background: #e03030;
    color: #fff;
    font-size: 10px;
    min-width: 17px;
    height: 17px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 1.5px solid rgba(255,255,255,0.8);
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.user-info-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    color: #fff;
    text-decoration: none;
    position: relative;
}

.user-info-bar:hover {
    background: rgba(255,255,255,0.18);
}

.user-avatar-sm {
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255,255,255,0.5);
}

.user-name-sm {
    font-size: 13px;
    font-weight: 500;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== 主体布局 ===== */
.main-wrapper {
    display: flex;
    padding-top: var(--header-height);
    min-height: 100vh;
}

/* ===== 左侧边栏 ===== */
.left-sidebar {
    width: var(--sidebar-width);
    min-height: calc(100vh - var(--header-height));
    background: linear-gradient(180deg,
        rgba(180,215,250,0.85) 0%,
        rgba(160,200,245,0.90) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-right: 1px solid var(--aero-glass-border);
    box-shadow: 2px 0 12px rgba(20,70,140,0.12);
    position: fixed;
    top: var(--header-height);
    left: 0;
    overflow-y: auto;
    z-index: 100;
}

.left-sidebar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
}

.sidebar-section-title {
    padding: 14px 14px 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--aero-blue-dark);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(100,160,220,0.3);
    margin-bottom: 4px;
    background: rgba(255,255,255,0.25);
}

.sidebar-menu {
    list-style: none;
    padding: 4px 0;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    color: var(--aero-blue-dark);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.15s;
    border-left: 3px solid transparent;
    border-radius: 0 4px 4px 0;
}

.sidebar-menu li a .menu-icon {
    width: 18px;
    text-align: center;
    font-size: 15px;
    opacity: 0.75;
    flex-shrink: 0;
}

.sidebar-menu li a:hover {
    background: rgba(255,255,255,0.45);
    border-left-color: var(--aero-blue-light);
    color: var(--aero-blue);
}

.sidebar-menu li a.active {
    background: rgba(255,255,255,0.6);
    border-left-color: var(--aero-blue);
    color: var(--aero-blue);
    font-weight: 600;
    box-shadow: 1px 0 6px rgba(20,80,160,0.1);
}

.dept-item {
    padding: 7px 16px 7px 28px;
    color: #2a4a6a;
    font-size: 13px;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.15s;
}

.dept-item:hover {
    background: rgba(255,255,255,0.4);
    border-left-color: var(--aero-blue-light);
}

.dept-item.active {
    background: rgba(255,255,255,0.55);
    border-left-color: var(--aero-blue);
    color: var(--aero-blue);
    font-weight: 600;
}

/* ===== 右侧员工侧边栏 ===== */
.right-sidebar {
    width: var(--right-sidebar-w);
    min-height: calc(100vh - var(--header-height));
    background: linear-gradient(180deg,
        rgba(180,215,250,0.82) 0%,
        rgba(160,200,245,0.88) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid var(--aero-glass-border);
    box-shadow: -2px 0 12px rgba(20,70,140,0.1);
    position: fixed;
    top: var(--header-height);
    right: 0;
    overflow-y: auto;
    z-index: 100;
}

.right-sidebar-header {
    padding: 12px 12px 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--aero-blue-dark);
    letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(100,160,220,0.3);
    background: rgba(255,255,255,0.25);
}

.company-group {
    padding: 6px 0;
    border-bottom: 1px solid rgba(100,160,220,0.2);
}

.company-group-title {
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--aero-blue-dark);
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    gap: 6px;
}

.company-group-title::before {
    content: '';
    display: inline-block;
    width: 3px; height: 12px;
    background: var(--aero-blue);
    border-radius: 2px;
}

.employee-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
}

.employee-avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
}

.employee-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.7);
    box-shadow: 0 2px 6px rgba(20,70,140,0.2);
    transition: all 0.2s;
}

.employee-avatar:hover {
    border-color: var(--aero-blue);
    box-shadow: 0 0 0 3px rgba(30,100,200,0.25), 0 2px 8px rgba(20,70,140,0.3);
    transform: translateY(-2px);
}

.employee-name-sm {
    font-size: 11px;
    color: #2a4a6a;
    text-align: center;
    max-width: 52px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== 主内容区 ===== */
.main-content {
    margin-left: var(--sidebar-width);
    margin-right: var(--right-sidebar-w);
    flex: 1;
    padding: 22px 24px;
    min-height: calc(100vh - var(--header-height));
}

/* ===== Aero 玻璃卡片 ===== */
.aero-card {
    background: var(--aero-glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--aero-glass-border);
    border-radius: 8px;
    box-shadow: var(--aero-glass-shadow);
    position: relative;
    overflow: hidden;
}

.aero-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(255,255,255,0.85) 50%, transparent 95%);
    pointer-events: none;
}

.card-header {
    padding: 13px 18px;
    border-bottom: 1px solid rgba(100,160,220,0.3);
    background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--aero-blue-dark);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title::before {
    content: '';
    display: inline-block;
    width: 4px; height: 16px;
    background: linear-gradient(180deg, var(--aero-blue-light), var(--aero-blue-dark));
    border-radius: 2px;
}

.card-body {
    padding: 16px 18px;
}

/* ===== 页面标题面包屑 ===== */
.page-header {
    margin-bottom: 18px;
}

.page-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--aero-blue-dark);
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(255,255,255,0.7);
}

.breadcrumb {
    font-size: 12px;
    color: var(--aero-text-muted);
    margin-top: 3px;
}

.breadcrumb a { color: var(--aero-blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== Aero 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 18px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(180deg, #5ba8e0 0%, #1a70c8 45%, #1055a0 100%);
    border-color: #0d4090;
    color: #fff;
    box-shadow: 0 2px 6px rgba(10,60,160,0.35), 0 1px 0 rgba(255,255,255,0.3) inset;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #72b8e8 0%, #2880d8 45%, #1a65b0 100%);
    box-shadow: 0 3px 10px rgba(10,60,160,0.45), 0 1px 0 rgba(255,255,255,0.3) inset;
    color: #fff;
}

.btn-primary:active {
    background: linear-gradient(180deg, #0d4090 0%, #1a70c8 100%);
    box-shadow: 0 1px 3px rgba(10,60,160,0.3) inset;
}

.btn-success {
    background: linear-gradient(180deg, #5cbf7a 0%, #1a8a3a 45%, #106030 100%);
    border-color: #0d5028;
    color: #fff;
    box-shadow: 0 2px 6px rgba(10,80,30,0.3), 0 1px 0 rgba(255,255,255,0.25) inset;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-success:hover {
    background: linear-gradient(180deg, #70cf8a 0%, #25a048 45%, #156838 100%);
    color: #fff;
}

.btn-danger {
    background: linear-gradient(180deg, #e06055 0%, #c0302a 45%, #901818 100%);
    border-color: #7a1010;
    color: #fff;
    box-shadow: 0 2px 6px rgba(140,20,20,0.3), 0 1px 0 rgba(255,255,255,0.2) inset;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-danger:hover {
    background: linear-gradient(180deg, #ea7065 0%, #d04035 100%);
    color: #fff;
}

.btn-secondary {
    background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(200,225,248,0.9) 100%);
    border-color: var(--aero-border);
    color: var(--aero-blue-dark);
    box-shadow: 0 2px 5px rgba(20,70,140,0.15), 0 1px 0 rgba(255,255,255,0.9) inset;
}

.btn-secondary:hover {
    background: linear-gradient(180deg, #fff 0%, rgba(210,232,252,0.95) 100%);
    border-color: var(--aero-blue-light);
    color: var(--aero-blue);
}

.btn-warning {
    background: linear-gradient(180deg, #f5c060 0%, #d4870a 45%, #a86000 100%);
    border-color: #805000;
    color: #fff;
    box-shadow: 0 2px 6px rgba(140,80,0,0.3), 0 1px 0 rgba(255,255,255,0.2) inset;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-sm { padding: 4px 12px; font-size: 12px; }
.btn-lg { padding: 10px 24px; font-size: 15px; }
.btn-icon { padding: 7px 10px; }

/* ===== 表单 ===== */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--aero-blue-dark);
    margin-bottom: 5px;
    letter-spacing: 0.3px;
}

.form-label .req {
    color: var(--aero-red);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid var(--aero-border);
    background: linear-gradient(180deg, rgba(240,250,255,0.95) 0%, rgba(220,240,255,0.9) 100%);
    color: var(--aero-text);
    font-size: 13.5px;
    font-family: inherit;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(20,70,140,0.1) inset;
    outline: none;
}

.form-control:focus {
    border-color: var(--aero-blue-light);
    background: rgba(240,250,255,0.98);
    box-shadow: 0 0 0 3px rgba(50,130,220,0.18), 0 1px 3px rgba(20,70,140,0.1) inset;
}

.form-control::placeholder { color: #90a8c0; }

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231a5fa8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

/* ===== 富文本编辑器工具栏 ===== */
.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    padding: 8px 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(210,230,250,0.5) 100%);
    border-bottom: 1px solid rgba(100,160,220,0.3);
}

.editor-toolbar button {
    width: 28px; height: 28px;
    border: 1px solid rgba(100,160,220,0.4);
    border-radius: 3px;
    background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(200,225,248,0.8) 100%);
    cursor: pointer;
    font-size: 13px;
    color: var(--aero-blue-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.editor-toolbar button:hover {
    background: linear-gradient(180deg, #fff 0%, rgba(185,218,248,0.9) 100%);
    border-color: var(--aero-blue-light);
}

.editor-toolbar .sep {
    width: 1px;
    background: rgba(100,160,220,0.4);
    margin: 2px 3px;
}

#editor-content {
    min-height: 280px;
    padding: 14px;
    outline: none;
    line-height: 1.75;
    font-size: 14px;
    color: var(--aero-text);
    background: rgba(245,252,255,0.8);
}

#editor-content:empty::before {
    content: attr(data-placeholder);
    color: #90a8c0;
}

/* ===== 表格 ===== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.data-table th {
    background: linear-gradient(180deg, rgba(200,225,248,0.8) 0%, rgba(180,210,240,0.8) 100%);
    color: var(--aero-blue-dark);
    font-weight: 700;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 2px solid rgba(100,160,220,0.5);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.data-table td {
    padding: 9px 14px;
    border-bottom: 1px solid rgba(100,160,220,0.2);
    vertical-align: middle;
    color: var(--aero-text);
}

.data-table tbody tr:hover {
    background: rgba(210,235,255,0.5);
}

.data-table tbody tr:nth-child(even) {
    background: rgba(230,245,255,0.3);
}

/* ===== 标签/徽章 ===== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-blue   { background: rgba(30,100,200,0.12); color: #1a5fa8; border: 1px solid rgba(30,100,200,0.2); }
.badge-green  { background: rgba(20,120,50,0.12);  color: #1a7a3a; border: 1px solid rgba(20,120,50,0.2); }
.badge-red    { background: rgba(180,30,30,0.12);  color: #c02020; border: 1px solid rgba(180,30,30,0.2); }
.badge-orange { background: rgba(200,120,0,0.12);  color: #c47a00; border: 1px solid rgba(200,120,0,0.2); }
.badge-gray   { background: rgba(100,130,160,0.12);color: #5a7a9a; border: 1px solid rgba(100,130,160,0.2); }

/* ===== 分页 ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 0;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--aero-border);
    color: var(--aero-blue-dark);
    text-decoration: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(200,225,248,0.8) 100%);
    transition: all 0.15s;
}

.pagination a:hover {
    background: linear-gradient(180deg, #fff 0%, rgba(185,218,248,0.9) 100%);
    border-color: var(--aero-blue-light);
}

.pagination .active {
    background: linear-gradient(180deg, #5ba8e0 0%, #1a70c8 100%);
    border-color: #0d4090;
    color: #fff;
    box-shadow: 0 2px 5px rgba(10,60,160,0.3);
}

/* ===== 弹窗 ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,30,60,0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: linear-gradient(160deg, rgba(225,240,255,0.96) 0%, rgba(200,228,255,0.97) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(120,180,240,0.7);
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(10,40,100,0.35), 0 1px 0 rgba(255,255,255,0.8) inset;
    width: 520px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-20px) scale(0.97);
    transition: all 0.25s;
}

.modal-overlay.show .modal-box {
    transform: translateY(0) scale(1);
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(100,160,220,0.3);
    background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(210,232,252,0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--aero-blue-dark);
    letter-spacing: 0.5px;
}

.modal-close {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(100,160,220,0.5);
    background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(200,225,248,0.7) 100%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--aero-text-muted);
    transition: all 0.15s;
}

.modal-close:hover {
    background: rgba(200,30,30,0.1);
    border-color: rgba(200,30,30,0.3);
    color: var(--aero-red);
}

.modal-body { padding: 18px 20px; }
.modal-footer {
    padding: 12px 20px;
    border-top: 1px solid rgba(100,160,220,0.3);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ===== 列表项 ===== */
.list-item {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(100,160,220,0.2);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: background 0.15s;
    cursor: pointer;
}

.list-item:last-child { border-bottom: none; }

.list-item:hover {
    background: rgba(210,235,255,0.5);
}

.list-item.unread {
    background: rgba(220,240,255,0.4);
}

.list-item-icon {
    width: 38px; height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(20,70,140,0.15);
}

.icon-task    { background: linear-gradient(135deg, #c8e8ff, #a0c8f0); color: #1a5fa8; }
.icon-notice  { background: linear-gradient(135deg, #ffefc8, #f0d080); color: #c47a00; }
.icon-article { background: linear-gradient(135deg, #c8ffe0, #90d8b0); color: #1a7a3a; }

.list-item-body { flex: 1; min-width: 0; }
.list-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--aero-text);
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-item.unread .list-item-title { color: var(--aero-blue-dark); }

.list-item-meta {
    font-size: 12px;
    color: var(--aero-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.unread-dot {
    width: 7px; height: 7px;
    background: #e03030;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

/* ===== 空状态 ===== */
.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--aero-text-muted);
}

.empty-state .empty-icon {
    font-size: 44px;
    margin-bottom: 12px;
    opacity: 0.45;
}

.empty-state p { font-size: 14px; }

/* ===== 优先级颜色 ===== */
.priority-high   { color: var(--aero-red); font-weight: 700; }
.priority-medium { color: var(--aero-orange); font-weight: 600; }
.priority-low    { color: var(--aero-green); }

/* ===== 提示消息 ===== */
.alert {
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13.5px;
    margin-bottom: 14px;
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-success { background: rgba(20,120,50,0.1); border-color: rgba(20,120,50,0.3); color: #1a7a3a; }
.alert-danger  { background: rgba(180,30,30,0.1); border-color: rgba(180,30,30,0.3); color: #c02020; }
.alert-info    { background: rgba(30,100,200,0.1); border-color: rgba(30,100,200,0.25); color: #1a5fa8; }
.alert-warning { background: rgba(200,120,0,0.1); border-color: rgba(200,120,0,0.3); color: #c47a00; }

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
    :root { --right-sidebar-w: 0px; }
    .right-sidebar { display: none; }
    .main-content { margin-right: 0; }
}

@media (max-width: 860px) {
    :root { --sidebar-width: 0px; }
    .left-sidebar { display: none; }
    .main-content { margin-left: 0; }
}

/* ===== 进度条 & 装饰 ===== */
.aero-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100,160,220,0.5), transparent);
    margin: 16px 0;
}

/* 加载动画 */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spin {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid rgba(30,100,200,0.2);
    border-top-color: var(--aero-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ===== 管理员后台专属样式 ===== */
.admin-body {
    background: linear-gradient(160deg, #c0d8f0 0%, #d5e8f8 40%, #b8cee8 100%);
}

.admin-sidebar {
    background: linear-gradient(180deg, rgba(15,50,110,0.96) 0%, rgba(10,35,85,0.98) 100%);
    border-right: 1px solid rgba(255,255,255,0.08);
}

.admin-sidebar .sidebar-section-title {
    color: rgba(180,210,248,0.7);
    background: rgba(255,255,255,0.05);
    border-bottom-color: rgba(255,255,255,0.08);
}

.admin-sidebar .sidebar-menu li a {
    color: rgba(190,215,248,0.85);
    border-left-color: transparent;
}

.admin-sidebar .sidebar-menu li a:hover {
    background: rgba(255,255,255,0.08);
    border-left-color: #5ba8e0;
    color: #fff;
}

.admin-sidebar .sidebar-menu li a.active {
    background: rgba(255,255,255,0.12);
    border-left-color: #5ba8e0;
    color: #fff;
}

.stat-card {
    background: var(--aero-glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--aero-glass-border);
    border-radius: 8px;
    box-shadow: var(--aero-glass-shadow);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}

.stat-icon {
    width: 52px; height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.stat-icon-blue   { background: linear-gradient(135deg, #5ba8e0, #1a70c8); color: #fff; box-shadow: 0 3px 10px rgba(20,80,200,0.3); }
.stat-icon-green  { background: linear-gradient(135deg, #5cbf7a, #1a8a3a); color: #fff; box-shadow: 0 3px 10px rgba(20,120,50,0.3); }
.stat-icon-orange { background: linear-gradient(135deg, #f0b030, #c07000); color: #fff; box-shadow: 0 3px 10px rgba(160,90,0,0.3); }
.stat-icon-red    { background: linear-gradient(135deg, #e07070, #c03030); color: #fff; box-shadow: 0 3px 10px rgba(160,30,30,0.3); }

.stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--aero-blue-dark);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--aero-text-muted);
    margin-top: 3px;
    letter-spacing: 0.5px;
}

/* ===== 登录页 ===== */
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #0a2a5a 0%, #0d3d7a 40%, #1a5a9a 100%);
    position: relative;
    overflow: hidden;
}

.login-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/login_bg.png') center / cover no-repeat;
    opacity: 0.08;
}

.login-box {
    width: 420px;
    background: linear-gradient(160deg, rgba(220,238,255,0.92) 0%, rgba(195,225,252,0.95) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(120,180,240,0.65);
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0,20,70,0.55), 0 1px 0 rgba(255,255,255,0.8) inset;
    padding: 40px 36px 36px;
    position: relative;
    z-index: 1;
}

.login-logo {
    text-align: center;
    margin-bottom: 28px;
}

.login-logo .site-emblem {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, #1a70c8 0%, #0d3d6b 100%);
    border-radius: 12px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,40,120,0.45), 0 1px 0 rgba(255,255,255,0.3) inset;
    font-size: 30px;
    color: #fff;
    font-weight: 900;
}

.login-logo h1 {
    font-size: 20px;
    font-weight: 800;
    color: var(--aero-blue-dark);
    letter-spacing: 2px;
}

.login-logo p {
    font-size: 12px;
    color: var(--aero-text-muted);
    margin-top: 3px;
    letter-spacing: 1px;
}

.login-btn {
    width: 100%;
    padding: 11px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ===== 工具类 ===== */
.d-flex  { display: flex; }
.d-none  { display: none; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.mt-8   { margin-top: 8px; }
.mt-12  { margin-top: 12px; }
.mt-16  { margin-top: 16px; }
.mb-12  { margin-bottom: 12px; }
.mb-16  { margin-bottom: 16px; }
.mb-20  { margin-bottom: 20px; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-muted { color: var(--aero-text-muted); }
.text-small { font-size: 12px; }
.fw-bold { font-weight: 700; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 16px; }

@media (max-width: 860px) {
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ===== 全屏水印 ===== */
.page-watermark {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 9999;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(6, 1fr);
    overflow: hidden;
}

.wm-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: rgba(20, 60, 120, 0.18);
    white-space: nowrap;
    transform: rotate(-25deg);
    letter-spacing: 2px;
    font-family: 'Microsoft YaHei', 'SimHei', sans-serif;
}
