.gis-workstation {
  height: 100vh;
  overflow: hidden;
}

.gis-container {
  display: flex;
  height: calc(100vh - 120px);
}

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

.gis-controls h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.layer-list {
  margin-bottom: 24px;
}

.layer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 4px;
}

.layer-item:hover {
  background: #f8fafc;
}

.layer-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.layer-icon {
  font-size: 1.2rem;
}

.gis-tools {
  margin-bottom: 24px;
}

.tool-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tool-btn {
  padding: 12px;
  border: 1px solid #e2e8f0;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s;
}

.tool-btn:hover {
  background: #f8fafc;
  border-color: #6366f1;
}

.tool-btn:active {
  background: #e0e7ff;
}

.gis-search-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.95rem;
}

.gis-map-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.gis-map {
  flex: 1;
  background: #e2e8f0;
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.map-placeholder-content {
  text-align: center;
  color: white;
  padding: 40px;
}

.map-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.map-placeholder-content h3 {
  font-size: 1.5rem;
  margin: 0 0 12px 0;
}

.map-placeholder-content p {
  margin: 8px 0;
  opacity: 0.9;
}

.map-note {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 20px;
  font-style: italic;
}

.gis-load-error {
  position: absolute;
  bottom: 200px;
  left: 50%;
  transform: translateX(-50%);
  background: #fef2f2;
  color: #b91c1c;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  max-width: 90%;
}

.gis-info-panel {
  background: white;
  border-top: 1px solid #e2e8f0;
  padding: 16px 24px;
  min-height: 80px;
  max-height: 200px;
  overflow-y: auto;
}

.property-info h4 {
  margin: 0 0 12px 0;
  color: #1e293b;
  font-size: 1.1rem;
}

.property-info p {
  margin: 8px 0;
  color: #475569;
  font-size: 0.9rem;
}

.map-info {
  color: #64748b;
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

@media (max-width: 768px) {
  .gis-container {
    flex-direction: column;
  }
  
  .gis-sidebar {
    width: 100%;
    max-height: 200px;
  }
  
  .tool-buttons {
    grid-template-columns: repeat(6, 1fr);
  }
}

