/* Sicherheitsklasse für nicht eingeloggte Nutzer */
body.auth-required {
  visibility: hidden;
}


/* Optional: Preloader während Authentifizierung */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  color: #666;
  z-index: 9999;
}

/* Deine bestehende Gestaltung */

body {
  font-family: Arial, sans-serif;
  margin: 20px;
}

h1 {
  text-align: center;
  color: #333;
  margin-bottom: 80px;
}

h2 {
  font-size: 1.2em;
  margin-top: 15px;
  color: #333;
}

.intro-text-container {
  text-align: center;
  margin: 20px auto;
  width: 85%;
}

.intro-text {
  background-color: #f9f9f9;
  padding: 15px;
  border: 1px solid #ddd;
  display: inline-block;
  max-width: 100%;
  text-align: left;
}

.intro-text h2 {
  color: #333;
  margin-top: 0;
}

.intro-text h3 {
  margin-bottom: 10px;
  color: #333;
  font-size: 1.2em;
  text-align: center;
}

.intro-text p {
  margin: 10px 0;
  color: #555;
}

.intro-text ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #555;
  margin-top: 20px;
}

.intro-text ul li {
  margin: 5px 0;
  margin-bottom: 15px;
}

.day-group {
  margin-bottom: 40px;
  border-bottom: 4px solid #ddd;
  padding-bottom: 20px;
}

.week-header {
  text-align: center;
  font-size: 1.6em;
  font-weight: bold;
  margin: 20px;
  color: #333;
}

.day-header {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #444;
}

.bestellung {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f9f9f9;
  margin-bottom: 10px;
  font-size: 0.8em;
}

.bestellung label {
  font-weight: bold;
  margin-right: 20px;
  flex: 1;
}

.bestellung input[type="number"] {
  padding: 5px;
  border-radius: 3px;
  border: 1px solid #ccc;
  width: 60px;
}

.bestellung input[type="number"][readonly] {
  background-color: #f0f0f0;
  color: #888;
  border: 1px solid #ccc;
  cursor: not-allowed;
}

.save-button {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  text-align: center;
}

.save-button:hover {
  background-color: #0056b3;
}
