
:root {
  --bg: #f2f2f7;
  --card: #ffffff;
  --primary: #007aff;
  --text: #1c1c1e;
  --border: #d1d1d6;
}

body {
  background-color: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 2rem;
  color: var(--text);
}

form {
  background: var(--card);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 2rem;
  max-width: 500px;
  margin: auto;
  border: 1px solid var(--border);
}

input, textarea, button, select {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 1rem;
  font-size: 1rem;
  margin-top: 1rem;
  width: 100%;
  box-sizing: border-box;
  background: white;
}

button {
  background-color: var(--primary);
  color: white;
  border: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #0058d6;
}

#map {
  width: 100%;
  height: 300px;
  margin-top: 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  z-index: 1;
}

* {
  transition: all 0.2s ease-in-out;
}

@media (min-width: 768px) {
  #map {
    height: 400px;
  }
}

@media (min-width: 1024px) {
  body {
    font-size: 18px;
    padding: 3rem;
  }

  input, textarea, button, select {
    font-size: 1.1rem;
    padding: 1.2rem;
  }
}
#loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top-color: #ff0066;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-hidden {
  display: none !important;
}

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