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

.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background-color: white;
  border-bottom: 1px solid #dee2e6;
}

.report-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.report-thumbnail {
  width: 48px;
  height: 48px;
  background-color: #e9ecef;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.report-info h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.report-info p {
  font-size: 13px;
  color: #6c757d;
}

.report-actions {
  display: flex;
  gap: 8px;
}

.status-pill {
  display: inline-block;
  padding: 4px 12px;
  background-color: #28a745;
  color: white;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.report-tabs {
  display: flex;
  gap: 0;
  background-color: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
  padding: 0 24px;
}

.tab {
  padding: 12px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  transition: all 0.2s;
  margin-bottom: -2px;
}

.tab:hover {
  color: #007bff;
}

.tab.active {
  color: #007bff;
  border-bottom-color: #007bff;
}

.report-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.subview-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #dee2e6;
}

.pill {
  padding: 6px 16px;
  background-color: #e9ecef;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #495057;
  transition: all 0.2s;
}

.pill:hover {
  background-color: #dee2e6;
}

.pill.active {
  background-color: #007bff;
  color: white;
}

.view-controls {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.view-controls label {
  font-size: 13px;
  font-weight: 500;
  color: #495057;
  margin-right: 8px;
}

.view-controls select {
  min-width: 150px;
}

/* Map Container Styles */
.map-container {
  width: 100%;
  height: 600px;
  min-height: 500px;
  background-color: #f8f9fa;
  border-radius: 4px;
  overflow: hidden;
}

#alt-housing-map,
#comp-map {
  width: 100%;
  height: 100%;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #6c757d;
}

.map-layout {
  display: flex;
  gap: 16px;
}

.map-layout .map-container {
  flex: 1;
}

.map-sidebar {
  width: 300px;
  flex-shrink: 0;
}

.map-controls-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px;
  background-color: white;
  border-radius: 4px;
  border: 1px solid #dee2e6;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.control-group label {
  font-size: 13px;
  font-weight: 500;
  color: #495057;
  margin: 0;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-label {
  font-size: 13px;
  color: #6c757d;
}

.stat-value {
  font-size: 14px;
  font-weight: 600;
  color: #212529;
}
