/* The deploy panel's own few rules on top of the admin panel's stylesheets (colours stay the theme's). */

/* text logo in the header / login box */
.deploy-logo { display: inline-block; color: #fff; font-size: 20px; font-weight: 400; letter-spacing: 1px; line-height: 70px; white-space: nowrap; }
.deploy-logo b { font-weight: 700; }
.deploy-logo-login { color: inherit; font-size: 30px; line-height: 1.2; }
.deploy-role { font-size: 10px; vertical-align: middle; }

/* the menu: in the top bar on desktop, in the left sidebar on phones / tablets (☰) */
.deploy-panel .vertical-menu #side-menu .side-nav-link-ref { display: block; padding: 10px 20px; color: inherit; }
.deploy-panel .vertical-menu #side-menu .side-nav-link-ref.router-link-active { font-weight: 700; }
@media (min-width: 992px) {
  body:not(.sidebar-enable) .deploy-panel .vertical-menu { display: none; }
  .deploy-panel #vertical-menu-btn { display: none; }
}
@media (max-width: 991.98px) {
  .deploy-panel #page-topbar .main-menu { display: none !important; }
  body:not(.sidebar-enable) .deploy-panel .vertical-menu { display: none; }
  body.sidebar-enable .deploy-panel .vertical-menu { display: block; position: fixed; top: 70px; bottom: 0; left: 0; width: 250px; z-index: 1002; overflow-y: auto; }
  .deploy-logo { font-size: 16px; }
  .deploy-panel .user-menu .btn .ml-1:first-child { max-width: 90px; overflow: hidden; text-overflow: ellipsis; display: inline-block; vertical-align: middle; }
}
@media (max-width: 575.98px) {
  .deploy-role { display: none; }
  .deploy-page .page-title-box { flex-wrap: wrap; gap: 8px; }
}

/* tables: numbers never wrap; action buttons stay on one line */
.deploy-table td, .deploy-table th { vertical-align: middle; }
.deploy-total-row td { background: rgba(0, 0, 0, .04); }
.deploy-details { max-width: 420px; word-break: break-word; }
.deploy-totals span { display: inline-block; margin-bottom: 4px; }

/* summary tiles (settlement) */
.deploy-stat { border: 1px solid #e9ecef; border-radius: 4px; padding: 8px 12px; margin-bottom: 8px; background: #fff; }
.deploy-stat b { font-size: 16px; }
.deploy-ro { height: auto; min-height: calc(1.5em + .94rem + 2px); background: #eff2f7; }

/* site form: logo / favicon boxes, colour swatches */
.deploy-brand-box { display: flex; gap: 10px; align-items: center; }
.deploy-brand-preview { flex: 0 0 140px; height: 60px; display: flex; align-items: center; justify-content: center; border: 1px dashed #ced4da; border-radius: 4px; background: #2a3042; overflow: hidden; }
.deploy-brand-preview.is-favicon { flex-basis: 60px; }
.deploy-brand-preview img { max-width: 100%; max-height: 100%; }
.deploy-brand-inputs { flex: 1; min-width: 0; }
.deploy-swatch { width: 30px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; }
.deploy-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid #ced4da; margin-right: 4px; }
.deploy-checklist { max-height: 260px; overflow-y: auto; border: 1px solid #ced4da; border-radius: 4px; padding: 8px 10px; }
.deploy-subkeys .custom-control-inline { margin-right: .75rem; }
[data-mode][hidden], [data-role="sm"][hidden] { display: none !important; }

/* Secure Auth */
.deploy-qr { width: 180px; height: 180px; }
.deploy-code { word-break: break-all; }
.deploy-panel .login-auth .otp-input, .deploy-page .otp-input { width: 40px; height: 40px; margin: 0 4px; text-align: center; font-size: 18px; border: 1px solid #ced4da; border-radius: 4px; }

/* sidebar menu list: no bullets / indents whatever the theme */
.deploy-panel #side-menu, .deploy-panel #side-menu ul { list-style: none; padding-left: 0; margin: 0; }

/* Accounts: username suggestions under the search box */
.deploy-suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 1050; max-height: 320px; overflow-y: auto; box-shadow: 0 6px 12px rgba(0, 0, 0, .175); }
