.hidden {
  display: none !important;
}

/* Basis-Reset fürs Plugin-Formular */
.dwz-autosuggest-form {
  max-width: 400px;
  margin: 1em auto;
  padding: 1.5em;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  font-family: sans-serif;
}

/* Label und Input in einer flex-Zeile */
.dwz-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1em;
}
.dwz-field label {
  font-weight: 600;
  margin-bottom: 0.25em;
  font-size: 0.9rem;
  color: #333;
}
.dwz-name-wrapper input,
.dwz-field input {
  padding: 0.5em 0.75em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.dwz-field input:focus {
  border-color: #0073aa;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,115,170,0.2);
}

/* Spezielles Styling für das Name-Feld + Vorschläge */
.dwz-name-wrapper {
  position: relative;
  margin-bottom: 1.5em;
}
.dwz-name-wrapper label {
  font-weight: 600;
  margin-bottom: 0.25em;
}
/* Utility */
.hidden {
  display: none !important;
}

/* Einheitliche Feld-Breite */
.dwz-name-wrapper input,
.dwz-field input {
  width: 100%;
  box-sizing: border-box;
}

.dwz-name-wrapper input:focus {
  border-color: #0073aa;
}
.dwz-suggestions {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
}
.dwz-suggestions .dwz_option {
  padding: 0.5em 0.75em;
  cursor: pointer;
  transition: background 0.15s;
}
.dwz-suggestions .dwz_option:hover {
  background: #f0f0f0;
  color: #0073aa;
}

/* Responsive Anpassung */
@media (max-width: 480px) {
  .dwz-autosuggest-form {
    padding: 1em;
  }
  .dwz-field input,
  .dwz-name-wrapper input {
    font-size: 0.95rem;
  }
}
