:root {
    --primary-color: #4a90e2;
    --secondary-color: #2ecc71;
    --background-color: #f5f7fa;
    --text-color: #333333;
    --card-background: #ffffff;
    --border-color: #e1e4e8;
    --hover-color: #357abd;
    --error-color: #e74c3c;
    --success-color: #27ae60;
    --sidebar-width: 250px;
}

/* 基础重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 14px;
    min-height: 100vh;
    display: flex;
}

/* 侧边栏样式 */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--card-background);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
}

.sidebar .logo {
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
}

.sidebar nav {
    padding: 20px 0;
}

.sidebar nav a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar nav a:hover,
.sidebar nav a.active {
    background-color: var(--primary-color);
    color: white;
}

/* 主内容区域 */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 20px;
}

.content-header {
    margin-bottom: 30px;
}

.content-header h1 {
    font-size: 24px;
    color: var(--text-color);
}

/* 文件卡片网格 */
.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.file-card {
    background-color: var(--card-background);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.file-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.file-icon {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    position: relative;
}

.file-icon::before {
    content: '';
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.file-icon.image::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234a90e2"><path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"/></svg>');
}

.file-icon.document::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23f39c12"><path d="M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z"/></svg>');
}

.file-icon.video::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232ecc71"><path d="M18 4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V4h-4z"/></svg>');
}

.file-icon.other::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23bdc3c7"><path d="M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"/></svg>');
}

.file-info {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.file-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-color);
}

.file-info p {
    color: #666;
    margin-bottom: 5px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
}

.file-info p span:first-child {
    color: #999;
}

.file-actions {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

/* 文件操作按钮 */
.btn-download, .btn-share, .btn-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 32px;
    padding: 0 15px;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    color: #fff;
    transition: background-color 0.3s ease;
    font-family: inherit;
    margin: 0;
    line-height: 1;
}

.btn-download {
    background-color: var(--primary-color);
}

.btn-share {
    background-color: var(--primary-color);
}

.btn-delete {
    background-color: var(--error-color);
}

.btn-download:hover {
    background-color: var(--hover-color);
}

.btn-share:hover {
    background-color: var(--hover-color);
}

.btn-delete:hover {
    background-color: #c0392b;
}

.file-actions {
    display: flex;
    gap: 8px;
    padding: 15px;
    justify-content: flex-start;
    align-items: center;
}

/* 表格样式 */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table th,
.table td {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.table tr:hover {
    background-color: #f8f9fa;
}

/* 导航栏样式 */
.navbar {
    background-color: var(--card-background);
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.navbar-brand {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* 提示框样式 */
.alert {
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

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

.alert-error {
    background-color: #f8d7da;
    color: var(--error-color);
    border: 1px solid #f5c6cb;
}

/* 登录页面样式 */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #f5f5f5;
}

.container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.login-card {
    width: 400px;
    height: 320px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: 15px;
}

.login-card .card-header {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.login-card .card-header h1 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.login-card .card-body {
    padding: 15px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
}

.form {
    width: 100%;
    margin-top: 5px;
}

.form-group {
    margin-bottom: 15px;
    width: 100%;
}

.form-label {
    display: block;
    margin-bottom: 4px;
    color: #666;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    height: 36px;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.btn-primary {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

.btn-primary:hover {
    background: #0056b3;
}

.alert {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .navbar-nav {
        display: none;
    }
    
    .table {
        display: block;
        overflow-x: auto;
    }
}

/* 工具类 */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.d-flex {
    display: flex;
}

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

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

/* 徽章样式 */
.badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 12px;
    color: white;
}

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

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

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

/* 进度条样式 */
.progress {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

/* 卡片网格布局 */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* 图片卡片 */
.image-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.image-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.image-card-content {
    padding: 15px;
    background-color: var(--card-background);
}

/* 标签样式 */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.tag {
    padding: 4px 10px;
    background-color: #e9ecef;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 下拉菜单 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background-color: var(--card-background);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.breadcrumb-item {
    color: var(--text-color);
    text-decoration: none;
}

.breadcrumb-item:not(:last-child)::after {
    content: "/";
    margin: 0 8px;
    color: #6c757d;
}

.breadcrumb-item:last-child {
    color: var(--primary-color);
}

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

.search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

/* 加载动画 */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 工具提示 */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background-color: #333;
    color: white;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 1000;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--card-background);
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    padding: 20px;
    position: relative;
}

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

.modal-body {
    padding: 15px 0;
}

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

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 20px 0;
}

.page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-item:hover,
.page-item.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.page-item.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* 响应式图片 */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* 图片缩略图 */
.img-thumbnail {
    padding: 4px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    max-width: 100%;
    height: auto;
}

/* 新增工具类 */
.shadow-sm { box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.shadow { box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0,0,0,0.1); }

.rounded { border-radius: 4px; }
.rounded-lg { border-radius: 8px; }
.rounded-circle { border-radius: 50%; }

.opacity-75 { opacity: 0.75; }
.opacity-50 { opacity: 0.50; }
.opacity-25 { opacity: 0.25; }

.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }

/* 手风琴/折叠面板 */
.accordion {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

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

.accordion-header {
    padding: 15px;
    background-color: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #e9ecef;
}

.accordion-content {
    padding: 15px;
    display: none;
    background-color: white;
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-item.active .accordion-header {
    background-color: var(--primary-color);
    color: white;
}

/* 卡片翻转效果 */
.flip-card {
    perspective: 1000px;
    width: 300px;
    height: 200px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.flip-card-front {
    background-color: var(--card-background);
    color: var(--text-color);
}

.flip-card-back {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

/* 图片悬停效果 */
.hover-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.hover-img img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

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

.hover-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hover-img:hover .hover-img-overlay {
    opacity: 1;
}

/* 价格表 */
.price-table {
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.price-table:hover {
    transform: translateY(-5px);
}

.price-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
}

.price-amount {
    font-size: 2.5em;
    margin: 20px 0;
}

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

.price-features li {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.price-features li:last-child {
    border-bottom: none;
}

/* 通知气泡 */
.notification {
    position: relative;
    display: inline-block;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--error-color);
    color: white;
    border-radius: 50%;
    padding: 4px 8px;
    font-size: 12px;
    min-width: 20px;
    text-align: center;
}

/* 步骤导航 */
.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-item::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
}

.step-item:last-child::after {
    display: none;
}

.step-number {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 2px solid var(--border-color);
    margin: 0 auto 10px;
    position: relative;
    z-index: 1;
}

.step-item.active .step-number {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step-item.completed .step-number {
    background-color: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

/* 文件上传 */
.file-upload {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: var(--primary-color);
    background-color: rgba(74, 144, 226, 0.1);
}

/* 评分组件 */
.rating {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.rating input {
    display: none;
}

.rating label {
    cursor: pointer;
    font-size: 25px;
    color: #ddd;
}

.rating label:before {
    content: '★';
}

.rating input:checked ~ label {
    color: #ffd700;
}

.rating label:hover,
.rating label:hover ~ label {
    color: #ffd700;
}

/* 时间轴 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    top: 15px;
    background-color: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 新增工具类 */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-break {
    word-break: break-word;
    overflow-wrap: break-word;
}

.border { border: 1px solid var(--border-color); }
.border-top { border-top: 1px solid var(--border-color); }
.border-right { border-right: 1px solid var(--border-color); }
.border-bottom { border-bottom: 1px solid var(--border-color); }
.border-left { border-left: 1px solid var(--border-color); }

.w-25 { width: 25%; }
.w-50 { width: 50%; }
.w-75 { width: 75%; }
.w-100 { width: 100%; }

.h-25 { height: 25%; }
.h-50 { height: 50%; }
.h-75 { height: 75%; }
.h-100 { height: 100%; }

.cursor-pointer { cursor: pointer; }
.cursor-move { cursor: move; }
.cursor-not-allowed { cursor: not-allowed; }

/* 网格系统 */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col {
    flex: 1 0 0%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* 响应式网格 */
@media (min-width: 576px) {
    .col-sm-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .col-sm-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
    .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
    .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 768px) {
    .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
    .col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

/* 列表组 */
.list-group {
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    overflow: hidden;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 12px 15px;
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-top-width: 0;
}

.list-group-item:first-child {
    border-top-width: 1px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.list-group-item:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.list-group-item.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

/* 选项卡 */
.tabs {
    display: flex;
    flex-direction: column;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.tab-link {
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
    margin-bottom: -1px;
    cursor: pointer;
}

.tab-link.active {
    color: var(--primary-color);
    border-color: var(--border-color);
    border-bottom-color: white;
    background-color: white;
}

.tab-content {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-top: none;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* 卡片组 */
.card-group {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.card-group .card {
    flex: 1 0 300px;
    margin: 10px;
}

/* 警告框变体 */
.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background-color: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

/* 工具提示位置变体 */
.tooltip[data-position="top"]::before {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.tooltip[data-position="bottom"]::before {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.tooltip[data-position="left"]::before {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.tooltip[data-position="right"]::before {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
}

/* 表单布局工具类 */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

.form-col {
    flex: 1 0 0%;
    padding: 0 5px;
}

/* 输入框组 */
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group-prepend,
.input-group-append {
    display: flex;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
}

.input-group .form-control:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* 浮动工具类 */
.float-left { float: left; }
.float-right { float: right; }
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 显示工具类 */
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }

@media (min-width: 576px) {
    .d-sm-none { display: none; }
    .d-sm-block { display: block; }
    .d-sm-inline { display: inline; }
    .d-sm-inline-block { display: inline-block; }
}

@media (min-width: 768px) {
    .d-md-none { display: none; }
    .d-md-block { display: block; }
    .d-md-inline { display: inline; }
    .d-md-inline-block { display: inline-block; }
}

/* 间距工具类 */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 1rem; }
.m-4 { margin: 1.5rem; }
.m-5 { margin: 3rem; }

.mt-0 { margin-top: 0; }
.mr-0 { margin-right: 0; }
.mb-0 { margin-bottom: 0; }
.ml-0 { margin-left: 0; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.pt-0 { padding-top: 0; }
.pr-0 { padding-right: 0; }
.pb-0 { padding-bottom: 0; }
.pl-0 { padding-left: 0; }

/* 字体工具类 */
.font-weight-light { font-weight: 300; }
.font-weight-normal { font-weight: 400; }
.font-weight-bold { font-weight: 700; }

.text-uppercase { text-transform: uppercase; }
.text-lowercase { text-transform: lowercase; }
.text-capitalize { text-transform: capitalize; }

.font-italic { font-style: italic; }

/* 文本颜色 */
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-success { color: var(--success-color); }
.text-error { color: var(--error-color); }

/* 背景颜色 */
.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-success { background-color: var(--success-color); }
.bg-error { background-color: var(--error-color); }
.bg-light { background-color: #f8f9fa; }
.bg-dark { background-color: #343a40; }

/* 弹性布局工具类 */
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-grow-0 { flex-grow: 0; }
.flex-grow-1 { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-shrink-1 { flex-shrink: 1; }

.justify-content-start { justify-content: flex-start; }
.justify-content-end { justify-content: flex-end; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-around { justify-content: space-around; }

.align-items-start { align-items: flex-start; }
.align-items-end { align-items: flex-end; }
.align-items-center { align-items: center; }
.align-items-baseline { align-items: baseline; }
.align-items-stretch { align-items: stretch; }

/* 定位工具类 */
.position-static { position: static; }
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }
.position-sticky { position: sticky; }

/* 动画类 */
.fade {
    transition: opacity 0.15s linear;
}

.fade:not(.show) {
    opacity: 0;
}

.collapse:not(.show) {
    display: none;
}

.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 打印样式 */
@media print {
    .no-print {
        display: none !important;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
}

/* 文件管理系统特定样式 */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100vh;
    background-color: var(--card-background);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 1000;
}

.sidebar .logo {
    padding: 0 20px;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.sidebar nav a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar nav a:hover,
.sidebar nav a.active {
    background-color: var(--primary-color);
    color: white;
}

.main-content {
    margin-left: 250px;
    padding: 30px;
}

/* 文件上传区域样式 */
.upload-container {
    max-width: 800px;
    margin: 30px auto;
}

.file-drop-zone {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    background-color: var(--card-background);
    cursor: pointer;
}

.file-drop-zone.highlight {
    border-color: var(--primary-color);
    background-color: rgba(74, 144, 226, 0.05);
}

.file-drop-zone input[type="file"] {
    display: none;
}

.file-drop-zone label {
    display: block;
    cursor: pointer;
}

.file-drop-zone .supported-formats {
    display: block;
    margin-top: 10px;
    color: #666;
    font-size: 12px;
}

/* 文件卡片网格样式 */
.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.file-card {
    background-color: var(--card-background);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.file-icon {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    position: relative;
}

.file-icon::before {
    content: '';
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.file-icon.image::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234a90e2"><path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"/></svg>');
}

.file-icon.document::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23f39c12"><path d="M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z"/></svg>');
}

.file-icon.video::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232ecc71"><path d="M18 4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V4h-4z"/></svg>');
}

.file-icon.other::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23bdc3c7"><path d="M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"/></svg>');
}

.file-info {
    padding: 15px;
}

.file-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-info p {
    color: #666;
    margin-bottom: 5px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
}

.file-info p span:first-child {
    color: #999;
}

.file-actions {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

/* 搜索表单样式 */
.search-form {
    margin-bottom: 30px;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.search-input-group input[type="text"] {
    flex: 1;
    height: 40px;
    padding: 8px 15px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 200px;
}

.search-input-group input[type="text"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
    outline: none;
}

.search-input-group button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    min-width: 80px;
}

.search-input-group button[type="submit"]:hover {
    background-color: var(--hover-color);
}

/* 重置其他可能冲突的样式 */
.search-input-group .form-control {
    all: unset;
    flex: 1;
    height: 40px;
    padding: 8px 15px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: white;
    transition: all 0.3s ease;
    min-width: 200px;
    box-sizing: border-box;
}

.search-input-group .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
    outline: none;
}

.search-input-group .btn {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    min-width: 80px;
    box-sizing: border-box;
}

.search-input-group .btn:hover {
    background-color: var(--hover-color);
}

/* 分享链接生成样式 */
.share-form-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.share-form-group select {
    height: 40px;
    padding: 8px 15px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    min-width: 120px;
}

.share-form-group button {
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.share-form-group label {
    font-size: 14px;
    color: var(--text-color);
    white-space: nowrap;
}

/* 搜索结果表格样式 */
.search-results {
    margin-top: 30px;
}

.search-results h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--text-color);
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.table th {
    background-color: #f8f9fa;
    padding: 12px;
    font-weight: 500;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-color);
}

.table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.table tr:hover {
    background-color: #f8f9fa;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: normal;
    border-radius: 12px;
    background-color: #e9ecef;
    color: var(--text-color);
}

.badge-image { background-color: #4a90e2; color: white; }
.badge-document { background-color: #f39c12; color: white; }
.badge-video { background-color: #2ecc71; color: white; }
.badge-other { background-color: #95a5a6; color: white; }

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

.alert-info {
    background-color: #e8f4fd;
    border: 1px solid #c8e3fc;
    color: #2171c1;
}

/* 管理员设置页面样式 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    background-color: var(--background-color);
    padding: 15px;
    border-radius: 8px;
}

.info-item label {
    display: block;
    color: #666;
    margin-bottom: 5px;
    font-size: 14px;
}

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

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

/* 分享页面样式 */
.share-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.share-container .file-info {
    background-color: var(--card-background);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-container .file-info h2 {
    margin: 0 0 15px 0;
    color: var(--text-color);
    font-size: 20px;
}

.share-container .file-info p {
    margin: 8px 0;
    color: #666;
    display: flex;
    justify-content: space-between;
}

.current-share,
.create-share,
.share-result {
    background-color: var(--card-background);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.current-share h3,
.create-share h3,
.share-result h3 {
    margin: 0 0 15px 0;
    color: var(--text-color);
    font-size: 18px;
}

.share-url-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.share-url-container input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-color);
    background-color: var(--background-color);
}

.btn-copy {
    padding: 0 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.btn-copy:hover {
    background-color: #357abd;
}

.share-form {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.share-form .form-group {
    flex: 1;
}

.share-form label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.share-form select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-color);
    background-color: var(--background-color);
}

.btn-generate {
    padding: 10px 25px;
    background-color: var(--success-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    height: 40px;
    transition: background-color 0.3s ease;
}

.btn-generate:hover {
    background-color: #27ae60;
}

.share-result {
    display: none;
    margin-top: 20px;
    border: 2px solid var(--success-color);
}

/* 分享结果样式 */
.share-result {
    margin-top: 20px;
}

.share-result .alert-success {
    background-color: #f8f9fa;
    border: 1px solid #d1e7dd;
    border-radius: 4px;
    padding: 20px;
}

.share-result h4 {
    color: #0f5132;
    margin: 0 0 15px 0;
    font-size: 16px;
}

.share-link-container {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.share-link-container input {
    flex: 1;
    height: 40px;
    padding: 8px 15px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: #f8f9fa;
    cursor: text;
}

.share-link-container .btn-copy {
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.share-link-container .btn-copy:hover {
    background-color: #27ae60;
}

.expire-info {
    margin: 10px 0 0 0;
    font-size: 14px;
    color: #666;
}

.expire-info span {
    color: var(--primary-color);
    font-weight: 500;
}

/* 系统信息样式 */
.system-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.storage-info {
    padding: 15px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    margin: 15px 0;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.storage-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.storage-details p {
    margin: 0;
    font-size: 13px;
    color: var(--text-color);
    text-align: center;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid #eee;
}

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

.info-table td {
    padding: 10px;
    font-size: 14px;
}

.info-table td:first-child {
    color: #666;
    width: 40%;
}

.info-table td:last-child {
    color: #333;
}

/* 按钮组样式 */
.btn-group {
    display: flex;
    gap: 5px;
    align-items: center;
    white-space: nowrap;
}

.btn-group .btn {
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    flex-shrink: 0;  /* 防止按钮被压缩 */
}

.btn-group .btn-sm {
    padding: 4px 8px;
    font-size: 13px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
    border: none;
}

.btn:hover {
    opacity: 0.9;
}

/* 文件类型过滤器 */
.file-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border-radius: 20px;
    background-color: var(--card-background);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 14px;
}

.filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 控制面板统计卡片 */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--card-background);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-card h3 {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.stat-card p {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

/* 系统信息卡片 */
.system-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.system-info .card {
    background: var(--card-background);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-header {
    padding: 15px 20px;
    background: var(--background-color);
    border-bottom: 1px solid var(--border-color);
}

.card-header h2 {
    margin: 0;
    font-size: 16px;
    color: var(--text-color);
}

.card-body {
    padding: 20px;
}

/* 存储空间使用情况 */
.storage-info {
    padding: 15px;
}

.progress-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    margin: 15px 0;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.storage-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.storage-details p {
    margin: 0;
    font-size: 13px;
    color: var(--text-color);
    text-align: center;
}

/* 服务器信息表格 */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table td {
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
}

.info-table td:first-child {
    color: var(--text-color);
    opacity: 0.7;
    width: 40%;
}

.info-table td:last-child {
    color: var(--text-color);
    font-weight: 500;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .system-info {
        grid-template-columns: 1fr;
    }
    
    .storage-details {
        grid-template-columns: 1fr;
    }
}

/* 活跃分享列表样式 */
.active-shares {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.active-shares h3 {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.share-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.share-info {
    flex: 1;
}

.share-url {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: var(--primary-color);
    word-break: break-all;
}

.share-dates {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.share-item .btn-copy {
    height: 36px;
    padding: 0 15px;
    font-size: 14px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.share-item .btn-copy:hover {
    background-color: #27ae60;
}

/* 文件信息样式 */
.file-info {
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
}

.file-info h2 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: var(--text-color);
}

.file-info p {
    margin: 8px 0;
    font-size: 14px;
    color: #666;
}

.file-info span:first-child {
    display: inline-block;
    width: 100px;
    color: #666;
}

.file-info span:last-child {
    color: var(--text-color);
    font-weight: 500;
}
