/* Final polishing tabel Employee */

.app-shell .workspace .employee-workspace .hris-people-surface{
  border:1px solid #dfe9e3!important;
  border-radius:0!important;
  background:#ffffff!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
.app-shell .workspace .employee-workspace #employee-table-top{
  border-radius:0!important;
  overflow:auto!important;
  background:#fff!important;
}
.app-shell .workspace .employee-workspace .hris-people-table{
  width:100%!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  background:#fff!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-width-select{width:4%!important;}
.app-shell .workspace .employee-workspace .hris-people-table .people-width-name{width:23%!important;}
.app-shell .workspace .employee-workspace .hris-people-table .people-width-pin{width:10%!important;}
.app-shell .workspace .employee-workspace .hris-people-table .people-width-code{width:9%!important;}
.app-shell .workspace .employee-workspace .hris-people-table .people-width-dept{width:20%!important;}
.app-shell .workspace .employee-workspace .hris-people-table .people-width-job{width:15%!important;}
.app-shell .workspace .employee-workspace .hris-people-table .people-width-status{width:19%!important;}
/* eliminate rounded header from all nested ancestors, and keep selection narrow. */
.app-shell .workspace .employee-workspace .hris-people-surface,
.app-shell .workspace .employee-workspace #employee-table-top,
.app-shell .workspace .employee-workspace .hris-people-table,
.app-shell .workspace .employee-workspace .hris-people-table thead,
.app-shell .workspace .employee-workspace .hris-people-table thead tr,
.app-shell .workspace .employee-workspace .hris-people-table thead tr th{
 border-radius:0!important;clip-path:none!important;-webkit-clip-path:none!important;
}
.app-shell .workspace .employee-workspace .hris-people-table.has-selection th.people-check,
.app-shell .workspace .employee-workspace .hris-people-table.has-selection td.people-check{
 width:4%!important;max-width:4%!important;min-width:0!important;
 padding-left:3px!important;padding-right:3px!important;text-align:center!important;
}
.app-shell .workspace .employee-workspace .hris-people-table:not(.has-selection) .people-width-name{width:24%!important;}
.app-shell .workspace .employee-workspace .hris-people-table:not(.has-selection) .people-width-status{width:22%!important;}


.app-shell .workspace .employee-workspace .hris-people-table thead,
.app-shell .workspace .employee-workspace .hris-people-table thead tr,
.app-shell .workspace .employee-workspace .hris-people-table thead th,
.app-shell .workspace .employee-workspace .hris-people-table thead th:first-child,
.app-shell .workspace .employee-workspace .hris-people-table thead th:last-child{
  background:#eaf3ee!important;
  border-radius:0!important;
  clip-path:none!important;
  -webkit-clip-path:none!important;
  box-shadow:none!important;
}
.app-shell .workspace .employee-workspace .hris-people-table thead th{
  padding:12px 10px!important;
  border-bottom:1px solid #d7e5dc!important;
  border-right:1px solid #dfe9e3!important;
  color:#355948!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:.04em!important;
  text-align:center!important;
  vertical-align:middle!important;
}
.app-shell .workspace .employee-workspace .hris-people-table thead th:last-child{border-right:0!important;}

.app-shell .workspace .employee-workspace .hris-people-table tbody td{
  height:50px!important;
  padding:8px 12px!important;
  border-bottom:1px solid #edf2ee!important;
  border-right:1px solid #eef3f0!important;
  vertical-align:middle!important;
  color:#40554a!important;
  font-size:12px!important;
  background:#fff!important;
  overflow:hidden!important;
}
.app-shell .workspace .employee-workspace .hris-people-table tbody td:last-child{border-right:0!important;}
.app-shell .workspace .employee-workspace .hris-people-table tbody tr:nth-child(even) td{background:#fbfcfb!important;}
.app-shell .workspace .employee-workspace .hris-people-table tbody tr:hover td{background:#f4faf6!important;}
.app-shell .workspace .employee-workspace .hris-people-table tbody tr.is-picked td{background:#eef7f1!important;}

.app-shell .workspace .employee-workspace .hris-people-table .people-check{
  text-align:center!important;
  padding-left:0!important;
  padding-right:0!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-check input{
  width:16px!important;
  height:16px!important;
  margin:0 auto!important;
}

.app-shell .workspace .employee-workspace .hris-people-table .people-name-stack{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  min-width:0!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-name-stack > button{
  flex:0 1 auto!important;
  min-width:0!important;
  display:block!important;
  border:0!important;
  background:transparent!important;
  color:#173e31!important;
  font-size:12.5px!important;
  font-weight:700!important;
  line-height:1.35!important;
  text-align:left!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  padding:0!important;
  box-shadow:none!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-name-stack > button:hover,
.app-shell .workspace .employee-workspace .hris-people-table .people-name-stack > button:focus-visible{
  color:#0e8a61!important;
  background:transparent!important;
  outline:none!important;
  box-shadow:none!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-account-inline{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:9px!important;
  height:9px!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:0!important;
  line-height:0!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-account-inline i{
  width:8px!important;
  height:8px!important;
  border-radius:50%!important;
  display:block!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-account-inline.is-active i{background:#28a061!important;}
.app-shell .workspace .employee-workspace .hris-people-table .people-account-inline.is-inactive i{background:#c76f63!important;}

.app-shell .workspace .employee-workspace .hris-people-table .people-pin,
.app-shell .workspace .employee-workspace .hris-people-table .people-code,
.app-shell .workspace .employee-workspace .hris-people-table .people-job,
/* soft employment palette and compact, vertically stacked contract dates. */
.app-shell .workspace .employee-workspace .hris-people-table .people-status{
  display:flex!important;
  flex-direction:column!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  min-width:0!important;
  text-align:center!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-employment{
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  max-width:100%!important;
  padding:3px 9px!important;
  border-radius:6px!important;
  border:1px solid #e5eae6!important;
  background:#f5f7f6!important;
  color:#64756d!important;
  box-shadow:none!important;
  font-size:10.5px!important;
  font-weight:650!important;
  line-height:1.25!important;
  white-space:nowrap!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-employment.emp-type-permanent{
  background:#f0f7f2!important;border-color:#e0ebe3!important;color:#4a7b5b!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-employment.emp-type-contract{
  background:#f3f5f9!important;border-color:#e5eaf1!important;color:#61758c!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-employment.emp-type-outsourcing{
  background:#f8f6f2!important;border-color:#ede8e0!important;color:#807260!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-contract{
  display:inline-flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  max-width:100%!important;
  width:auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#75877b!important;
  font-size:9.5px!important;
  font-weight:550!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-contract .people-contract-label,
.app-shell .workspace .employee-workspace .hris-people-table .people-contract .people-contract-date{
  display:inline!important;
  margin:0!important;
  color:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  line-height:inherit!important;
  white-space:nowrap!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-contract.is-upcoming{color:#a08249!important;}
.app-shell .workspace .employee-workspace .hris-people-table .people-contract.is-expired{color:#b97569!important;}
.app-shell .workspace .employee-workspace .hris-people-table .people-empty{
  padding:26px 12px!important;
  text-align:center!important;
  color:#83958b!important;
}
.app-shell .workspace .employee-workspace .hris-people-pagination{
  margin:0!important;
  border:0!important;
  border-top:1px solid #e2ebe5!important;
  border-radius:0!important;
  background:#fafcfb!important;
  min-height:62px!important;
}

@media (max-width:1100px){
  .app-shell .workspace .employee-workspace .hris-people-table{min-width:980px!important;}
}

/* PIN first, status dot before name, contract information one line. */
.app-shell .workspace .employee-workspace .hris-people-table .people-name-stack{justify-content:flex-start!important;gap:8px!important;}
.app-shell .workspace .employee-workspace .hris-people-table .people-name-stack > button{flex:0 1 auto!important;}
/* Keep header flat even when shared table rules have corner rounding. */
.app-shell .workspace .employee-workspace #employee-table-top > .hris-people-table > thead > tr > th:first-child,
.app-shell .workspace .employee-workspace #employee-table-top > .hris-people-table > thead > tr > th:last-child{border-radius:0!important;}

/* Legibility polish only. Preserve geometry and square header. */
.app-shell .workspace .employee-workspace .hris-people-table tbody td{
  font-size:12.5px!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-name-stack > button{
  font-size:13.2px!important;
  font-weight:730!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-pin code,
.app-shell .workspace .employee-workspace .hris-people-table .people-code code{
  font-size:11.1px!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-department strong{
  font-size:12.5px!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-department small{
  font-size:11px!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-job{
  font-size:12.3px!important;
  font-weight:600!important;
  color:#405e50!important;
}

/* adjust Employee column proportions without changing table structure. */
.app-shell .workspace .employee-workspace .hris-people-table .people-width-name{width:21%!important;}
.app-shell .workspace .employee-workspace .hris-people-table .people-width-dept{width:22%!important;}
.app-shell .workspace .employee-workspace .hris-people-table:not(.has-selection) .people-width-name{width:22%!important;}
.app-shell .workspace .employee-workspace .hris-people-table:not(.has-selection) .people-width-dept{width:22%!important;}

/* Employee Schedule headings and department hierarchy mirror Employee. */
.app-shell .workspace .schedule-panel .employee-schedule-table thead tr > th,
.app-shell .workspace .schedule-panel .employee-schedule-table thead tr > th:first-child,
.app-shell .workspace .schedule-panel .employee-schedule-table thead tr > th:last-child{
  text-align:center!important;
  vertical-align:middle!important;
  font-weight:750!important;
}
.app-shell .workspace .schedule-panel .employee-schedule-table td.employee-schedule-department{
  text-align:left!important;
  vertical-align:middle!important;
}
.app-shell .workspace .schedule-panel .employee-schedule-table .employee-schedule-department-content{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
  max-width:100%;
  align-items:flex-start;
  line-height:1.3;
}
.app-shell .workspace .schedule-panel .employee-schedule-table .employee-schedule-department-content strong{
  display:block;
  color:#264c3c;
  font-weight:700;
  font-size:11.5px;
  line-height:1.3;
  max-width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.app-shell .workspace .schedule-panel .employee-schedule-table .employee-schedule-department-content small{
  display:block;
  font-size:10px;
  font-weight:400;
  color:#86988d;
  line-height:1.3;
  max-width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}


/* one single line for department hierarchy on BOTH Employee tables. */
.app-shell .workspace .employee-workspace .hris-people-table .people-department,
.app-shell .workspace .schedule-panel .employee-schedule-table .employee-schedule-department-content{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:baseline!important;
  justify-content:flex-start!important;
  gap:4px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  white-space:nowrap!important;
  line-height:1.35!important;
  overflow:hidden!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-department > strong,
.app-shell .workspace .schedule-panel .employee-schedule-table .employee-schedule-department-content > strong{
  display:inline-block!important;
  flex:0 1 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:700!important;
  color:#294e3e!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.app-shell .workspace .employee-workspace .hris-people-table .people-department > small,
.app-shell .workspace .schedule-panel .employee-schedule-table .employee-schedule-department-content > small{
  display:inline-block!important;
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  font-size:10.5px!important;
  line-height:1.35!important;
  font-weight:400!important;
  color:#84948b!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
/* Prevent old schedule two-line layout from increasing row height. */
.app-shell .workspace .schedule-panel .employee-schedule-table td.employee-schedule-department{
  vertical-align:middle!important;
}


/* Employee Schedule: centered bold headers, compact shift, clear dates. */
.app-shell .workspace .schedule-panel .employee-schedule-table > thead > tr > th,
.app-shell .workspace .schedule-panel .employee-schedule-table > thead > tr > th:first-child,
.app-shell .workspace .schedule-panel .employee-schedule-table > thead > tr > th:last-child{
  text-align:center!important;
  vertical-align:middle!important;
  font-weight:800!important;
  letter-spacing:.025em;
}
/* The smaller SHIFT field gives its space to the two effective-date columns. */
.app-shell .workspace .schedule-panel .employee-schedule-table th:nth-child(1),
.app-shell .workspace .schedule-panel .employee-schedule-table td:nth-child(1){width:24%!important;}
.app-shell .workspace .schedule-panel .employee-schedule-table th:nth-child(2),
.app-shell .workspace .schedule-panel .employee-schedule-table td:nth-child(2){width:20%!important;}
.app-shell .workspace .schedule-panel .employee-schedule-table th:nth-child(3),
.app-shell .workspace .schedule-panel .employee-schedule-table td:nth-child(3){width:13%!important;}
.app-shell .workspace .schedule-panel .employee-schedule-table th:nth-child(4),
.app-shell .workspace .schedule-panel .employee-schedule-table td:nth-child(4),
.app-shell .workspace .schedule-panel .employee-schedule-table th:nth-child(5),
.app-shell .workspace .schedule-panel .employee-schedule-table td:nth-child(5){width:15.5%!important;}
.app-shell .workspace .schedule-panel .employee-schedule-table th:nth-child(6),
.app-shell .workspace .schedule-panel .employee-schedule-table td:nth-child(6){width:12%!important;}
.app-shell .workspace .schedule-panel .employee-schedule-table td:nth-child(4),
.app-shell .workspace .schedule-panel .employee-schedule-table td:nth-child(5){
  font-size:12px!important;
  font-weight:650!important;
  color:#456052!important;
  font-variant-numeric:tabular-nums!important;
}
.app-shell .workspace .schedule-panel .employee-schedule-table .employee-schedule-name-line{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.app-shell .workspace .schedule-panel .employee-schedule-table .employee-schedule-name-line > b{
  min-width:0;
  flex:1 1 auto;
  font-weight:700!important;
}
.app-shell .workspace .schedule-panel .employee-schedule-table .employee-schedule-active-dot{
  width:7px;
  height:7px;
  flex:0 0 7px;
  display:inline-block;
  border-radius:50%;
  background:#b77a71;
}
.app-shell .workspace .schedule-panel .employee-schedule-table .employee-schedule-active-dot.is-active{background:#23a063;}
.app-shell .workspace .schedule-panel .employee-schedule-table .employee-schedule-active-dot.is-inactive{background:#c17971;}


/* compact Employee work information: one physical table column and
   ONE line of Jabatan · Departemen · Perusahaan · Vendor (where applicable).
   Scope strictly to active Employee listing; inactive, Report and exports
   retain their established layout. */
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table{
  table-layout:fixed!important;width:100%!important;
}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table col.people-width-pin{width:9%!important}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table col.people-width-name{width:22%!important}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table col.people-width-code{width:8%!important}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table col.people-width-work{width:46%!important}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table col.people-width-status{width:15%!important}
.app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table tbody td.ui-employee-work{
  min-width:0!important;text-align:left!important;padding:8px 11px!important;
}
.app-shell .workspace .employee-workspace .ui-work-line{
  display:block;width:100%;min-width:0;max-width:100%;
  white-space:normal;overflow:visible;line-height:1.35;
}
.app-shell .workspace .employee-workspace .ui-work-piece{
  display:inline;max-width:none;min-width:0;
  overflow:visible;text-overflow:clip;white-space:normal;
  overflow-wrap:break-word;
  font-size:11.5px;font-weight:450;color:#526c5f;
}
.app-shell .workspace .employee-workspace .ui-work-job{
  font-weight:740;color:#184f3c;
}
.app-shell .workspace .employee-workspace .ui-work-department{
  color:#426453;font-weight:570;
}
.app-shell .workspace .employee-workspace .ui-work-company{
  color:#6c8576;font-size:10.9px;font-style:normal;
}
/* Vendor Outsourcing is always a separate italic text segment, never a badge.
   Inline flow consumes the whole available width before wrapping naturally. */
.app-shell .workspace .employee-workspace em.ui-work-piece.ui-work-vendor{
  color:#6c8576;background:transparent;border:0;border-radius:0;
  font-size:10.9px;font-weight:450;font-style:italic!important;
  padding:0;
}
.app-shell .workspace .employee-workspace .ui-work-separator{
  display:inline;color:#b5c6ba;font-size:12px;margin:0 4px;
}
.app-shell .workspace .employee-workspace .ui-work-empty{color:#91a398}
@media(max-width:1100px){
  .app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table{min-width:1000px!important}
}
@media(max-width:767px){
  .app-shell .workspace .employee-workspace .hris-people-table.ui-compact-work-table{min-width:960px!important}
}
