/* 紧凑布局样式 - 减少卡片间距和边距 */

/* 文件网格 - 减少间距 */
.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 280px));
    gap: 8px !important; /* 从20px减少到8px */
    justify-content: start !important; /* 左对齐而不是居中 */
    padding: 10px !important; /* 从15px减少到10px */
}

/* 内容头部 - 减少内边距 */
.content-header {
    /* 移除固定样式，使用style.css中的响应式样式 */
    border-bottom: 1px solid #e0e0e0;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* 主内容区域 - 减少内边距 */
.main-content {
    flex: 1;
    padding: 0 !important; /* 移除内边距 */
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* 文件内容区域 - 减少内边距 */
.files-content {
    padding: 0 !important; /* 移除内边距 */
}

/* 卡片样式 - 稍微减少圆角 */
.file-card,
.folder-card {
    border-radius: 8px !important; /* 从12px减少到8px */
    margin: 0 !important; /* 确保没有外边距 */
}

/* 无文件提示 - 减少内边距 */
.no-files {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 15px !important; /* 从60px 20px减少到40px 15px */
    color: #7f8c8d;
    font-size: 16px;
} 