
/* --- LMS Custom CSS --- */

body {
  word-break: break-word;
  hyphens: auto;
}
div.whitecol i {
  color: inherit !important;
}

/* Buttons */
.btn-circle {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-circle.btn-sm {
  width: 28px;
  height: 28px;
  line-height: 28px;
}

.btn-circle i {
  line-height: 1;
  font-size: 14px !important;
  vertical-align: middle;
}

.btn-sm {
  --bs-btn-padding-x: 0.8rem !important;
}

/* Utility classes */
.text-soft-dark {
  color: #4a4a4a !important;
  opacity: 1 !important;
}

.text-gradient.text-soft-dark, .text-gradient-soft-dark { 
  background-image: linear-gradient(310deg, #8392AB, #E9ECEF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.mb-6 {
  margin-bottom: 4rem !important;
}

.timeline-step {
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f0f0f0;
}

.badge-sm {
  font-size: 0.7rem;
  padding: 0.25em 0.5em;
}

.btn {
  transition: all 0.2s ease-in-out;
}

.btn:hover {
  transform: scale(1.05);
}

.alert-container {
  position: fixed;
  top: 90px;
  right: 30px;
  width: auto;
  height: auto;
  max-width: 320px;
  z-index: 2500;
}

.alert-container .alert {
  transform: translateX(100%);
  animation: slideIn 0.4s forwards;
  padding: 5px !important;
  font-size: 14px;
  color: #FFFFFF;
}

@keyframes slideIn {
  to {
    transform: translateX(0);
  }
}

.custom-checkbox .form-check-input {
  float: none;
  margin-left: 0.25rem;
  width: 28px;
  height: 28px;
}

.custom-checkbox {
  padding-left: 0 !important;
}

.custom-checkbox .form-check-label {
  margin-bottom: 0 !important;
  border-radius: 0.5rem;
}
.custom-checkbox .form-check-input:checked[type="checkbox"] {
  background-image: linear-gradient(310deg, #7928CA 0%, #FF0080 100%) !important;
  border-color: var(--bs-primary) !important;
}

.custom-checkbox .form-check-input:focus[type="checkbox"] {
  box-shadow: 0 0 0 0.25rem rgba(233, 174, 222, 0.8);
}

/* Button vergroessern */
.grow-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  overflow: hidden;
  white-space: nowrap;
  width: 2.5rem;
}
.grow-button .text {
  opacity: 0;
  width: 0;
  transition: all 0.3s ease;
  overflow: hidden;
}
.grow-button:hover {
  width: 12rem;
  padding-right: 1rem;
}
.grow-button:hover .text {
  opacity: 1;
  width: auto;
}


/* =============================================== */
/* Custom Styles für das globale Select2-Dropdown  */
/* =============================================== */

.select2-container--default .select2-selection--single {
    border: 1px solid #d2d6da !important;
    border-radius: 0.5rem !important;
    padding: 0.5rem 0.75rem !important;
}

.select2-container .select2-selection--single {
    height: auto !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 3px !important;
}
/* geschlossener Zustand */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 0.875rem;
    font-weight: 400 !important;
    line-height: 1.4rem !important;
    color: #495057;
}

/* aufklappende Dropdown-Liste */
.select2-results__option {
    font-size: 0.875rem;
}

/* =============================================== */
/* Styling für den "Limbo"-Modus                   */
/* =============================================== */
body.in-limbo-mode .sidenav,
body.in-limbo-mode .navbar-main .navbar-nav {
    pointer-events: none;
    opacity: 0.5;
}
/* Stellt sicher, dass der Logout-Button im Limbo-Modus klickbar bleibt */
body.in-limbo-mode .navbar-main .nav-item a[href*="logout"] {
    pointer-events: auto !important;
    opacity: 1 !important;
}

/* =============================================== */
/* Custom Scrollbar Styling (cleaner Look & Feel)  */
/* =============================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #ced4da;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #adb5bd;
}

/* =============================================== */
/* Fix: Modal content scrolling on small screens   */
/* =============================================== */
.modal-body {
  max-height: 65vh;
  overflow-y: auto;
}

/* =============================================== */
/* Tendenz-Antwort-Anzeige Styling                 */
/* =============================================== */
.tendency, .tendency-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 450px;
}

.tendency-pole-left, .tendency-pole-right {
  font-size: 0.8rem;
  color: #6c757d;
  flex-basis: 100px;
}

.tendency-pole-left {
  text-align: left;
}

.tendency-pole-right {
  text-align: right;
}

.tendency-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 !important;
  padding: 0 !important;
}

.tendency-item .form-check-input {
  margin: 0;
  border-color: var(--bs-body-color);
}

.form-check:not(.form-switch) .form-check-input[type="radio"]:checked {
  padding: 5px;
  border-color: var(--bs-body-color);
}

.tendency-circles {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-grow: 1;
}

.tendency-circle {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #e9ecef;
  background-color: #ffffff;
}

.tendency-circle.selected {
  background-color: #344767;
  border-color: #344767;
}
