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: 76px;
  background: #f5f7f9;
  color: #17202a;
}

.app-shell {
  max-width: 1120px;
}

.page-heading {
  margin: 24px 0;
}

.page-heading h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-heading p {
  color: #5b6773;
  margin: 0;
}

.tool-panel {
  background: #fff;
  border: 1px solid #dbe1e7;
  border-radius: 8px;
  padding: 24px;
}

.tool-panel h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.upload-meta {
  background: #eef3f7;
  border: 1px solid #dbe5ee;
  border-radius: 8px;
  padding: 18px;
}

.upload-meta div + div {
  margin-top: 8px;
}

.upload-meta span {
  color: #5b6773;
}

.actions {
  display: flex;
  justify-content: flex-end;
}

.result-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
}

.compact-list {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.profile-item {
  border: 1px solid #dbe1e7;
  border-radius: 8px;
  padding: 16px;
  height: 100%;
}

.profile-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

@media (max-width: 768px) {
  .result-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    justify-content: stretch;
  }

  .actions .btn {
    width: 100%;
  }
}

.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;
}
