[hidden] { display: none !important; }

.boot-note {
  margin: 2rem;
  color: #777;
}

.login-wrap {
  max-width: 420px;
  margin-top: 8vh;
}

#login-logo {
  text-align: center;
  margin: 8px 0 4px;
}

#login-logo img {
  display: block;
  margin: 0 auto;
  width: 105px;
  height: 105px;
  object-fit: contain;
}

.login-heading {
  margin: 12px 0 0;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.navbar .fa-user { margin-right: 4px; }

#widgets.navbar-nav-custom {
  display: flex;
  align-items: center;
}

#widgets.navbar-nav-custom > li,
#widgets.navbar-nav-custom > li.pull-right {
  float: none;
}

#widgets .llm-billing {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px 10px 4px;
  color: #f2f2f2;
  font-size: 12px;
  line-height: 20px;
  cursor: default;
}

.llm-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3ecf6e;
  box-shadow: 0 0 6px rgba(62, 207, 110, 0.85);
}

#llm-billing.paid .llm-dot {
  background: #e74c3c;
  box-shadow: 0 0 6px rgba(231, 76, 60, 0.9);
}

.drop {
  position: relative;
  border: 1px dashed #c5c5c5;
  border-radius: 4px;
  padding: 18px 16px;
  margin-bottom: 12px;
  background: #fafafa;
  text-align: center;
}

.drop-icon {
  display: block;
  margin: 0 auto 8px;
  font-size: 42px;
  line-height: 1;
  color: #394263;
  pointer-events: none;
}

.drop p {
  margin: 0;
  pointer-events: none;
}

@media (min-width: 992px) {
  /* Описание : Разборы = 1.4 : 2 */
  #page-fault .fault-main {
    width: 41.17647059%;
  }

  #page-fault .fault-side {
    width: 58.82352941%;
  }
}

.drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.drop.over { border-color: #394263; background: #f3f4f8; }

.files, .cases, .docs-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.files li, .cases button, .docs-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  padding: 6px 8px;
  margin-bottom: 6px;
  background: #fff;
}

.cases button {
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.cases li.case-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  padding: 6px 8px;
  margin-bottom: 6px;
  background: #fff;
}

.cases li.case-row .case-open {
  flex: 1;
  width: auto;
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.cases li.case-row .case-delete,
.cases li.case-row .case-edit {
  flex: none;
  width: auto;
  margin: 0;
  padding: 2px 8px;
  white-space: nowrap;
}

.files li img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  flex: none;
  border-radius: 2px;
}

.files li span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

#edit-note {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

#edit-note[hidden] { display: none !important; }

#edit-note .edit-mode-label { margin: 0; }

#edit-cancel .fa-times {
  color: #d9534f;
  margin-right: 4px;
}

#form-notice { margin-top: 12px; margin-bottom: 0; }

#form-notice[hidden] { display: none !important; }

.cases button strong { display: block; }

.quiet { display: grid; gap: 8px; }

.steps { display: flex; flex-wrap: wrap; gap: 6px; }

.steps i {
  font-style: normal;
  font-size: 12px;
  border-radius: 10px;
  padding: 2px 8px;
  background: #eee;
}

.steps i.on { background: #d9edf7; }
.steps i.done { background: #dff0d8; }

.conclusion {
  margin: 0;
  padding-left: 8px;
  border-left: 3px solid #394263;
}

.parts-status { display: inline-block; margin-left: 10px; }

.parts-web-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin: 0 0 10px;
}

.parts-web-row a { flex: 1 1 16em; }

.parts-web-meta { color: #777; white-space: nowrap; }

.parts-web-error { flex-basis: 100%; margin: 0; }

#parts-rows td { vertical-align: middle; }

#parts-site-list { margin-bottom: 16px; }
#parts-site-list .list-group-item { overflow: hidden; line-height: 22px; }

.fleet-passport {
  white-space: pre-line;
  margin-bottom: 0;
}

.fleet-actions {
  white-space: nowrap;
}

.fleet-actions .btn + .btn {
  margin-left: 4px;
}

#page-fleet .panel-heading .panel-title {
  line-height: 30px;
}

#fleet-add,
#fleet-import {
  margin-right: 8px;
}

#fleet-column-menu {
  min-width: 240px;
  padding: 6px 0;
}

.fleet-column-option {
  display: block;
  margin: 0;
  padding: 5px 16px;
  font-weight: normal;
  cursor: pointer;
  white-space: nowrap;
}

.fleet-column-option:hover {
  background: #f5f5f5;
}

.fleet-column-option input {
  margin: 0 8px 0 0;
  vertical-align: middle;
}

#library-upload,
#library-search {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

#library-upload .form-control {
  width: auto;
  max-width: 280px;
}

#library-search .form-control {
  max-width: 360px;
}

.translate-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

#translate-split,
#translate-glue {
  min-width: 52px;
}

.glue-icon {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  display: inline-block;
  fill: currentColor;
}

.help-copy {
  max-height: 70vh;
  overflow-y: auto;
}

.help-copy h5 {
  margin: 16px 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.help-copy h5:first-child {
  margin-top: 0;
}

.help-copy p {
  margin-bottom: 8px;
}

#translate-result a,
#translate-parts a,
#translate-queue a {
  margin-right: 16px;
}

.translate-drop-hint {
  margin: 8px 0 0;
  color: #777;
  font-size: 12px;
}

#translate-progress {
  margin-top: 12px;
}

#translate-progress .progress {
  margin-bottom: 6px;
}

#translate-progress-detail {
  margin-bottom: 0;
}

#translate-queue-wrap {
  margin-top: 12px;
}

#translate-queue td {
  vertical-align: middle;
}

#translate-folder-info.text-danger {
  color: #a94442;
}

.chat-log {
  min-height: 280px;
  max-height: 520px;
  overflow-y: auto;
  margin-bottom: 12px;
  padding: 8px;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
}

.chat-bubble {
  max-width: 90%;
  margin: 0 0 10px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  white-space: pre-wrap;
}

.chat-bubble.user {
  margin-left: auto;
  background: #eef5fb;
}

.chat-sources {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 12px;
}

.chat-clear-row {
  margin: 8px 0 0;
}

.fleet-column-reset {
  margin-top: 4px;
  padding: 6px 12px 2px;
  border-top: 1px solid #e5e5e5;
}
