body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
}

header {
    background-color: white;
    padding: 10px 20px;
    text-align: left;
}

header .logo {
    max-width: 600px;
    height: auto;
    margin-left: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    flex: 1;
    padding-bottom: 60px;
}

.title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.title-link {
    font-family: Arial, sans-serif;
    color: #2b4765;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    margin-left: 20px;
}

.title-link:hover {
    color: #667f99;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr)); /* Kartenbreite */
    gap: 20px;
}

.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 5px;
    height: 60px; /* Feste Höhe für den Titel */
    overflow: hidden;
}

.card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 5px;
    flex-grow: 1;
    height: 90px; /* Feste Höhe für den Beschreibungstext */
    overflow: hidden;
}

.indicators {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 10px 0;
}

.indicator-label {
    margin-right: 10px;
    font-weight: bold;
    font-size: 16px;
}

.indicator-group {
    display: flex;
    gap: 2px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
}

.indicator.active {
    background-color: #485c7a;
}

.details {
    margin: 30px 0;
}

.detail-label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.details p {
    margin: 0;
    font-size: 16px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 150px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    align-self: center;
}

button:disabled {
    background-color: #828282;
    cursor: not-allowed;
}

.primary-button {
    background-color: #4caf50;
    color: #fff;
}

.more-info-button {
    background-color: #485c7a;
    color: #fff;
}

.primary-button.loading,
button:disabled {
    background-color: #828282;
    cursor: not-allowed;
}

.primary-button.open {
    background-color: #485c7a;
}

.primary-button.stop {
    background-color: #e3605d;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #485c7a;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 43%;
    max-height: 90%;
    position: relative;
    overflow: auto;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

#personalInfo {
    margin: 30px 0 20px;
}

#personalInfo h2, .personal-row label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.personal-row {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.personal-row label {
    margin-right: 10px;
    min-width: 100px;
}

#anrede, #personal-anrede {
    width: 33%;
    max-width: 80px;
}

.name-input {
    width: 50%;
    max-width: 200px;
}

footer {
    background-color: white;
    padding: 10px 20px;
    text-align: left;
    font-size: 14px;
    color: #555;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    z-index: 500;
}

footer p {
    margin: 0;
}

footer #reset-button,
footer #edit-button {
    position: fixed;
    bottom: 10px;
}

footer #reset-button {
    right: 20px; /* Abstand vom rechten Rand */
}

footer #edit-button {
    right: 180px; /* Abstand vom rechten Rand */
    margin-left: 10px; /* Abstand zwischen den Buttons */
}

.dim-background {
    background-color: rgba(0, 0, 0, 0.5);
}

#personalInfo.hidden, #edit-button.hidden {
    display: none;
}

.responsive-svg {
    width: 12%;
    height: auto;
}

#feedback-box {
    position: fixed;
    bottom: 10%; 
    left: 2%;
    width: 200px;
    height: 150px;
    background-color: rgba(12, 62, 101);
    color: #fff;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 25px;
    text-align: center;
    display:table-cell;
    vertical-align:middle;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: small;
    padding: 10px;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

#feedback-box.visible {
  transform: translateX(0);
  opacity: 1;
}

.feedback-tf {
    width: 100%;
    height: 70px;
    font-size: 13px;
    color: black;
}

#feedback-button {
    height: 40px;
    width: 150px;
    background-color: rgb(151, 3, 3);
    color: white;
    font-weight: bolder;
}

  /* Modal-Stil */
.feedbackModal {
    display: none; 
    position: fixed;
    z-index: 1; 
    left: 0; bottom: 0;
    width: 100%; height: 100%;
    background-color: rgb(0,0,0,0.5);
}
.feedbackModal-content {
    background-color: #fefefe; 
    position: fixed;
    padding: 20px;
    border: 1px solid #888; 
    width: 50%;
    height: 70%;
    overflow: auto;
    border-radius: 5px;
    top: 10%;
    left: 25%;
    
}
.close {
    color: #aaa; 
    float: right; 
    font-size: 28px; 
    font-weight: bold;
    cursor: pointer;
}
.close:hover {
    color: black;
}
.slider {
    width: 100%;
}
.form-group {
    margin-top: 15px;
}
button {
    padding: 10px 20px;
}
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    background: white;
    border-radius: 5px;
}
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: grey; /* Thumb-Farbe */
    border-radius: 50%;
    cursor: pointer;
}
.slider.custom-thumb::-webkit-slider-thumb {
    background: blue
}

html,body {padding:0;margin:0;}
.wrap {
  font:12px Arial, san-serif;
}
h1.likert-header {
  margin:00px 0 0;
}
form .statement {
  display:block;
  font-size: 14px;
  font-weight: bold;
  padding: 30px 0 0 4.25%;
  margin-bottom:10px;
}
form .likert {
  list-style:none;
  width:100%;
  margin:0;
  padding:0 0 35px;
  display:block;
  border-bottom:2px solid #c9c6c6;
}
form .likert:last-of-type {border-bottom:0;}
form .likert:before {
  content: '';
  position:relative;
  top:11px;
  left:9.5%;
  display:block;
  background-color:#efefef;
  height:4px;
  width:78%;
}
form .likert li {
  display:inline-block;
  width:19%;
  text-align:center;
  vertical-align: top;
}
form .likert li input[type=radio] {
  display:block;
  position:relative;
  top:0;
  left:50%;
  margin-left:-6px;
  
}
form .likert li label {width:100%;}
form .buttons {
  margin:00px 0;
  padding:0 4.25%;
  text-align:right
} 
form .buttons button {
  padding: 5px 10px;
  background-color: #67ab49;
  border: 0;
  border-radius: 3px;
}
form .buttons .clear {background-color: #e9e9e9;}
form .buttons .submit {background-color: #67ab49; margin-top: 10px;} 
form .buttons .clear:hover {background-color: #ccc;}
form .buttons .submit:hover {background-color: #14892c;} 

.ft-label {
    font-size: 14px;
}
.dropdown {
    width: 100%;
    max-height: 500px; /* Maximale Höhe des Dropdowns */
    overflow-y: auto; /* Vertikales Scrollen aktivieren */
    border: 2px solid #ccc;
}
.dropdown-button {
    cursor: pointer;
}

select {
    width: 100px; /* Breite anpassen */
    height: 30px; /* Höhe anpassen */
    font-size: 12px; /* Schriftgröße anpassen */
}

.ddown {
    border-bottom:2px solid #c9c6c6;
    padding-bottom:10px;
    display:block;
    padding-left: 50px;

}
.question {
    display: flex; /* Enable flexbox */
    justify-content: space-around; /* Align items horizontally */
}

.menu {
    margin-top: 30px;
}

footer {
    background-color: white;
    padding: 10px 20px;
    text-align: left;
    font-size: 14px;
    color: #555;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    z-index: 500;
}

footer p {
    margin: 0;
    margin-right: 5%;
}
footer button {
    margin: 0;
    margin-right: 5%;
 background-color: transparent; 
    border: none; 
    font-weight: bold;
    font-size: 16px; 
    cursor: pointer;
    transition: color 0.3s;
}

footer button:hover {
    color: #007BFF; /* Farbe beim Hover (z.B. Blau) */
}

#demotype-box {
    position: absolute;
    top: 24%; 
    right: 2%;
    width: 200px;
    height: 230px;
    background-color: rgb(255, 255, 255);
    color: #000000;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
    display:table-cell;
    vertical-align:middle;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: small;
    padding: 10px;
    transform: translateX(-100%);
    opacity: 0;
}

#demotype-box.visible {
  transform: translateX(0);
  opacity: 1;
}

.demotype-tf {
    width: 100%;
    height: 70px;
    font-size: 13px;
    color: black;
}

#demotype-button {
    height: 40px;
    width: 150px;
    background-color: #485c7a;
    color: white;
}

.larger-text {
  font-size: 20px;
  color:green
}

.zero-size {
  width: 0 !important;
  height: 0 !important;
}