
:root {
  --primary: #568203;        /* Avocado Green */
  --accent: #CC5500;         /* Burnt Orange */
  --background: #f4f1ea;     /* Warm neutral */
  --surface: #ffffff;
  --text-dark: #2b2b2b;
  --text-muted: #6b6b6b;
  --border-soft: #e3dfd6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
	font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
	background-color: var(--background);
  	color: var(--text-dark);
  	line-height: 1.6;
}

/* Headings */
h1, h2, h3 {
  font-family: "Poppins", "Helvetica Neue", sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

h1 {
  color: var(--primary);
  font-size: 2.5rem;
}

h2 {
  color: var(--primary);
  margin-top: 2rem;
}

h3 {
  color: var(--accent);
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-dark);
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary);
  text-decoration: underline;
}

ul {
  margin: 1rem 0 1rem 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

pre {
  background: #1f1f1f;
  color: #f4f4f4;
  padding: 1.2rem;
   border-radius: 10px; 
  overflow-x: auto;
  margin: 1.5rem 0;
  border-left: 6px solid var(--accent);
}

code {
  font-family: "Fira Code", monospace;
}

p code {
  background: #ece8df;
  padding: 3px 6px;
  /* border-radius: 4px; */
  color: var(--accent);
  font-size: 0.9rem;
}

button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.7rem 1.4rem;
  /* border-radius: 8px; */
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

button:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}

hr {
  border: none;
  border-top: 2px solid var(--border-soft);
  margin: 2rem 0;
}

header {
  border-bottom: 4px solid var(--primary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}

footer {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;

/*  width: 100%;
  max-width: 200px;*/

  padding: 0.6rem 0.9rem;
  font-size: 1rem;

  border: 2px solid var(--border-soft);
  border-radius: 8px;

  background-color: var(--surface);
  color: var(--text-dark);

  transition: all 0.2s ease;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"]:hover {
  border-color: var(--primary);
}

input[type="number"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(86, 130, 3, 0.15);
}

input[type="number"]:valid {
  border-color: var(--primary);
}

input[type="number"]:invalid {
  border-color: var(--accent);
}

input[type="number"]:disabled {
  background-color: #ece8df;
  cursor: not-allowed;
  opacity: 0.7;
}

input[type="checkbox"] {
  accent-color: var(--primary);
  width: 20px;
  height: 20px;
}


label {
  display: block;
  margin-bottom: 0.4rem;

  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;

  color: var(--primary);

  transition: color 0.2s ease;
}

.input-group {
  display: flex;
  align-items: center;
  justify-items: center;
}

input:focus + label,
input:focus ~ label {
  color: var(--accent);
}

.label-muted {
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.container {
	margin: 0 auto;
	margin-top: 1rem;
	margin-bottom: 1rem;
	max-width: 1000px;
	background: var(--surface);
	padding: 3rem;
	border-radius: 14px; 
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.map-toggles {
  width: 100%;
}

.toolbar {
	display: flex;
	margin: 1rem;
}

.spacer {
	margin-left: auto;
}

.toolbar-btn {
	margin: .25rem;
}

#map { 
	height: 75vh;
  position: relative;
}

#marker-label {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.chip {
	background-color: var(--accent);
	color: white;
	border-radius: 16px;
	padding: .4rem;
	margin: .25rem;
}

.chip:hover {
	opacity: 95%;
}