:root {
    /* 主色调 - 现代科技蓝 */
    --primary-color: #4361ee;
    --primary-light: #6c8fff;
    --primary-dark: #3a56d4;

    /* 次级色调 - 清新薄荷绿 */
    --secondary-color: #38bdf8;

    /* 强调色 - 活力紫 */
    --accent-color: #7c3aed;

    /* 中性色调 */
    --text-color: #0f172a;
    --text-light: #334155;
    --text-muted: #64748b;
    --background-color: #f8fafc;
    --card-color: #ffffff;
    --border-color: #e2e8f0;

    /* 功能色 */
    --error-color: #ef4444;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;

    /* 渐变 */
    --gradient-blue: linear-gradient(135deg, #4361ee, #3b82f6);
    --gradient-green: linear-gradient(135deg, #10b981, #38bdf8);
    --gradient-main: linear-gradient(135deg, #4361ee, #7c3aed);
    --gradient-accent: linear-gradient(135deg, #7c3aed, #38bdf8);

    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 10px 20px rgba(58, 134, 255, 0.07);
    --shadow-btn: 0 4px 10px rgba(58, 134, 255, 0.2);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', sans-serif;
}

body {
    background-color: var(--background-color);
    background-image:
        radial-gradient(rgba(67, 97, 238, 0.07) 2px, transparent 2px),
        radial-gradient(rgba(124, 58, 237, 0.07) 2px, transparent 2px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.03) 0%, rgba(124, 58, 237, 0.03) 100%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    padding: 0.6rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-normal);
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    margin-right: 0.5rem;
    color: var(--accent-color);
    font-size: 1.8rem;
    transition: var(--transition-normal);
}

.logo:hover i {
    transform: rotate(15deg);
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 0.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-normal);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.nav-links a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(58, 134, 255, 0.1);
    transition: var(--transition-normal);
    z-index: -1;
}

.nav-links a:hover:before {
    width: 100%;
}

.nav-links a:hover {
    transform: translateY(-2px);
}

.nav-links a.active, .nav-links a:hover {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 12px -2px rgba(58, 134, 255, 0.3);
}

.nav-links a i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-links a:hover i {
    transform: translateY(-3px);
}

.nav-links-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.user-info {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.user-info:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px -2px rgba(58, 134, 255, 0.25);
}

.user-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.user-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.user-info:hover .user-avatar img {
    border-color: white;
    transform: scale(1.1);
}

.user-details {
    display: flex;
    flex-direction: column;
    margin-right: 1rem;
}

.user-name {
    font-weight: 600;
    color: var(--text-color);
}

.user-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error-color);
    transform: rotate(360deg);
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover, .mobile-menu-toggle.active {
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* 消息通知区域 */
.notifications {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alert {
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px -3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.alert i:first-child {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.close-alert {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    margin-left: auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-alert:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

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

.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

/* 内容区域样式 */
.content-wrapper {
    padding: 2rem 0;
}

/* 页脚样式 */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.footer-logo i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 添加动画类 */
.animate__animated {
    animation-duration: 0.5s;
    animation-fill-mode: both;
}

.animate__fadeInDown {
    animation-name: fadeInDown;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* 增强的响应式样式 */
@media (max-width: 992px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    .navbar {
        padding: 0.5rem 0;
    }
}

@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }

    .stat-card {
        display: flex;
        align-items: center;
    }

    .stat-card-icon {
        margin-right: 1rem;
        width: 50px;
        height: 50px;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .navbar {
        flex-wrap: wrap;
    }

    .nav-links-container {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 99;
        height: auto;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-links-container.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .nav-links li {
        width: 100%;
        margin: 0;
    }

    .nav-links a {
        width: 100%;
        padding: 1rem;
        justify-content: flex-start;
    }

    .nav-links a:hover {
        transform: none;
    }

    .user-info {
        margin-left: auto;
    }

    .user-details {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 1;
        margin-right: 1rem;
    }

    .search-form {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-section {
        flex-direction: column;
        gap: 1rem;
    }

    .page-header {
        padding: 1rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .row {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .user-avatar {
        width: 36px;
        height: 36px;
    }

    .user-avatar img {
        width: 36px;
        height: 36px;
    }

    .logout-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-card-icon {
        width: 40px;
        height: 40px;
    }

    .stat-card-icon i {
        font-size: 1.2rem;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Main Content Styles */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 180px);
}

.page-header {
    margin-bottom: 2rem;
    position: relative;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 5px 15px -3px rgba(0, 0, 0, 0.05);
}

.page-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    color: var(--text-color);
    position: relative;
    padding-left: 1rem;
}

.page-header h1:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--gradient-main);
    border-radius: var(--radius-full);
}

.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    margin: 1.25rem 0;
    box-shadow:
        0 10px 25px -5px rgba(15, 23, 42, 0.04),
        0 8px 10px -6px rgba(15, 23, 42, 0.02);
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.05)
    );
    pointer-events: none;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-main);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    opacity: 0.9;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 30px -10px rgba(15, 23, 42, 0.08),
        0 10px 15px -3px rgba(15, 23, 42, 0.04);
    border-color: rgba(226, 232, 240, 0.9);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.card-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    display: flex;
    align-items: center;
}

.card-header h2 i {
    margin-right: 0.75rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.card:hover .card-header h2 i {
    transform: translateY(-3px) rotate(5deg);
}

.card-body {
    padding: 0;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

input, select, textarea {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-size: 1rem;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.03);
}

input:hover, select:hover, textarea:hover {
    border-color: rgba(67, 97, 238, 0.3);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
    outline: none;
    background: #ffffff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    background: var(--gradient-main);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.25);
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
    line-height: 1.4;
    letter-spacing: 0.01em;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    opacity: 1;
}

.btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
}

.btn:hover::after {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.35);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(67, 97, 238, 0.2);
}

.btn i {
    margin-right: 0.625rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
}

.btn-secondary {
    background: var(--gradient-accent);
    color: white;
}

.btn-success {
    background: var(--gradient-green);
    color: white;
}

.btn-info {
    background: linear-gradient(135deg, var(--info-color), var(--secondary-color));
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color), #fdba74);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, var(--error-color), #fb7185);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
    margin: 1rem 0;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow:
        0 10px 15px -3px rgba(15, 23, 42, 0.04),
        0 4px 6px -2px rgba(15, 23, 42, 0.02);
}

.table th, .table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    vertical-align: middle;
    transition: all 0.2s ease;
}

.table th {
    background: rgba(67, 97, 238, 0.06);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.table tr {
    transition: background-color 0.2s ease;
}

.table tr:hover {
    background-color: rgba(58, 134, 255, 0.05);
}

/* 添加省略号样式 */
.table .description-cell {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    cursor: pointer;
}

/* 移除CSS的hover状态，改用JavaScript实现 */
.description-tooltip {
    position: fixed;
    left: 0;
    top: 0;
    width: max-content;
    max-width: 400px;
    min-width: 200px;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 12px;
    border-radius: var(--radius-sm);
    box-shadow: 0 3px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    word-wrap: break-word;
    white-space: normal;
    text-align: left;
    line-height: 1.5;
    font-weight: normal;
    font-size: 0.9rem;
    pointer-events: none;
    display: none;
    border: 1px solid rgba(255,255,255,0.2);
}

.table thead th {
    background-color: #f1f3f5;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--text-color);
    position: relative;
    padding: 0.75rem 0.5rem;
    text-align: center;
    transition: var(--transition-normal);
    overflow: hidden;
    cursor: pointer;
    white-space: nowrap;
    height: auto;
}

.table thead th:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

/* 移除所有表头悬停时的效果 */
.table thead:hover th:after {
    transform: scaleX(0);
}

/* 只对当前悬停的表头应用效果 */
.table thead th:hover {
    background-color: #e9ecef;
    color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.table thead th:hover:after {
    transform: scaleX(1);
}

/* 添加额外的视觉效果 */
.table thead th:hover i {
    transform: translateY(-2px);
    color: var(--primary-color);
}

/* 标题中的图标样式 */
.table thead th i {
    margin-right: 0.25rem;
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.table tbody tr {
    transition: var(--transition-fast);
}

.table tbody tr:hover {
    background-color: rgba(67, 97, 238, 0.03);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.01);
}

.table-bordered {
    border: 1px solid var(--border-color);
}

.table-bordered th,
.table-bordered td {
    border: 1px solid var(--border-color);
}

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 0.4em 0.65em;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.badge-success {
    background-color: var(--success-color);
    color: white;
}

.badge-warning {
    background-color: var(--warning-color);
    color: white;
}

.badge-danger {
    background-color: var(--error-color);
    color: white;
}

.badge-info {
    background-color: var(--info-color);
    color: white;
}

/* Alert Styles */
.alert {
    position: relative;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success {
    background-color: rgba(46, 196, 182, 0.1);
    border-left: 4px solid var(--success-color);
    color: var(--success-color);
}

.alert-info {
    background-color: rgba(76, 201, 240, 0.1);
    border-left: 4px solid var(--info-color);
    color: var(--info-color);
}

.alert-warning {
    background-color: rgba(255, 159, 28, 0.1);
    border-left: 4px solid var(--warning-color);
    color: var(--warning-color);
}

.alert-danger {
    background-color: rgba(231, 29, 54, 0.1);
    border-left: 4px solid var(--error-color);
    color: var(--error-color);
}

/* Modal Styles - Fix for deletion confirmation dialog */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: var(--transition-normal);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.modal-header .modal-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.modal-header .modal-close:hover {
    color: var(--text-color);
    transform: rotate(90deg);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow:
        0 10px 25px -5px rgba(15, 23, 42, 0.04),
        0 8px 10px -6px rgba(15, 23, 42, 0.02);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.05)
    );
    pointer-events: none;
}

.stat-card:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: var(--gradient-blue);
    opacity: 0.1;
    border-radius: 0 0 0 100%;
}

.stat-card:nth-child(2):before {
    background: var(--gradient-green);
}

.stat-card:nth-child(3):before {
    background: var(--gradient-accent);
}

.stat-card:nth-child(4):before {
    background: linear-gradient(135deg, var(--warning-color), #fdba74);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.08), 0 10px 15px -3px rgba(15, 23, 42, 0.04);
}

.stat-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--gradient-blue);
    box-shadow: 0 10px 20px -5px rgba(58, 134, 255, 0.3);
    margin-right: 1.25rem;
    flex-shrink: 0;
}

.stat-card:nth-child(2) .stat-card-icon {
    background: var(--gradient-green);
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.3);
}

.stat-card:nth-child(3) .stat-card-icon {
    background: var(--gradient-accent);
    box-shadow: 0 10px 20px -5px rgba(139, 92, 246, 0.3);
}

.stat-card:nth-child(4) .stat-card-icon {
    background: linear-gradient(135deg, var(--warning-color), #fdba74);
    box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.3);
}

.stat-card-icon i {
    font-size: 1.75rem;
    color: white;
}

.stat-card-content {
    flex: 1;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Search and filter styles */
.search-bar {
    margin-bottom: 2rem;
}

.search-form {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

.search-form input {
    flex: 1;
}

.filter-section {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    box-shadow: 0 5px 15px -3px rgba(0, 0, 0, 0.05);
}

.filter-section .form-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

.filter-section .btn {
    margin-bottom: 0;
}

/* File Upload Styles */
.file-upload {
    border: 2px dashed rgba(67, 97, 238, 0.3);
    border-radius: var(--radius-md);
    padding: 3rem 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: rgba(67, 97, 238, 0.03);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.file-upload::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(67, 97, 238, 0.03) 0%,
        rgba(124, 58, 237, 0.03) 100%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.file-upload:hover {
    border-color: var(--primary-color);
    background-color: rgba(67, 97, 238, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.file-upload:hover::before {
    opacity: 1;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    display: block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.file-upload:hover i {
    transform: translateY(-5px) scale(1.1);
    color: var(--accent-color);
}

.file-upload p {
    margin: 0;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.05rem;
}

.file-upload p.small {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.75rem;
}

.file-upload .allowed-types {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
}

/* Login & Auth Styles */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #dbeafe 100%);
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(rgba(67, 97, 238, 0.07) 2px, transparent 2px),
        radial-gradient(rgba(124, 58, 237, 0.07) 2px, transparent 2px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    pointer-events: none;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    box-shadow:
        0 20px 25px -5px rgba(15, 23, 42, 0.1),
        0 10px 10px -5px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 25px 30px -5px rgba(15, 23, 42, 0.15),
        0 15px 15px -5px rgba(15, 23, 42, 0.08);
}

.auth-header {
    text-align: center;
    padding: 2.5rem 1.5rem 2rem;
    background: var(--gradient-main);
    color: white;
    position: relative;
    overflow: hidden;
}

.auth-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0)
    );
    pointer-events: none;
}

.auth-logo {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.auth-body {
    padding: 2.5rem 2rem;
}

.auth-footer {
    text-align: center;
    padding: 1.75rem;
    border-top: 1px solid var(--border-color);
    background-color: rgba(248, 250, 252, 0.5);
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    margin-top: 3.5rem;
    padding: 1.75rem 0;
    text-align: center;
    box-shadow: 0 -10px 15px -3px rgba(15, 23, 42, 0.04);
    color: var(--text-light);
    font-size: 0.95rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05)
    );
    pointer-events: none;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Utilities */
.mb-3 {
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
    }

    .nav-links li {
        margin: 0 0.25rem;
    }

    .user-info {
        width: 100%;
        justify-content: space-between;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .row {
        grid-template-columns: 1fr;
    }

    .search-form {
        flex-direction: column;
    }

    .filter-section {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .stat-card-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .card-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* 复选框组样式 */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: #f8f9fa;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 8px;
}

.custom-control {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 1.5rem;
    padding-left: 1.8rem;
    margin-right: 1rem;
    flex-basis: calc(33.333% - 12px);
    min-width: 200px;
}

.custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    cursor: pointer;
    user-select: none;
    color: var(--text-color);
    font-weight: 500;
}

.custom-control-label::before {
    position: absolute;
    top: 0.25rem;
    left: -1.8rem;
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    content: "";
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    position: absolute;
    top: 0.25rem;
    left: -1.8rem;
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    content: "";
    background: no-repeat 50%/50% 50%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.25);
}

/* 表单行和列结构 */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* 卡片标题增强样式 */
.card-header.bg-gradient-primary,
.card-header.bg-gradient-success {
    padding: 1.2rem 1.5rem;
    border-bottom: none;
}

.card-header.bg-gradient-primary h2,
.card-header.bg-gradient-success h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

.card-header.bg-gradient-primary i,
.card-header.bg-gradient-success i {
    margin-right: 0.75rem;
}

/* 班级表单卡片样式 */
.card-body {
    padding: 1.8rem;
    background-color: #ffffff;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

/* 特别为班级表单添加的样式 */
.class-form-container .card {
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    margin-bottom: 2rem;
}

.class-form-container .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.class-form-container label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.class-form-container .form-group {
    margin-bottom: 1.5rem;
}

.class-form-container input,
.class-form-container textarea,
.class-form-container select {
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.class-form-container input:focus,
.class-form-container textarea:focus,
.class-form-container select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

.class-form-container .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    transition: var(--transition-normal);
}

.class-form-container .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .class-form-container .card-body {
        padding: 1.2rem;
    }

    .custom-control {
        flex-basis: 100%;
    }
}

/* 表单提示样式 */
.form-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-hint a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-hint a:hover {
    text-decoration: underline;
}

/* 添加学生部分 */
.border-top {
    border-top: 3px solid var(--primary-color) !important;
    margin-top: 1rem;
}

.add-method {
    display: none;
}

.add-method.active {
    display: block;
}

.add-student-tabs {
    margin-bottom: 1.5rem;
}

/* 文件上传控件 */
.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    margin-bottom: 0;
}

.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    margin: 0;
    opacity: 0;
}

.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    height: calc(1.5em + 0.75rem);
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    color: var(--text-color);
    content: "浏览";
    background-color: var(--background-color);
    border-left: inherit;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* 个人资料样式 */
.profile-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.avatar-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #ddd;
}

.profile-details {
    flex: 1;
    min-width: 200px;
}

.user-info-item {
    margin-bottom: 10px;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.user-info-item strong {
    color: #444;
    display: inline-block;
    width: 100px;
}

.profile-link {
    display: inline-block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
    margin-right: 8px;
    text-decoration: none;
    padding: 2px 5px;
    background-color: #f5f7fa;
    border-radius: 4px;
}

.profile-link:hover {
    color: #007bff;
    text-decoration: underline;
    background-color: #e9f0f8;
}

/* 用户头像下拉菜单样式 */
.user-avatar.dropdown {
    position: relative;
    cursor: pointer;
    z-index: 1000;
}

.avatar-toggle {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.avatar-toggle:hover {
    transform: scale(1.1);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 180px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.7);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.user-avatar.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.9rem 1.2rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(58, 134, 255, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-item i {
    margin-right: 0.75rem;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 表单控件只读状态 */
input[readonly] {
    background-color: #f5f7fa;
    cursor: not-allowed;
    opacity: 0.7;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.section-title {
    position: relative;
    padding-left: 1rem;
    margin: 2.5rem 0 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
}

.section-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-main);
    border-radius: var(--radius-full);
}

/* 添加平滑滚动效果 */
html {
    scroll-behavior: smooth;
}

/* 为所有主要元素添加微妙动画 */
.nav-links a, .btn, .card, .alert, .user-info, .stat-card, input, select, textarea, .dropdown-item {
    will-change: transform;
}

/* 添加加载动画 */
@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .stat-card {
    animation: cardEntrance 0.4s ease-out;
    animation-fill-mode: both;
}

.dashboard-stats .stat-card:nth-child(1) { animation-delay: 0.1s; }
.dashboard-stats .stat-card:nth-child(2) { animation-delay: 0.2s; }
.dashboard-stats .stat-card:nth-child(3) { animation-delay: 0.3s; }
.dashboard-stats .stat-card:nth-child(4) { animation-delay: 0.4s; }

/* 表格行动画 */
.table tbody tr {
    animation: cardEntrance 0.3s ease-out;
    animation-fill-mode: both;
}

.table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.table tbody tr:nth-child(2) { animation-delay: 0.15s; }
.table tbody tr:nth-child(3) { animation-delay: 0.2s; }
.table tbody tr:nth-child(4) { animation-delay: 0.25s; }
.table tbody tr:nth-child(5) { animation-delay: 0.3s; }
.table tbody tr:nth-child(6) { animation-delay: 0.35s; }
.table tbody tr:nth-child(7) { animation-delay: 0.4s; }
.table tbody tr:nth-child(8) { animation-delay: 0.45s; }
.table tbody tr:nth-child(9) { animation-delay: 0.5s; }
.table tbody tr:nth-child(10) { animation-delay: 0.55s; }

/* 分页组件样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    gap: 0.5rem;
}

.pagination .page-item {
    list-style: none;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 3px 8px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: rgba(58, 134, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px -3px rgba(58, 134, 255, 0.2);
}

.pagination .page-item.active .page-link {
    background: var(--gradient-main);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 12px -3px rgba(58, 134, 255, 0.4);
}

.pagination .page-item.disabled .page-link {
    color: var(--text-muted);
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.pagination .page-item.ellipsis .page-link {
    background: transparent;
    border: none;
    box-shadow: none;
}

.pagination .page-link i {
    font-size: 1rem;
}