.ot-mul-button {
  position: relative;
}
.ot-mul-button.more-button .tea-btn {
  padding-right: 28px !important;
}
.ot-mul-button .ot-mul-dropdown {
  position: absolute !important;
  right: 8px;
  top: 50%;
  transform: translate(0, -50%);
  cursor: pointer;
}
.ot-mul-button .ot-mul-dropdown svg {
  transition: transform 0.3s;
}
.ot-mul-button .ot-mul-dropdown:hover svg,
.ot-mul-button .ot-mul-dropdown.active svg {
  transform: rotate(180deg);
}

.ot-refresh-button button {
  padding: 0 6px !important;
}
.ot-refresh-button .ot-refresh-button-icon.active {
  animation-name: refresh;
  animation-duration: 0.5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes refresh {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.ot-status-empty {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 12px;
}
.ot-status-empty .ot-status-empty-title {
  font-size: 1.17em;
  font-weight: 500;
  line-height: 22px;
  color: #000000;
}
.ot-status-empty .ot-status-empty-desc {
  font-weight: 400;
  line-height: 22px;
  color: #0000008C;
  margin-top: 5px;
}
.ot-status-empty .ot-status-empty-op {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}
.ot-empty-icon-command {
  width: 64px;
  height: 64px;
}
.ot-empty-icon-command #ot-empty-icon-command-path {
  fill: #D7DCE3;
}
.ot-empty-icon-command #ot-empty-icon-command-react {
  fill: #A2ADBB;
}
.ot-status-empty-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #00000066;
  padding: 16px 0;
}
.ot-status-empty-bottom .ot-status-empty-line {
  flex: 1;
  border-top: 1px dashed #D6DBE3;
}
.ot-status-empty-bottom .ot-status-empty-bottom-icon {
  display: flex;
  align-items: center;
  margin-left: 16px;
}
.ot-status-empty-bottom .ot-status-empty-bottom-icon svg {
  font-size: 20px;
  color: var(--ot-icon-color-1);
}
.ot-status-empty-bottom .ot-status-empty-bottom-desc {
  margin-right: 16px;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: var(--ot-font-color-secondary);
}
.ot-status-empty-bottom .ot-status-empty-bottom-icon + .ot-status-empty-bottom-desc {
  margin-left: 4px;
}
[theme="dark"] .ot-status-empty .ot-status-empty-title {
  color: #FFFFFFE5;
}
[theme="dark"] .ot-status-empty .ot-status-empty-desc {
  color: #FFFFFF8C;
}
[theme="dark"] .ot-empty-icon-command #ot-empty-icon-command-path {
  fill: #9A9A9A;
}
[theme="dark"] .ot-empty-icon-command #ot-empty-icon-command-react {
  fill: #4B4B4B;
}
[theme="dark"] .ot-status-empty-line {
  border-top-color: #4B4B4B;
}

.ot-loading-skeleton {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}
.ot-loading-skeleton .ot-loading-skeleton__row {
  display: flex;
  align-items: center;
}
.ot-loading-skeleton .ot-loading-skeleton__row + .ot-loading-skeleton__row {
  margin-top: 12px;
}
.ot-loading-skeleton .ot-loading-skeleton__col {
  background: linear-gradient(90deg, #E3E6EB 0%, #F1F2F5 19.41%, #E3E6EB 34.02%, #E3E6EB 56.99%, #F1F2F5 75.95%, #E3E6EB 87.33%);
  height: 12px;
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}
.ot-loading-skeleton .ot-loading-skeleton__col:after {
  content: " ";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: var(--ot-background-color-skeleton-1);
}

#ot-auto-complate.ot-auto-complate.value .ot-dialog-create-connect__auto-complete {
  padding-left: 8px !important;
}
#ot-auto-complate.ot-auto-complate.value .ot-dialog-create-connect__auto-complete:has(+img) {
  padding-left: 32px !important;
}
#ot-auto-complate.ot-auto-complate.value.lh .ot-dialog-create-connect__auto-complete {
  padding-left: 32px !important;
}
#ot-auto-complate.ot-auto-complate .ot-auto-complate-bubble__content .ot-auto-complate-bubble-status .ot-auto-complate-list {
  max-height: 150px;
}
.ot-auto-complate-bubble .tea-bubble .tea-bubble__inner .ot-auto-complate-bubble__content .ot-auto-complate-list li:not(:has(img)) {
  padding-left: 12px !important;
}

.orcaterm-nps-service-score {
  width: 100%;
}
.orcaterm-nps-service-score__numbers {
  font-size: 0;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.orcaterm-nps-service-score__numbers > span {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  font-size: 12px;
  font-weight: 700;
  box-sizing: border-box;
  text-align: center;
  line-height: 24px;
  color: var(--ot-font-color-primary);
  cursor: pointer;
  border-radius: 50%;
  background: var(--ot-footer-background-color);
}
.orcaterm-nps-service-score__numbers > span.is-actived {
  background-color: var(--ot-selected-background-color-1);
  color: rgba(var(--cp-color-white-rgb), 0.9);
}
.orcaterm-nps-service-score__numbers > span:hover {
  background: var(--ot-icon-hover-background-1);
}
.orcaterm-nps-service-score__tips {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 10px;
  color: #888;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}

.ot-login-loading-more {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: -30px;
  height: 30px;
  transition: bottom 0.3s linear;
}
.ot-login-loading-more.loading {
  bottom: 0;
}

[theme=dark] .monaco-placeholder {
  color: rgba(255, 255, 255, 0.65);
}
[theme=dark] .script-arg {
  background-color: #143a4b;
}
[theme=dark] .script-arg-active {
  background-color: #356992;
}
[theme=light] .tea-btn.command-library-btn:hover:before {
  background-color: var(--ot-icon-hover-background-9) !important;
}
[theme=light] .tea-btn.orcaterm-multiple-servers__header-clear-btn:hover:before {
  background-color: var(--ot-icon-hover-background-9) !important;
}
.command-import-dialog .instance-id-label p {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.command-dialog input:-webkit-autofill {
  -webkit-text-fill-color: var(--ot-font-color-primary);
}
.command-dialog input:autofill {
  -webkit-text-fill-color: var(--ot-font-color-primary);
}
.command-input {
  position: relative;
  padding: 0;
  width: 100%;
}
.monaco-placeholder {
  position: absolute;
  display: none;
  white-space: pre-wrap;
  top: 2px;
  left: 0;
  font-size: 12px;
  font-family: Consolas, 'Courier New', monospace;
  pointer-events: none;
  user-select: none;
  line-height: 18px;
  color: rgba(0, 0, 0, 0.6);
}
.command-detail-content .detail-content .content-item .highlight {
  display: inline-block;
  line-height: 16px;
  opacity: 0.5;
}
.command-detail-content .detail-content .content-item .highlight.active {
  opacity: 1;
}
.script-arg {
  background-color: #c6ecfd;
}
.script-arg-active {
  background-color: #a0d4fc;
}
.orcaterm-right-command .body {
  position: relative;
  max-height: 256px;
  overflow: hidden;
}
.command-library-oper .tea-form--search .tea-input.tea-input--search {
  padding-right: 24px !important;
}
.orcaterm-script-args-table .tea-table__box tr:hover {
  background-color: unset !important;
}
.orcaterm-script-args-table .tea-table__box td span {
  line-height: 30px;
}
.ot-icon-script-list .ot-icon-script-list-path {
  fill: white;
  fill-opacity: 0.55;
}
[theme=light] .ot-icon-script-list .ot-icon-script-list-path {
  fill: black;
  fill-opacity: 0.6;
}
.orcaterm-multiple-servers-drawer__footer .orcaterm-multiple-servers-drawer__footer-overtime {
  left: 8px !important;
}
.orcaterm-multiple-servers__header-clear-btn.tea-btn {
  transition: unset !important;
}
.orcaterm-confirm-modal--warning .tea-dialog__messagetitle {
  line-height: 20px;
}
.orcaterm-confirm-modal--warning .tea-dialog__messagetext {
  color: var(--ot-font-color-secondary) !important;
  margin-top: 10px !important;
}
.orcaterm-confirm-modal--warning .tea-icon-warning {
  width: 20px !important;
  height: 20px !important;
}
.orcaterm-import-script-list .tea-table__tr--blank-new td {
  overflow: unset !important;
}
ul.command-list li.command-item .command-info .name {
  flex: unset !important;
}
ul.command-list li.command-item .command-info .remark {
  flex-shrink: 0;
}
ul.command-list li.command-item .command-info .remark-box {
  color: var(--ot-font-color-placeholder);
  display: inline-flex;
}
.orcaterm-command-bubble .command-list,
.orcaterm-right-command .command-list {
  scroll-behavior: smooth;
}
.orcaterm-command-bubble .command-list .command-item.active,
.orcaterm-right-command .command-list .command-item.active {
  border-radius: 4px;
  background-color: var(--ot-background-color-25);
}

[theme=dark] .sftp-ui-edit-content.ot-file-manager-editor {
  --ot-file-editor-background-color: #141414;
}
[theme=light] .sftp-ui-edit-content.ot-file-manager-editor {
  --ot-file-editor-background-color: #F1F2F5;
}
.sftp-ui-edit-content.ot-file-manager-editor.visible {
  height: 100%;
}
.sftp-ui-edit-content.ot-file-manager-editor .sftp-ui-edit-terminal {
  min-height: unset;
}
.sftp-ui-edit-content.ot-file-manager-editor .ot-binary-file-tip.binary-file {
  background-color: var(--ot-file-editor-background-color);
}
.sftp-ui-edit-content.ot-file-manager-editor .ot-binary-file-tip.binary-file .ot-binary-file-tip-icon {
  display: flex;
  justify-content: center;
}
.sftp-ui-edit-content.ot-file-manager-editor .ot-file-loading {
  display: flex;
  justify-content: center;
}
.sftp-ui-edit-content.ot-file-manager-editor .ot-file-loading .loading-file {
  display: flex;
  gap: 2px;
  align-items: center;
}
.sftp-ui-edit-content.ot-file-manager-editor .ot-file-error-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: var(--ot-file-editor-background-color);
}
.sftp-ui-edit-content.ot-file-manager-editor .loadfile-error.editor-file-error {
  background-color: var(--ot-file-editor-background-color);
}

.orcaterm-command-library.sftp-panel.ot-file-manager {
  transition: none;
  width: 100%;
  box-sizing: border-box;
  border-right: none;
}
.orcaterm-command-library.sftp-panel.ot-file-manager .orcaterm-command-library-inner {
  width: 100%;
  min-width: 300px;
  max-width: 680px;
  box-sizing: border-box;
}
.orcaterm-command-library.sftp-panel.visible.win-panel {
  width: unset;
}
.orcaterm-command-library.sftp-panel.visible.win-panel .orcaterm-command-library-inner {
  width: unset;
}

/* 拖拽线 */
.ot-resize-container {
  --line-size: 2px;
  --hover-line-scale: 2;
  display: flex;
  position: relative;
  box-sizing: border-box;
}
.ot-resize-container.horizontal {
  height: 100%;
  max-width: 100%;
}
.ot-resize-container.horizontal .ot-resize-line {
  cursor: col-resize;
  width: var(--line-size);
  height: 100%;
}
.ot-resize-container.horizontal .ot-resize-line:hover {
  transform: scaleX(var(--hover-line-scale));
}
.ot-resize-container.vertical {
  width: 100%;
  flex-direction: column;
  max-height: 100%;
}
.ot-resize-container.vertical .ot-resize-line {
  cursor: row-resize;
  height: var(--line-size);
  width: 100%;
}
.ot-resize-container.vertical .ot-resize-line:hover {
  transform: scaleY(var(--hover-line-scale));
}
.ot-resize-container .ot-resize-target {
  position: relative;
  flex-shrink: 1;
  max-height: 100%;
}
.ot-resize-container .ot-resize-line {
  display: none;
  position: relative;
  cursor: ew-resize;
  user-select: none;
  background-color: var(--ot-background-color-3);
  flex-shrink: 0;
  transition: transform 0.3s ease-in;
}
.ot-resize-container .ot-resize-line:hover {
  background-color: var(--ot-font-color-1);
}
.ot-resize-container .ot-resize-line.visible {
  display: block;
}

.orcaterm-split-view-container {
  height: 100%;
  position: relative;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.orcaterm-split-view {
  position: absolute;
  width: 500px;
  height: 500px;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ot-background-color-3);
}
.orcaterm-split-view__header {
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  border-bottom: 1px solid var(--ot-radio-background-color);
  cursor: pointer;
}
.orcaterm-split-view__header-text {
  color: var(--ot-font-color-secondary);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.orcaterm-split-view__header-text .ruyi-icon {
  color: var(--ot-font-color-secondary);
}
.orcaterm-split-view__header-oper {
  position: absolute;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.3s ease-in-out;
}
.orcaterm-split-view__header-oper .tea-btn.tea-btn--icon.icon-btn.no-border {
  width: 20px;
  height: 20px;
  min-width: 20px;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ot-font-color-primary);
  border-radius: 4px;
}
.orcaterm-split-view__header-oper .tea-btn.tea-btn--icon.icon-btn.no-border:hover {
  background-color: var(--ot-top-background-color-1);
}
.orcaterm-split-view.is-selected .orcaterm-split-view__header-oper {
  opacity: 1;
}
.orcaterm-split-view.is-selected .orcaterm-split-view__header-text .ruyi-icon {
  color: var(--ot-font-color-1);
}
:root .orcaterm-split-view.is-selected .orcaterm-split-view__header,
[theme='dark'] .orcaterm-split-view.is-selected .orcaterm-split-view__header {
  border-bottom: 1px solid rgba(39, 104, 254, 0.7);
  background: rgba(23, 87, 235, 0.16);
}
:root .orcaterm-split-view.is-selected .orcaterm-split-view__header-oper .tea-btn.tea-btn--icon.icon-btn.no-border:hover,
[theme='dark'] .orcaterm-split-view.is-selected .orcaterm-split-view__header-oper .tea-btn.tea-btn--icon.icon-btn.no-border:hover {
  background: #283D6B;
}
[theme='light'] .orcaterm-split-view.is-selected .orcaterm-split-view__header {
  border-bottom: 1px solid #2768FE;
  background: rgba(23, 87, 235, 0.16);
}
[theme='light'] .orcaterm-split-view.is-selected .orcaterm-split-view__header-oper .tea-btn.tea-btn--icon.icon-btn.no-border:hover {
  background: #B8CCFA;
}
.ot-terminal-shell .xterm-viewport::-webkit-scrollbar {
  width: 3px;
}
.ot-terminal-shell .xterm-viewport::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: var(--scroll-bat-color);
  border: none;
  background-clip: unset;
}
.ot-terminal-shell .xterm-viewport:hover::-webkit-scrollbar {
  width: 6px;
}
.orcaterm__main {
  --splitter-width: 2px;
  position: relative;
}
.orcaterm__main .ot-default-page {
  opacity: 0;
  display: none;
  flex: 1;
  transition: all 0.3s ease-in-out;
}
.orcaterm__main .ot-default-page.active {
  display: block;
  opacity: 1;
}
.orcaterm__main .ot-tab-page-list {
  position: relative;
  width: 100%;
  flex: 1;
  overflow: hidden;
  background-color: var(--ot-editor-background-color);
}
.orcaterm__main .ot-tab-page-item {
  opacity: 0;
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease-in-out;
}
.orcaterm__main .ot-tab-page-item.active {
  opacity: 1;
  z-index: 10;
}
.orcaterm__main .ot-tab-page-item .ot-login-loading {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.orcaterm__main .ot-terminal-shell {
  position: absolute;
  height: 100%;
  width: 100%;
  overflow-x: auto;
  left: -100%;
}
.orcaterm__main .ot-terminal-shell > div {
  min-width: 200px;
}
.orcaterm__main .ot-terminal-shell.is-hidden {
  opacity: 0;
}
.orcaterm__main .orcaterm__screen {
  min-height: 200px;
}
.orcaterm__main .orcaterm__body {
  height: 100%;
  width: 100%;
  overflow-x: auto;
}
.orcaterm__main .orcaterm__body > .orcaterm-split-view-container {
  background-color: inherit;
}
.orcaterm__main .orcaterm-split-view-container {
  display: flex;
  background-color: inherit;
  position: relative;
}
.orcaterm__main .orcaterm-split-view-container.vertical {
  flex-direction: column;
}
.orcaterm__main .orcaterm-split-view-container.vertical > .orcaterm-split-view-splitter {
  height: var(--splitter-width);
  cursor: row-resize;
}
.orcaterm__main .orcaterm-split-view-container.vertical > .orcaterm-split-view-splitter:hover {
  transform: scaleY(2);
  z-index: 1000;
}
.orcaterm__main .orcaterm-split-view-container.vertical > .orcaterm-split-view {
  min-height: 100px;
  width: 100%;
}
.orcaterm__main .orcaterm-split-view-container.vertical > .orcaterm-split-view:first-child {
  height: 50%;
  flex-grow: 0;
}
.orcaterm__main .orcaterm-split-view-container.horizontal {
  flex-direction: row;
}
.orcaterm__main .orcaterm-split-view-container.horizontal > .orcaterm-split-view-splitter {
  width: var(--splitter-width);
  cursor: col-resize;
}
.orcaterm__main .orcaterm-split-view-container.horizontal > .orcaterm-split-view-splitter:hover {
  transform: scaleX(2);
}
.orcaterm__main .orcaterm-split-view-container.horizontal > .orcaterm-split-view {
  min-width: 70px;
  height: 100%;
}
.orcaterm__main .orcaterm-split-view-container.horizontal > .orcaterm-split-view:first-child {
  width: 50%;
  flex-grow: 0;
}
.orcaterm__main .orcaterm-split-view-container .orcaterm-split-view {
  position: relative;
  flex-grow: 1;
  border: none;
  width: unset;
  height: unset;
}
.orcaterm__main .orcaterm-split-view-container .orcaterm-split-view.leaf.is-fullscreen {
  opacity: 1;
}
.orcaterm__main .orcaterm-split-view-container .orcaterm-split-view.is-fullscreen {
  position: absolute;
  left: 0;
  top: 0;
  width: 100% !important;
  height: 100% !important;
  background-color: inherit;
}
.orcaterm__main .orcaterm-split-view-container .orcaterm-split-view.is-hidden {
  display: none;
}
.orcaterm__main .orcaterm-split-view-container .orcaterm-split-view-splitter {
  flex-shrink: 0;
  background-color: var(--ot-background-color-3);
  transition: transform 0.3s ease-in;
  z-index: 4;
}
.orcaterm__main .orcaterm-split-view-container .orcaterm-split-view-splitter:hover {
  background-color: var(--ot-font-color-1);
}
.orcaterm__main .orcaterm-split-view-container .orcaterm-split-view__header {
  cursor: pointer;
  z-index: 4;
  padding-right: 110px;
}
.orcaterm__main .orcaterm-split-view-container .orcaterm-split-view__header .orcaterm-split-view__header-text {
  max-width: 300px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.orcaterm__main .ot-resize-fold {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 10;
  height: 8px;
  width: 100%;
  cursor: pointer;
  background-color: var(--ot-top-background-color-1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: height 0.4s cubic-bezier(0.38, 0, 0.24, 1);
}
.orcaterm__main .ot-resize-fold .unfold-btn {
  display: none;
  align-items: center;
  background-color: transparent;
  color: var(--ot-font-color-primary);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  gap: 4px;
  padding: 0px !important;
}
.orcaterm__main .ot-resize-fold .unfold-btn .arrow-new-icon {
  width: 15px;
  height: 15px;
  background-repeat: no-repeat;
  background-size: cover;
  animation: 0.4s steps(2) 0s 1 normal forwards running arrowAni;
  background-image: url(https://cloudcache.tencent-cloud.com/qcloud/ui/static/other_external_resource/a4f65cbf-afff-47bb-b0d2-b1456bc1bb26.png);
}
.orcaterm__main .ot-resize-fold:hover {
  height: 32px;
  border-top: 2px solid var(--ot-font-color-1);
}
.orcaterm__main .ot-resize-fold:hover .unfold-btn {
  display: inline-flex;
}
.orcaterm__main .sftp-ui-table.tea-table {
  overflow: hidden;
}
.orcaterm__main .orcaterm-sub-header .orcaterm-header__item {
  margin-right: unset;
}
.orcaterm__main .orcaterm-sub-header .orcaterm-header__item-network {
  margin: 0;
  padding: 0;
}
[theme="light"] .ot-resize-fold .unfold-btn .arrow-new-icon {
  background-image: url(https://cloudcache.tencent-cloud.com/qcloud/ui/static/other_external_resource/39f29d0c-11c9-4795-875c-92a74c0f6a7d.png);
}
.sftp-ui-btn-groups__left {
  width: 100%;
  overflow-x: auto;
}
.sftp-ui-btn-groups__left button {
  flex-shrink: 0;
}

.orcaterm-footer-form-bubble .ot-footer-form-item {
  display: flex;
  align-items: center;
  gap: 2px;
}
.orcaterm-footer-form-bubble.tea-bubble.max-width {
  max-width: 185px !important;
}

