body {
  background-color: #1c1c1e;
  font-family: 'Inter', sans-serif;
  color: #f5f5f5;
  line-height: 1.6;
}

.project-card {
  background-color: #2a2a2d;
  padding: 2rem;
  margin: 2rem auto;
  border-radius: 8px;
  max-width: 800px;
}

h1 {
  font-size: 2rem;
  color: #FFAE03;
  margin-bottom: 1rem;
}

label {
  display: inline-block;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

/* label:hover {
  background: #f0f0f0;
} */

label input[type="date"] {
  cursor: pointer;
  padding: 6px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
/*  data-group added for form styling */
.date-group {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.date-field {
  display: flex;
  flex-direction: column;
}

.date-field label {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.date-field input[type="date"] {
  cursor: pointer;
  padding: 6px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* styling for links on pages with menu */
.back-link {
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: #2a2a2d;
  background: #e0e0e0;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s ease;
  z-index: 1000;
}

.back-link:hover {
  background: #FFAE03;
}

input, button {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border-radius: 4px;
  font-size: 1rem;
  border: 1px solid #FFAE03;
  background-color: #2a2a2d;
  color: #fff;
}

input:focus {
  outline: none;
  border-color: #FFAE03;
}

button {
  background-color: #e67f0d;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

button:hover {
  background-color: #FFAE03;
  color: #2a2a2d;
}

.map-wrapper {
  margin-top: 2rem;
  overflow: hidden;
  border-radius: 8px;
  transition: all 0.4s ease;
}

#map {
  width: 100%;
  transition: all 0.4s ease;
}

.map-collapsed {
  height: 300px;
}

.map-expanded {
  height: 600px;
}

#result {
  margin-top: 2rem;
  background-color: #1c1c1e;
  padding: 1rem;
  border-left: 4px solid #FFAE03;
  border-radius: 4px;
  white-space: pre-line;
}

canvas {
  margin-top: 2rem;
}