.char-counter { font-size: 0.8rem; color: #6c757d; }
.char-counter.over-limit { color: #dc3545; font-weight: 600; }
.field-over-limit { border-color: #dc3545 !important; }
.uncertain-badge { color: #b8860b; }
.locale-block { border-left: 3px solid #dee2e6; padding-left: 0.75rem; margin-bottom: 1rem; }
.product-card { border-left: 4px solid #0d6efd; }
.product-card.status-error { border-left-color: #dc3545; }
.product-card.status-done { border-left-color: #198754; }

/* Autocomplete (§Modification 1) */
.ac-single, .ac-multi { position: relative; }
.ac-list {
  position: absolute;
  z-index: 1000;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.ac-item { cursor: pointer; font-size: 0.9rem; }
.ac-item:hover { background-color: #f0f4ff; }
.ac-chips { display: flex; flex-wrap: wrap; }
.ac-chip { font-size: 0.85rem; }

/* Page de connexion (fond noir + logo MELATOR) */
body.login-page { background-color: #000; }
.login-wrap {
  min-height: calc(100vh - 1rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
}
.login-logo { width: 240px; height: auto; margin-bottom: 1rem; }
.login-brand {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.4em;
  font-size: 1rem;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}
.login-card { background-color: #121212; border: 1px solid rgba(255, 255, 255, 0.12); }
.login-card .card-title,
.login-card .form-label,
.login-card .form-check-label { color: #f1f1f1; }

/* Logo dans le header */
.navbar-logo { height: 64px; width: auto; }
