/* LampStack panel - small additions to Bootstrap 5 (no inline styles: the CSP forbids them). */
:root {
  --ls-navy: #12263f;
}
body { background: #f5f7fa; }
.ls-navbar { background: var(--ls-navy); }
.ls-navbar .nav-link { white-space: nowrap; }
.ls-user { display: inline-flex; align-items: center; }
.ls-user-name { display: inline-block; max-width: 11rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* Brand: the mark and the two-tone wordmark */
.ls-brand { display: inline-flex; align-items: center; gap: .55rem; }
.ls-brand-mark { display: block; width: 30px; height: 30px; flex: none; }
.ls-brand-text { display: inline-flex; flex-direction: column; justify-content: center; line-height: 1.1; }
.ls-wordmark { font-weight: 700; letter-spacing: -.01em; }
.ls-brand-version { font-size: .68rem; font-weight: 400; letter-spacing: .02em; color: rgba(255, 255, 255, .62); margin-top: .1rem; }
.ls-navbar .ls-wordmark-accent { color: #fbbf24; }
.ls-login-brand { display: flex; flex-direction: column; align-items: center; gap: .6rem; margin: 1rem 0 1.5rem; }
.ls-login-brand img { display: block; width: 64px; height: 64px; filter: drop-shadow(0 6px 14px rgba(18, 38, 63, .25)); }
.ls-login-wordmark { font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; color: var(--ls-navy); line-height: 1; }
.ls-login-wordmark .ls-wordmark-accent { color: #b45309; }

/* Sign-in, authenticator code and set-up pages: centered text */
.ls-signin { text-align: center; }
.ls-signin .form-check { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; column-gap: .5rem; padding-left: 0; }
.ls-signin .form-check-input { float: none; margin: .2rem 0 0; flex: none; }
.ls-signin .form-check .form-text { flex-basis: 100%; }
.ls-server {
  font-weight: 400;
  font-size: .85rem;
  opacity: .8;
  margin-left: .35rem;
  padding: .1rem .45rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: .35rem;
}
.card { border-color: #e3e7ee; }
.ls-code { letter-spacing: .35em; font-variant-numeric: tabular-nums; }
.ls-num { max-width: 12rem; }
.ls-confirm { max-width: 10rem; }
.ls-or { display: flex; align-items: center; gap: .75rem; }
.ls-or::before, .ls-or::after { content: ""; flex: 1; border-top: 1px solid #dee2e6; }
.ls-log {
  background: #0f172a;
  color: #e2e8f0;
  font-size: .8rem;
  max-height: 32rem;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  border-bottom-left-radius: var(--bs-card-inner-border-radius);
  border-bottom-right-radius: var(--bs-card-inner-border-radius);
}
.ls-progress { height: .5rem; }
.ls-qr svg { display: block; width: 220px; height: 220px; }
.ls-w-0 { width: 0; } .ls-w-5 { width: 5%; } .ls-w-10 { width: 10%; } .ls-w-15 { width: 15%; }
.ls-w-20 { width: 20%; } .ls-w-25 { width: 25%; } .ls-w-30 { width: 30%; } .ls-w-35 { width: 35%; }
.ls-w-40 { width: 40%; } .ls-w-45 { width: 45%; } .ls-w-50 { width: 50%; } .ls-w-55 { width: 55%; }
.ls-w-60 { width: 60%; } .ls-w-65 { width: 65%; } .ls-w-70 { width: 70%; } .ls-w-75 { width: 75%; }
.ls-w-80 { width: 80%; } .ls-w-85 { width: 85%; } .ls-w-90 { width: 90%; } .ls-w-95 { width: 95%; }
.ls-w-100 { width: 100%; }

/* Database manager */
.ls-null { color: #adb5bd; font-style: italic; }
.ls-bin { color: #6c757d; font-family: var(--bs-font-monospace); }
.ls-grid { font-size: .85rem; }
.ls-grid td.ls-cell { max-width: 26rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-coltype { font-size: .7rem; font-weight: normal; }
.ls-grid-wrap { max-height: 70vh; overflow: auto; }
.ls-sticky th { position: sticky; top: 0; background: var(--bs-body-bg); z-index: 1; box-shadow: inset 0 -1px 0 #dee2e6; }
.ls-sql { min-height: 12rem; font-size: .9rem; }
.ls-code { white-space: pre-wrap; word-break: break-word; background: #f8f9fa; max-height: 28rem; overflow: auto; }
.ls-scroll { max-height: 22rem; overflow-y: auto; }
.ls-field + .ls-field { border-top: 1px dashed #e9ecef; padding-top: .5rem; }

/* Updates: release notes of a package under review */
.ls-release-notes { max-height: 22rem; overflow-y: auto; border-left: 3px solid var(--bs-primary-border-subtle); padding-left: .75rem; }
