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;
}

.app-header-sticky {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: #fff;
}

.navbar .nav-link {
  transition: color 0.15s ease-in-out;
}

.navbar .nav-link:hover {
  color: #0d6efd !important;
}

.request-result-input::placeholder {
  color: #adb5bd;
  opacity: 1;
}

.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;
}

.old-flow-match-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.old-flow-match-list__item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
}

.old-flow-match-list__summary {
  flex: 1;
  min-width: 0;
}

.old-flow-match-list__identity {
  margin-bottom: 0.75rem;
}

.old-flow-match-list__name {
  font-size: 1.1rem;
  font-weight: 600;
}

.old-flow-match-list__id {
  color: var(--bs-secondary-color);
  font-size: 0.9rem;
}

.old-flow-match-list__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

.old-flow-match-list__label {
  color: var(--bs-secondary-color);
  font-size: 0.8rem;
  margin-bottom: 0.15rem;
}

.old-flow-match-list__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
}

.old-flow-match-list__score {
  min-width: 3rem;
}

.old-flow-match-modal__score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.old-flow-match-modal__dialog {
  max-width: min(1500px, calc(100vw - 2rem));
}

.old-flow-match-modal__text {
  white-space: pre-wrap;
}

.recent-vacancy-run-button--running,
.recent-vacancy-run-button:disabled {
  color: #6c757d;
  background-color: #e9ecef;
  border-color: #ced4da;
  opacity: 1;
  cursor: not-allowed;
}

.recent-vacancy-run-button--running:hover,
.recent-vacancy-run-button:disabled:hover {
  color: #6c757d;
  background-color: #e9ecef;
  border-color: #ced4da;
}

@media (max-width: 767.98px) {
  .old-flow-match-list__item {
    flex-direction: column;
  }

  .old-flow-match-list__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .old-flow-match-list__actions {
    align-items: flex-start;
  }
}
