/* V9.152: Statistics filter opens from the "Bộ lọc" button next to the Neo Mooc tab. */
.statistics-panel .statistics-head>.statistics-tabs>button.statistics-filter-open{margin-left:6px;border:1px solid var(--primary)!important;background:var(--surface,#fff);color:var(--primary);font-weight:700}
.statistics-panel .statistics-head>.statistics-tabs>button.statistics-filter-open:hover{background:var(--primary);color:#fff}
.statistics-panel .statistics-head>.statistics-tabs>button.statistics-filter-open{display:inline-flex!important;align-items:center;gap:5px}
.statistics-filter-dialog{width:min(1040px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid var(--line);border-radius:16px;background:var(--surface,#fff);color:var(--text);box-shadow:0 18px 50px #0f223a40;overflow:auto}
.statistics-filter-dialog::backdrop{background:#0f223a66}
.statistics-filter-dialog>header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line);background:var(--surface,#fff)}
.statistics-filter-dialog>header h3{margin:0;font-size:16px}
.statistics-filter-dialog>header button{width:36px;height:36px;border:0;border-radius:10px;background:var(--surface-soft);color:var(--text);font-size:22px;line-height:1;cursor:pointer}
.statistics-panel .statistics-filter-dialog .statistics-filter{display:flex!important;flex-wrap:wrap;align-items:flex-end;gap:10px!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:14px 16px 16px!important}
.statistics-panel .statistics-filter-dialog .statistics-filter>.statistics-quick{order:-1;flex:1 1 100%;display:flex!important;flex-wrap:wrap;gap:6px}
.statistics-panel .statistics-filter-dialog .statistics-filter>a.soft-button{display:inline-flex!important;align-items:center;justify-content:center;text-decoration:none}
@media(max-width:700px){
  .statistics-panel .statistics-filter-dialog .statistics-filter>label{flex:1 1 100%}
  .statistics-panel .statistics-filter-dialog .statistics-filter>.primary-button,.statistics-panel .statistics-filter-dialog .statistics-filter>a.soft-button{flex:1 1 100%;width:100%!important}
}
