/* Design overrides — Neomorfismo */

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

a {
  color: var(--logo-blue);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: var(--logo-brown);
  text-decoration: underline;
}

/* Override kui-label per form inline */
.kui-widget.kui-edit .kui-label:first-child {
  margin-bottom: 4px;
}

/* Allineamento checkbox/radio */
.kui-widget.kui-button.kui-button-check .kui-label {
  padding-left: 4px;
}

/* DEBUG bottoni login rapidi — da cancellare dopo test */
/* Pulsante X chiusura dialog */
.kui-widget.kui-dialog .kui-caption > .kui-widget.kui-button.kui-button-default:last-child {
  padding: 0px;
  box-shadow: none;
  border-top: none;
}

.debug-login-btns {
  display: flex; gap: 4px; margin-top: 12px; flex-wrap: wrap;
  justify-content: center;
}
.debug-login-btns .kui-widget.kui-button {
  flex: 1; min-width: 70px; padding: 4px 8px; font-size: 11px;
  background: #d9534f; color: #fff; border: none; border-radius: 4px;
  cursor: pointer; text-align: center;
}
.debug-login-btns .kui-widget.kui-button .kui-label {
  color: inherit; font-size: inherit; padding: 0;
}
@media (max-width: 767px) {
  .debug-login-btns { display: none !important; }
}
