.dsm-vc-select-export-type {
  margin-top: 5px;
  margin-bottom: 5px;
}

.dsm-vc-preview-menu,
.dsm-vc-export-menu {
  margin-top: 10px;
}

.dsm-vc-delete-all-row {
  display: flex;
  justify-content: space-between;

  .dcg-popover-title {
    flex: 1;
  }

  .dsm-vc-delete-all-button {
    // 2 pixels shorter to support icon
    height: 26px;
  }
}

.dsm-vc-preview-outer:not(.dsm-vc-preview-expanded) {
  // avoid scrollbar jiggle
  @scrollbar-width: 15px;
  @mw: (250px - @scrollbar-width);
  margin-left: calc((100% - @mw) / 2);

  .dsm-vc-preview-inner {
    max-width: @mw;
  }
}

input.dsm-vc-outfile-name {
  outline: none;
  border-width: 0 0 1px 0;
  border-color: #bbb;
  padding: 5px;
  width: 100%;
  margin-bottom: 10px;

  &.dcg-hovered {
    border-color: #ccc;
    box-shadow: 0 1px #ccc;
  }

  &:focus {
    @focus-color: #6399cb;
    border-color: @focus-color;
    box-shadow: 0 1px @focus-color;
  }

  &.dsm-invalid {
    @invalid-color: #e15855;
    border-color: @invalid-color;
    box-shadow: 0 1px @invalid-color;
  }
}

.dsm-vc-export {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}

.dsm-vc-export .dsm-vc-fps-settings span.dcg-mq-editable-field.dcg-math-input {
  margin-left: 8px;
}

.dsm-vc-cancel-export-button {
  text-align: center;
}

.dsm-vc-preview-play {
  display: flex;
  flex-direction: row-reverse;
}

@keyframes delayed-reveal {
  0% {
    opacity: 0;
  }
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.dsm-delayed-reveal {
  animation-duration: 10s;
  animation-name: delayed-reveal;
}

.dsm-vc-popover .dcg-segmented-control-interior {
  // lang=ja text can be longer when all capture methods are available.
  text-wrap: nowrap;
}
