body {
  font-family: 'Exo 2', sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  padding: 20px;
}
.image-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.image-card {
  display: flex;
  flex-direction: column;
  width: 30%;
  border: 5px solid #A4C401;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  box-sizing: border-box;
}
.border-red {
  border-color: #AAAAAA;
}
.border-green {
  border-color: green !important;
}
.image-card img {
  max-width: 100%;
  max-height: 200px;
  height: auto;
  margin-bottom: 10px;
  margin-top: 20px;
}
.image-card input[type="file"] {
  display: none;
}
.image-card label.upload-label {
  background-color: #A4C401;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  display: inline-block;
  min-width: 150px;
  min-height: 30px;
  text-align: center;
}
.image-card button {
  background-color: #d45c42;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  max-width: 150px;
}
.image-card button:hover {
  background-color: #8aa308;
}

.image-card > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 10px;
}
.image-card label {
  margin-bottom: 4px;
  text-align: left;
}
.upload-wrapper {
  text-align: center;
}

.pagination {
  text-align: center;
  margin-top: 20px;
}
.pagination button {
  background-color: #555;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 5px;
}
.pagination button:hover {
  background-color: #8aa308;
}
.progress {
  width: 100%;
  background-color: #f3f3f3;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 20px;
}
.progress-bar {
  height: 20px;
  width: 0;
  background-color: #A4C401;
  text-align: center;
  color: white;
  line-height: 20px;
}
input[type="text"] {
  width: 90%;
  padding: 5px;
  margin: 5px 0;
  box-sizing: border-box;
}
input[type="password"] {
  width: 90%;
  padding: 5px;
  margin: 5px 0;
  box-sizing: border-box;
}
* {
  box-sizing: border-box;
}
.login-container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}
.login-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  text-align: center;
  min-width: 400px;
}
.login-logo {
  width: 80px;
  margin-bottom: 20px;
}
form {
  display: flex;
  flex-direction: column;
}
input[type="text"],
input[type="password"] {
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}
input[type="text"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: #A4C401;
  box-shadow: 0 0 5px #A4C401;
}
button {
  padding: 12px;
  background: #A4C401;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #8aa308;
}
.error-message {
  color: #cc0000;
  margin-top: 10px;
  font-size: 14px;
  min-height: 18px;
}
.container {
    max-width: 800px;
    margin: auto;
}
#welcome-message {
    color: #333;
}
.form-feed {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-card {
    background-color: white;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.form-card:hover {
    background-color: #f0f0f0;
}
.form-name {
    font-weight: bold;
    font-size: 1.1em;
}
.form-status {
    color: #666;
}
h1, h2, h3, h4, h5, h6, p, div {
    color: #493B3A !important;
}

.icon-container {
  position: relative;
  display: inline-block;
}

.notification-dot {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 11px;
  height: 11px;
  background-color: #d45c42;/*#A4C401;*/
  border-radius: 50%;
  border: 3px solid white;
  box-sizing: content-box;
}

.error-message {
  color: red !important;
  font-size: 0.8em;
  margin-top: 2px;
  display: none;
}

.placeholder-card {
  visibility: hidden;
  pointer-events: none;
  height: auto;
}


.range-group {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
}

.range-group input {
  margin-right: 10px;
}


/* Responsiveness... */

@media (max-width: 1024px) {
  .image-card {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .image-container {
    flex-direction: column;
    align-items: center;
  }
  
  .image-card {
    width: 90%;
  }

  .login-card {
    min-width: unset;
    width: 100%;
    padding: 20px;
  }

  input[type="text"],
  input[type="password"] {
    font-size: 14px;
  }

  button {
    font-size: 14px;
    padding: 10px;
  }

  .pagination button {
    padding: 6px 8px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .image-card {
    padding: 10px;
  }

  .login-container {
    padding: 10px;
  }

  .form-feed {
    gap: 10px;
  }

  .form-card {
    padding: 10px;
  }

  h1, h2, h3 {
    font-size: 1.2em;
  }

  p, .form-status {
    font-size: 0.95em;
  }
}


.section {
  margin-top: 30px;
  padding: 20px;
  background-color: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 8px;
}

.section-title {
  margin-bottom: 15px;
  font-size: 1.8em;
}

.section-subtitle {
  margin-bottom: 10px;
  font-size: 1.4em;
}

.intro-page h4 {
  margin-top: 20px;
  margin-bottom: 8px;
}

.intro-page h5 {
  margin-top: 15px;
  margin-bottom: 6px;
}

.intro-page p {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Listenblöcke übersichtlicher */
.list-block {
  padding-left: 20px;
  margin-bottom: 15px;
}
.list-block li {
  margin-bottom: 8px;
  line-height: 1.4;
}





/* =========================================================
   Verbesserte Button-Responsivität für mobile Geräte
   ========================================================= */
@media (max-width: 600px) {
  button,
  .image-card button,
  .pagination button,
  label.upload-label {
    font-size: 16px; /* besser lesbar auf Handys */
    padding: 12px 18px; /* mehr Fläche für Touch */
    min-width: 180px; /* verhindert zu schmale Buttons */
    border-radius: 10px; /* optisch angenehmer auf kleinen Screens */
  }
}

@media (max-width: 400px) {
  button,
  .image-card button,
  .pagination button,
  label.upload-label {
    font-size: 18px; /* noch etwas größer für sehr kleine Geräte */
    padding: 14px 20px;
    width: 100%; /* Buttons füllen die Breite des Containers */
    box-sizing: border-box;
  }
}



@media (max-width: 768px) {
  button,
  .image-card button,
  .pagination button,
  label.upload-label {
    font-size: 16px !important;
    padding: 12px 18px !important;
    min-height: 44px; /* bessere Touchgröße */
  }
}
