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

.bg-orange {
  background-color: #fd7e14 !important;
}

.table-old-pink {
  --bs-table-bg: #f8d7da;
  --bs-table-striped-bg: #f0cccc;
  --bs-table-color: #58151c;
}

.table-old-urgent {
  --bs-table-bg: #f5c2c7;
  --bs-table-striped-bg: #e9b8bd;
  --bs-table-color: #58151c;
  font-weight: 700;
}

.table-old-critical {
  --bs-table-bg: #dc3545;
  --bs-table-striped-bg: #d32f3f;
  --bs-table-color: #ffffff;
  font-weight: 700;
}

th a {
  color: inherit;
  text-decoration: none;
}

.sort-arrow {
  color: #8a94a6;
  font-weight: 700;
}

.sort-arrow.active {
  color: #0d6efd;
}

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

.age-1d {
  --bs-table-bg: #f8d7da;
  --bs-table-striped-bg: #f0cccc;
  --bs-table-color: #58151c;
}

.age-2d {
  --bs-table-bg: #f1a9a9;
  --bs-table-striped-bg: #e99e9e;
  --bs-table-color: #58151c;
}

.age-3d {
  --bs-table-bg: #e88383;
  --bs-table-striped-bg: #e07878;
  --bs-table-color: #58151c;
  font-weight: 700;
}

/* Progress bar for address import */
.import-progress {
  display: none;
}

.progress.active .import-progress {
  display: block;
}

/* Navbar professional redesign */
.navbar-nav .nav-link {
  white-space: nowrap;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: background-color 0.15s ease, color 0.15s ease;
  font-size: 0.9rem;
}

.navbar-nav .nav-link:hover {
  background-color: #f0f4ff;
  color: #0d6efd !important;
}

.navbar-nav .nav-link.active {
  color: #0d6efd !important;
  background-color: #e8f0fe;
  font-weight: 600;
}

.navbar-nav .nav-link.active::after {
  content: '';
  display: block;
  height: 2px;
  background-color: #0d6efd;
  border-radius: 1px;
  margin-top: 2px;
}
