/* Ensure Search Desk and Live Board are the same height */
.search-deck {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}
.search-card,
.board-card {
  flex: 1 1 0;
  min-height: 520px !important;
  display: flex;
  flex-direction: column;
}
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;
}

.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;
}

.autospares-action-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.28);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.autospares-action-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
