:root {
  --primary: #2f6b26;
  --on-primary: #ffffff;

  --secondary: #fdfefd;
  --on-secondary: #43483f;

  --surface: #fdfefd;
  --on-surface: #1a1c18;

  --surface-2: #dae2d6;

  --error: #ffb4ab;
  --on-error: #690005;

  --success: #d7e8cd;
  --on-success: #003a00;

  --border-radius: 6px;
  --border-color: #e8ede6;

  --shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05);
}

* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

*,
::before,
::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  -webkit-font-feature-settings: normal;
  font-feature-settings: normal;
  font-variation-settings: normal;
}

.login-page {
  width: 100vw;
  height: 100dvh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 1rem;

  background-color: var(--surface-2);
}

.form {
  position: relative;
  padding: 2rem;
  -webkit-box-shadow: var(--shadow);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--surface);
  color: var(--on-surface);
  width: 100%;
  max-width: 500px;
  max-height: 100dvh;
  overflow: auto;
}

.login-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

h1 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  margin-bottom: 1.5rem;
}

input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  -webkit-box-shadow: var(--shadow);
  box-shadow: var(--shadow);
  font-size: 1rem;
  color: var(--on-secondary);
  background: var(--secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

.button {
  background: var(--primary);
  color: var(--on-primary);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--primary);
  border-radius: var(--border-radius);
}

.error {
  background: var(--error);
  color: var(--on-error);
  border-radius: var(--border-radius);
  padding: 0.25rem 0.75rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.success {
  background: var(--success);
  color: var(--on-success);
  border-radius: var(--border-radius);
  padding: 0.25rem 0.75rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: end;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

a {
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
  text-underline-offset: 2px;
  padding: 0.25rem 0.5rem;
  display: inline-block;
  color: var(--primary);
  font-weight: 500;
  cursor: pointer;
}

p {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

@media only screen and (max-width: 500px) {
  .form {
    padding: 1rem;
  }

  h1 {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

.x-small-text {
	font-size: x-small;
}

.small-text {
	font-size: small;
}

.clear-a-tag {
	all: revert;
}

.hidden {
  display: none;
}