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

.itemConfigAdm:hover {
  cursor: pointer;
}

#modalContainer,
#modalContainerEdit {
  display: none;
  z-index: 1000; /* Ensure it's on top of other content */
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  position: absolute;
  top: 0;
  left: 0;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  font-weight: bolder;
  cursor: pointer;
  background-color: azure;
  border-radius: 30px;
  height: 30px;
  width: 30px;
  text-align: center;
}

#blockContainer,
#blockContainerEdit {
  font-family: "K2D", serif;
  background-color: rgba(56, 56, 56, 0.8);
  border-radius: 25px;
  padding: 25px;
  width: 800px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: fixed; /* Position it relative to the viewport */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the modal */
}

#rob,
#robEdit {
  width: 150px;
  height: 150px;
}

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

.message {
  background-color: #d9d9d9;
  padding: 10px 20px;
  border-radius: 25px;
  margin: 0 20px;
}

.message p {
  font-family: "K2D", serif;
  font-weight: bold;
  color: black;
}

.colorRed {
  color: red;
  font-weight: bold;
}

.form-group {
  display: flex;
  flex-direction: column;
  padding: 5px 0;
}

#forms,
#formsEdit {
  margin-top: 20px;
}

#forms label,
#formsEdit label {
  color: white;
  margin-bottom: 5px;
}

#forms input,
#formsEdit input {
  width: 500px;
  padding: 5px 5px 5px 10px;
  border: none;
  border-radius: 20px;
}

.form-button {
  display: flex;
  justify-content: center;
}

#styledButton,
#styledButtonEdit {
  background: orangered;
  transition: background 0.3s ease;
  border-radius: 30px;
  border: none;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  width: 120px;
  margin-top: 30px;
}

#styledButton:hover,
#styledButtonEdit:hover {
  background: red;
  cursor: pointer;
}

#logoutBtn {
  color: black;
  background-color: #d9d9d9;
  padding: 5px;
  border-radius: 5px;
}

@media (max-width: 860px) {
  #blockContainer,
  #blockContainerEdit {
    width: 400px;
    height: 400px;
  }
  #forms input,
  #formsEdit input {
    width: 200px;
  }
}
@media (max-width: 430px) {
  #blockContainer,
  #blockContainerEdit {
    width: 90%;
    height: 400px;
  }
  #forms input,
  #formsEdit input {
    width: 200px;
  }
  #rob,
  #robEdit {
    display: none;
  }
}
@media (max-width: 280px) {
  #blockContainer,
  #blockContainerEdit {
    height: 450px;
  }
  #forms input,
  #formsEdit input {
    width: 90%;
  }
}
