/* EasyLearning 3.1.30.58 – přehledné přiřazování kurzů, testů a karet ve skupinách. */
#groupForm .el58-material-section .el58-group-search{flex:2 1 380px;min-width:min(100%,280px)}
#groupForm .el58-material-section .el58-group-search input{min-height:50px;font-size:15px}
#groupForm .el58-material-section .group-material-filters{gap:12px;padding:15px;border-radius:13px}
#groupForm .el58-material-section .group-check-list{max-height:min(76vh,880px);height:auto;overflow-y:auto;overflow-x:hidden;display:grid;grid-template-columns:1fr;gap:7px;padding:5px 8px 8px 2px;align-content:start;scrollbar-gutter:stable;scroll-padding-top:12px}
#groupForm .el58-material-section.el58-list-expanded .group-check-list{max-height:none;overflow:visible;scrollbar-gutter:auto}
#groupForm .el58-list-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;margin:13px 0 7px}
#groupForm .el58-list-toolbar .hint{margin:0}
#groupForm .el58-list-toolbar button{white-space:normal}
#groupForm .el58-material-item{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;column-gap:12px;row-gap:4px;min-height:62px;padding:10px 14px;border:1px solid #dce5eb;border-radius:11px;background:#fff;margin:0;color:#24465c;box-shadow:none}
#groupForm .el58-material-item:has(input:checked){background:#edf5fa;border-color:#9cbdd4}
#groupForm .el58-material-item .el58-material-label{display:flex;flex:1 1 285px;align-items:center;flex-direction:row;gap:13px;min-width:0;margin:0;cursor:pointer;color:#1c394d;font-size:13px;line-height:1.4}
#groupForm .el58-material-item .el58-material-label input{flex:0 0 19px;width:19px;height:19px;min-height:0;margin:0;accent-color:#356d75}
#groupForm .el58-material-item .el58-material-description{min-width:0;flex:1;overflow-wrap:anywhere}
#groupForm .el58-material-item .el58-material-description strong{font-size:14px;font-weight:730;line-height:1.45}
#groupForm .el58-material-item .el58-material-description small{display:block;margin-top:3px;font-size:12px;font-weight:450;line-height:1.4;color:#66798a}
#groupForm .el58-material-item .el58-material-description .el51-badge{display:inline-flex;margin-left:5px;vertical-align:middle}
#groupForm .el58-material-item .el58-material-actions{display:flex;align-items:center;gap:8px;flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end;margin-left:auto;min-width:0}
#groupForm .el58-material-item .el57-id-chip{margin:0;padding:6px 9px;font-size:12px;border-color:#b9d0d5;background:#f8fbfa}
#groupForm .el58-material-item .el57-id-chip strong{font-size:12px}
#groupForm .el58-material-item .el316-group-order{margin-left:0}
#groupForm .el58-material-item .el316-group-order .btn{min-height:32px;padding:5px 9px}
#groupForm .el58-material-item .el58-id-missing{font-size:12px;color:#83909b}
@media(max-width:740px){
 #groupForm .el58-material-section .group-check-list{max-height:min(68vh,720px);padding:3px 2px 8px 0;scrollbar-gutter:auto}
 #groupForm .el58-material-item{align-items:flex-start;padding:11px;gap:8px}
 #groupForm .el58-material-item .el58-material-label{flex:1 1 100%}
 #groupForm .el58-material-item .el58-material-actions{justify-content:space-between;width:100%;margin-left:30px;gap:6px}
 #groupForm .el58-material-item .el316-group-order{margin-left:auto}
}
@media(max-width:400px){
 #groupForm .el58-material-item .el58-material-actions{margin-left:0}
 #groupForm .el58-material-item .el57-id-chip{white-space:nowrap}
 #groupForm .el58-material-item .el316-group-order .btn{padding:5px 8px}
}
/* Původní styl seznamu formátoval vnořený label jako druhou kartu.
   Jediný rámeček patří řádku; samotný label zůstává čistou klikací oblastí. */
#groupForm .el58-material-section .group-check-list .el58-material-label{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}

#groupForm .el58-group-context{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:10px 12px;margin-bottom:18px;border:1px solid #dae8e5;border-radius:9px;background:#f3f9f7;font-size:12px;font-weight:650;color:#526a6d}
#groupForm .el58-group-context .el57-id-chip{margin:0}
