/* The shared look of the sign-in, the status line and „Nicht übernommen"
   (DESIGN-AUTOSAVE.md §6.1; automations/nc_web). Each site adds its own file after this one. */

.nc-anmeldung {
  display: grid;
  gap: 0.5rem;
  max-width: 24rem;
  margin: 3rem auto;
  padding: 1.5rem;
  border: 1px solid #c8cdd2;
  border-radius: 6px;
  font: inherit;
}

.nc-anmeldung h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.nc-anmeldung input {
  padding: 0.4rem 0.5rem;
  font: inherit;
}

.nc-anmeldung button,
.nc-kopf button,
.nc-nue-knoepfe button {
  padding: 0.35rem 0.8rem;
  font: inherit;
  cursor: pointer;
}

/* The sign-in's only action, in the house's accent look („primary"); the colours are the
   site's variables, so light and dark follow the site. The fallbacks are the light values. */
.nc-anmeldung button.nc-primaer {
  border: 1px solid var(--accent, #34506b);
  border-radius: 6px;
  background: var(--accent, #34506b);
  color: var(--bg, #f4f3ee);
}

.nc-anmeldung button[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}

.nc-meldung {
  margin: 0;
}

.nc-meldung:empty {
  display: none;
}

/* Two classes each, so a site's plain `.nc-meldung` colour does not override them. */
.nc-meldung.nc-meldung-info {
  color: var(--ink2, #555b61);
}

.nc-meldung.nc-meldung-abgelehnt {
  color: var(--over, #9b1c1c);
}

.nc-hinweis {
  margin: 0;
  color: #555b61;
  font-size: 0.9rem;
}

.nc-kopf {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nc-angemeldet {
  color: #555b61;
  font-size: 0.9rem;
}

.nc-status {
  min-height: 1.2em;
  font-size: 0.9rem;
}

.nc-nue-liste {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nc-nue-eintrag {
  margin: 0 0 0.75rem;
  padding: 0.5rem 0.75rem;
  border-left: 3px solid #c77d00;
  background: #fbf6ec;
}

.nc-nue-kopf {
  font-size: 0.85rem;
  color: #555b61;
}

.nc-nue-grund {
  font-weight: 600;
}

.nc-nue-text {
  margin: 0.25rem 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.nc-nue-knoepfe {
  display: flex;
  gap: 0.5rem;
}

.nc-leer {
  color: #555b61;
}
