* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.header {
  background: linear-gradient(45deg, #e74c3c, #c0392b);
  color: white;
  padding: 20px;
  text-align: center;
}

.header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.controls {
  padding: 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.controls input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.controls input:focus {
  outline: none;
  border-color: #e74c3c;
}

.controls button {
  padding: 12px 24px;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.controls button:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.controls button:disabled {
  background: #95a5a6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.status {
  margin-left: auto;
  font-weight: 500;
  color: #555;
}

.success {
  color: #27ae60;
}

.error {
  color: #e74c3c;
}

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

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  font-size: 18px;
  color: #666;
}

.pizza-popup {
  max-width: 300px;
  padding: 10px;
}

.pizza-popup h3 {
  margin: 0 0 10px 0;
  color: #e74c3c;
}

.popup-info {
  margin: 5px 0;
  color: #555;
}

.popup-info strong {
  color: #333;
}

/* Custom marker styles */
.pizza-marker {
  background: transparent !important;
  border: none !important;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.pizza-marker:hover {
  transform: scale(1.2);
}

/* Cluster styles */
.pizza-cluster {
  background: #e74c3c;
  border: 3px solid #c0392b;
  border-radius: 50%;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 12px;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pizza-cluster-small {
  width: 40px;
  height: 40px;
}

.pizza-cluster-medium {
  width: 50px;
  height: 50px;
  font-size: 14px;
}

.pizza-cluster-large {
  width: 60px;
  height: 60px;
  font-size: 16px;
}
