/* Solo quello che e' di questa pagina: il modulo di inserimento, la
   locandina e la finestra dei possibili doppioni. Colori solo a gettoni. */
.ne-wrap { max-width: var(--wrap-stretto); margin: 0 auto; padding: var(--s5) var(--s4) var(--s7); }
.ne-wrap h1 { margin-bottom: var(--s2); }
.ne-sub { color: var(--muted); margin-bottom: var(--s5); }
.ne-login, .ne-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--ombra); }
.ne-login { text-align: center; padding: var(--s6) var(--s5); }
.ne-card { padding: var(--s5); margin-bottom: var(--s4); }
.ne-card h2 { font-size: 16.5px; margin: 0 0 var(--s3); display: flex; align-items: center; gap: var(--s2); }
.ne-card h2::before { content: ''; width: 4px; height: 18px; border-radius: 3px; background: var(--brand); }
.ne-field { margin-bottom: var(--s3); }
.ne-field label { display: block; font-size: 13px; font-weight: 600; color: var(--titolo); margin-bottom: 5px; }
.ne-field input[type=text], .ne-field input[type=date], .ne-field input[type=time],
.ne-field input[type=email], .ne-field input[type=tel], .ne-field input[type=url],
.ne-field select, .ne-field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r-s);
  background: var(--paper); color: var(--titolo); font: inherit; font-size: 15px;
}
.ne-field input:focus, .ne-field select:focus, .ne-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.ne-field textarea { min-height: 110px; resize: vertical; }
.ne-row { display: flex; gap: var(--s3); } .ne-row > * { flex: 1; }
.ne-req { border-color: var(--warn) !important; }
.ne-locandina { border: 2px dashed var(--line); border-radius: var(--r-m); min-height: 220px; display: flex;
  align-items: center; justify-content: center; cursor: pointer; overflow: hidden; background: var(--paper-2); }
.ne-locandina:hover { border-color: var(--brand); }
.ne-locandina img { max-width: 100%; max-height: 460px; }
.ne-locandina .ph { color: var(--muted); text-align: center; padding: var(--s6); }
.ne-btn { display: inline-flex; align-items: center; gap: var(--s2); justify-content: center; padding: 11px 18px;
  border-radius: var(--r-s); border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.ne-btn-ai { width: 100%; margin-top: var(--s3); background: var(--paper); color: var(--brand); border-color: var(--brand); }
.ne-btn-ai:hover { background: var(--brand-soft); }
.ne-btn-primary { width: 100%; background: var(--brand); color: var(--brand-ink); font-size: 15.5px; padding: 14px; box-shadow: 0 10px 20px -10px rgba(238, 82, 83, .59); }
.ne-btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.ne-chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.ne-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 1px solid var(--line);
  border-radius: var(--r-pill); background: var(--paper); cursor: pointer; user-select: none; font-size: 13.5px; }
.ne-chip:hover { border-color: var(--brand); }
.ne-chip:has(input:checked) { background: var(--brand-soft); border-color: var(--brand); color: var(--titolo); }
.ne-chip input { accent-color: var(--brand); }
.ne-chip.riga { display: block; margin-bottom: var(--s2); border-radius: var(--r-s); }
.ne-switch { display: flex; align-items: center; justify-content: space-between; padding: var(--s2) 0; }
.ne-switch input { accent-color: var(--brand); }
.ne-hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
/* band (fase 2): righe libere e band di La Musica Live */
.ne-band-riga { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ne-band-riga input[type=text] { flex: 1; }
.ne-band-lml { flex: 1; padding: 9px 12px; background: var(--brand-soft); border-radius: var(--r-s); font-size: 13.5px; }
.ne-band-lml small { display: block; color: var(--muted); font-size: 11.5px; }
.ne-band-riga .x { border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 16px; line-height: 1; padding: 6px; }
.ne-band-sugg .ne-chip { cursor: pointer; }
.ne-status { padding: 10px 14px; border-radius: var(--r-s); margin-top: var(--s3); display: none; font-size: 14px; }
.ne-status.err { background: var(--brand-soft); color: var(--brand); display: block; }
.ne-status.ok  { background: var(--ok-soft); color: var(--ok); display: block; }
/* pulsanti dei fornitori di accesso */
.ne-providers { display: flex; flex-direction: column; align-items: center; gap: var(--s3); }
.btn-apple { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 240px; height: 40px; padding: 0 16px;
  background: var(--titolo); color: var(--paper); border: 0; border-radius: var(--r-s);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 15px; font-weight: 500; cursor: pointer; }
.btn-apple:hover { opacity: .88; }
.btn-apple:disabled { opacity: .5; cursor: default; }
.btn-apple svg { margin-bottom: 2px; }
/* «oppure» fra l'accesso e l'invio della sola locandina */
.ne-or { display: flex; align-items: center; gap: var(--s3); margin: var(--s5) 0; color: var(--muted); font-size: 13.5px; }
.ne-or::before, .ne-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.ne-field input[type=file] { width: 100%; padding: 10px 12px; border: 1px dashed var(--line); border-radius: var(--r-s);
  background: var(--paper-2); color: var(--text); font-size: 14px; cursor: pointer; }
.ne-field small { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.ne-topbar { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); margin-bottom: var(--s5); }
.ne-topbar h1, .ne-topbar .ne-sub { margin: 0; }
.ne-logout { font-size: 13px; color: var(--muted); background: none; border: none; cursor: pointer; text-decoration: underline; }
.ne-spinner { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--brand); border-radius: 50%;
  animation: nespin .8s linear infinite; display: inline-block; }
@keyframes nespin { to { transform: rotate(360deg); } }
/* immagini aggiuntive della locandina */
.ne-extra { display: flex; flex-wrap: wrap; gap: var(--s2); }
.ne-extra-thumb { position: relative; width: 84px; height: 110px; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
.ne-extra-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ne-extra-thumb button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: none;
  background: var(--velo); color: #fff; cursor: pointer; font-size: 13px; line-height: 22px; padding: 0; }
.ne-extra-add { width: 84px; height: 110px; border: 2px dashed var(--line); border-radius: var(--r-m); display: flex;
  align-items: center; justify-content: center; cursor: pointer; color: var(--muted); font-size: 28px; background: var(--paper-2); }
.ne-field label.ne-extra-add { display: flex; margin: 0; font-weight: 400; color: var(--muted); }
.ne-extra-add:hover { border-color: var(--brand); color: var(--brand); }
.ne-extra-add[hidden] { display: none; }
/* finestra «possibile doppione» */
.ne-modal { position: fixed; inset: 0; background: var(--velo); display: flex; align-items: flex-end; justify-content: center; z-index: 1000; }
.ne-modal[hidden] { display: none; }
.ne-modal-box { background: var(--paper); color: var(--text); width: 100%; max-width: 560px; max-height: 90vh; overflow: auto;
  border-radius: var(--r-l) var(--r-l) 0 0; padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2); box-shadow: var(--ombra-forte); }
.ne-modal-box h3 { margin: 0; }
.ne-modal-box .ne-btn { margin-top: 0; }
.ne-dup-list { display: flex; flex-direction: column; gap: var(--s2); margin: 6px 0; }
.ne-dup { display: flex; gap: var(--s2); border: 1px solid var(--line); border-radius: var(--r-m); padding: var(--s2); }
.ne-dup img, .ne-dup .noimg { width: 56px; height: 72px; border-radius: var(--r-s); object-fit: cover; background: var(--paper-2); flex: none; }
.ne-dup .t { font-weight: 600; color: var(--titolo); }
.ne-dup .m { font-size: 12px; color: var(--muted); }
.ne-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: var(--r-pill); margin: 6px 6px 0 0; }
.ne-tag.alta { color: var(--brand); background: var(--brand-soft); } .ne-tag.media { color: var(--warn); background: var(--warn-soft); }
.ne-tag.bassa { color: var(--muted); background: var(--paper-2); } .ne-tag.pub { color: var(--ok); background: var(--ok-soft); }
@media (min-width: 700px) { .ne-modal { align-items: center; } .ne-modal-box { border-radius: var(--r-l); } }
/* «Evento musicale» (nuovo-concerto.php): le due locandine */
.nc-loc { aspect-ratio: 2 / 3; border: 1px dashed var(--line); border-radius: var(--r-s); display: flex; align-items: center; justify-content: center;
  cursor: pointer; overflow: hidden; color: var(--muted); font-size: 13px; }
.nc-loc img { width: 100%; height: 100%; object-fit: cover; }
/* La scelta a tre di chi ha una band */
.ne-scelta { display: grid; gap: var(--s2); margin-bottom: var(--s3, 16px); }
.ne-scelta button { text-align: left; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-s); background: transparent; cursor: pointer; color: inherit; }
.ne-scelta button:hover { border-color: var(--brand); background: var(--brand-soft); }
.ne-scelta b { display: block; font-size: 15px; margin-bottom: 2px; }
.ne-scelta small { color: var(--muted); font-size: 12.5px; }
