.folder-content-container {
  padding: 20px;
  max-width: 100%;
  overflow-x: hidden;
}

.folder-title {
  margin-bottom: 24px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.folder-icon {
  font-size: 1.6rem;
}

.folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  padding: 10px 0;
}

.folder-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  width: 100%;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  background: transparent;
  color: inherit;
  text-decoration: none;
  min-height: 120px;
  justify-content: center;
}

.folder-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.folder-item.light {
  background: white;
  color: #333;
}

.folder-item.dark {
  background: #333;
  color: #f5f5f5;
  border-color: #555;
}

.item-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.item-name {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  font-size: 14px;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.empty-folder {
  padding: 40px;
  text-align: center;
  color: #666;
}

.empty-folder-message {
  text-align: center;
  color: #666;
  margin-top: 40px;
  font-style: italic;
}
