.form-group {
  margin-bottom: 20px
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500
}

input[type=number],
input[type=password],
input[type=text],
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: #fff
}

textarea {
  resize: vertical;
  min-height: 100px
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  margin-bottom: 0;
  font-weight: 400
}

.switch-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0
}

.slider,
.slider:before {
  position: absolute;
  transition: .4s
}

.slider {
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 24px
}

.slider:before {
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: #fff;
  border-radius: 50%
}

input:checked+.slider {
  background-color: var(--primary-color)
}

input:checked+.slider:before {
  transform: translateX(26px)
}

.inline-form-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.inline-form-group label {
  display: inline-block;
  margin-bottom: 0;
  margin-right: 10px;
}

.inline-form-group input[type=number] {
  width: auto;
  flex: 0 0 100px;
  /* Breite des Eingabefeldes anpassen */
}