.fux-student-picker-btn {
    margin-top: 6px;
}

/* Breiteres Modal */
.fux-student-picker-modal .modal-dialog {
    width: 90%;
    max-width: 940px;
}

/* Werkzeugleiste bleibt beim Scrollen oben */
.fux-student-picker-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
}

.fux-student-picker-search {
    flex: 1 1 220px;
    min-width: 180px;
}

.fux-student-picker-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.fux-student-picker-counter {
    margin-left: 4px;
}

.fux-student-picker-list {
    max-height: 55vh;
    overflow-y: auto;
    column-width: 250px;
    column-gap: 16px;
}

.fux-student-picker-option {
    display: block;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin: 0 0 2px 0;
    padding: 4px 8px;
    font-weight: normal;
    border-radius: 3px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fux-student-picker-option:hover {
    background-color: #eef6ee;
}

.fux-student-picker-option input[type="checkbox"] {
    margin-right: 8px;
    vertical-align: middle;
}

.fux-student-picker-label {
    vertical-align: middle;
}

.fux-student-picker-option input[type="checkbox"]:checked + .fux-student-picker-label {
    font-weight: bold;
}

.fux-student-picker-option.fux-hidden {
    display: none;
}

.fux-student-picker-no-results {
    margin-top: 10px;
}
