:root {
  --primary-color: #007bff;
  --primary-color-dark: #0056b3;
  --text-color: #333;
  --label-color: #555;
  --background-color: #f4f4f4;
}
body {
  font-family: Arial, sans-serif;
  margin: 20px;
  background-color: var(--background-color);
}

.container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1em;
  max-width: 500px;
  margin: auto;
}

.container.item {
  margin-bottom: 0.5em;
}

h1 {
  text-align: center;
  color: var(--text-color);
}
h2 {
  text-align: center;
}

.field {
  margin-bottom: 15px;
}

.field-title {
  font-weight: bold;
  color: var(--label-color);
}

.field-value {
  margin-left: 10px;
  color: var(--text-color);
  display: block;
}

.section-title {
  font-size: 1em;
  font-weight: 800;
  margin-top: 20px;
  color: var(--primary-color);
}

label {
  font-weight: bold;
  color: var(--label-color);
  display: block;
  margin-bottom: 5px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type="submit"] {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
}

input[type="submit"]:hover {
  background-color: var(--primary-color-dark); /* Darker shade on hover */
}

.nav-menu {
  display: flex;
  max-width: 25%;
  margin-inline: auto;
  justify-content: center;
  margin-bottom: 0.5em;
  color: white;
  font-size: medium;
}

.nav-menu > nav > ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.nav-menu > nav > ul > li {
  background-color: var(--primary-color);
  padding: 0.4em;
  margin: 0 15px;
  border-radius: 0.4em;
}

.nav-menu > nav > ul > li.active,
.nav-menu > nav > ul > li:hover {
  background-color: var(--primary-color-dark);
  border-radius: 0.25em;
}

.nav-menu > nav > ul > li > a {
  text-decoration: none;
  color: inherit;
}

.item-manage-button {
  margin-bottom: 0.3em;
}

.button-container {
  display: flex;
  justify-content: space-between;
  gap: 1em;
}

.admin-password-container {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  align-items: baseline;
  max-height: 100%;
}

.admin-password-container input[type="password"] {
  flex: 1;
}

.admin-password-container button {
  display: flex;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  height: 2.25rem;
  align-items: center;
  cursor: pointer;
}
