* {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

iframe {
  border: 0;
}

mark * {
  background: rgb(100, 236, 100);
  border-radius: 2px;
}

.main-tabs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.main-tabs > * {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border: 0.1rem solid;
  border-radius: 1rem;
  width: 33.3%;
}

.input {
  width: 20%;
  display: flex;
  flex-direction: column;
}

.input p {
  margin: 0.5rem;
}

.input input {
  border: 0.1rem solid;
  border-radius: 1rem;
  padding: 0.5rem;
}

.query {
  position: relative;
  width: 30%;
  display: flex;
  flex-direction: column;
}

.query form {
  position: absolute;
  translate: -0.5rem 0.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  z-index: 10;
}

.query input {
  width: 50%;
  border: 0.1rem solid;
  border-radius: 1rem 0 0 1rem;
  padding: 0.5rem;
  background: transparent !important;
  backdrop-filter: sepia() hue-rotate(180deg) brightness(2) blur(0.5rem);
}

#query-submit {
  width: 10%;
  min-width: 2.5rem;
  border-radius: 0 1rem 1rem 0;
  font-size: 1rem;
}

.viewer {
  width: 50%;
  display: flex;
  justify-content: center;
}

#output-list,
#input-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: scroll;
  list-style: none;
  padding: 0;
}

#input-list {
  overflow-x: hidden;
}

#output-list li {
  translate: 0 3.5rem;
}

#output-list li,
#input-list li {
  border: 0.1rem solid;
  border-radius: 1rem;
  padding: 0.5rem;
}

progress {
  width: 100%;
  height: 1rem;
  min-height: 1rem;
}

#progress-bar {
  margin-bottom: 1rem;
}

#canvas-viewer {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#canvas-viewer iframe {
  border-radius: 1rem;
  height: 100%;
  width: 100%;
}

#plain-text-viewer {
  overflow-y: scroll;
  margin: 1rem;
}

#plain-text-viewer * {
  scroll-margin-top: 5rem;
}

li[data-active] {
  background-color: lightgrey;
}

.light-text {
  color: grey;
  font-size: 85%;
}

#input-list li div,
.output-info {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.output-info {
  padding-bottom: 0.25rem;
}

.srt-timestamp {
  font-size: 0.75em;
  opacity: 0.5;
  font-variant-numeric: tabular-nums;
  margin-right: 0.25em;
}
