/* Public Employees page */
.employees-public-page { padding: 24px 0 42px; background: #f6f8fa; }
.employees-public-page > .container { width: 96%; max-width: 1500px; margin: 0 auto; }
.employees-public-page .house-business-layout { display: grid !important; grid-template-columns: minmax(0, 7fr) minmax(300px, 3fr); align-items: start; gap: 30px; width: 100%; }
.employees-public-page .house-business-main-column { display: block; min-width: 0; }
.employees-public-page .house-business-layout .employees-content-card { display: block; width: 100%; margin: 0; }
.employees-public-page .house-business-layout .page-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding: 0 5px; border: 0; color: #6b7280; font-size: 14px; }
.house-business-layout .page-breadcrumb a { color: #0675d1; text-decoration: none; }
.employees-public-page .house-business-heading { display: block; width: 100%; margin: 0; padding: 16px 22px; background: #1b568b; color: #fff; font-size: 23px; font-weight: 700; text-align: left; }
.employees-public-page .house-business-sidebar { display: block; min-width: 0; max-height: 690px; overflow: hidden; padding: 9px; border: 1px solid #dce3e8; border-radius: 9px; background: white; box-shadow: 0 8px 24px rgba(15,58,92,.07); }
.employees-public-page .house-business-sidebar h2 { display: block; margin: 0 0 9px; padding: 10px 9px; background: #1b568b; color: white; font-size: 19px; }
.employees-public-page .house-business-sidebar nav { display: block; max-height: 620px; overflow-y: auto; padding: 0 7px; }
.employees-public-page .house-business-sidebar .house-business-category { display: flex !important; position: relative; align-items: center; gap: 9px; width: 100%; min-height: 55px; margin: 0 0 12px; padding: 0; background: #1b568b; color: #fff; font-size: 15px; line-height: 1.3; text-decoration: none; white-space: normal; box-sizing: border-box; }
.employees-public-page .house-business-sidebar .house-business-category span { display: grid; width: 44px; height: 55px; flex: 0 0 44px; place-items: center; background: #e8edf1; color: #111; font-size: 20px; }
.employees-public-page .house-business-sidebar .house-business-category.active,
.employees-public-page .house-business-sidebar .house-business-category:hover { background: #bbb; color: #fff; }
.employees-public-page .house-business-sidebar .house-business-category.active span { background: #dfe4e8; }
.employees-content-card { width: 100%; min-width: 0; margin-top: 22px; overflow: hidden; border: 1px solid #dce3e8; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(15,58,92,.07); }
.employees-content-card > .common-page-heading { width: 100%; margin: 0; padding: 15px 22px; border-radius: 0; background: #1b568b; color: #fff; font-size: 23px; font-weight: 700; line-height: 1.35; }
.employees-content-body { padding: 22px 24px 26px; color: #35424d; font-size: 15px; line-height: 1.55; }
.employees-filters { display: grid; grid-template-columns: minmax(120px,.35fr) minmax(220px,1fr) minmax(80px,.2fr) minmax(200px,.85fr); align-items: center; gap: 8px; max-width: 930px; margin: 0 0 18px; }
.employees-filters label { color: #34495e; font-weight: 600; }
.employees-filters select { width: 100%; min-width: 0; height: 42px; padding: 7px 10px; border: 1px solid #cbd5df; border-radius: 4px; background: #fff; color: #34495e; font: inherit; }
.employees-public-page .employees-instruction { display: block; margin: 0 0 4px; color: #f00 !important; font-size: 16px; font-weight: 500; }
.employees-results-wrap { width: 100%; overflow-x: auto; }
.employees-results-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.employees-results-table th, .employees-results-table td { padding: 10px 12px; border: 1px solid #d6dee6; text-align: left; vertical-align: middle; }
.employees-results-table th { background: #eaf1f7; color: #233f59; font-weight: 700; }
.employees-results-table tbody tr:nth-child(even) { background: #f8fafc; }
.employees-notice-link { display: inline-flex; align-items: center; gap: 9px; color: #155b91; text-decoration: none; }
.employees-notice-link:hover, .employees-notice-link:focus-visible { text-decoration: underline; }
.employees-notice-link i { flex: 0 0 auto; color: #bd2828; font-size: 17px; }
.employees-public-page .employees-pdf-link, .employees-public-page .employees-pdf-link i { color: #bd2828 !important; font-size: 20px; }
.employees-empty-row td { color: #667482; text-align: center; }

/* Admin Employees management */
.employees-admin-page { display: grid; gap: 20px; padding: 24px; background: #f4f7fb; color: #243447; }
.employees-admin-header { padding: 23px 26px; border-radius: 12px; background: linear-gradient(120deg,#123f63,#17618a); color: #fff; }
.employees-admin-header span { color: #b8d4e8; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.employees-admin-header h1 { margin: 5px 0 7px; color: #fff; font-size: 25px; }
.employees-admin-header p, .employees-admin-card-heading p { margin: 0; color: #687887; font-size: 13px; }
.employees-admin-header p { color: #d9e7f0; }
.employees-admin-alert { padding: 12px 15px; border-radius: 6px; font-size: 14px; }
.employees-admin-alert.success { background: #e7f6ee; color: #17643b; }
.employees-admin-alert.error { background: #fdecec; color: #962d2d; }
.employees-admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid #d4dfe8; }
.employees-admin-tabs button { padding: 11px 15px; border: 1px solid #cbd5df; border-bottom: 0; border-radius: 6px 6px 0 0; background: #eef4f8; color: #174d78; font: inherit; font-weight: 700; cursor: pointer; }
.employees-admin-tabs button[aria-selected="true"] { background: #176da4; color: white; }
.employees-notice-filters { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; margin: 12px 0; }
.employees-notice-filters input, .employees-notice-filters select, .employees-search-label input { min-width: 0; min-height: 38px; padding: 7px 9px; border: 1px solid #cbd5df; border-radius: 5px; background: white; color: #263746; font: inherit; }
.employees-search-label { display: grid; gap: 5px; margin-top: 12px; color: #354b5d; font-size: 13px; font-weight: 600; }
.employees-option-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.employees-admin-card { min-width: 0; padding: 20px; border: 1px solid #e0e7ee; border-radius: 10px; background: #fff; box-shadow: 0 4px 16px rgba(24,58,86,.05); }
.employees-admin-card-heading { margin-bottom: 16px; }
.employees-admin-card-heading h2 { margin: 0 0 4px; color: #174d78; font-size: 18px; }
.employees-admin-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px 15px; }
.employees-admin-form > label { display: grid; gap: 6px; min-width: 0; color: #354b5d; font-size: 13px; font-weight: 600; }
.employees-admin-form input[type="text"], .employees-admin-form input[type="number"], .employees-admin-form input[type="date"], .employees-admin-form input[type="file"], .employees-admin-form select { width: 100%; min-width: 0; min-height: 39px; padding: 8px 10px; border: 1px solid #cbd5df; border-radius: 5px; background: #fff; color: #263746; font: inherit; font-weight: 400; }
.employees-admin-form input[type="file"] { padding: 6px; }
.employees-admin-form small { color: #687887; font-weight: 400; overflow-wrap: anywhere; }
.employees-admin-form small a, .employees-admin-table a, .employees-row-actions a { color: #176da4; text-decoration: none; }
.employees-admin-form small a:hover, .employees-admin-table a:hover, .employees-row-actions a:hover { text-decoration: underline; }
.employees-admin-checkbox { display: flex !important; grid-template-columns: none; align-items: center; gap: 8px !important; }
.employees-admin-checkbox input { width: 16px; height: 16px; }
.employees-admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.employees-admin-button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 13px; border: 0; border-radius: 5px; font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
.employees-admin-button.primary { background: #176da4; color: #fff; }
.employees-admin-button.secondary { border: 1px solid #cbd5df; background: #fff; color: #42566a; }
.employees-option-list { display: grid; gap: 8px; margin-top: 15px; }
.employees-option-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 11px; border: 1px solid #e6ebf0; border-radius: 5px; }
.employees-option-item > div { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.employees-option-item small { color: #687887; font-size: 11px; }
.employees-row-actions { display: inline-flex; flex: 0 0 auto; gap: 10px; font-size: 12px; }
.employees-row-actions form { display: inline; margin: 0; }
.employees-row-actions button { padding: 0; border: 0; background: transparent; color: #176da4; font: inherit; cursor: pointer; }
.employees-admin-empty { margin: 0; padding: 11px 0; color: #73808c; }
.employees-notice-form { grid-template-columns: repeat(3,minmax(0,1fr)); }
.employees-field-wide { grid-column: 1 / -1; }
.employees-admin-table-wrap { width: 100%; overflow-x: auto; }
.employees-admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.employees-admin-table th, .employees-admin-table td { padding: 10px; border: 1px solid #e0e7ee; text-align: left; vertical-align: top; }
.employees-admin-table th { background: #eef4f8; color: #314b60; font-weight: 700; white-space: nowrap; }

@media (max-width: 800px) {
  .employees-public-page .house-business-layout { grid-template-columns: minmax(0,1fr); }
  .house-business-sidebar { max-height: 460px; }
  .employees-option-grid { grid-template-columns: minmax(0,1fr); }
  .employees-notice-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .employees-notice-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .employees-filters { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}
@media (max-width: 560px) {
  .employees-public-page { padding: 14px 0 28px; }
  .employees-public-page > .container { width: 94%; }
  .employees-content-card { margin-top: 14px; }
  .employees-content-card > .common-page-heading { padding: 12px 14px; font-size: 19px; }
  .employees-content-body { padding: 15px 12px 18px; font-size: 14px; }
  .employees-filters { grid-template-columns: minmax(0,1fr); gap: 6px; }
  .employees-filters select { margin-bottom: 7px; }
  .employees-results-table { min-width: 450px; }
  .employees-admin-page { gap: 14px; padding: 14px; }
  .employees-admin-header, .employees-admin-card { padding: 16px; }
  .employees-admin-header h1 { font-size: 21px; }
  .employees-admin-form, .employees-notice-form { grid-template-columns: minmax(0,1fr); }
  .employees-notice-filters { grid-template-columns: minmax(0,1fr); }
  .employees-field-wide { grid-column: auto; }
  .employees-admin-table { min-width: 700px; }
}
