.list-group-item {
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: flex-start; /* Ensures vertical alignment with the first line of text */
    background-color: #f8f9fa; /* Light gray background on hover */
 
}

.list-group-item:hover {
    background-color: #f0f0f0; /* Slightly different gray to increase hover effect */
}

.list-group-item.active,
.list-group-item.active:hover {
    background-color: #682f9b !important; /* Bootstrap Primary Color */
    border-color: #682f9b !important;
    color: white !important;
}

.list-group-item .form-check {
    min-width: 30px; /* Ensures space for the radio button */
    margin-right: 10px; /* Space between radio button and text */
}

.list-group-item .form-check-input {
    margin-top: 4px; /* Adjusted to align properly with the first line */
    vertical-align: top; /* Aligns with the top line of the text */
}

.list-group {
    border-radius: 0px;
}

.list-group-item-text {
    flex-grow: 1; /* Allows the text to take up the remaining space */
    padding-left: 20px; /* More consistent text padding */
    padding-bottom: 20px;
    line-height: 150%;
}

.progress {
    --bs-progress-bar-bg: #682f9b;
}

.clickable-card {
    cursor: pointer;
    transition: background-color 0.3s ease;
    background-color: #f8f9fa;
    margin-top: 15px;
    border-width: 1px;
    border-color: rgba(0, 0, 0, 0.176);
    border-radius: 0px;
}

.clickable-card:hover{
    background-color: #f0f0f0; /* add the hover color you want */
}

.clickable-card.active {
    background-color: #682f9b; /* Change this color to desired active card color */
    color: white !important;
}
  
.clickable-card input,
.clickable-card label {
    pointer-events: none;
}

#form-page5 .card {
    margin-bottom: 20px;
}

#pa2-form-container input[type="text"],
#pa2-form-container select {
    border: 1px solid #ccc; /* gleiche Farbe und Breite wie die Textfelder */
    border-radius: 0; /* keine abgerundeten Ecken */
    padding: 10px; /* gleiche Größe wie die Textfelder */
    font-size: 16px; /* gleiche Schriftgröße */
    box-shadow: none; /* keinen Schatten */
}

#pa2-form-container .alert-danger,
#pa2-form-container .card,
#pa2-form-container .card-header {
    border-radius: 0px !important;
}

.flex-row .col-md-4 {
    display: flex;
    flex: 1 0 0%; /* flex-grow, flex-shrink, flex-basis */
    padding: 5px; /* Justierung des Innenabstands */
}

.flex-row .card {
    flex-grow: 1; /* Lässt die Karte den verfügbaren Platz ausfüllen */
    margin: 10px; /* Abstand zwischen den Karten */
    width: 100%; /* Stellt sicher, dass die Karte die Breite ihres Containers ausfüllt */
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000; /* Ein hoher z-index Wert */
  }
  
  .popup-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1001; /* Sogar höher als der Overlay */
  }
  
  
  .loading-text {
    color: #FFF;
    margin-top: 40px;
  }
  
  .loader {
    width: 48px;
    height: 48px;
    display: block;
    margin:15px auto;
    position: relative;
    color: #FFF;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
  }
  .loader::after,
  .loader::before {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    width: 24px;
    height: 24px;
    top: 0;
    background-color: #FFF;
    border-radius: 50%;
    animation: scale50 1s infinite ease-in-out;
  }
  .loader::before {
    top: auto;
    bottom: 0;
    background-color: #682f9b;
    animation-delay: 0.5s;
  }
  
  @keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  } 
  @keyframes scale50 {
    0%, 100% {
      transform: scale(0);
    }
    50% {
      transform: scale(1);
    }
  } 