.container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sidebar {
  width: 300px;
  background: white;
  border-right: 1px solid #ccc;
  overflow-y: auto;
  padding: 10px;
}

.map {
  flex: 1;
  position: relative;
}

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

.tag-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.tag-item:hover {
  background: #f5f5f5;
}

.tag-item.active {
  background: #e3f2fd;
}

.tag-details {
  margin-top: 10px;
}

.tag-details h3 {
  margin: 0 0 10px 0;
}

.tag-details p {
  margin: 5px 0;
}

.tag-actions {
  margin-top: 10px;
}

.tag-actions button {
  margin-right: 5px;
}

/* General container styling */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Sidebar styling */
#folders {
  background-color: #ffffff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

#folders .folder {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

#folders .folder:hover {
  background-color: #e9ecef;
}

#folders .folder input[type="text"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9em;
}

/* Map styling */
#map {
  width: 100%;
}

/* Tag popup styling */
.tag_popup {
  font-size: 0.9em;
  color: #333;
}

.tag_popup span {
  display: block;
  margin-bottom: 5px;
}

.tag_popup a {
  color: #007bff;
  text-decoration: none;
}

.tag_popup a:hover {
  text-decoration: underline;
}

/* Active tag styling */
.activetag {
  background-color: rgba(0, 0, 255, 0.2);
  border: 1px solid #007bff;
  border-radius: 5px;
  padding: 5px;
}

/* Folder tag styling */
.foldertag {
  cursor: pointer;
  border: 1px solid #add8e6;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 5px;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

.foldertag:hover {
  background-color: rgba(0, 0, 255, 0.1);
}

/* Tags container styling */
.tags {
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 5px;
}

#search-button {
  background: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 1em;
  font-size: 1.2em;
  position: relative;
  top: -5px;
}

.folders {
  margin-top: 10px;
}

.folder {
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 5px;
  background: #f9f9f9;
}

.folder-header {
  padding: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.folder-header:hover {
  background: #eee;
}

.folder-header.active {
  background: #e3f2fd;
}

.folder-tags {
  padding: 4px 8px;
  border-top: 1px solid #ddd;
  max-height: 300px;
  overflow-y: auto;
}

.tag-item {
  padding: 4px 8px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag-item:hover {
  background: #f5f5f5;
}

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

.tag-item.resolved {
  opacity: 0.7;
}

.tag-item.resolved:hover {
  opacity: 1;
}

.tag-item .tag-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag-item .tag-status {
  color: #666;
  font-size: 0.9em;
}

.tag-actions select {
  margin-left: 5px;
  padding: 4px;
  border-radius: 4px;
} 