.range-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem;
  background-color: #ffffff;
  color: #333;
  max-width: 100%;
  overflow: hidden;
}

.description-section .description-textfield {
  width: 95%;
  height: 5rem;
  padding: 0.5rem;
  font-size: 1rem;
  font-family: "Segoe UI", sans-serif;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: none;
  overflow: auto;
  background-color: #ffffff;
  color: #333;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.range-input, .range-output {
  display: flex;
  position: relative;
  gap: 0.5rem;
  border: 1px solid grey;
  margin-bottom: 8px;
  padding: 8px;
  left: auto !important;
  top: auto !important;
}

/* prevent overflow during animation of remove button */
.range-input {
  overflow: hidden;
}

.remove-button {
  position: absolute;
  right: -80px; /* Start off-screen */
  top: 0;
  bottom: 0;
  width: 80px;
  background: red;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
  transition: right 0.2s ease-in-out;
}

.remove-button.visible {
  right: 0; /* Slide in */
}
