.star {
    cursor: pointer;
    font-size: 24px;
    color: gold;
}

.star-grey {
    color: #ccc;
}

.topic-description {
    font-size: 16px;
    margin-top: 5px;
    display: none;
}

.module {
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
}

.module-description {
    font-size: 13.5px;
    margin-top: 5px;
    display: none;
}

.topic-header {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.topic-icon {
    margin-right: 10px;
    color: #ffa500;
    /* Farbe des Icons */
}

.topic-title {
    font-weight: bold;
    text-align: left;
    margin: 0 auto;
    /* Zentriert den Text waagerecht */
    width: 100%;
}

.status-bar-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.status-bar-label {
    font-weight: bold;
    margin-right: 10px;
    /* Abstand zwischen Label und Statusleiste */
    white-space: nowrap;
    /* Verhindert Zeilenumbrüche im Label */
}

.status-bar-container {
    flex-grow: 1;
    /* Nimmt den verbleibenden Raum ein */
    height: 20px;
    background-color: #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.status-bar {
    height: 100%;
    border-radius: 5px;
    /* Die Füllfarben werden dynamisch aus PHP gesetzt */
}

body {
    background-color: #f8f9fa
}

.card {
    border: none;
    border-radius: 10px
}

.c-details span {
    font-weight: 300;
    font-size: 13px
}

.icon {
    width: 50px;
    height: 50px;
    background-color: #eee;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 39px
}

.badge span {
    background-color: #fffbec;
    width: 60px;
    height: 25px;
    padding-bottom: 3px;
    border-radius: 5px;
    display: flex;
    color: #fed85d;
    justify-content: center;
    align-items: center
}

.progress {
    height: 10px;
    border-radius: 10px
}

.progress div {
    background-color: red
}

.text1 {
    font-size: 14px;
    font-weight: 600
}

.text2 {
    color: #a5aec0;
    font-size: 14px;
}

.mt-5 {
    margin-top: 1rem !important;
}

.topic-container {
    display: flex;
    align-items: center;
    /* Zentriert die Elemente vertikal */
}

.topic-icon {
    margin-right: 10px;
    /* Fügt etwas Abstand zwischen Icon und Titel hinzu */
}

.fa-chevron-right {
    color: black;
}

.fa-chevron-down {
    color: black;
}

.student-name {
    display: inline-block;
    /* Ermöglicht Zeilenumbrüche */
    margin: 0;
    /* Entfernt Standardmargen */
}

.student-name-part {
    display: inline-block;
    /* Ermöglicht individuelle Behandlung der Teile */
    white-space: nowrap;
    /* Verhindert Zeilenumbrüche innerhalb des Namens */
}

.star-non-interactive {
    cursor: pointer;
    font-size: 24px;
    color: gold;
}

.star-non-interactive.star-grey {
    color: #ccc;
}

.star-non-interactive,
.star-non-interactive.star-grey {
    cursor: default;
}

body {
    background-color: #f8f9fa;
    font-family: 'Arial', sans-serif;
}

.container {
    padding: 20px;
}

.btn {
    margin: 5px 0;
}

.modal-body {
    background-color: #fff;
}

.site-container {
    display: grid;
    grid-template-rows: 1fr auto;
    /* 1fr für den Inhalt, auto für die Größe des Footers */
    min-height: 100vh;
    /* Mindesthöhe auf die Höhe des Viewports setzen */
}

.content {
    min-height: 100%;
    /* Minimale Höhe des Inhalts ist 100% des Viewports */
    display: flex;
    flex-direction: column;
    /* Ermöglicht die Verwendung von Flexbox */
}

.footer {
    margin-top: auto;
    /* Schiebt den Footer automatisch an den unteren Rand */
    background: #f8f9fa;
    /* Hintergrundfarbe des Footers */
    padding: 10px 0;
    /* Padding oben und unten für den Footer */
    text-align: center;
    /* Zentriert den Text im Footer */
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
}

.py-8 {
    padding-bottom: 4.5rem !important;
    padding-top: 4.5rem !important
}

@media(min-width:576px) {
    .py-sm-8 {
        padding-bottom: 4.5rem !important;
        padding-top: 4.5rem !important
    }
}

@media(min-width:768px) {
    .py-md-8 {
        padding-bottom: 4.5rem !important;
        padding-top: 4.5rem !important
    }
}

@media(min-width:992px) {
    .py-lg-8 {
        padding-bottom: 4.5rem !important;
        padding-top: 4.5rem !important
    }
}

@media(min-width:1200px) {
    .py-xl-8 {
        padding-bottom: 4.5rem !important;
        padding-top: 4.5rem !important
    }
}

@media(min-width:1400px) {
    .py-xxl-8 {
        padding-bottom: 4.5rem !important;
        padding-top: 4.5rem !important
    }
}

.bsb-btn-xl {
    --bs-btn-padding-y: 0.625rem;
    --bs-btn-padding-x: 1.25rem;
    --bs-btn-font-size: calc(1.26rem + 0.12vw);
    --bs-btn-border-radius: var(--bs-border-radius-lg)
}

@media(min-width:1200px) {
    .bsb-btn-xl {
        --bs-btn-font-size: 1.35rem
    }
}

.bsb-btn-2xl {
    --bs-btn-padding-y: 0.75rem;
    --bs-btn-padding-x: 1.5rem;
    --bs-btn-font-size: calc(1.27rem + 0.24vw);
    --bs-btn-border-radius: var(--bs-border-radius-lg)
}

@media(min-width:1200px) {
    .bsb-btn-2xl {
        --bs-btn-font-size: 1.45rem
    }
}

.bsb-btn-3xl {
    --bs-btn-padding-y: 0.875rem;
    --bs-btn-padding-x: 1.75rem;
    --bs-btn-font-size: calc(1.28rem + 0.36vw);
    --bs-btn-border-radius: var(--bs-border-radius-lg)
}

@media(min-width:1200px) {
    .bsb-btn-3xl {
        --bs-btn-font-size: 1.55rem
    }
}

.bsb-btn-4xl {
    --bs-btn-padding-y: 1rem;
    --bs-btn-padding-x: 2rem;
    --bs-btn-font-size: calc(1.29rem + 0.48vw);
    --bs-btn-border-radius: var(--bs-border-radius-lg)
}

@media(min-width:1200px) {
    .bsb-btn-4xl {
        --bs-btn-font-size: 1.65rem
    }
}

.bsb-btn-5xl {
    --bs-btn-padding-y: 1.125rem;
    --bs-btn-padding-x: 2.25rem;
    --bs-btn-font-size: calc(1.3rem + 0.6vw);
    --bs-btn-border-radius: var(--bs-border-radius-lg)
}

@media(min-width:1200px) {
    .bsb-btn-5xl {
        --bs-btn-font-size: 1.75rem
    }
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

.section-container {
    text-align: center;
    margin-bottom: 20px;
}

.section-header {
    background-color: #007bff;
    color: white;
    padding: 10px 30px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    display: inline-block;
}

.section-header h4 {
    margin: 0;
}

/* Stelle sicher, dass der Hauptinhalt zunächst versteckt ist */
#main-content {
    display: none;
}

/* Spinner zentrieren */
#loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* CSS für die runde Suchleiste */
input#studentSearch {
    border-radius: 50px;
    padding-left: 20px; /* optional für mehr Platz am linken Rand */
}
