html {
  font-size: 13px;
}

body {
  background: var(--bs-body-bg);
  display: flex;
  flex-direction: column;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}

body > header {
  flex: 0 0 auto;
}

.app-content {
  flex: 1 1 auto;
  min-height: 0;
  padding-bottom: 0;
}

.app-content > main {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.app-content > main > form {
  flex: 0 0 auto;
}

.app-content > main > div.card {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.card {
  border-color: var(--bs-border-color);
}

.navbar-brand {
  font-size: 1.15rem;
}

.form-control,
.form-select {
  border-color: var(--bs-secondary);
}

.yanmar-table {
  flex: 1 1 auto;
  height: 0;
  max-height: none;
  min-height: 0;
  overflow: auto;
  width: 100%;
}

.yanmar-table .table {
  font-size: .82rem;
  width: 100%;
}

.yanmar-table th,
.yanmar-table td {
  min-width: 88px;
  max-width: 180px;
  padding: .28rem .38rem;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.yanmar-table .json-cell {
  min-width: 260px;
  max-width: 360px;
}

.yanmar-table + .card-footer {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

@media (max-width: 991.98px) {
  html {
    font-size: 12px;
  }

  .yanmar-table th,
  .yanmar-table td {
    min-width: 78px;
    max-width: 150px;
  }
}

.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: 0;
}
