/* Grid container */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Three boxes per row */
  gap: 20px;
  margin: 40px auto;
  max-width: 1200px;
  padding-left: 15px;
  padding-right: 15px;
}

/* Styling for each box */
/*.menu-box {
  width: 100%;
  background-color: #ecefff;
  color: #333;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  font-size: 16px;
  font-weight: normal;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  position: relative;
}*/

.menu-box {
  width: 100%;
  background-color: #dceefb;
  color: #4a4a4a;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  font-size: 16px;
  font-weight: normal;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.edit-button {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(15%, -15%);
  /* Center the button on the top right corner */
  width: 21px;
  /* Adjust the size as needed */
  height: 21px;
  cursor: pointer;
}

.edit-box {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(25%, -25%);
  /* Center the button on the top right corner */
  width: 21px;
  /*Adjust the size as needed  */
  height: 21px;
  cursor: pointer;
}

.plus-box {
  /* Changed/Added */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  background-color: #f9f9f9;
  border: 2px dashed #ccc;
  border-radius: 8px;
}

.plus-box:hover {
  /* Changed/Added */
  background-color: #ecefff;
}

.plus-box::after {
  /* Changed/Added */
  content: "Create new Options Menu";
  font-size: 14px;
  color: #333;
  position: absolute;
  bottom: -20px;
  opacity: 0;
  visibility: hidden;
}

.plus-box:hover::after {
  /* Changed/Added */
  opacity: 1;
  visibility: visible;
}

.modal {
  /* Changed/Added */
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  /* Changed/Added */
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  width: 50%;
  border-radius: 10px;
}

.modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.modal-close:hover,
.modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-form input {
  padding: 8px;
  font-size: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.modal-form button {
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.save-btn {
  background-color: #4CAF50;
  color: white;
}

.delete-btn {
  background-color: #f44336;
  color: white;
}
