/* Grunddesign */
.responsive-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  max-width: 100%;
  min-height: 84vh;
  margin-top: 3rem;
  margin-bottom: 2rem;
  padding: 0.5rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-family: sans-serif;

}

.responsive-form fieldset {
  
  padding: 0.2rem;
    /* width: 100%; */

}

.responsive-form input {
  font-size: 1.0rem; /* 8px */
    /* width: 100%; */

}


/* Tabelle */
.responsive-form ul {
  list-style: none;
  padding: 0;
  margin: 0.2rem;
  padding: 0.2rem;
  /* border: black 1px solid; */
}

/* Fieldset Beschriftung */
.responsive-form fieldset legend {
  color: #218838;
  padding-left: 1rem;
}

/* Fieldset Ueberschrift  */
.responsive-form  h1 {
  color: #218838;
  font-size: 1.2rem;


}

div .gesamtsumme {

  width: 100%;
  padding-top: 0.5rem;
   padding-bottom: 0.5rem;
  /* border: black 1px solid; */
}

div .gesamtsumme .row-input-betrag {

  width: 20%;

}

div .gesamtsumme .row-input-waehrung {

  width: 15%;

}

/* 📱 Flexbox für Mobilgeräte: Elemente untereinander stapeln */
.responsive-form .form-row {
  display: flex;
  flex-direction: column; 
  /* Mobil: Untereinander */
    gap: 8px;
  margin-bottom: 20px;
  padding: 0.2rem;
  border: black 1px solid;
}

/* Label- und Input-Styling */
.responsive-form .row-label {
  font-weight: bold;
  font-size: 1.15rem;
  color: #333;
  max-width: 3rem;
  margin-right: 2.5rem;


}

.responsive-form .row-input {
  width: 100%;
  /* padding: 10px; */
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 1.0rem;
}


/* Vergrößert den Klickbereich für Finger auf dem Smartphone */
.responsive-form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 5px 0;
  font-size: 16px;
}

/* Checkboxen selbst etwas größer machen für Touchscreens */
.responsive-form .checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: black 1px solid;
  cursor: pointer;
}

/* Button Styling */
.responsive-form button {

  background-color: #28a745;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
}

.responsive-form button:hover {
  background-color: #218838;
}

* Schriftgrösse in den input-Feldern */
  .responsive-form .row-input-id,
  .responsive-form .row-input-zweck,
  .responsive-form .row-input-betrag,
  .responsive-form .row-input-waehrung {

    font-size: 1.5rem;
    margin-right: 2rem;


  }



  /* Schriftgrösse in den input-Feldern */
  .responsive-form ul li label.row-label-id,
  .responsive-form ul li label.row-label-zweck,
  .responsive-form ul li label.row-label-betrag,
  .responsive-form ul li label.row-label-waehrung {

    font-size: 1rem;
    

  }

  .responsive-form .row-input-id {
    /* width: 5%; */
    text-align: center;
  }

  .responsive-form .row-input-zweck {
    /* width: 30%; */
    text-align: center;
  }

 

  .responsive-form .row-input-betrag {
    /* width: 8%; */
    text-align: center;
  }

  .responsive-form .row-input-waehrung {
    /* width: 5%; */
    text-align: center;
  }



/* 🖥️ RESPONSIVE DESIGNS: Ab Tablet/Desktop (600px) */
@media (min-width: 600px) {
  .responsive-form .form-row {
    flex-direction: row;
    /* Desktop: Nebeneinander */
    align-items: center;
    /* Vertikal zentrieren */
    border-style: none;
  }

  div .gesamtsumme {

  width: 100%;
  padding-left: 45%;
  margin-top: 1rem;
  /* border: black 1px solid; */
}

/* Fieldset Ueberschrift  */
.responsive-form  h1 {
 
  font-size: 2rem;


}


}