.main.wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.excel,
.input {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.output {
  display: none
}

.output.show {
  display: block;
}

textarea {
  width: 100%;
  resize: none;
  height: 170px;
  padding: 1rem;
  border-radius: .5rem;
}

.set {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.set label {
  white-space: nowrap;
}

.set select {
  flex-grow: 1;
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: .5rem;
  cursor: pointer;
}

.output.show .hasil-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border: 1px solid #bbb;
  padding: .5rem 1rem;
  text-align: center;
}

th {
  background: #18abea50;
}

.grayth {
  background-color: #b9b9b950;
}

.green {
  background-color: #18ea2850;
}

.gray {
  background-color: #b9b9b950;
  color: transparent;
}

#letterTable tr th {
  position: relative;
  user-select: none;
}

#letterTable tr th svg {
  width: 15px;
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}

#letterTable tr th.opacity svg {
  opacity: .1;
}

#letterTable tr th.rev svg {
  margin-top: -15px;
  transform: rotate(180deg) translateY(-50%);
}

#letterTable tr th.rev svg {
  margin-top: -15px;
  transform: rotate(180deg) translateY(-50%);
}

.resp-table {
  overflow: auto;
  padding: 1px;
}

th#renderbyData,
th#renderbyMerged {
  cursor: pointer;
  transition: .2s;
}

th#renderbyData:hover,
th#renderbyMerged:hover {
  background-color: var(--blue);
  color: #fff
}

th#renderbyData:hover svg,
th#renderbyMerged:hover svg {
  filter: invert(1)
}

@media (max-width: 600px) {
  th#renderbyData,
  th#renderbyMerged {
    padding-right: 2.5rem;
  }
}

/*
/////////////////////////////////
*/

.item {
  position: relative;
}

.type {
  display: grid;
  gap: 1rem
}

.jenis-anova,
.jenis-posthoc {
  display: grid;
  gap: .5rem;
}

.type .content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.show-set,
.uncollapse {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  line-height: 0;
  box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em, rgb(204, 219, 232, 0) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0) -3px -3px 6px 1px inset;
  padding: .5rem;
  border-radius: .5rem;
  transition: .2s;
  cursor: pointer;
}

.uncollapse {
  padding: .25rem
}

.show-set:hover,
.uncollapse:hover {
  box-shadow: rgba(67, 71, 85, 0) 0px 0px 0.25em, rgba(90, 125, 188, 0) 0px 0.25em 1em, rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;
}

.show-set img,
.uncollapse img {
  width: 22.5px;
  height: 22.5px;
}

.collapse {
  position: relative;
}

.show-settings {
  transition: .2s;
  overflow: hidden;
}

.show-settings.hide {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
}

.excel .contoh-data a {
  color: var(--blue);
  text-decoration: underline;
  transition: .2s;
}

.excel .contoh-data a:hover {
  color: var(--blue-hover);
  text-decoration: none;
}

.excel .input-files {
  padding: 0;
}

.excel .input-files label {
  padding: 1rem;
  align-items: center;
  gap: 0;
  box-shadow: unset
}

.excel .input-files label>span:first-child {
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 1rem;
  align-items: center;
}

.excel .input-files label span {
  margin: 0;
}

.excel .input-files label div {
  margin: 0;
  width: 2rem;
  height: 2rem;
}

.excel #fileName {
  text-align: center;
  background: #f5f7f6;
  box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em, rgb(204, 219, 232, 0) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0) -3px -3px 6px 1px inset;
  font-size: .9rem;
  border-radius: .5rem;
}

#sheetSelect {
  margin-top: .5rem;
}

#settingsContainer {
  gap: 1.5rem
}

#buttonContainer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

#buttonContainer button {
  padding: .75rem;
  background-color: var(--green);
  display: grid;
}

#buttonContainer button:hover,
#buttonContainer button.active {
  background-color: var(--blue-hover);
}

#buttonContainer button span:first-child {
  font-weight: bold;
  font-size: 1.2rem;
}

.run,
.download {
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
}

.download {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .75rem
}

.download img {
  filter: invert(1);
  width: 25px;
  height: 25px;
}

#tableContainer {
  max-height: 210px;
  overflow: auto;
}

#tableContainer th {
  transition: .2s;
  cursor: pointer;
}

#tableContainer th:hover,
#tableContainer .selected-header {
  background-color: var(--green);
  color: #fff;
}

.pengaturan {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em, rgb(204, 219, 232, 0) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0) -3px -3px 6px 1px inset;
  padding: 1.5rem;
  border-radius: .5rem;
  background-color: #f5f7f6;
}

.pengaturan input {
  background-color: #fff;
}

#customNameUnit>div,
#customNameInputsContainer>div {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 1rem;
}

.pengaturan h3 {
  font-size: 1.3rem;
}

.pengaturan .title {
  display: block;
  font-weight: bold;
  margin-bottom: .5rem;
  font-size: 1.2rem;
}

#customNameInputsContainer {
  display: grid;
  gap: .5rem;
}

.graph {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 1.5rem;
}

#chartContainer {
  position: relative;
}

.download-svg {
  background-color: #fff;;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 35px;
  height: 35px;
  box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em, rgb(204, 219, 232, 0) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0) -3px -3px 6px 1px inset;
  line-height: 0;
  padding: .45rem;
  border-radius: .5rem;
  cursor: pointer;
  transition: .2s;
}

.download-svg:hover {
  box-shadow: rgba(67, 71, 85, 0) 0px 0px 0.25em, rgba(90, 125, 188, 0) 0px 0.25em 1em, rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;
}

@media (max-width: 1100px) {
  .graph {
    grid-template-columns: 1fr;
  }

  #plotContainer {
    height: 350px
  }
}

@media (max-width: 600px) {
  .type .content {
    grid-template-columns: 1fr;
  }
  .excel .input-files label>span:first-child {
    grid-template-columns: 1fr;
    gap: .75rem;
    justify-items: center;
  }
  .input-files label span {
    order: 1;
  }
  #buttonContainer button span:first-child {
    font-size: 1rem
  }
  #customNameUnit>div, #customNameInputsContainer>div {
    grid-template-columns: 75px 1fr;
  }
}