/* =========================================================
   EMPLOYEE STATUS FEATURE CSS — isolated scope
   ========================================================= */
.employee-status-page{max-width:1400px;margin:0 auto}.employee-status-breadcrumb{display:flex;align-items:center;gap:8px;color:#71829b;font-size:10px;margin:0 0 18px}.employee-status-breadcrumb span:first-child{color:#203653;font-weight:700}.employee-status-breadcrumb b{color:#9aa8b9;font-size:13px}.employee-status-breadcrumb strong{color:#526783}.employee-status-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:17px}.employee-status-kicker{font-size:9px;color:#216bd0;font-weight:800;letter-spacing:.6px;margin-bottom:5px}.employee-status-heading h1,.employee-status-form-heading h1{margin:0;font-size:25px;color:#132943}.employee-status-heading p,.employee-status-form-heading p{margin:5px 0 0;color:#667892;font-size:11px}.employee-status-tabs{display:flex;align-items:flex-end;gap:0;width:max-content;max-width:100%;margin:0 0 -1px;border-bottom:1px solid #dbe3ed;overflow-x:auto;scrollbar-width:thin}.employee-status-tabs button{position:relative;flex:0 0 auto;min-width:210px;border:1px solid transparent;border-bottom:0;background:transparent;border-radius:9px 9px 0 0;padding:10px 16px 11px;display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer;color:#6b7d94}.employee-status-tabs button>span{width:28px;height:28px;border-radius:6px;background:#f1f5fa;display:grid;place-items:center;font-size:11px;color:#72839a}.employee-status-tabs button b{display:block;font-size:9.5px;color:#536985;font-weight:800;white-space:nowrap}.employee-status-tabs button small{display:block;font-size:7.5px;color:#98a5b5;margin-top:2px;white-space:nowrap}.employee-status-tabs button:hover{background:#f7f9fc;color:#405873}.employee-status-tabs button.active{z-index:2;border-color:#dbe3ed;border-bottom:1px solid #fff;background:#fff;color:#216bd0;box-shadow:0 -2px 8px rgba(25,55,95,.025)}.employee-status-tabs button.active:before{content:"";position:absolute;left:12px;right:12px;top:-1px;height:2px;border-radius:2px 2px 0 0;background:#216bd0}.employee-status-tabs button.active>span{background:#e9f2ff;color:#216bd0}.employee-status-tabs button.active b{color:#216bd0}.employee-status-workspace{background:#fff;border:1px solid #dbe3ed;border-radius:0 10px 10px 10px;box-shadow:0 3px 12px rgba(25,55,95,.035);padding:15px 0 0}.employee-status-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:15px}.employee-status-stat{height:82px;background:#fff;border:1px solid #dbe3ed;border-radius:10px;display:flex;align-items:center;gap:12px;padding:0 16px;box-shadow:0 3px 12px rgba(25,55,95,.035)}.employee-status-stat-icon{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-size:15px;font-weight:700;background:#edf4ff;color:#2b6bd0}.employee-status-stat small{display:block;color:#70819a;font-size:8.5px;margin-bottom:4px}.employee-status-stat strong{display:block;color:#152b46;font-size:18px}.employee-status-stat.green .employee-status-stat-icon{background:#e4f8ef;color:#149b62}.employee-status-stat.purple .employee-status-stat-icon{background:#f1e9ff;color:#7650c7}.employee-status-stat.red .employee-status-stat-icon{background:#ffe9ea;color:#dc4f59}.employee-status-filter-card,.employee-status-table-card,.employee-status-form-card,.employee-status-audit-card{background:#fff;border:1px solid #dbe3ed;border-radius:10px;box-shadow:0 3px 12px rgba(25,55,95,.035)}.employee-status-filter-card{padding:17px 18px 14px;margin-bottom:15px}.employee-status-filter-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.employee-status-filter-head h2{margin:0;color:#294363;font-size:12px}.employee-status-filter-head span{font-size:8px;color:#8795a8;background:#f5f8fb;border:1px solid #e3e9f0;border-radius:5px;padding:4px 7px}.employee-status-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px 20px}.employee-status-field label{display:block;color:#536985;font-weight:700;font-size:9px;margin-bottom:5px}.employee-status-field input,.employee-status-field select{width:100%;height:36px;box-sizing:border-box;border:1px solid #d7e0eb;border-radius:7px;background:#fff;color:#52647b;padding:0 10px;font-size:9.5px}.employee-status-field input:focus,.employee-status-field select:focus{outline:0;border-color:#2f76d7;box-shadow:0 0 0 2px #e8f1ff}.employee-status-filter-actions{display:flex;gap:9px;margin-top:13px}.employee-status-btn{border:1px solid #d4deea;border-radius:7px;height:35px;padding:0 13px;font-size:9.5px;font-weight:700;background:#fff;color:#536985;cursor:pointer}.employee-status-btn.primary,.employee-status-btn.create{background:#216bd0;border-color:#216bd0;color:#fff}.employee-status-btn.excel{background:#118458;border-color:#118458;color:#fff}.employee-status-btn.secondary:hover{background:#f7faff}.employee-status-table-card{padding:14px 17px 12px}.employee-status-table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.employee-status-record-info{font-size:10px;color:#63758d}.employee-status-record-info b{color:#304a69}.employee-status-actions{display:flex;align-items:center;gap:8px}.employee-status-column-wrap{position:relative}.employee-status-column-menu{position:absolute;right:0;top:40px;width:190px;background:#fff;border:1px solid #dbe3ed;border-radius:8px;box-shadow:0 12px 28px rgba(25,55,95,.15);padding:7px;z-index:20}.employee-status-column-menu label{display:block;padding:7px 6px;font-size:9px;color:#536985;border-radius:5px}.employee-status-column-menu label:hover{background:#f4f8fd}.employee-status-column-menu input{vertical-align:middle;margin-right:6px}.employee-status-table-wrap{overflow:auto;border:1px solid #dbe3ed;border-radius:8px}.employee-status-table{width:100%;min-width:1050px;border-collapse:collapse;font-size:9.5px;color:#455a75}.employee-status-table th{background:#f3f7fb;color:#526781;font-size:9px;font-weight:800;white-space:nowrap;padding:10px 9px;text-align:left;border-bottom:1px solid #dbe3ed}.employee-status-table td{padding:11px 9px;border-bottom:1px solid #edf1f5;vertical-align:middle;line-height:1.45}.employee-status-table tr:last-child td{border-bottom:0}.employee-status-table td b{color:#172e49;font-size:9.5px}.emp-status-action-col{width:50px;text-align:center}.employee-status-row-action{width:29px;height:30px;background:#fff;border:1px solid #bfcddd;border-radius:6px;color:#4e6480;font-size:15px;cursor:pointer}.employee-status-row-action:hover{background:#edf4ff;color:#216bd0}.employee-status-number{text-align:center;font-variant-numeric:tabular-nums}.employee-status-code{display:inline-block;padding:4px 7px;border-radius:5px;background:#eef4ff;color:#216bd0;font-size:8.5px;font-weight:800;letter-spacing:.2px}.employee-status-muted{color:#8795a8;font-size:8px}.employee-status-pagination{display:flex;justify-content:space-between;align-items:center;padding-top:12px;color:#63758d;font-size:9.5px}.employee-status-page-controls{display:flex;align-items:center;gap:6px}.employee-status-page-controls button{width:31px;height:31px;background:#fff;border:1px solid #d4deea;border-radius:6px;color:#7a8ba0;font-weight:700}.employee-status-page-controls button.active{background:#216bd0;border-color:#216bd0;color:#fff}.employee-status-page-controls button:disabled{opacity:.55}.employee-status-page-controls span{margin-left:12px;display:flex;align-items:center;gap:6px}.employee-status-page-controls select{height:31px;border:1px solid #d4deea;border-radius:6px;padding:0 7px;font-size:9px;color:#52647b}.employee-status-row-menu{position:fixed;width:165px;background:#fff;border:1px solid #dbe3ed;border-radius:8px;box-shadow:0 12px 28px rgba(25,55,95,.18);padding:5px;z-index:9999}.employee-status-row-menu button{width:100%;height:34px;border:0;background:#fff;text-align:left;padding:0 10px;border-radius:5px;color:#445b76;font-size:9.5px;font-weight:600;cursor:pointer}.employee-status-row-menu button:hover{background:#f2f6fb;color:#216bd0}.employee-status-row-menu button.danger{color:#d34d58}.employee-status-row-menu button.danger:hover{background:#fff1f2;color:#c63d49}.employee-status-row-menu button span{margin-left:6px}.employee-status-form-page{max-width:1180px;margin:0 auto}.employee-status-form-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:17px}.employee-status-form-heading p b{color:#294363}.employee-status-form-mode{display:inline-block;margin-bottom:5px;padding:4px 7px;border-radius:5px;background:#edf4ff;color:#216bd0;font-size:7px;font-weight:800;letter-spacing:.5px}.employee-status-form-card{padding:18px;margin-bottom:14px}.employee-status-form-section-head{display:flex;align-items:center;gap:10px;margin-bottom:17px;padding-bottom:12px;border-bottom:1px solid #edf1f5}.employee-status-form-section-head>span{width:31px;height:31px;border-radius:7px;background:#edf4ff;color:#216bd0;display:grid;place-items:center;font-size:12px}.employee-status-form-section-head h2{font-size:12px;color:#294363;margin:0}.employee-status-form-section-head p{font-size:8px;color:#8493a7;margin:3px 0 0}.employee-status-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 17px}.employee-status-form-field label{display:block;font-size:9px;color:#536985;font-weight:700;margin-bottom:5px}.employee-status-form-field label i{color:#d44b58;font-style:normal}.employee-status-form-field input,.employee-status-form-field select{width:100%;height:36px;box-sizing:border-box;border:1px solid #d7e0eb;border-radius:7px;background:#fff;color:#52647b;font-size:9.5px;padding:0 10px}.employee-status-form-field input:focus,.employee-status-form-field select:focus{outline:0;border-color:#2f76d7;box-shadow:0 0 0 2px #e8f1ff}.employee-status-form-field input[readonly],.employee-status-form-field select:disabled{background:#f7f9fc;color:#596b83}.employee-status-audit-card{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;padding:18px;margin-bottom:14px}.employee-status-audit-card small{display:block;color:#8795a8;font-size:8px;margin-bottom:4px}.employee-status-audit-card b{font-size:9px;color:#465c77}.employee-status-form-footer{display:flex;justify-content:flex-end;gap:9px;padding:4px 0 22px}@media(max-width:1000px){.employee-status-stats{grid-template-columns:repeat(2,1fr)}.employee-status-filter-grid{grid-template-columns:repeat(2,1fr)}.employee-status-form-grid{grid-template-columns:repeat(2,1fr)}.employee-status-audit-card{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.employee-status-tabs,.employee-status-stats{grid-template-columns:1fr}.employee-status-heading,.employee-status-form-heading{align-items:flex-start;flex-direction:column}.employee-status-filter-grid,.employee-status-form-grid{grid-template-columns:1fr}.employee-status-table-toolbar,.employee-status-pagination{align-items:flex-start;flex-direction:column}.employee-status-actions{flex-wrap:wrap}.employee-status-audit-card{grid-template-columns:1fr}}

/* V1.3.8 — compact real tab treatment */
.employee-status-tabs{
  display:flex;
  align-items:flex-end;
  gap:3px;
  margin:4px 0 0;
  padding:0 0 0 2px;
  border-bottom:1px solid #dbe3ed;
}
.employee-status-tabs button{
  width:auto;
  min-width:190px;
  flex:0 0 auto;
  border:1px solid #dbe3ed;
  border-bottom:0;
  border-radius:8px 8px 0 0;
  background:#f5f8fb;
  padding:9px 14px 8px;
  display:flex;
  align-items:center;
  gap:8px;
  text-align:left;
  cursor:pointer;
  color:#667892;
  position:relative;
  margin-bottom:-1px;
}
.employee-status-tabs button>span{
  width:26px;height:26px;border-radius:6px;background:#e9eef5;
  display:grid;place-items:center;font-size:11px;flex:0 0 auto;
}
.employee-status-tabs button b{display:block;font-size:9.5px;color:#536985;line-height:1.2}
.employee-status-tabs button small{display:block;font-size:7.5px;color:#8b98a9;margin-top:2px}
.employee-status-tabs button.active{
  background:#fff;
  border-color:#dbe3ed;
  border-top:2px solid #216bd0;
  padding-top:8px;
  box-shadow:none;
  z-index:2;
}
.employee-status-tabs button.active>span{background:#e9f2ff;color:#216bd0}
.employee-status-tabs button.active b{color:#216bd0}
.employee-status-tabs + #employeeStatusWorkspace{
  background:#fff;
  border:1px solid #dbe3ed;
  border-top:0;
  border-radius:0 0 10px 10px;
  padding:18px;
  min-height:300px;
}
.employee-status-tabs + #employeeStatusWorkspace > .employee-status-stats:first-child{margin-top:0}
@media(max-width:700px){
 .employee-status-tabs{overflow-x:auto;align-items:flex-end}
 .employee-status-tabs button{min-width:175px}
 .employee-status-tabs + #employeeStatusWorkspace{padding:12px}
}

/* V1.7.113 standard filter layout and Organization button theme */
.employee-status-filter-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.employee-status-filter-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.employee-status-filter-actions{justify-content:flex-start}
.employee-status-btn.primary,.employee-status-btn.create{background:#153b72;border-color:#153b72;color:#fff}
.employee-status-btn.primary:hover,.employee-status-btn.create:hover{background:#0f2f5c;border-color:#0f2f5c}
.employee-status-btn.secondary{background:#fff;border-color:#d8e0eb;color:#40516b}
.employee-status-btn.secondary:hover{background:#f5f8fc}
.employee-status-breadcrumb span:nth-of-type(3){cursor:pointer}
@media(max-width:1000px){.employee-status-filter-grid-3,.employee-status-filter-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.employee-status-filter-grid-3,.employee-status-filter-grid-4{grid-template-columns:1fr}}
