html,
body {
  position: relative;
  width: 100%;
  background-color: var(--main-bg-color);
}

body {
  color: var(--text-primary);
  margin: 0;
  box-sizing: border-box;
  font-family: var(--font);
}

a {
  color: var(--link-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: var(--link-visited);
}

label {
  display: block;
}
h1,
h2,
h3 {
  color: var(--accent-color);
}
h2 {
  font-size: 1.4em;
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  -webkit-padding: 0.4em 0;
  padding: 0.4em;
  margin: 0 0 0.5em 0;
  box-sizing: border-box;
  border: 1px solid var(--border-color);
  border-radius: 2px;
}
.nav-buttons {
  margin-top: 25px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

input:disabled {
  color: var(--border-color);
}
input::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

button {
  /* color: #2e6f62; */
  /* border-radius: 5px; */
  /* padding: 7px 15px; */
  /* background-color: white; */
  /* border: 0; */
  color: var(--text-on-accent);
  border-radius: 5px;
  padding: 15px 30px;
  background-color: var(--accent-color);
  border: none;
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: 0;
  cursor: pointer;
}

button:disabled {
  color: var(--text-muted);
}

button:not(:disabled):active {
  background-color: var(--button-active-bg);
}

button:focus {
  border-color: var(--border-focus);
}
input:autofill {
  box-shadow: 0 0 0 50px var(--main-bg-color) inset; /* Change the color to your own background color */
  -webkit-text-fill-color: var(--primary-color);
}

input:autofill:focus {
  box-shadow: 0 0 0 50px var(--main-bg-color) inset; /* Change the color to your own background color */
  -webkit-text-fill-color: var(--primary-color);
}
