.container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.section {
  cursor: pointer;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 10rem;
  padding-bottom: 6rem;
  border: 2px dashed var(--theme-border-default);
  border-radius: 0.5rem;
  position: relative;
}
.section:hover {
  border-color: var(--theme-colors-gray-300);
}
.header {
  margin-bottom: 1.5rem;
}
.header h1 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
  margin: 0;
}

.upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}

.upload h1 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  margin: 0;
}
.upload p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
  color: var(--theme-colors-gray-500);
  margin: 0;
}

.backgroundTable {
  border: 1px solid var(--theme-border-default);
  mask-image: linear-gradient(rgba(0, 0, 0, 0.7), transparent);
  -webkit-mask-image: linear-gradient(rgba(0, 0, 0, 0.7), transparent);
  overflow: clip;
  max-width: 75%;
  margin: 0 auto;
  top: 2.5rem;
  position: absolute;
  pointer-events: none;
}
.table {
  display: flex;
}
.table > :not([hidden]) ~ :not([hidden]) {
  border-left: 1px solid var(--theme-border-default);
}
.row {
  display: flex;
  flex-direction: column;
}
.row > :not([hidden]) ~ :not([hidden]) {
  border-top: 1px solid var(--theme-border-default);
}
.th {
  background-color: var(--theme-colors-gray-50);
  max-width: 20ch;
  min-width: 10ch;
  padding: 0.5rem 1.5rem;
}
.thd {
  color: var(--theme-colors-gray-500);
  font-weight: 600;
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  margin: 0;
}

.td {
  background-color: white;
  padding: 0.5rem 1.5rem;
}

.tdd {
  background-color: 2px dashed var(--theme-border-default);
  border-radius: 9999px;
  width: 50%;
  height: 0.75rem;
}
.fileInput {
  display: none;
}

.match {
  padding: 1rem;
  box-shadow: 0 0 0 1px var(--theme-border-default);
  background-color: white;
  border: 1px solid var(--theme-border-default);
  border-radius: 0.75rem;
}

.matchInner {
  border: 1px solid var(--theme-border-default);
  background-color: var(--theme-colors-gray-50);
}
.matchInner > :not([hidden]) ~ :not([hidden]) {
  border-top: 1px solid var(--theme-border-default);
}
.matchHeader {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.matchHeader > :not([hidden]) ~ :not([hidden]) {
  border-left: 1px solid var(--theme-border-default);
}
.matchHeader p {
  color: var(--theme-colors-gray-500);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 0.5rem 1.5rem;
  margin: 0;
}
.matchRow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}
.matchRow > :not([hidden]) ~ :not([hidden]) {
  border-left: 1px solid var(--theme-border-default);
}
.matchColumnLeft {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--theme-colors-gray-800);
  padding: 0.5rem 1rem;
}
.matchColumnLeft h1 {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5rem;
  margin: 0;
}
.matchColumnRight {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  justify-content: space-between;
  color: var(--theme-colors-gray-800);
  padding: 0.5rem 1rem;
}
.matchButton {
  padding: 0.25rem;
  place-items: center;
  cursor: pointer;
  display: grid;
  border-radius: 0.3rem;
  margin: 0;
  background-color: transparent;
  border: none;
  outline: none;
}
.matchDropdown {
  max-height: 24rem;
}
.matchDropdownInner {
  border-top: 1px solid var(--theme-border-default);
  background-color: white;
}
.matchDropdownInner > :not([hidden]) ~ :not([hidden]) {
  border-top: 1px solid var(--theme-border-default);
}
.matchDropdownItem {
  height: 2.5rem;
  padding: 0.5rem 1.5rem;
}
.icon {
  width: 1.5rem;
  height: 1.5rem;
}
.iconOpen {
  transform: rotate(90deg);
  transition: transform 0.2s ease-in-out;
}
.select {
  background-color: white;
}
.next {
  align-self: flex-end;
  width: auto;
  background-color: var(--theme-colors-blue-500);
  color: white;
}
.next:hover {
  background-color: var(--theme-colors-blue-600);
  color: white;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.done {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
  margin: 0;
}
