* { box-sizing: border-box; }
html, body, .app { height: 100%; margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji'; }

.app { display: grid; grid-template-columns: 320px 1fr; }
.sidebar { padding: 12px; border-right: 1px solid #e5e5e5; overflow-y: auto; }

#map { height: 100%; width: 100%; }

.control { margin-bottom: 12px; }
.control label { display: block; font-weight: 600; margin-bottom: 6px; }
.control input[type="text"], .control input[type="number"] {
  width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 6px;
}
.control .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

button { padding: 8px 10px; border: 1px solid #0b5; background: #0c6; color: #fff; border-radius: 6px; cursor: pointer; }
button:hover { background: #0b7; }

.small { font-size: 12px; color: #333; }
.muted { color: #666; }

.brand-checkbox { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.hotel-group-header { 
  display: flex; 
  align-items: center; 
  margin: 8px 0 4px 0; 
  padding: 6px 0; 
  border-bottom: 1px solid #eee; 
  cursor: pointer;
}
.brands-group { 
  margin-left: 16px; 
  margin-bottom: 8px; 
  padding-left: 8px;
  border-left: 2px solid #f0f0f0;
}
.control select { width: 100%; padding: 6px; border: 1px solid #ccc; border-radius: 6px; }

/* Cluster styling */
.custom-cluster-icon {
  background: none !important;
  border: none !important;
}

.leaflet-marker-icon.custom-cluster-icon {
  background: none !important;
  border: none !important;
}

/* Custom marker styling */
.custom-marker {
  background: none !important;
  border: none !important;
}

.leaflet-marker-icon.custom-marker {
  background: none !important;
  border: none !important;
}

/* Search bar styling */
.search-container {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.search-container input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.search-container button {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

.search-container button:hover {
  background: #e0e0e0;
}

.search-container button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.search-container button:disabled:hover {
  background: #f5f5f5;
}

.search-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.search-results {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: white;
  display: none;
  margin-top: 4px;
}

.search-result-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

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

.search-result-item:hover {
  background: #f0f0f0;
}

.search-result-item.selected {
  background: #e3f2fd;
}

@media (max-width: 800px) {
  .app { grid-template-columns: 1fr; grid-template-rows: 260px 1fr; }
  .sidebar { border-right: none; border-bottom: 1px solid #e5e5e5; }
  #map { height: calc(100vh - 260px); }
}


  border: none !important;
}

.leaflet-marker-icon.custom-cluster-icon {
  background: none !important;
  border: none !important;
}

/* Custom marker styling */
.custom-marker {
  background: none !important;
  border: none !important;
}

.leaflet-marker-icon.custom-marker {
  background: none !important;
  border: none !important;
}

/* Search bar styling */
.search-container {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.search-container input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.search-container button {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

.search-container button:hover {
  background: #e0e0e0;
}

.search-container button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.search-container button:disabled:hover {
  background: #f5f5f5;
}

.search-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.search-results {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: white;
  display: none;
  margin-top: 4px;
}

.search-result-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

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

.search-result-item:hover {
  background: #f0f0f0;
}

.search-result-item.selected {
  background: #e3f2fd;
}

@media (max-width: 800px) {
  .app { grid-template-columns: 1fr; grid-template-rows: 260px 1fr; }
  .sidebar { border-right: none; border-bottom: 1px solid #e5e5e5; }
  #map { height: calc(100vh - 260px); }
}



/* No results styling */
.search-result-item.no-results {
  color: #666;
  font-style: italic;
  cursor: default;
}

.search-result-item.no-results:hover {
  background: transparent;
}
