/* Гридът на админ екраните в „Управление на таланти“ — пренесен от DevExtreme грида в CL.Web. */
.clg-wrap { padding: 16px 30px 90px; }
.clg-wrap, .clg-wrap * { font-size: 16px; }

/* Експортът стои над грида, вдясно — както бутона „xlsx“ в DevExtreme. */
.clg-tools { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.clg-export { display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border: 1px solid #e0e0e0; background: #fff; color: #5b6273;
    border-radius: 4px; cursor: pointer; }
.clg-export svg { width: 18px; height: 18px; }
.clg-export:hover { background: #f5f6f8; }

.clg-scroll { overflow-x: auto; }
.clg-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.clg-grid th, .clg-grid td {
    border: 1px solid #e0e0e0; padding: 10px 12px; text-align: left; vertical-align: middle;
    overflow: hidden; text-overflow: ellipsis;
}
.clg-grid thead th { color: #2b303b; font-weight: 400; background: #fff; }
.clg-head-cell { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.clg-funnel { color: #b0b6bf; flex: 0 0 auto; }

/* Редът с търсачките: полето няма своя рамка — клетката му е рамката. */
.clg-filter th { padding: 6px 12px; }
.clg-search { display: flex; align-items: center; gap: 8px; color: #8a9099; }
.clg-search input { border: 0; outline: 0; width: 100%; font: inherit; color: #2b303b; background: transparent; }
.clg-search input::-webkit-search-cancel-button { display: none; }

.clg-grid tbody td { color: #2b303b; }
.clg-grid tbody tr:hover td { background: #fafbfc; }
.user-name { color: #0a58ca; text-decoration: underline !important; cursor: pointer; }
.user-name:hover { color: black; text-decoration: underline !important; }
.clg-blank { padding: 0; }

/* Долната лента: размерите на страницата вляво, броячът и страниците вдясно. */
.clg-pager { display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; padding: 12px 0; color: #8a9099; }
.clg-sizes, .clg-pages { display: flex; align-items: center; gap: 4px; }
.clg-pages .clg-info { margin-right: 12px; }
.clg-btn { min-width: 30px; text-align: center; padding: 4px 10px; border: 0; background: transparent;
    color: #5b6273; border-radius: 4px; cursor: pointer; }
.clg-btn:hover { background: #f2f4f7; }
.clg-btn.is-active { background: #eceff3; color: #2b303b; }


/* Табовете на екрана стоят над грида. */
.ccr-tabs { margin-bottom: 12px; }

/* Иконката на експорта е тиха: тънък щрих в сиво. */
.clg-export svg { stroke: #8a9099; stroke-width: 1.5; }

/* ----- /js/cl-grid.js: фунийката в антетката, панелите и изборът на колони ----- */
.clg-hf { display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent;
    padding: 2px; color: #b0b6bf; cursor: pointer; line-height: 1; }
.clg-hf:hover { color: #5b6273; }
.clg-hf.is-filtered { color: #337ab7; }
.clg-chooser { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
    border: 1px solid #ddd; background: #fff; color: #333; border-radius: 4px; cursor: pointer; }
.clg-chooser:hover { background: #e6e6e6; }
.clg-panel { position: absolute; z-index: 1600; min-width: 220px; max-width: 320px; background: #fff;
    border: 1px solid #ddd; box-shadow: 0 1px 3px rgba(0, 0, 0, .24); padding: 6px 0; font-size: 14px; color: #333; }
.clg-panel-title { padding: 6px 12px 8px; font-size: 16px; border-bottom: 1px solid #eee; margin-bottom: 4px; }
.clg-panel-list { max-height: 260px; overflow-y: auto; }
.clg-panel-list label { display: flex; align-items: center; gap: 8px; padding: 5px 12px; margin: 0; cursor: pointer; }
.clg-panel-list label:hover { background: #f5f5f5; }
.clg-panel-list input { margin: 0; }
.clg-panel-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 8px 12px 4px; border-top: 1px solid #eee; margin-top: 4px; }
.clg-panel-foot .dx-button { min-width: 70px; min-height: 30px; }
.clg-panel-foot .dx-button .dx-button-content { padding: 4px 12px; }
