/* --- Barra di ricerca stampanti stile barra principale --- */
.pscas {
  position: relative;
  display: block;
  max-width: 1200px;
  width: 100%;
}

.pscas-field {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f1f1;
}

/* Input */
.pscas-input {
  flex: 1;
  width: 100%;
  height: 50px !important;
  background: #f1f1f1 !important;
  color: #6f7c85 !important;
  border: 0 !important;
  border-radius: 10px 0 0 10px !important;
  padding: 0 18px !important;
  font-size: 15px !important;
  font-family: 'Poppins', sans-serif !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Placeholder */
.pscas-input::placeholder {
  color: #7b8790 !important;
  font-family: 'Poppins', sans-serif !important;
  opacity: 1;
}

/* Focus */
.pscas-input:focus {
  background: #f1f1f1 !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #6f7c85 !important;
}

/* Rimuove icona stampante */
.pscas-field::before {
  display: none !important;
}

/* Bottone Cerca */
.pscas-field button,
.pscas-field .btn,
.pscas-field input[type="submit"],
.pscas-field .pscas-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 50px !important;
  min-width: 100px;
  padding: 0 28px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 10px 10px 0 !important;
  background: #38BDF8 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: 'Poppins', sans-serif !important;
  line-height: 1 !important;
  cursor: pointer;
  transition: background .2s ease;
  box-shadow: none !important;
}

.pscas-field button:hover,
.pscas-field .btn:hover,
.pscas-field input[type="submit"]:hover,
.pscas-field .pscas-submit:hover {
  background: #20b4f5 !important;
  color: #ffffff !important;
}

/* Eventuali icone nel bottone */
.pscas-field button i,
.pscas-field .btn i,
.pscas-field .pscas-submit i {
  display: none !important;
}

/* Dropdown suggerimenti */
.pscas-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e6e6e9;
  border-radius: 12px;
  list-style: none;
  margin: 0;
  padding: .35rem 0;
  z-index: 99999;
  display: none;
  max-height: 360px;
  overflow: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.pscas-list.is-open {
  display: block;
}

/* Elementi lista */
.pscas-list li {
  padding: .35rem .55rem;
}

/* Link suggerimenti */
.pscas .pscas-sg-link {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: .4rem !important;
  text-decoration: none;
  color: inherit;
  padding: .3rem .5rem;
}

/* Thumb */
.pscas .pscas-sg-thumb {
  display: inline-block !important;
  width: 50px !important;
  height: 50px !important;
  flex: 0 0 50px !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

.pscas .pscas-sg-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Nome */
.pscas .pscas-sg-name {
  flex: 1 1 auto !important;
  min-width: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #4b5563;
  font-size: 14px;
}

/* Hover suggerimenti */
.pscas-list li[aria-selected="true"],
.pscas .pscas-sg-link:hover {
  background: #f5f5f5;
}

/* Garantisci cliccabilità */
.pscas .pscas-list,
.pscas .pscas-list * {
  pointer-events: auto !important;
}