* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background-image: url("/img/background.png");
  background-repeat: no-repeat;
  /* background-size: cover; */
}

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

#loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.6rem;
  background-color: rgb(255, 255, 255);
  z-index: 50; /* Z-Index, um sicherzustellen, dass die Fläche über anderen Inhalten liegt */
  display: flex;
  justify-content: center;
  align-items: center;
}

.loginForm,
.userForm,
.sitesForm {
  margin: 1rem 1.5rem;
  border: 1px solid gray;
  padding: 1.5rem;
  padding-top: 2rem;
  background-color: white;
  border-radius: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.loginForm {
  width: 400px;
}

.userForm,
.sitesForm {
  width: 700px;
}

.button {
  --width: 100%;
  width: 100%;
}

.createUserGrid,
.createSiteGrid {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 1rem;
}

.userRoleGrid,
.siteTypeGrid {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 0.5rem;
}

.inputUserRole,
.inputSiteType {
  min-width: 5.5rem;
}

#buttonSubmit {
  --width: 200px;
}

.loadingSpinner {
  margin-right: 1.5rem;
  display: none;
}

.submitGen {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 745px) {
  .container {
    justify-content: flex-start;
  }
}