body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
}

form.login-form {
  width: 300px;
  margin: 80px auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

form.login-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}

form.login-form button {
  width: 100%;
  padding: 10px;
  background: #0078d7;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

#map {
  height: 100vh;
  width: 100%;
}
#parcoSelectorContainer {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#selectParco {
  font-size: 15px;
  padding: 6px 10px;
  border: 1px solid #aaa;
  border-radius: 4px;
  background-color: white;
  min-width: 250px;
}
#layerSwitcherContainer {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background-color: rgba(255,255,255,0.95);
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  font-size: 14px;
}
#layerSwitcherContainer select {
  margin-left: 8px;
  padding: 5px;
  border-radius: 4px;
}
#logoutContainer {
  position: absolute;
  top: 10px;
  right: 15px;
  z-index: 1000;
  background-color: rgba(255,255,255,0.95);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
#logoutContainer a {
  text-decoration: none;
  color: #333;
}
#logoutContainer a:hover {
  color: #d32f2f;
}
.admin-button {
  display: inline-block;
  background-color: #2b6777;
  color: white;
  padding: 10px 20px;
  margin-top: 10px;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.admin-button:hover {
  background-color: #1f4e5f;
}

.logout-button {
  display: inline-block;
  background-color: #d9534f;
  color: white;
  padding: 10px 20px;
  margin-top: 10px;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.logout-button:hover {
  background-color: #c9302c;
}

#admin-panel {
  position: absolute;
  top: 10px;
  right: 120px;
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  z-index: 1000;
}


.legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.legend-color {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 1px solid #333;
}
.legend-draggable {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 8px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
  font-family: sans-serif;
  font-size: 14px;
  z-index: 9999;
  cursor: move;
  max-width: 240px;
}

.legend-item {
  display: flex;
  align-items: center;
  margin-top: 6px;
}

.legend-color {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 1px solid #000;
  box-sizing: border-box;
}
