/* Grundlayout */
body {
  font-family: Arial, sans-serif;
  background-color: #f2f2f2;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 800px;
  margin: 2em auto;
  background-color: #fff;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Überschriften */
h1, h2 {
  color: #333;
  margin-bottom: 1em;
}

/* Formulare */
form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="date"],
form input[type="time"],
form input[type="number"],
form select {
  width: 100%;
  padding: 0.6em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

form input[type="radio"],
form input[type="checkbox"] {
  margin-right: 0.5em;
}

form button {
  background-color: #0078d4;
  color: white;
  padding: 0.8em 1.5em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

form button:hover {
  background-color: #005fa3;
}

/* Tabellen */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
}

table th,
table td {
  padding: 0.75em;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

table th {
  background-color: #f0f0f0;
}

/* Preis-Widget */
.widget {
  background: #f9f9f9;
  border: 1px solid #ccc;
  padding: 1em;
  margin-top: 2em;
  border-radius: 8px;
}

.widget h2 {
  margin-top: 0;
  font-size: 1.2em;
}

.widget table {
  width: 100%;
  border-collapse: collapse;
}

.widget th,
.widget td {
  padding: 0.5em;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

/* Erfolgsmeldung */
p.success {
  color: green;
  font-weight: bold;
}

/* Fehlermeldung */
p.error {
  color: red;
  font-weight: bold;
}

/* Links */
a {
  color: #0078d4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
