.transcript-tab-panel[data-panel='dotphrases'] {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 164px);
  min-height: 0;
  overflow: hidden;
  /* max-width: 720px; */
}
.dot-phrase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;

  margin-bottom: 0.5rem;
}

.dot-phrase-header h3 {
  margin: 0;
}

.dot-phrase-inputs {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.dot-phrase-inputs input {
  flex: 1;
  min-height: 0;
  padding: 5px;
  border-radius: 0.5rem;
  border: 1px solid var(--darkGrey);
}
.btnAddDotPhrase {
  background-color: var(--blue);
  border-radius: 0.5rem;
  border: none;
  color: var(--primaryTextInverse);
}
.btnAddDotPhrase:hover {
  background-color: var(--primaryAccentHover);
}
.btnAddDotPhrase:active {
  background-color: var(--primaryAccentActive);
}

#dotPhraseList {
  flex: 1;
  min-height: 0;
  overflow-y: auto;

  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  /* max-height: 300px; */
}

#dotPhraseList li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  flex-shrink: 0;
  background-color: var(--lightGrey);
  border: 1px solid var(--grey);
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
}

#dotPhraseList li span {
  flex: 1;
  word-break: break-word;
}
.dot-phrase-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: calc(100% - 200px);
}
.dot-phrase-btn-container {
  display: flex;
}

.dot-phrase-btn-container > button {
  background-color: transparent;
  border-radius: 0.5rem;
  border: 1px solid var(--darkGrey);
  color: var(--primaryText);
}
.dot-phrase-btn-container > button:hover {
  background-color: var(--baseColorHover);
}
.dot-phrase-btn-container > button:active {
  background-color: var(--baseColorActive);
}

.dot-phrase-span {
  color: var(--blue);
  font-weight: 600;
}

#dotPhraseList li button {
  margin-left: 10px;
}

@media (max-width: 768px) {
  .dot-phrase-inputs {
    flex-direction: column;
  }

  .transcript-tab-panel[data-panel='dotphrases'] {
    height: calc(100vh - 274px);
  }

  .dot-phrase-btn-container {
    flex-direction: column;
    gap: 0.75rem;
  }
  .dot-phrase-container {
    max-width: calc(100% - 60px);
  }
}
