body {
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin: 20px auto;
    background: #033780;
    padding: 10px;
  }
  .menu, .section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 5px #ccc;
  }
  .section {
    display: none;
  }
  button {
    margin: 8px 0;
    padding: 12px 20px;
    font-size: 1em;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #4e72a5;
    color: white;
  }
  button:hover {
    background: #033780;
  }
  .backBtn {
    background: #033780;
  }
    .backBtn:hover {
    background: #4e72a5;
  }
  label {
    font-weight: bold;
    margin-top: 12px;
    display: block;
  }
  input, textarea {
    width: 100%;
    padding: 8px;
    margin-top: 6px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
    textarea {
    resize: none; /* Optional: Verhindert manuelles Resizing */
	min-height: 100px;  /* Mindesthöhe setzen */
  }
  

.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.modal-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
}
.btn-primary {
  background: #4CAF50;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
}
.btn-secondary {
  background: #ccc;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
}



.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* für weiches Scrollen auf Mobilgeräten */
}

.table-scroll table {
  min-width: 800px; /* oder so breit, wie die Inhalte benötigen */
  border-collapse: collapse;
}


/* Desktop-Layout */
@media (min-width: 768px) {
  body {
    max-width: 900px; /* Kasten wird breiter */
    padding: 20px;
  }

  .menu, .section {
    padding: 40px; /* Mehr Innenabstand */
    border-radius: 12px;
  }

  button {
    padding: 16px 28px;
    font-size: 1.1em;
  }

  textarea {
    min-height: 150px; /* Größere Textarea auf Desktop */
  }

  .modal-content {
    max-width: 600px; /* Modal auf Desktop größer */
    padding: 30px;
  }
}

.message {
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
}

.success {
    background-color: #28a745; /* Grün für Erfolg */
    color: white;
}

.error {
    background-color: #dc3545; /* Rot für Fehler */
    color: white;
}