.plan-table-wrap {
  padding: 0 0 20px 16px;
  overflow-x: scroll;
}

.accordion-container {
  position: relative;
}

.accordion-container label {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 200px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #536A80;
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  pointer-events: none;
}

.accordion-container label span {
  display: flex;
  align-items: center;
  pointer-events: all;
  padding-inline: 20px;
  line-height: 1.4;
  background: url(../../images/add_circle_line.svg) no-repeat center right / contain;
}

.accordion-container input:checked + label {
  background: inherit;
}

.accordion-container input {
  display: none;
}
.accordion-container .plan-table-wrap {
  overflow-y: hidden;
  max-height: 400px;
  transition: max-height 0.5s
}

.accordion-container input:checked + label {
  display: none ;
}

.accordion-container input:checked ~ .plan-table-wrap {
  height: auto;
  max-height: 200vh;
}

@media (min-width: 768px) {
  .plan-table-wrap,
  .plan-table-wrap input:checked ~ .accordion-container {
    overflow-x: hidden;
  }
}
