.adc4gis-map-container {
  max-width: 1200px;
  margin: 20px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.adc4gis-header {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  color: white;
  padding: 30px 20px;
  text-align: center;
}

.adc4gis-header h2 {
  margin: 0 0 10px 0;
  font-size: 1.8rem;
  font-weight: 600;
}

.adc4gis-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 1rem;
  line-height: 1.5;
}

.adc4gis-map-wrapper {
  position: relative;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.adc4gis-controls {
  padding: 25px;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

.status-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 15px;
  background: white;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.status-icon {
  font-size: 1.3rem;
}

.status-text {
  font-weight: 500;
  color: #495057;
}

.button-group {
  text-align: center;
}

.save-continue-btn {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  justify-content: center;
}

.save-continue-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

.save-continue-btn.active:not(:disabled) {
  animation: pulse 2s infinite;
}

.save-continue-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

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

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.loading-content {
  text-align: center;
  padding: 30px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

.loading-content p {
  margin: 0;
  font-size: 1.1rem;
  color: #495057;
  font-weight: 500;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .adc4gis-map-container {
    margin: 10px;
    border-radius: 8px;
  }

  .adc4gis-header {
    padding: 20px 15px;
  }

  .adc4gis-header h2 {
    font-size: 1.5rem;
  }

  .adc4gis-controls {
    padding: 20px 15px;
  }

  .save-continue-btn {
    min-width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .adc4gis-map-wrapper {
    height: 400px !important;
  }
}
