/* 全局样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

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

/* 主要内容区域 */
.main-content {
    padding: 20px 0;
}

/* 头部样式 */
.main-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.welcome-msg {
    font-size: 1rem;
}

.btn {
    padding: 6px 12px; /* 减小内边距使按钮更紧凑 */
    border: none;
    border-radius: 4px; /* 稍微减小圆角 */
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 13px; /* 稍微减小字体大小 */
    transition: all 0.3s ease;
    line-height: 1.2; /* 控制行高，避免过高 */
    height: 36px; /* 统一高度与select元素一致 */
    box-sizing: border-box; /* 包含边框和内边距 */
    display: flex; /* 使用flex布局使文字垂直居中 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    margin: 0; /* 确保没有额外的边距 */
    flex: none; /* 防止按钮被不必要地拉伸 */
    min-width: 70px; /* 设置最小宽度 */
    white-space: nowrap; /* 防止文字换行 */
    overflow: hidden; /* 隐藏超出部分 */
    text-overflow: ellipsis; /* 超出部分显示省略号 */
    font-weight: 500;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.logout-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 模态弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease-in-out;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    margin: 0 auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: slideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    transform-origin: center;
}

.modal-header {
    padding: 28px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.close {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    width: auto;
    height: auto;
    transition: all 0.3s ease;
}

.close:hover {
    color: #ff9999;
    transform: translateY(-50%);
}

.close:active {
    transform: translateY(-50%) scale(0.95);
}

.modal-body {
    padding: 32px;
    font-size: 1rem;
    color: #333;
    background: #fff;
}

.modal-form {
    display: grid;
    gap: 24px;
}

.modal-form .form-group {
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.modal-form .form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.modal-form .form-group input,
.modal-form .form-group select,
.modal-form .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    height: 48px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    line-height: 1.5;
    color: #2d3748;
    background: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
    vertical-align: middle;
}

.modal-form .form-group input:focus,
.modal-form .form-group select:focus,
.modal-form .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.modal-form .form-group input::placeholder,
.modal-form .form-group textarea::placeholder {
    color: #a0aec0;
}

.modal-form .form-group textarea {
    resize: vertical;
    min-height: 90px;
    height: auto;
    padding: 14px 16px;
    line-height: 1.6;
}

.modal-form .form-group.input-inline {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.modal-form .form-group.input-inline .form-group {
    flex: 1;
}

.modal-footer {
    padding: 24px 32px;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    background: #f7fafc;
    border-top: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

/* 统一按钮样式 */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 100px;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover {
    background: #cbd5e0;
    color: #2d3748;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.btn-danger {
    background: linear-gradient(135deg, #fc8181 0%, #f56565 100%);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    box-shadow: 0 8px 16px rgba(237, 106, 106, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    box-shadow: 0 8px 16px rgba(72, 187, 120, 0.3);
}

/* 表单字段过渡动画 */
.modal-form .form-group {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.modal-form .form-group[style*="display: none"] {
    opacity: 0;
    transform: translateY(-10px);
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* 动画优化 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-60px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.92);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* 响应式优化 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 0 16px;
        max-width: none;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px 24px;
    }
    
    .modal-header h3 {
        font-size: 1.4rem;
    }
    
    .close {
        right: 24px;
        width: 28px;
        height: 28px;
        font-size: 1.6rem;
    }
    
    .modal-form {
        gap: 18px;
    }
    
    .modal-form .form-group.input-inline {
        flex-direction: column;
        gap: 18px;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        padding: 14px;
    }
}
    

/* 仪表板专用样式 */
.welcome-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.welcome-content h2 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 2rem;
}

.welcome-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 0;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
}

.projects-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.personnel-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.finance-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.material-icon {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.stat-info h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #555;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
}

.quick-actions {
    margin-bottom: 40px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 25px 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #f8f9ff, #eef1f8);
}

.action-icon {
    font-size: 28px;
    margin-bottom: 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.action-card h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.recent-activity {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

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

.activity-item:hover {
    background-color: #f8f9ff;
    transform: translateX(5px);
}

.activity-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

.project-update {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.personnel-change {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.material-purchase {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
}

.activity-content {
    flex: 1;
}

.activity-content h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.1rem;
}

.activity-content p {
    margin: 0 0 8px 0;
    color: #666;
}

.activity-time {
    font-size: 0.9rem;
    color: #999;
}

.main-footer {
    text-align: center;
    padding: 20px;
    color: #666;
    margin-top: 40px;
}

/* 管理员管理页面专用样式 */
.main-nav {
    background: white;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.nav-item {
    border-right: 1px solid #eee;
}

.nav-item:last-child {
    border-right: none;
}

.nav-link {
    display: block;
    padding: 20px 15px;
    text-decoration: none;
    color: #333;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    background: #f8f9ff;
    color: #667eea;
    border-bottom: 3px solid #667eea;
}

.nav-link i {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
}

.nav-link.active {
    background: #f0f4ff;
    color: #667eea;
    border-bottom: 3px solid #667eea;
    font-weight: bold;
}

.page-title {
    text-align: center;
    margin: 30px 0;
    color: #333;
    position: relative;
    padding-bottom: 20px;
}

.page-title h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-title p {
    color: #666;
    font-size: 1.1rem;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.actions-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    align-items: center;
}

.search-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-box input {
    padding: 10px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 250px;
    background: #fafbff;
}

.search-box input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #fff;
}

.search-box input:hover {
    border-color: #c0c6cc;
}

.search-box button {
    padding: 6px 12px; /* 减小内边距使按钮更紧凑 */
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 4px; /* 稍微减小圆角 */
    cursor: pointer;
    font-size: 13px; /* 稍微减小字体大小 */
    font-weight: 500;
    height: 36px; /* 统一高度与select元素一致 */
    box-sizing: border-box; /* 包含边框和内边距 */
    display: flex; /* 使用flex布局使文字垂直居中 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    margin: 0; /* 确保没有额外的边距 */
    min-width: 70px; /* 设置最小宽度 */
    white-space: nowrap; /* 防止文字换行 */
    overflow: hidden; /* 隐藏超出部分 */
    text-overflow: ellipsis; /* 超出部分显示省略号 */
    box-shadow: 0 4px 6px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
}

.search-box button:active {
    transform: translateY(0);
}

.admins-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.admins-table th,
.admins-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admins-table th {
    padding: 18px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.admins-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.admins-table tr {
    transition: all 0.3s ease;
}

.admins-table tr:hover {
    background-color: #f8f9ff;
    transform: scale(1.01);
}

.admins-table .level-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.level-1 { background: linear-gradient(135deg, #ff6b6b, #ee5a52); color: white; }
.level-2 { background: linear-gradient(135deg, #4ecdc4, #3db9ad); color: white; }
.level-3 { background: linear-gradient(135deg, #45b7d1, #34a5c4); color: white; }
.level-4 { background: linear-gradient(135deg, #96ceb4, #7fc1a0); color: white; }
.level-5 { background: linear-gradient(135deg, #feca57, #fdbd3d); color: white; }

.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.action-btn {
    padding: 6px 12px; /* 减小内边距使按钮更紧凑 */
    border: none;
    border-radius: 4px; /* 稍微减小圆角 */
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 13px; /* 稍微减小字体大小 */
    transition: all 0.3s ease;
    line-height: 1.2; /* 控制行高，避免过高 */
    height: 32px; /* 统一高度与select元素一致 */
    box-sizing: border-box; /* 包含边框和内边距 */
    display: flex; /* 使用flex布局使文字垂直居中 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    margin: 0; /* 确保没有额外的边距 */
    flex: 1; /* 使按钮填充可用空间 */
    min-width: 70px; /* 设置最小宽度 */
    white-space: nowrap; /* 防止文字换行 */
    overflow: hidden; /* 隐藏超出部分 */
    text-overflow: ellipsis; /* 超出部分显示省略号 */
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.edit-btn {
    background: linear-gradient(135deg, #ffd86f, #ffb822);
    color: #212529;
}

.edit-btn:hover {
    background: linear-gradient(135deg, #ffb822, #ffaa00);
}

.delete-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
}

.delete-btn:hover {
    background: linear-gradient(135deg, #ee5a52, #e53e3e);
}

.add-admin-btn {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
    font-weight: 500;
    padding: 6px 12px; /* 减小内边距使按钮更紧凑 */
    border-radius: 4px; /* 稍微减小圆角 */
    height: 36px; /* 统一高度与select元素一致 */
    box-sizing: border-box; /* 包含边框和内边距 */
    display: flex; /* 使用flex布局使文字垂直居中 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    margin: 0; /* 确保没有额外的边距 */
    min-width: 70px; /* 设置最小宽度 */
    white-space: nowrap; /* 防止文字换行 */
    overflow: hidden; /* 隐藏超出部分 */
    text-overflow: ellipsis; /* 超出部分显示省略号 */
    box-shadow: 0 4px 6px rgba(67, 233, 123, 0.3);
}

.add-admin-btn:hover {
    background: linear-gradient(135deg, #38f9d7, #2de6cc);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(67, 233, 123, 0.4);
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* 超时提醒模态框样式 */
.timeout-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    animation: slideInRight 0.3s ease-out;
}

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

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: #fafbff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #fff;
}

.form-group input:hover,
.form-group select:hover {
    border-color: #c0c6cc;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 6px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #667eea;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.admin-info {
    background: #f8f9ff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.admin-info p {
    margin: 5px 0;
    color: #555;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .actions-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        flex: 1;
    }
    
    .admins-table {
        font-size: 0.9rem;
    }
    
    .admins-table th,
    .admins-table td {
        padding: 10px 8px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 5px;
    }
    
    .action-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .nav-list {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .nav-link {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .nav-link i {
        font-size: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .activity-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .activity-icon {
        margin-bottom: 10px;
    }
}