html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.admin-tenant-nav {
  background: #f4f6f8;
  border-bottom: 1px solid #dce1e6;
}

.navbar-brand .brand-logo,
.brand-logo {
  height: 48px;
  max-height: none;
  width: auto;
  display: block;
}

.brand-logo-hero {
  height: 144px;
  max-width: 100%;
  width: auto;
  display: block;
}

.help-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-left: 0.3rem;
  padding: 0;
  border: 1px solid #0d6efd;
  border-radius: 50%;
  background: #fff;
  color: #0d6efd;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: text-top;
  cursor: help;
}

.help-hint:hover,
.help-hint:focus {
  background: #0d6efd;
  color: #fff;
}

.field-hint {
  display: block;
  margin-top: 0.25rem;
  color: #6c757d;
  font-size: 0.875rem;
}

.popover {
  max-width: 32rem;
}

.page-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.75rem;
}

.company-stat {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  background: #fff;
}

.user-role-form {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  min-width: 16rem;
}

.user-role-form .form-select {
  min-width: 11rem;
}

.telephony-log {
  max-height: 22rem;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  background: #f8f9fa;
}

.telephony-log-line {
  margin-bottom: 0.35rem;
}

.telephony-log-error {
  color: #842029;
}

.telephony-log-info {
  color: #1b1e21;
}
