/* Styles for the editable segment fields and tag popup in the shared recording card. */

/* Collection/provider label in the card footer. Shared so every page that
   renders the card (search, phonology, area, recording, FNS) styles it. */
li.recording div.buttons div.provider {
  clear: left;
  float: left;
  position: relative;
  color: #999999;
  text-align: left;
  margin-left: 10px;
  font-size: 0.95em;
  max-width: 300px;
  margin-top: 4px;
  line-height: 1.5em;
}
@media (max-width: 800px) {
  li.recording div.buttons div.provider {
    float: none;
    text-align: center;
    margin-left: 0px;
    margin-bottom: 15px;
    text-wrap: balance;
    max-width: none;
  }
}

span.hi.seg-fields {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  vertical-align: top;
  margin: 0 0.4em;
  font-style: normal;
  text-align: left;
  white-space: normal;
  gap: 1px;
}
span.hi .seg-dialect {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: bold;
  font-size: 1.1em;
  color: #333333;
}
span.hi .seg-stext { font-size: 1.05em; }
span.hi .seg-lemma,
span.hi .seg-tag { color: #666; font-size: 0.95em; }
span.hi button.seg-text, span.hi button.seg-stext, span.hi button.seg-lemma, span.hi button.seg-tag {
  background: none; border: 1px solid #d8d8d8; border-radius: 3px; font: inherit; cursor: text; padding: 1px 4px; color: inherit;
  display: block; text-align: left;
}
span.hi button.seg-stext, span.hi button.seg-lemma, span.hi button.seg-tag {
  min-height: 1.15em;
  min-width: 2.5em;
}
span.hi .seg-dialect button.seg-text { display: inline; }
span.hi button.seg-text { border-bottom: 1px solid; cursor: pointer; }
span.hi button.seg-text input, span.hi button.seg-stext input, span.hi button.seg-lemma input {
  font: inherit; width: 6em;
}
#seg-tag-pop {
  position: fixed; z-index: 80; background: #fff; border: 1px solid #ccc;
  padding: 0.5rem; box-shadow: 0 8px 24px rgba(0,0,0,0.15); max-width: 36rem;
}
#seg-tag-pop select { margin: 0.15rem 0.15rem 0 0; max-width: 100%; font: inherit; }
#seg-tag-pop input.seg-tag-input { display: block; width: 100%; box-sizing: border-box; margin-bottom: 0.35rem; font: inherit; }
