html,
body {
  min-height: 100%;
}

body {
  background: #f4f6f8;
  color: #17202a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.app-footer {
  flex-shrink: 0;
  background: #111827;
  color: #fff;
  padding: .75rem 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.auth-panel {
  max-width: 420px;
  padding-top: 10vh;
}

.panel,
.metric {
  background: #fff;
  border: 1px solid #dee4ea;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.metric span {
  display: block;
  color: #667085;
  font-size: .85rem;
}

.metric strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1.2;
}

.metric.danger strong {
  color: #b42318;
}

.metric.success strong {
  color: #027a48;
}

.timeline {
  border-left: 3px solid #cfd8e3;
  padding: .25rem 0 .9rem .8rem;
  margin-left: .25rem;
}

.timeline.overdue {
  border-left-color: #dc3545;
  background: #fff5f5;
}

.label {
  display: block;
  color: #667085;
  font-size: .78rem;
  margin-bottom: .15rem;
}

canvas {
  max-height: 340px;
}

.table-sort {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  font-weight: 600;
  padding: 0;
}

.table-sort::after {
  content: " sort";
  color: #667085;
  font-size: .8em;
}

.table-sort.sort-asc::after {
  content: " asc";
}

.table-sort.sort-desc::after {
  content: " desc";
}
