@keyframes flashEffect {
  0% {
    background-color: inherit;
  }
  50% {
    background-color: rgba(0, 0, 0, 0.1);
  }
  100% {
    background-color: inherit;
  }
}

.flashEffect {
  animation: flashEffect 3s ease-out;
}

body {
  background-color: #363636;
  font-family: Arial, sans-serif;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.table-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

form {
  display: none;
  /* Hide all forms initially */
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  background-color: #363636;
  padding: 20px;
  border-radius: 8px;
  width: 400px;
}

select,
input[type="text"],
button[type="submit"] {
  margin-bottom: 10px;
  padding: 8px;
  border-radius: 4px;
  border: none;
}

select {
  width: 200px;
}

input[type="text"] {
  width: 300px;
}

button[type="submit"] {
  background-color: #4CAF50;
  color: #fff;
  cursor: pointer;
}

.active-form {
  display: flex;
  /* Display the active form */
}


.selected-form {
  background-color: #56bf5b;
  /* Highlight the selected form */
}

button {
  width: 150px;
  /* Set the desired width for buttons */
  height: 40px; /* Add a fixed height value */
  margin-right: 10px;
  /* Add margin between buttons */
}

#formSelection {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 20px;
  align-items: center;
}

#formSelection button {
  margin-bottom: 10px;
  padding: 8px 16px;
  border-radius: 4px;
  border: none;
  background-color: #4CAF50;
  color: #fff;
  cursor: pointer;
}

#formSelection button:hover {
  background-color: #59e15f;
}

#formSelection .selected-button {
  background-color: #0e9a0e;
}

/* Responsive Styles */
@media only screen and (max-width: 600px) {
  body {
    flex-direction: row;
    align-items: flex-start;
  }

  #formSelection {
    display: flex;
    flex-direction: column;
    align-items: center; /* Add this line to center the buttons */
  }

  input[type="text"],
  select {
    width: 100%;
    margin: 10 auto;
  }

  button {
    width: 100%;
    margin: 0 auto;
  }

  form {
    width: 100%;
    margin: 0 auto;
  }
}