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-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.app-page-header--top {
  align-items: flex-start;
}

.app-page-header h1,
.app-page-header h2 {
  margin: 0;
  text-align: left;
  font-size: 1.45rem;
}

.app-page-actions,
.app-list-summary,
.app-export-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.app-filter-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.app-filter-actions .btn {
  min-width: 112px;
}

.app-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.app-list-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.app-empty-state {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.app-empty-state--block {
  display: flex;
  justify-content: center;
  min-height: 72px;
  color: #6c757d;
}

@media (max-width: 575.98px) {
  .app-page-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .app-page-header--compact {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .app-page-actions,
  .app-list-tools,
  .app-list-summary,
  .app-export-actions {
    width: 100%;
  }

  .app-list-tools {
    justify-content: flex-start;
  }

  .app-filter-actions .btn,
  .app-export-actions .btn {
    flex: 1 1 120px;
    min-width: 0;
  }
}

.smart-select-filter {
  border-color: #bfdbfe;
  background: #f8fbff;
}

.smart-select-filter:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 0.15rem rgba(37, 99, 235, 0.18);
}

.smart-search-wrap {
  position: relative;
}

.smart-search-results {
  position: absolute;
  z-index: 1060;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  display: none;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.smart-search-option {
  width: 100%;
  border: 0;
  background: #fff;
  color: #111827;
  text-align: left;
  padding: 0.65rem 0.8rem;
}

.smart-search-option:hover,
.smart-search-option:focus {
  background: #eff6ff;
}

.smart-search-empty {
  padding: 0.65rem 0.8rem;
  color: #6b7280;
}

.smart-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
