
#cg-fragebogen-wrapper {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    padding: 1em;
    border: 1px solid #ddd;
    background: #fefefe;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
#cg-fragebogen-wrapper input, #cg-fragebogen-wrapper select {
    width: 100%;
    margin: 0.5em 0;
    padding: 0.5em;
    border: 1px solid #ccc;
}
#cg-fragebogen-wrapper button {
    background: #3d9f8f;
    color: white;
    padding: 0.7em 1.2em;
    border: none;
    cursor: pointer;
}
#cg-fragebogen-wrapper button:hover {
    background: #337f72;
}
#cg-popup-formular {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}
.cg-popup-content {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 2em;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
}
.cg-close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

#cg-fragebogen-wrapper {
    width: 100%;
    text-align: left;
    margin: 0 auto;
}
#cg-fragebogen-container > div {
    margin-bottom: 1em;
}


/* Abstand zwischen Antwort-Buttons */
#cg-fragebogen-container a.grve-btn {
    margin-bottom: 12px;
    margin-right: 12px;
    display: inline-block;
}


/* Flex-Layout für Antwortbuttons */
.fragebogen-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.fragebogen-button-row a.grve-btn {
    flex: 1 1 auto;
    min-width: 120px;
}


/* Button Style für Antwortoptionen */

.antwort-btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin: 0.5em;
  cursor: pointer;
  background-color: #f8f8f8;
  user-select: none;
}
.antwort-btn input {
  display: none;
}
.antwort-btn.selected {
  background-color: #007cba;
  color: white;
}


.fragebogen-btn {
  padding: 12px 24px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 6px;
  display: inline-block;
  margin: 10px 5px;
  cursor: pointer;
  line-height: 1.2;
}
