/*
 * @Author: 白衣少年
 * @Date: 2025-09-10 20:17:20
 * @Email: tuyi@iuyoo.com
 * @LastEditTime: 2026-02-01 22:35:34
 * @Description: 全局样式重置
 * @Version: 1.0.0
 */
/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00f0ff;
    --primary-hover: #00ccff;
    --secondary-color: #7928ca;
    --accent-color: #0ff;
    --success-color: #00ff9d;
    --danger-color: #ff1e56;
    --warning-color: #ffbe0b;
    --info-color: #00f0ff;
    --light-color: #f8f9fa;
    --dark-color: #111827;
    --bg-dark: #1a202c;
    --bg-card: #2d3748;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --border-color: #4a5568;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --glow-primary: 0 0 15px rgba(0, 240, 255, 0.5);
    --glow-secondary: 0 0 15px rgba(121, 40, 202, 0.5);
    --radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        radial-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    position: relative;
    overflow-x: hidden;
}

/* 科技感网格背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
}

/* 发光背景效果 */
body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, rgba(121, 40, 202, 0.05) 50%, transparent 100%);
    transform: translate(-50%, -50%);
    z-index: -2;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, var(--dark-color), var(--bg-card));
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 240, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.user-info {
    margin-right: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(12, 17, 33, 0.5);
    padding: 8px 15px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

header h1 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    align-items: center;
}

nav ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    font-size: 14px;
}

nav ul li a:hover {
    color: var(--primary-color);
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* 导航链接选中状态样式 */
nav ul li a.active {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

/* 无权限文本样式 */
.no-permission-text {
    color: var(--warning-color);
    font-size: 12px;
    font-style: italic;
    opacity: 0.8;
}

/* 文件夹图标容器样式 */
.folder-icon {
    position: relative;
    font-size: 32px;
    display: inline-block;
    width: 36px;
    height: 36px;
}

/* 锁图标样式 */
.folder-icon .lock-icon {
    position: absolute;
    bottom: -4px;
    right: -4px;
    font-size: 12px;
    background-color: var(--bg-card);
    border-radius: 50%;
    padding: 1px;
    border: 1px solid var(--border-color);
}

nav ul li a.active::after {
    width: 100%;
    background-color: var(--primary-color);
    height: 3px;
}

/* 用户管理菜单样式 */
.user-management-menu {
    position: relative;
    display: flex; /* 与其他li元素保持一致的flex布局 */
    align-items: center;
}

.user-management-menu .menu-parent {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: var(--radius) var(--radius) 0 0;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    white-space: nowrap; /* 防止文本换行 */
    border-bottom: none;
}

.user-management-menu .menu-parent:hover {
    color: var(--primary-color);
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* 用户管理水平标签子菜单样式 */
.submenu-tabs {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(17, 25, 40, 0.95);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 8px 32px rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    overflow: hidden;
}

.submenu-tabs a {
    padding: 8px 15px;
    color: var(--text-secondary);
    text-decoration: none;
    border-right: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.submenu-tabs a:last-child {
    border-right: none;
}

.submenu-tabs a:hover {
    color: var(--primary-color);
    background: rgba(0, 240, 255, 0.05);
    border-bottom-color: rgba(0, 240, 255, 0.3);
}

.submenu-tabs a.active {
    color: var(--primary-color);
    background: rgba(0, 240, 255, 0.1);
    border-bottom-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* 用户菜单样式 */
.user-menu {
    position: relative;
    display: flex; /* 与其他li元素保持一致的flex布局 */
    align-items: center;
}

.user-menu-toggle {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    white-space: nowrap; /* 防止文本换行 */
}

.user-menu-toggle:hover {
    color: var(--primary-color);
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.username {
    font-weight: 600;
    color: var(--primary-color);
}

.arrow-down {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.user-menu-toggle:hover .arrow-down {
    transform: rotate(180deg);
}

/* 下拉菜单样式 */
.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 120px;
    background-color: rgba(17, 25, 40, 0.95);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    overflow: hidden;
    margin-top: 5px;
}

.user-menu:hover .user-dropdown {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

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

/* 淡入动画类 */
.fade-in {
    animation: fadeIn 0.3s ease-out;
}

.user-dropdown a {
    display: block;
    padding: 10px 15px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.user-dropdown a:hover {
    color: var(--primary-color);
    background-color: rgba(0, 240, 255, 0.1);
    padding-left: 20px;
}

/* 主内容区样式 */
main {
    padding: 40px 0;
    min-height: calc(100vh - 180px);
}

/* 消息提示样式 - 科技感设计 */
.success, .error {
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 500;
    position: relative;
    animation: slideIn 0.3s ease-out;
    transition: all 0.5s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    overflow: hidden;
}

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

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
        max-height: 100px;
        padding: 15px 20px;
        margin-bottom: 25px;
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
        padding: 0 20px;
        margin-bottom: 0;
        overflow: hidden;
    }
}

.success {
    background: rgba(46, 204, 113, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(46, 204, 113, 0.3);
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.15);
}

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

.error {
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(231, 76, 60, 0.3);
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.15);
}

/* 认证页面错误消息样式 */
.error-message {
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: var(--radius);
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.15);
    animation: slideIn 0.3s ease-out;
}

/* 认证页面样式 */
.auth-container {
    max-width: 400px;
    margin: 50px auto;
    background-color: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.auth-container h2 {
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

/* 系统消息提示 */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    border-left: 4px solid;
    position: relative;
    font-size: 14px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.alert.success {
    background: rgba(0, 255, 127, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
    box-shadow: 0 0 10px rgba(0, 255, 127, 0.1);
}

.alert.error {
    background: rgba(255, 69, 0, 0.1);
    border-color: var(--danger-color);
    color: var(--danger-color);
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.1);
}

.alert .closebtn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.alert .closebtn:hover {
    opacity: 1;
}

/* 科技感输入框 */
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="file"],
.form-group textarea,
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 16px;
    transition: var(--transition);
    background: rgba(12, 17, 33, 0.5);
    color: var(--text-primary);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus,
.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    background: rgba(12, 17, 33, 0.8);
}

.form-group input[type="file"] {
    padding: 10px 15px;
    border: 2px dashed var(--border-color);
    background: rgba(12, 17, 33, 0.3);
}

.form-group input[type="file"]:hover {
    border-color: var(--primary-color);
    background: rgba(12, 17, 33, 0.5);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    vertical-align: middle;
    line-height: 1.5;
}

/* 小按钮样式 */
.btn-sm {
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.5;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 用户管理表格中的按钮样式 */
.table .btn {
    margin-right: 10px;
}

/* 用户管理页面标签菜单样式 */
.user-tabs {
    margin-bottom: 20px;
}

.user-tabs .tab-header {
    display: flex;
    background: rgba(45, 55, 72, 0.8);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
}

.user-tabs .tab-btn {
    flex: 0 0 auto;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    border-bottom: 2px solid transparent;
}

.user-tabs .tab-btn:hover {
    color: var(--primary-color);
    background: rgba(0, 240, 255, 0.05);
    border-bottom-color: rgba(0, 240, 255, 0.3);
}

.user-tabs .tab-btn.active {
    color: var(--primary-color);
    background: rgba(0, 240, 255, 0.1);
    border-bottom-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* 后台管理系统特定样式 */
.admin-header {
    background: linear-gradient(135deg, var(--dark-color), var(--bg-card));
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 240, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.admin-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.admin-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    align-items: center;
}

.admin-nav ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    font-size: 14px;
}

.admin-nav ul li a:hover {
    color: var(--primary-color);
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.admin-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.admin-nav ul li a:hover::after {
    width: 100%;
}

.admin-nav ul li a.active {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.admin-nav ul li a.active::after {
    width: 100%;
    background-color: var(--primary-color);
    height: 3px;
}

.admin-main {
    padding: 40px 0;
    min-height: calc(100vh - 180px);
}

.admin-dashboard, .admin-settings {
    background: rgba(45, 55, 72, 0.7);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.admin-dashboard h2, .admin-settings h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
    position: relative;
    padding-bottom: 10px;
}

.admin-dashboard h2::after, .admin-settings h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.admin-dashboard p, .admin-settings p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 16px;
}

.admin-actions {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(17, 25, 40, 0.5);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.admin-actions h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.system-info {
    padding: 20px;
    background: rgba(17, 25, 40, 0.5);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.system-info h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: rgba(45, 55, 72, 0.5);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: var(--radius);
    transition: var(--transition);
}

.info-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    transform: translateY(-2px);
}

.info-item strong {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 5px;
}

.info-item span {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
}

/* 设置页面样式 */
.settings-tabs {
    background: rgba(17, 25, 40, 0.5);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.tab-header {
    display: flex;
    background: rgba(45, 55, 72, 0.8);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: var(--primary-color);
    background: rgba(0, 240, 255, 0.05);
    border-bottom-color: rgba(0, 240, 255, 0.3);
}

.tab-btn.active {
    color: var(--primary-color);
    background: rgba(0, 240, 255, 0.1);
    border-bottom-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.tab-content {
    padding: 30px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.tab-panel h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    display: flex;
    justify-content: flex-end;
}

/* 按钮霓虹效果 */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: translateY(1px);
}

/* 主按钮 - 科技感 */
.btn-primary {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(121, 40, 202, 0.2));
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.3), rgba(121, 40, 202, 0.3));
    box-shadow: var(--glow-primary);
    border-color: var(--primary-hover);
}

/* 次要按钮 - 科技感 */
.btn-secondary {
    background: rgba(160, 174, 192, 0.1);
    color: var(--text-secondary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: rgba(160, 174, 192, 0.2);
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

/* 危险按钮 - 科技感 */
.btn-danger {
    background: linear-gradient(135deg, rgba(255, 30, 86, 0.2), rgba(121, 40, 202, 0.1));
    color: var(--danger-color);
    border-color: var(--danger-color);
    box-shadow: 0 0 10px rgba(255, 30, 86, 0.2);
}

.btn-danger:hover {
    background: linear-gradient(135deg, rgba(255, 30, 86, 0.3), rgba(121, 40, 202, 0.2));
    box-shadow: 0 0 15px rgba(255, 30, 86, 0.4);
}

/* 警告按钮 - 科技感 */
.btn-warning {
    background: linear-gradient(135deg, rgba(255, 190, 11, 0.2), rgba(121, 40, 202, 0.1));
    color: var(--warning-color);
    border-color: var(--warning-color);
    box-shadow: 0 0 10px rgba(255, 190, 11, 0.2);
    text-shadow: 0 0 5px rgba(255, 190, 11, 0.5);
}

.btn-warning:hover {
    background: linear-gradient(135deg, rgba(255, 190, 11, 0.3), rgba(121, 40, 202, 0.2));
    box-shadow: 0 0 15px rgba(255, 190, 11, 0.4);
}

/* 成功按钮 - 科技感 */
.btn-success {
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.2), rgba(121, 40, 202, 0.1));
    color: var(--success-color);
    border-color: var(--success-color);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.2);
    text-shadow: 0 0 5px rgba(0, 255, 157, 0.5);
}

.btn-success:hover {
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.3), rgba(121, 40, 202, 0.2));
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.4);
}

/* 认证链接 */
.auth-link {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
}

.auth-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
}

.auth-link a:hover {
    color: var(--primary-hover);
}

.auth-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
    box-shadow: 0 0 5px var(--primary-color);
}

.auth-link a:hover::after {
    width: 100%;
}

/* 仪表盘样式 */
.dashboard-container {
    background: linear-gradient(135deg, var(--bg-card), rgba(12, 17, 33, 0.8));
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 240, 255, 0.1);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* 仪表盘背景效果 */
.dashboard-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.5;
}

.dashboard-container h2 {
    margin-bottom: 30px;
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--text-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dashboard-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-color);
}

/* 文件路径导航样式 */
.file-path {
    margin-bottom: 30px;
    padding-bottom: 10px;
    position: relative;
    font-size: 28px;
    font-weight: 600;
}

.file-path a {
    color: var(--primary-color);
    text-decoration: none;
    background: linear-gradient(90deg, var(--primary-color), var(--text-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
}

.file-path span {
    color: var(--text-secondary);
}

.file-path::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-color);
}

/* 上传区域 - 科技感设计 */
.upload-section {
    margin-bottom: 40px;
    padding: 25px;
    background: linear-gradient(135deg, var(--bg-card), rgba(12, 17, 33, 0.8));
    border-radius: var(--radius);
    border: 2px dashed rgba(0, 240, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* 上传区域网格背景 */
.upload-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    pointer-events: none;
}

/* 上传区域悬停科技感效果 */
.upload-section:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    transform: translateY(-5px);
}

.upload-section h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
    background: linear-gradient(90deg, var(--primary-color), var(--text-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
}

/* 搜索区域 - 科技感设计 */
.search-section {
    margin-bottom: 30px;
    position: relative;
}

.search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 240, 255, 0.05);
    border-radius: var(--radius);
    z-index: -1;
    filter: blur(5px);
}

.search-section form {
    display: flex;
    gap: 15px;
    align-items: stretch;
    padding: 10px;
    background: linear-gradient(135deg, var(--bg-card), rgba(12, 17, 33, 0.8));
    border-radius: var(--radius);
    border: 1px solid rgba(0, 240, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 科技感搜索输入框 */
.search-section input[type="text"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius);
    font-size: 16px;
    transition: var(--transition);
    background: rgba(12, 17, 33, 0.5);
    color: var(--text-primary);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.search-section input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    background: rgba(12, 17, 33, 0.8);
}

/* 文件列表 */
.file-list {
    margin-bottom: 30px;
}

.file-list h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
    position: relative;
    background: linear-gradient(90deg, var(--primary-color), var(--text-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 科技感表格 */
.file-list table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: linear-gradient(135deg, var(--bg-card), rgba(12, 17, 33, 0.8));
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

/* 表格背景网格效果 */
.file-list table::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
    pointer-events: none;
}

.file-list th,
.file-list td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    position: relative;
    transition: var(--transition);
}

/* 表头科技感样式 */
.file-list th {
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.1), rgba(121, 40, 202, 0.1));
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.3);
    position: relative;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
}

.file-list th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.file-list tr {
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

/* 行悬停科技感效果 */
.file-list tr:hover {
    background: rgba(0, 240, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.1);
}

.file-list tr:hover td {
    color: var(--primary-hover);
}

.file-list tr:hover td::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.03), transparent);
    z-index: -1;
}

.file-list tr:last-child td {
    border-bottom: none;
}

/* 科技感表格 */
.file-list table,
.tech-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: linear-gradient(135deg, var(--bg-card), rgba(12, 17, 33, 0.8));
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

/* 表格背景网格效果 */
.file-list table::before,
.tech-table::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
    pointer-events: none;
}

.file-list th,
.file-list td,
.tech-table th,
.tech-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    position: relative;
    transition: var(--transition);
}

/* 表头科技感样式 */
.file-list th,
.tech-table th {
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.1), rgba(121, 40, 202, 0.1));
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.3);
    position: relative;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
}

.file-list th::after,
.tech-table th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.file-list tr,
.tech-table tr {
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

/* 行悬停科技感效果 */
.file-list tr:hover,
.tech-table tr:hover {
    background: rgba(0, 240, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.1);
}

.file-list tr:hover td,
.tech-table tr:hover td {
    color: var(--primary-hover);
}

.file-list tr:hover td::before,
.tech-table tr:hover td::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.03), transparent);
    z-index: -1;
}

.file-list tr:last-child td,
.tech-table tr:last-child td {
    border-bottom: none;
}

.file-list .btn,
.tech-table .btn {
    padding: 8px 16px;
    font-size: 14px;
    margin-right: 10px;
    border-radius: var(--radius);
}

/* 日志页面特定样式 */
.logs-container {
    width: 100%;
    overflow-x: auto;
    padding: 10px 0;
}

.logs-container::-webkit-scrollbar {
    height: 8px;
}

.logs-container::-webkit-scrollbar-track {
    background: rgba(0, 240, 255, 0.05);
    border-radius: 4px;
}

.logs-container::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.3);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.logs-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 240, 255, 0.5);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 8px;
}

/* 科技感分页按钮 */
.pagination a {
    color: var(--text-secondary);
    padding: 10px 16px;
    text-decoration: none;
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    font-size: 14px;
    font-weight: 500;
    background: rgba(12, 17, 33, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

/* 分页按钮悬停科技感效果 */
.pagination a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    background: rgba(12, 17, 33, 0.8);
}

.pagination a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.pagination a:hover::before {
    width: 200px;
    height: 200px;
}

.pagination a.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.3);
}

.pagination a:hover:not(.active) {
    background-color: #f8f9fa;
}

/* 空消息 */
.empty-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    border-radius: var(--radius);
    margin: 30px 0;
    border: 2px dashed var(--border-color);
}

.empty-message p {
    font-size: 16px;
    margin-bottom: 15px;
}

.empty-message i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* 搜索结果页面 */
.search-results {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-results h2 {
    margin-bottom: 20px;
    color: #333;
}

.back-link {
    margin-top: 30px;
    text-align: center;
}

.back-link a {
    color: #3498db;
    text-decoration: none;
}

.back-link a:hover {
    color: var(--primary-hover);
}

.back-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.back-link a:hover::after {
    width: 100%;
}

/* 分享管理页面 */
.share-management {
    margin-bottom: 30px;
}

/* 管理头部样式 */
.management-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.header-left {
    flex: 1;
    min-width: 300px;
}

.header-left h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--text-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
}

.header-left h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
    box-shadow: 0 0 10px var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* 确保过滤器和搜索框高度一致 */
.filter-box, .search-box {
    display: flex;
    align-items: center;
}

.filter-box select,
.search-box input {
    height: 40px;
    padding: 0 15px;
    box-sizing: border-box;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    right: 15px;
    color: var(--text-secondary);
    pointer-events: none;
}

/* 分享统计样式 */
.share-stats {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

/* 统计项样式 */
.stat-item {
    padding: 10px 15px;
    background: rgba(12, 17, 33, 0.5);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
    transform: translateY(-2px);
}

.stat-item .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.stat-item .stat-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
}

.stat-item strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* 筛选框样式 */
.filter-box {
    position: relative;
}

.filter-select {
    padding: 10px 15px;
    background: rgba(12, 17, 33, 0.5);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.filter-select:hover,
.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    background: rgba(12, 17, 33, 0.8);
}

/* 搜索框样式 */
.search-box {
    position: relative;
}

.search-box input {
    padding: 10px 40px 10px 15px;
    background: rgba(12, 17, 33, 0.5);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    width: 300px;
    font-size: 14px;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    background: rgba(12, 17, 33, 0.8);
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 14px;
}

/* 分享项目样式 */
.share-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-item i {
    color: var(--primary-color);
    font-size: 16px;
}

/* 分享类型样式 */
.share-type {
    padding: 6px 12px;
    border-radius: var(--radius);
    font-size: 14px;
    background: rgba(160, 174, 192, 0.1);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.share-type:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

/* 分享链接样式 */
.share-link {
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
    transition: var(--transition);
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
}

.share-link:hover {
    text-decoration: underline;
    color: var(--primary-hover);
}

/* 分享状态样式 */
.share-status {
    padding: 6px 12px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: bold;
    transition: var(--transition);
}

.share-status.active {
    background: rgba(0, 255, 157, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(0, 255, 157, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.1);
}

.share-status.expired {
    background: rgba(255, 30, 86, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(255, 30, 86, 0.3);
    box-shadow: 0 0 10px rgba(255, 30, 86, 0.1);
}

/* 分享操作样式 */
.share-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* 个人资料页面 */
.profile-container {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 4px 30px rgba(0, 240, 255, 0.15), 0 0 0 1px rgba(0, 240, 255, 0.2);
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(0, 240, 255, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* 个人资料背景网格效果 */
.profile-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    pointer-events: none;
}

.profile-container h2 {
    margin-bottom: 30px;
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
    background: linear-gradient(90deg, var(--primary-color), var(--text-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
}

.profile-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-color);
}

.profile-info {
    max-width: 500px;
    margin: 0 auto;
}

.info-item {
    margin-bottom: 20px;
    padding: 15px 20px;
    background: rgba(12, 17, 33, 0.5);
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    opacity: 0.8;
}

.info-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(12, 17, 33, 0.7);
}

.info-item strong {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
}

.info-value {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
}

.profile-actions {
    margin-top: 30px;
    text-align: center;
}

/* 存储空间样式 - 科技感设计 */
.storage-info {
    width: 100%;
}

.storage-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.storage-progress {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 0 10px currentColor;
}

.storage-text {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

/* 页脚样式 */
footer {
    background: linear-gradient(135deg, #343a40 0%, #2c3136 100%);
    color: #f8f9fa;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 4px solid var(--primary-color);
}

footer .container {
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 14px;
    color: #adb5bd;
    opacity: 0.9;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

/* 响应式设计 - 科技感适配 */
@media (max-width: 768px) {
    :root {
        --radius: 8px;
    }
    
    .container {
        width: 95%;
        padding: 0 15px;
    }
    
    header {
        padding: 15px 0;
    }
    
    header h1 {
        font-size: 22px;
    }
    
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px;
    }
    
    .dashboard-container,
    .auth-container,
    .search-results,
    .profile-container {
        padding: 20px;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    
    .dashboard-container h2,
    .search-results h2,
    .profile-container h2 {
        font-size: 22px;
        background: linear-gradient(90deg, var(--primary-color), var(--text-primary));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
    
    .file-list table {
        font-size: 14px;
    }
    
    .file-list th,
    .file-list td {
        padding: 10px;
        font-size: 14px;
    }
    
    .file-list .btn {
        padding: 6px 12px;
        font-size: 12px;
        margin-right: 5px;
        margin-bottom: 5px;
        background: rgba(0, 240, 255, 0.1);
        border: 1px solid rgba(0, 240, 255, 0.2);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }
    
    .search-section form {
        flex-direction: column;
        background: linear-gradient(135deg, var(--bg-card), rgba(12, 17, 33, 0.8));
        border: 1px solid rgba(0, 240, 255, 0.1);
    }
    
    .search-section input[type="text"] {
        margin-bottom: 10px;
        padding: 10px;
        background: rgba(12, 17, 33, 0.6);
        border: 1px solid rgba(0, 240, 255, 0.2);
    }
    
    .pagination {
        margin-top: 30px;
    }
    
    .pagination a {
        padding: 8px 12px;
        font-size: 13px;
        margin-bottom: 5px;
        background: rgba(12, 17, 33, 0.6);
        border: 1px solid rgba(0, 240, 255, 0.2);
    }
    
    .empty-message {
        padding: 40px 15px;
    }
    
    .empty-message i {
        font-size: 36px;
    }
    
    .profile-container {
        padding: 25px;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .table-responsive {
        margin: 0 -10px;
    }
    
    .table {
        min-width: 600px;
    }
    
    /* 移动端科技感增强 */
    .mobile-tech-gradient {
        background: linear-gradient(135deg, var(--bg-card), rgba(12, 17, 33, 0.8));
        border: 1px solid rgba(0, 240, 255, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
}

/* 公共文件相关样式 */
.public-files-link {
    margin: 25px 0;
    text-align: center;
}

.public-files-link .btn {
    display: inline-block;
    margin: 0 auto;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.public-files-link .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.file-list th:nth-child(2),
.file-list td:nth-child(2) {
    min-width: 120px;
}

/* 公共文件上传选项样式 */
.form-group input[type="checkbox"] + label {
    display: flex;
    align-items: center;
    margin-top: 15px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

/* 用户管理页面样式 */
.user-management-container {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.user-management-container h2 {
    margin-bottom: 30px;
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.user-management-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* 管理员徽章样式 - 科技感设计 */
.admin-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--success-color), #2ecc71);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 10px rgba(46, 204, 113, 0.3);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

/* 用户名列中管理员标识样式 - 科技感设计 */
.admin-tag {
    display: inline-block;
    background: rgba(46, 204, 113, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(46, 204, 113, 0.3);
    padding: 2px 8px;
    margin-left: 5px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(46, 204, 113, 0.2);
}

/* 当前账号标识样式 - 科技感设计 */
.current-account-tag {
    display: inline-block;
    background: rgba(46, 204, 113, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(46, 204, 113, 0.3);
    padding: 2px 8px;
    margin-left: 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(46, 204, 113, 0.2);
    text-shadow: 0 0 3px rgba(46, 204, 113, 0.3);
}

/* 表格样式优化 - 科技感设计 */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
    background: linear-gradient(135deg, var(--bg-card), rgba(12, 17, 33, 0.8));
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

/* 表格背景网格效果 */
.table::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
    pointer-events: none;
}

.table th,
.table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    position: relative;
    transition: var(--transition);
}

/* 表头科技感样式 */
.table th {
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.1), rgba(121, 40, 202, 0.1));
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
    border-bottom: 1px solid rgba(0, 240, 255, 0.3);
}

.table th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.table-striped tbody tr:nth-of-type(even) {
    background: rgba(0, 240, 255, 0.03);
}

.table tbody tr {
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

/* 行悬停科技感效果 */
.table tbody tr:hover {
    background: rgba(0, 240, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.1);
}

.table tbody tr:hover td {
    color: var(--primary-hover);
}

.table tbody tr:hover td::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.03), transparent);
    z-index: -1;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* 卡片样式 - 科技感设计 */
.card {
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-card), rgba(12, 17, 33, 0.8));
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 240, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* 卡片背景效果 */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    pointer-events: none;
}

/* 卡片悬停科技感效果 */
.card:hover {
    box-shadow: 0 6px 30px rgba(0, 240, 255, 0.15), 0 0 0 1px rgba(0, 240, 255, 0.2);
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.3);
}

.card-header {
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.1), rgba(121, 40, 202, 0.1));
    padding: 20px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    position: relative;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.card-header h2 {
    margin: 0;
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 600;
    background: linear-gradient(90deg, var(--primary-color), var(--text-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
}

.card-body {
    padding: 25px;
}

/* 响应式表格 */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 按钮组样式 */
.btn-group {
    display: flex;
    gap: 10px;
}

/* 模态框样式增强 - 科技感设计 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* 文件夹列表容器设置相对定位，为模态框提供定位上下文 */
.folder-list {
    position: relative;
    z-index: 1;
}

/* 空文件夹消息样式 - 科技感设计 */
.empty-folder-message {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-secondary);
    background: linear-gradient(135deg, rgba(12, 17, 33, 0.1), rgba(12, 17, 33, 0.3));
    border-radius: var(--radius);
    border: 1px dashed rgba(0, 240, 255, 0.3);
    margin: 10px;
    box-shadow: inset 0 2px 10px rgba(0, 240, 255, 0.05);
}

.empty-folder-message p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

/* 创建文件夹模态框特定样式 - 在文件夹位置弹出 */
#createFolderModal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* 科技感模态框内容 */
.modal-content {
    background: linear-gradient(135deg, var(--bg-card), rgba(12, 17, 33, 0.9));
    border-radius: var(--radius);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.15), 0 0 0 1px rgba(0, 240, 255, 0.2);
    border: 1px solid rgba(0, 240, 255, 0.1);
    position: relative;
    transform: scale(0.95);
    opacity: 0;
    animation: modalAppear 0.3s ease-out forwards;
}

@keyframes modalAppear {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* 模态框背景效果 */
.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    pointer-events: none;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.1), rgba(121, 40, 202, 0.1));
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: var(--primary-color);
    background: linear-gradient(90deg, var(--primary-color), var(--text-primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
}

/* 科技感关闭按钮 - 仅适用于模态框头部的关闭按钮 */
.modal-header .close-btn {
    width: 35px;
    height: 35px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary-color);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 0;
}

.modal-header .close-btn:hover {
    background: rgba(0, 240, 255, 0.2);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    transform: rotate(90deg) scale(1.1);
    color: var(--accent-color);
}

.modal-header .close-btn:active {
    transform: rotate(90deg) scale(0.95);
}

.modal-header .close-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.modal-header .close-btn:hover::before {
    width: 100px;
    height: 100px;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* 自定义确认模态框样式 */
.custom-confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.custom-confirm-content {
    background: linear-gradient(135deg, rgba(20, 30, 48, 0.95) 0%, rgba(36, 59, 85, 0.95) 100%);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.custom-confirm-message {
    color: #fff;
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.custom-confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* 响应式确认模态框 */
@media (max-width: 768px) {
    .custom-confirm-buttons {
        flex-direction: column;
        gap: 10px;
    }
}