body {
  font-family: Arial, sans-serif;
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  background-color: #1a1a1e;
  color: #e1e1e2;
}

#banner {
  background-image: url('whale.png');
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 110px;
  z-index: -2;
  background-repeat: repeat;
  background-size: 100px;
}

nav {
  margin-bottom: 30px;
  background-color: #1a1a1e;
  border: 1px solid #1a1a1e;
  border-radius: 5px;
  padding: 5px;
}

nav a {
  margin-right: 15px;
  text-decoration: none;
  color: #42b983;
}

#user-name {
  color: #9c9c9c;
  float: right;
}

nav a.active {
  font-weight: bold;
}

.form-group {
  padding: 5px 0;
}

.textbox {
  height: 28px;
}

.textbox label {
  line-height: 28px;
}

fieldset { 
  padding: 5px 0;
  margin: 0;
  border-radius: 5px;
}

form input:not([type="checkbox"]), form select, #ethnicity-popover-trigger {
  float: right;
  width: 180px;
  height: 28px;
  padding: 2px;
  background-color: #1a1a1e;
  color: #e1e1e2;
}

form input[type="checkbox"] {
  height: 30px;
  width: 30px;
  margin: 10px;
  vertical-align: middle;
  accent-color: #42b983;
}

.input-group { 
  float: right;
}

/* #dish-name, #source {
  float:left;
  width: 123px;
  border-radius: 5px 0 0 5px;
} */

.input-button {
  width: 57px;
  height: 28px;
  float: right;
  border-radius: 0 5px 5px 0;
  padding:2px;
}

fieldset label {
  vertical-align: middle;
  padding-left: 10px;
}

form button, form input, form select, form textarea, #ethnicity-popover-trigger {
  box-sizing: border-box;
  border: 1px solid #9c9c9c;
  border-radius: 5px;
  color-scheme: dark;
}

.submit-button, form textarea {
  width: 100%;
}

.submit-button {
  height: 30px;
  background-color: #42b983;
}
form textarea { 
  background-color: #1a1a1e;
  color: #e1e1e2;
}

/* #ethnicity-popover-trigger {
  anchor-name: --popover-anchor;
} */

#ethnicity-popover {
  position-area: bottom center; 
  margin: 0;
  inset: auto;
  padding: 0;
  border: none;
}

#ethnicities {
  height: 200px;
}

#ethnicities-mobile {
  height: 28px;
}

#login-title {
  text-align: center;
}

#login-form {
  max-width: 400px;
  border: 1px solid #9c9c9c;
  border-radius: 5px;
  padding: 20px;
  margin: 0 auto;
}

.form-error {
  color: #ff8c00;
  border: 1px solid #ff8c00;
  border-radius: 5px;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.form-error::before {
  content: "⚠ ";
  font-weight: bold;
  color: #ff8c00;
  font-size: 1.2em;
}
