/* All */
:root {
  --main-font: 'Libre Franklin', sans-serif;
  --main-border-color: rgb(177, 177, 177);
  --main-color: rgb(24, 78, 255);
  --button-color: #0d6efd;
  --button-color-hover: #0b5ed7;
  --delete-button-color: #ea202d;
  --delete-button-color-hover: #a91717;
  --neutral-button-color: #ffffff;
  --neutral-button-color-hover: #ffffff;
  --light-main-color: rgba(24, 78, 255, 0.155);
  font-family: 'Libre Franklin', sans-serif;
  font-size: 1rem;
  --secondary-font-size: clamp(0.7rem, -0.875rem + 3.333vw, 0.75rem);
  --color-border: #dee2e6;
}

* {
  font-size: clamp(0.8rem, -0.875rem + 4.333vw, 1rem);
}

ul {
  margin: 0;
}

/* Cards */

.card {
  padding: 1.5rem !important;
}

.kemia-card {
  margin: auto;
  padding: min(15px, 2rem);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.kemia-card-body form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 1rem;
  column-gap: 2rem;
}

.grid-col-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-col-1 {
  grid-template-columns: auto;
}

.kemia-card-body .button-container {
  grid-column: 2/3;
}

/* Messages */
.message-container {
  position: fixed;
  top: 10%;
  left: 50%;
  width: clamp(20%, 30vw, 50%);
  transform: translateX(-50%);
  opacity: 1;
  transition:
    translateX 1s ease-in,
    opacity 1s ease-in;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.5em;
  z-index: 1000;
}

.message-container.fade-out {
  transform: translateX(300%);
  opacity: 0;
  transition:
    transform 1s ease-in,
    opacity 0.5s ease-in;
}

.message-container * {
  margin: auto;
}

.message-element {
  margin: auto;
  width: 100%;
  padding: 1rem;
  border-left: 4px solid #6c757d;
  box-shadow: 2px 2px 10px 3px rgba(32, 32, 32, 0.5);
}

.message-element.success {
  background: #dbf7dd;
  color: rgb(2, 65, 2);
  border-left-color: #28a745;
  border-radius: 5px;
}

.message-element.info {
  background: #dbf6f7;
  color: rgb(6, 2, 65);
  border-left-color: #2a28a7;
  border-radius: 5px;
}

.message-element.warning {
  background: #f7f0db;
  color: rgb(134, 74, 5);
  border-left-color: #a76128;
  border-radius: 5px;
}

.message-element.error {
  background: #f7dbdb;
  color: rgb(65, 2, 2);
  border-left-color: #a72828;
  border-radius: 5px;
}

button.neutral-action-button {
  background-color: var(--neutral-button-color);
  color: black;
}

button.neutral-action-button:hover {
  background-color: var(--neutral-button-color-hover);
}

button.delete-button:hover {
  background-color: var(--delete-button-color-hover);
  border: 1px solid rgb(0, 0, 0);
}

button.delete-button {
  background-color: var(--delete-button-color);
  border: 1px solid rgb(99, 19, 19);
}

button {
  border: 1px solid lightblue;
  border-radius: 4px;
  color: white;
  background-color: var(--button-color);
  padding: 0.1em 1em;
  /* margin: .7em auto; */
  line-height: 2em;
}

button:hover {
  border-color: rgb(0, 0, 76);
  background-color: var(--button-color-hover);
  box-shadow: 0.075em 0.1em 0.1em black;
}

.challancin-login {
  display: none;
  visibility: hidden;
}

.collaborator-access {
  margin: 15px 0 15px 0;
  color: #005ce6;
}

.collaborator-access:hover {
  cursor: pointer;
  color: #002966;
}

.collaborator-access > * {
  vertical-align: middle;
}

.form-outline {
  position: relative;
}

.container-centered {
  max-width: calc(100% - 30rem);
  height: 100vh;
  overflow: hidden;
  margin: 10rem auto 0 15rem;
}

.form-separator {
  background: #b9b9b9;
  height: 1px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.helptext {
  font-style: italic;
  font-size: 13px;
  color: #747272;
}

.menu-content-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 5px;
}

.current-user-name {
  display: flex;
  height: 100%;
  cursor: default;
}

/* Pagination */

#pagination-form {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#pagination-form select {
  margin: 0;
}

.pagination-number {
  margin-right: 10px;
  font-family: --bs-font-sans-serif, sans-serif;
  font-size: 0.8rem;
  color: #747272;
}

.pagination-container {
  justify-content: flex-end;
}

.page-link {
  font-size: 0.8rem;
}

.menu-icon-container {
  display: inline-block;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.menu-icon {
  cursor: default;
  margin: 0 1rem 0 0;
}

.menu-content-hidden {
  visibility: hidden;
  opacity: 0;
  background: #f8f9fa;
  position: absolute;
  width: fit-content;
  left: 0;
  top: 100%;
  padding: 0.45rem;
  z-index: 1000;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(0, 0, 0, 0.2);
  transform: translateY(-20px);
  transition: all 0.3s ease-in-out;
}

.menu-icon-container:hover .menu-content-hidden,
.menu-content-hidden:hover {
  visibility: visible;
  min-width: fit-content;
  opacity: 1;
  transform: translateY(10px);
}

.menu-item-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 0.3rem;
  border: 1px solid rgba(169, 169, 169, 0);
}

.menu-item-container:hover {
  cursor: pointer;
  background: #dedede;
  border-radius: 8px;
  border: 1px solid darkgray;
}

.menu-item {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  height: 100%;
}

.logout-icon {
  font-size: 20px;
  margin-left: 8px;
  margin-right: 8px;
}

/* Forms */

.form-container {
  max-width: clamp(750px, 90%, 60vw);
  margin: 2rem auto 2rem auto;
}

.form-container > * {
  margin: auto;
}

.form-title-container {
  margin-bottom: 2rem;
  position: relative;
}

.form-category-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.form-status-container {
  display: flex;
  width: 200px;
  height: 50px;
  justify-content: center;
}

/* Misc */

.status-div {
  display: flex;
  width: 100%;
  height: 100%;
  padding-left: 15px;
  padding-right: 15px;
  justify-content: center;
  text-align: center;
  align-items: center;
  border-radius: 6px;
}

/* Login form */

.login-card {
  max-width: 50%;
  max-height: calc(100% - 10rem);
  min-width: min-content;
  width: fit-content;
  overflow: hidden;
  padding: 2rem;
  margin: 25vh auto;
  display: flex;
  justify-content: center;
  border: 1px solid var(--main-border-color);
  border-radius: 1.3rem;
  box-shadow: 0 0 0.13rem 1px rgba(0, 0, 0, 0.308);
}

.login-container {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.login-title {
  margin-bottom: 3rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid grey;
}

.login-buttons-container {
  display: flex;
  gap: 10px;
  width: 100%;
  align-items: stretch;
  justify-content: center;
}

.login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  min-width: 8rem;
  height: auto;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: inherit;
  vertical-align: center;
  gap: 0.3rem;
  background-color: white;
  border: 1px solid rgb(180, 180, 180);
  border-radius: 10px;
}

.login-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--main-font);
  font-weight: bold;
  color: #4d4c4c;
  width: 100%;
  height: 100%;
  gap: 0.3rem;
}

.login-button:hover {
  background-color: #e2e2e2;
  border-color: rgb(85, 85, 85);
  cursor: pointer;
}

/* Reset filters */

.filter-reset {
  cursor: pointer;
  color: #005ce6;
  font-weight: bold;
}

.filter-reset i {
  color: #005ce6;
  font-size: 1.25rem;
  font-weight: bold;
}

.filter-reset:hover {
  color: #002966;
}

.filter-reset i:hover {
  color: #005ce6;
}

/* Table */

td,
th {
  text-align: left;
  vertical-align: middle;
}

.table-wrapper {
  margin: clamp(1rem, 2rem, 3rem);
}

.order-add-item-wrapper {
  display: flex;
  flex-direction: row;
  gap: 0.5em;
  justify-content: center;
}

.table-wrapper caption {
  font-weight: 700;
  color: black;
  text-align: left;
  margin: 0.3em;
  caption-side: top;
}

.table-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-text {
  text-align: left;
  flex-grow: 1;
}

.table-header-filter-icon {
  text-align: right;
}

.table-header-filter-icon i {
  font-size: 18px;
  max-height: inherit;
}

.table-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

td .table-icon-container {
  padding: 0;
}

.table-icon {
  font-size: 1.25rem;
  margin-right: 4px;
  margin-left: 4px;
  padding: 0;
}

.table-icon:hover {
  color: #005ce6;
  cursor: pointer;
}

.status-div {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 75%;
  border-radius: 6px;
}

.new {
  background-color: #45b8ff;
  color: white;
}

.ongoing {
  background-color: #457aff;
  color: white;
}

.ready {
  background-color: #0c21c6;
  color: white;
}

.delivered {
  background-color: #1e760d;
  color: white;
}

.picked_up {
  background-color: #1e760d;
  color: white;
}

.reporting-table {
  padding: clamp(1rem, 2rem, 3rem);
}

/* Dropdowns */

.table-actions {
  display: flex;
  align-items: center;
  justify-items: flex-start;
  margin: 10px auto 15px auto;
  min-width: 120px;
  width: auto;
}

.wrapper,
.checkbox-filter-wrapper {
  /*width: 250px;*/
  width: auto;
  margin: 10px;
}

.dropdown-button,
.checkbox-filter {
  height: 40px;
  max-width: 250px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  cursor: pointer;
  padding: 0 10px;
  border-color: #005ce6;
  border-width: 0.11rem;
  border-style: solid;
  border-radius: 7px;
  background: #fff;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
  overflow-y: hidden;
}

.dropdown-button.active {
  background-color: rgba(88, 154, 255, 0.18);
}

.dropdown-button i,
.checkbox-filter input {
  margin-left: 10px;
  font-size: 18px;
  color: #005ce6;
  transition: transform 0.3s ease-in-out;
}

.wrapper.active .dropdown-button i {
  transform: rotate(-180deg);
}

.custom-dropdown-content {
  /*display: none; */
  visibility: hidden;
  position: absolute;
  width: 250px;
  height: auto;
  justify-content: flex-start;
  margin-top: 5px;
  padding: 10px;
  background: white;
  border-radius: 7px;
  /*overflow: auto;*/
  transition:
    opacity 0.1s linear,
    transform 0.1s linear,
    visibility 0.1s;
  transform: translateY(-10px);
  opacity: 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(0, 0, 0, 0.2);
}

.wrapper.active .custom-dropdown-content {
  visibility: visible;
  display: flex;
  flex: 1;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
}

.custom-dropdown-content .filter-button {
  align-self: flex-end;
  margin-top: auto;
  flex-shrink: 0;
}

.custom-dropdown-content * {
  padding: 0 0 0 0;
}

.dropdown-content-wrapper {
  display: flex;
  height: auto;
  flex-direction: column;
}

.inside-filter-icon {
  position: absolute;
  right: 10px;
  top: 15px;
  transform: translateY(-50%);
  cursor: pointer;
}

.custom-dropdown-search i {
  font-size: 13px;
  /*color: #005ce6;*/
  transition: transform 0.3s linear;
  transform-origin: center;
}

.dropdown-content-wrapper.active i {
  transform: translateY(-50%) rotate(-180deg);
}

.custom-dropdown-content .custom-dropdown-search {
  position: relative;
}

.custom-dropdown-search {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 30px;
  height: auto;
  width: 100%;
  font-size: 15px;
}

.custom-dropdown-search input {
  position: absolute;
  height: 30px;
  width: 100%;
  outline: none;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #b3b3b3;
  padding: 5px;
}

.date-input-div label,
.date-input-div input[type='date'] {
  display: block;
  position: relative;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
}

.date-input-div input[type='date'] {
  padding: 5px;
  border: 1px solid #b3b3b3;
  border-radius: 5px;
  font-size: 16px;
  outline: none;
}

.options {
  /*display: block;*/
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.2s linear,
    transform 0.3s linear,
    visibility 0.2s;
  /*box-sizing: inherit;*/
  justify-content: left;
  margin: auto;
  position: absolute;
  top: 100%;
  background: white;
  border: rgba(0, 0, 0, 0.2) solid 1px;
  border-top: none;
  left: 0;
  max-height: 300px;
  width: 100%;
  list-style: none;
  align-items: center;
  z-index: 1000;
  overflow-x: hidden;
  overflow-y: auto;
}

.dropdown-content-wrapper.active .options {
  /*display: none;*/
  visibility: visible;
  opacity: 1;
}

.options li {
  display: flex;
  margin: auto;
  height: auto;
  cursor: pointer;
  border-radius: 5px;
  padding: 5px;
  overflow-x: hidden;
  overflow-y: hidden;
}

.options li:hover {
  background: rgba(206, 220, 255, 0.29);
}

.options li.active {
  background: rgba(206, 220, 255, 0.29);
  border: solid 1px rgba(0, 92, 230, 0.67);
  padding: 4px;
}

.filter-choice-item {
  margin: 2px;
  position: relative;
  display: flex;
  padding: 5px;
  align-self: flex-end;
  width: inherit;
  max-width: 100%;
  align-items: center;
  justify-content: space-between;
}

.filter-choice-item p {
  margin: 0;
}

.filter-choice-item i {
  font-size: 11px;
  color: #005ce6;
  cursor: pointer;
}

.filter-button {
  margin: 2px;
  position: relative;
  width: 100%;
  max-width: inherit;
  display: flex;
  flex-direction: row-reverse;
  padding: 5px;
  align-items: flex-end;
  justify-content: space-between;
}

.filter-button a {
  margin: 3px;
  cursor: pointer;
}

.filter-button p {
  color: #005ce6;
  font-weight: 500;
}

/* Forms */

.form-help-text {
  color: grey;
  font-style: italic;
  font-size: 0.8rem;
}

.mandatory-form-field {
  color: red;
  font-weight: bold;
}

.form-control,
.btn {
  box-shadow: none !important;
  outline: none !important;
}

.table-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 10px auto 15px auto;
  gap: 1em;
}

.table-row:hover {
  cursor: pointer;
}

#pagination-number {
  margin-right: 10px;
  margin-bottom: 16px;
}

#account-icon {
  cursor: pointer;
}

#history-go-back {
  top: 0;
  left: 0;
  color: #005ce6;
}

#history-go-back:hover {
  color: #002966;
}

#creation-btn {
  position: relative;
  display: inline-block;
  margin-left: auto;
}

.table-buttons-wrapper {
  display: inline-block;
  margin-left: auto;
}

.button-container {
  margin-top: min(2rem, 2vh);
  display: flex;
  width: 100%;
  max-height: 2rem;
  justify-content: flex-end;
  align-items: center;
  justify-self: end;
  align-self: end;
}

.button-container > button {
  margin-left: 1rem;
}

#form-submit-button {
  display: inline-block;
}

.form-modification-button {
  display: inline-block;
}

#pagination-footer {
  display: flex;
  align-items: center;
}

#next-page-arrow {
  font-size: 24px;
}

#previous-page-arrow {
  font-size: 24px;
}

#last-page-arrow {
  font-size: 18px;
}

#first-page-arrow {
  font-size: 18px;
}

/* Test */

.dropdown {
  position: relative;
  display: inline-block;
}

#searchInput {
  width: 200px;
  padding: 10px;
  box-sizing: border-box;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.show {
  display: block;
}

/* Création des commandes */

.multiline-form-headers {
  display: flex;
  justify-content: left;
  gap: 50px;
  align-items: left;
  padding-bottom: 5px;
  border-bottom: 1px solid #b9b9b9;
}

.multiline-form-header-element {
  width: 100%;
  max-width: 300px;
  padding-left: 5px;
  font-weight: bold;
  font-size: large;
}

.card-form-container {
  max-width: max-content;
  min-width: 1300px;
  margin: 0 15px;
}

.multiline-form-container ul {
  margin: auto;
  padding: 0;
}

.multiline-form-line-container {
  display: flex;
  width: 100%;
  gap: 50px;
  flex-direction: row;
  justify-content: flex-start;
}

.multiline-form-line {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  margin-top: 10px;
}

.form-input-div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex-grow: 1;
  height: initial;
  width: 100%;
  max-width: 300px;
}

.form-input-div input[type='checkbox'] {
  align-self: center;
  margin: 12px auto;
  transform: scale(1.2);
  cursor: pointer;
}

.invalid-feedback li {
  font-size: var(--secondary-font-size);
}

.form-input-div:hover .invalid-feedback,
.invalid-feedback:hover {
  visibility: visible;
  opacity: 1;
  transition:
    opacity 0.1s ease-in-out,
    visibility 0s linear 0s;
}

.form-group {
  position: relative;
}

.invalid-feedback.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  visibility: hidden;
}

.invalid-feedback {
  visibility: visible;
  opacity: 1;
  position: absolute;
  background-color: white;
  top: 100%;
  left: 0;
  display: inline-block;
  min-height: 25px;
  border: 1px solid #dc3545;
  transition:
    opacity 0.1s ease-in-out,
    visibility 0s linear 0.1s;
  z-index: 1000;
}

.invalid-feedback {
  padding: 5px 15px;
  max-width: max-content;
  list-style: none;
  margin-top: 5px;
  font-weight: bold;
}

.errorlist {
  list-style: none;
}

.form-check-input {
  margin: auto;
}

.form-input-label {
  margin-bottom: 8px;
}

.form-input-cta {
  position: absolute;
  right: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.form-input-cta > * {
  margin-right: 5px;
  margin-left: 5px;
}

.form-input-cta span {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  min-width: 80px;
  border-radius: 8px;
  background-color: #0d6efd;
  color: white;
}

.form-input-cta span:hover {
  background-color: #0a58ca;
}

.form-input-cta > *:hover {
  cursor: pointer;
}

.add-form-line {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.add-form-line * {
  margin: 10px;
}

.add-form-line i {
  color: #005ce6ff;
  font-size: 20px;
}

.add-form-line i:hover {
  cursor: pointer;
}

.add-form-line span {
  color: #aeaeae;
}

.article-results-container {
  display: none;
  border: 1px solid rgba(0, 0, 0, 0.2);
  height: auto;
  max-height: 300px;
  overflow: scroll;
  margin-top: 5px;
}

.order-add-item {
  background-color: white;
  color: #0d6efd;
  font-size: 0.7rem;
  font-weight: bold;
  border: 1px solid #0d6efd;
  border-radius: 5px;
}

.order-add-item-icon {
  font-size: 18px;
}

.order-add-item:hover {
  cursor: pointer;
  background-color: #0a58ca;
  color: white;
}

/* Searchable Widget custom */

.searchable-input-container {
  display: flex;
  flex-direction: column;
  position: relative;
}

.result-elements-container {
  visibility: hidden;
  background-color: white;
  padding: 0.4rem;
  position: absolute;
  top: 100%;
  min-width: 100%;
  width: fit-content;
  max-width: 40vw;
  margin-top: 0.2em;
  border: 1px solid grey;
  border-radius: 8px;
  box-shadow: 1px 2px 1px rgba(48, 48, 48, 0.644);
  z-index: 1000;
}

.result-list {
  list-style: none;
}

.searchable-element {
  padding: 5px 10px;
}

.searchable-element:hover {
  border-radius: 10px;
  background-color: rgb(234, 243, 250);
}

/* Modale */

.kemia-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  z-index: 10000;
  transition:
    opacity 0.3s ease,
    visibility 0.3s;
}

.modal-main-area {
  /* position: relative; */
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 8px;
  min-width: 40vw;
  min-height: 30vh;
  max-width: 50vh;
  max-height: 40vh;
}

.modal-main-area i {
  /* position: absolute; */
  margin: 5px 10px;
  bottom: 89%;
  left: 95%;
  font-size: large;
  cursor: pointer;
}

.modal-main-area i:hover {
  font-size: larger;
  font-weight: bolder;
  color: black;
}

.kemia-modal.active {
  visibility: visible;
  opacity: 1;
}

.modal-top-div-icon {
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
  color: black;
  padding: 5px 5px;
  position: relative;
  background-color: var(--light-main-color);
}

.modal-top-div-icon::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgb(0, 0, 0);
}

.modal-title {
  font-size: 1.3rem;
  margin: 0.2rem;
  padding: 0.2rem;
  flex-grow: 1;
}

.modal-top-div-icon,
.modal-bottom-div-button {
  display: flex;
}

.modal-bottom-div-button {
  justify-content: flex-end;
  margin: 10px;
}

.main-modal-content {
  display: flex;
  flex-direction: column;
  margin: 10px;
  flex-grow: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

.modal-message {
  margin: auto;
  font-weight: 400;
  font-size: 1rem;
  text-align: center;
}

/* Forms */

.form-parent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: clamp(1rem, 2rem, 3rem) auto;
  padding: clamp(1rem, 2rem, 3rem);
  border: 1px solid lightgray;
  border-radius: 8px;
  height: 100%;
  width: min(80%, 850px);
}

.form-item {
  display: block;
  width: 90%;
  margin: clamp(0.4em, 0.7em, 1.5em) auto;
}

.form-item > * {
  margin: auto min(clamp(0.5em, 2em, 4em), 5%);
}

.form-item > label {
  font-size: clamp(0.8rem, -0.875rem + 4.333vw, 1rem);
}

.form-item > input,
.form-item > select {
  border: 1px solid lightgrey;
  height: 2rem;
  width: clamp(200px, 75%, 500px);
}

.form-item > select {
  background-color: white;
}

/* Reporting-zone */

.reporting-zone-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: min-content;
  align-items: start;
}
