/* Albo fornitori: form a passi */
.albo-hp, .albo-hp + label, .control-group:has(.albo-hp) {
  position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden;
}
.albo-passi { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.5rem 0; counter-reset: none; }
.albo-passi li { flex: 1 1 8rem; padding: .5rem .75rem; border-radius: .375rem; background: #f1f3f5; color: #495057; font-size: .9rem; }
.albo-passi li.is-attivo { background: #0d6efd; color: #fff; }
.albo-passi li.is-fatto { background: #d1e7dd; color: #0f5132; }
.albo-passi-n { font-weight: 700; margin-right: .25rem; }
.albo-step { margin-bottom: 2rem; }
.albo-js .albo-step[hidden] { display: none; }
.albo-categorie { table-layout: fixed; width: 100%; }
.albo-categorie .albo-col-cat { width: 38%; }
.albo-categorie .albo-col-el { width: 7%; }
.albo-categorie .albo-col-imp { width: 18%; }
.albo-categorie .albo-col-dip { width: 12%; }
.albo-categorie thead th { font-size: .85rem; vertical-align: bottom; white-space: normal; }
.albo-categorie thead abbr { text-decoration: none; cursor: help; }
.albo-categorie th[scope="row"] { font-weight: 400; font-size: .95rem; }
.albo-categorie .albo-codice { font-weight: 700; margin-right: .25rem; }
.albo-categorie td, .albo-categorie th { padding: .4rem .3rem; vertical-align: middle; }
.albo-categorie input[type="text"] { width: 100%; min-width: 0; padding: .3rem .4rem; }
.albo-categorie .albo-sezione th { background: #f8f9fa; font-weight: 700; }
.albo-categorie tr.is-scelta { background: #f0f7ff; }
.albo-legenda { font-size: .9rem; margin-bottom: 1rem; }
.albo-nav { display: flex; gap: .75rem; justify-content: space-between; margin-top: 1.5rem; }
.albo-nav .albo-submit { margin-left: auto; }
.albo-errore { color: #b02a37; font-weight: 600; margin: .75rem 0; }
@media (max-width: 991.98px) {
  .albo-categorie thead, .albo-categorie colgroup { display: none; }
  .albo-categorie { table-layout: auto; }
  .albo-categorie tr, .albo-categorie th, .albo-categorie td { display: block; width: 100%; }
  .albo-categorie td { text-align: left !important; }
  .albo-categorie td::before { content: attr(data-label); display: block; font-size: .8rem; color: #6c757d; }
  .albo-categorie tr.albo-cat { border-bottom: 1px solid #dee2e6; padding: .5rem 0; }
}
