body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

header {
  background-color: #333;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  margin: 0;
  font-size: 24px;
}

.login-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
}

.login-button:hover {
  background-color: #0056b3;
}

#project-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}

.project {
  background-color: #fff;
  border: 1px solid #ddd;
  margin: 10px;
  padding: 15px;
  width: 300px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.project h2 {
  margin: 0 0 10px;
}

.project p {
  font-size: 14px;
  color: #666;
}

button {
  padding: 10px 20px;
  cursor: pointer;
  margin-top: 10px;
  border: none;
  background-color: #007bff;
  color: #fff;
  border-radius: 5px;
}

button:hover {
  background-color: #0056b3;
}

/* Map iframe container */
#map-container {
  width: 100%;
  margin: 20px auto;
  text-align: center;
}

#iframe {
  width: 100%;
  height: 600px;
  border: none;
}

/* Legend Section */
#legend-section {
  margin: 20px auto;
  width: 80%;
  text-align: center;
}

#legend-content {
  width: 100%;
  height: 150px;
  margin-bottom: 10px;
  resize: vertical;
}

#save-legend-button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#save-legend-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.modal-content label {
  display: block;
  margin-bottom: 5px;
}

.modal-content input {
  width: 80%;
  padding: 5px;
  margin-bottom: 10px;
}
