/* Schrift und Grundlayout */
body {
  font-family: "Trebuchet MS", sans-serif;
  font-size: 14px;
  color: #333;
  background-color: #f9f9f9;
  margin: 2em;
}

h1, h2 {
  color: #2f2f2f;
}

/* Buttons */
button {
  background-color: #4CAF50;
  color: white;
  padding: 6px 12px;
  margin-bottom: 4px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 14px;
}
button:hover {
  background-color: #45a049;
}

/* Formularfelder */
input[type="text"],
input[type="number"],
input[type="password"],
textarea,
select {
  padding: 5px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 2px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0.75em;
}
#artikelnummer {
	width:10rem;
}

/* Tabellen */
table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 1em;
}
th, td {
  text-align: left;
  padding: 8px;
}
th {
  background-color: #4CAF50;
  color: white;
}
tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Modale Fenster */
#lagerModal,
#artikelNeuModal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1000;
  background-color: white;
  max-width: 400px;
  margin: 8% auto;
  padding: 1em;
  border: 1px solid #ccc;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}
#lagerModalOverlay,
#artikelNeuOverlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  background-color: rgba(0,0,0,0.5);
}

/* Inaktive Zeile */
tr.inaktiv td {
  opacity: 0.5;
  font-style: italic;
}

.rolle-vertrieb .bearbeiten,
.rolle-vertrieb .auschecken {
  display: none;
}