.applicant-page-heading {
  margin-bottom: 16px;
}

.applicant-page-heading h3 {
  margin: 0;
}

.applicant-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px;
  background: #f5f7fa;
  border: 1px solid #e2e6ea;
  border-radius: 5px;
}

.applicant-toolbar .btn {
  margin: 0;
}

.applicant-toolbar-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.applicant-toolbar-actions {
  margin-left: auto;
}

.applicant-toolbar .applicant-toolbar-hrd {
  color: #fff;
  font-weight: 600;
  background: #c45100;
  border-color: #a94300;
}

.applicant-toolbar .applicant-toolbar-hrd:hover,
.applicant-toolbar .applicant-toolbar-hrd:focus {
  color: #fff;
  background: #a94300;
  border-color: #873600;
}

.employee-mutation-form input:disabled,
.employee-mutation-form select:disabled,
.employee-mutation-form textarea:disabled {
  color: #6c757d !important;
  background-color: #e9ecef !important;
  opacity: 1;
  cursor: not-allowed;
}

.employee-mutation-form input:not([type="submit"]):not([type="button"]):not([type="reset"]):not(:disabled),
.employee-mutation-form select:not(:disabled),
.employee-mutation-form textarea:not(:disabled) {
  color: #333 !important;
  background-color: #fff !important;
}

.applicant-filter-panel {
  margin: 0 0 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e2e8ef;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(34, 54, 75, 0.05);
}

.employee-filter-panel {
  margin-bottom: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border-color: #e2e8ef;
  border-left: 3px solid #9bbbd4;
  box-shadow: none;
}

.employee-filter-summary-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.employee-filter-count {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 10px;
  background: #e7f1fb;
  color: #245b87;
  font-size: 11px;
  font-weight: 700;
}

.employee-filter-panel .applicant-filter-grid .applicant-filter-actions {
  display: flex;
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
}

.employee-filter-panel .applicant-filter-actions > .btn {
  display: inline-flex;
  width: auto;
  align-items: center;
  white-space: nowrap;
}

.karyawan-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}

.karyawan-toolbar > .btn,
.employee-more-actions > summary {
  margin: 0;
}

.employee-more-actions {
  position: relative;
}

.employee-more-actions > summary {
  list-style: none;
  cursor: pointer;
}

.employee-more-actions > summary::-webkit-details-marker {
  display: none;
}

.employee-more-actions-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 20;
  min-width: 190px;
  padding: 5px 0;
  background: #fff;
  border: 1px solid #dce4ec;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(34, 54, 75, 0.14);
}

.employee-more-actions-menu a {
  display: block;
  padding: 7px 12px;
  color: #36536f;
  text-decoration: none;
  white-space: nowrap;
}

.employee-more-actions-menu a:hover,
.employee-more-actions-menu a:focus {
  background: #f3f6f9;
  color: #214f75;
  text-decoration: none;
}

.employee-table-tools {
  display: flex;
  flex-wrap: nowrap;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin: 8px 0 6px auto;
  padding: 0;
}

.employee-table-tools label {
  white-space: nowrap;
  margin: 0;
  color: #657689;
  font-size: 12px;
  font-weight: 500;
}

.employee-table-tools select {
  width: auto;
  min-width: 0;
  max-width: calc(100% - 70px);
  height: 30px;
  padding: 4px 24px 4px 8px;
  border-color: #d8e1ea;
  box-shadow: none;
}

.employee-list-table > tbody > tr:first-child > th {
  color: #fff;
  background: #315b7d;
  border-color: #274b68;
  vertical-align: middle;
}

.applicant-filter-disclosure-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.applicant-filter-disclosure-summary::-webkit-details-marker {
  display: none;
}

.applicant-filter-disclosure-summary:focus {
  outline: 2px solid #5b9bd5;
  outline-offset: 3px;
}

.applicant-filter-disclosure-title {
  color: #2f455a;
  font-size: 16px;
  font-weight: 600;
}

.applicant-filter-disclosure-toggle {
  flex-shrink: 0;
  color: #337ab7;
  font-size: 13px;
  font-weight: 600;
}

.applicant-filter-hide-label {
  display: none;
}

.applicant-filter-disclosure[open] .applicant-filter-show-label {
  display: none;
}

.applicant-filter-disclosure[open] .applicant-filter-hide-label {
  display: inline;
}

.applicant-filter-disclosure-hint {
  margin: 12px 0 15px;
  color: #728194;
}

.applicant-filter-disclosure .applicant-filter-grid {
  margin-bottom: 0;
}

.applicant-filter-heading h4 {
  margin: 0 0 5px;
  color: #2f455a;
  font-size: 16px;
  font-weight: 600;
}

.applicant-filter-heading p {
  margin: 0 0 15px;
  color: #728194;
}

.employee-approval-actions {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 15px;
}

.approval-dashboard-section {
  margin: 0 0 22px;
}

.approval-dashboard-heading {
  margin: 0 0 12px;
}

.approval-dashboard-heading h3 {
  margin: 0 0 4px;
  color: #2f455a;
  font-size: 18px;
  font-weight: 600;
}

.approval-dashboard-heading p {
  margin: 0;
  color: #728194;
}

.approval-dashboard-card {
  position: relative;
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 16px;
  color: #2f455a;
  background: #fff;
  border: 1px solid #e2e8ef;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(34, 54, 75, 0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.approval-dashboard-card:hover,
.approval-dashboard-card:focus {
  color: #245b87;
  border-color: #9bbbd4;
  box-shadow: 0 4px 12px rgba(34, 54, 75, 0.12);
  text-decoration: none;
  transform: translateY(-1px);
}

.approval-dashboard-card-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  color: #245b87;
  background: #e7f1fb;
  border-radius: 50%;
  font-size: 17px;
}

.approval-dashboard-card-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.approval-dashboard-card-content strong {
  font-size: 14px;
  font-weight: 600;
}

.approval-dashboard-card-content small {
  color: #728194;
  font-size: 11px;
}

.approval-dashboard-badge {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 0 7px;
  color: #fff;
  background: #d9534f;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.approval-dashboard-badge-error {
  background: #8a6d3b;
}

.applicant-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  align-items: end;
  gap: 12px;
  margin-bottom: 16px;
}

.applicant-filter-grid label {
  display: block;
  margin: 0;
  color: #465568;
  font-size: 12px;
  font-weight: 600;
}

.applicant-filter-grid .form-control {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
}

.applicant-filter-grid select:disabled {
  background: #f1f3f5;
  cursor: not-allowed;
}

.applicant-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-bottom: 1px;
}

.applicant-filter-actions .btn {
  margin: 0;
}

.applicant-selection-reason-field {
  min-width: 190px;
  min-height: 62px;
  margin-top: 8px;
  border-radius: 6px;
  resize: vertical;
}

.applicant-edit-date-picker {
  width: 240px;
  max-width: 100%;
}

.applicant-edit-date-picker .form-control {
  min-height: 38px;
}

.applicant-edit-date-picker .input-group-addon {
  cursor: pointer;
}

.applicant-edit-date-picker .input-group-addon:focus {
  outline: 2px solid #337ab7;
  outline-offset: 2px;
}

body > .datepicker {
  z-index: 2000 !important;
  max-width: calc(100vw - 16px);
}

.director-applicant-photo {
  margin: 0;
  max-width: 64px;
  height: auto;
}

.director-applicant-photo-modal .modal-body {
  text-align: center;
}

.director-applicant-photo-large {
  display: inline-block;
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
}

.director-decision-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.director-decision-options label {
  margin: 0;
  font-weight: 400;
  white-space: nowrap;
}

.director-decision-options input[type="radio"] {
  margin: 0 4px 0 0;
  vertical-align: middle;
}

.director-decision-submit-cell {
  text-align: right;
  vertical-align: bottom !important;
}

.applicant-result-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #5f7083;
}

.applicant-result-summary strong {
  display: inline-flex;
  min-width: 34px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: #245b87;
  background: #e7f1fb;
  border: 1px solid #cfe1f1;
  border-radius: 16px;
}

.applicant-selection-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.applicant-selection-summary span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  color: #5f7083;
  background: #f6f8fa;
  border: 1px solid #e2e8ef;
  border-radius: 5px;
  font-size: 12px;
}

.applicant-selection-summary strong {
  color: #245b87;
  font-size: 14px;
}

.applicant-selection-context {
  position: fixed;
  right: 20px;
  bottom: 16px;
  left: auto;
  z-index: 1040;
  display: flex;
  width: 360px;
  max-width: calc(100vw - 40px);
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  max-height: 70vh;
  overflow-y: auto;
  margin: 0;
  padding: 16px;
  background: #f4f9fd;
  border: 1px solid #d8e8f5;
  border-left: 4px solid #337ab7;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(34, 54, 75, 0.2);
}

.applicant-selection-context[hidden] {
  display: none;
}

.applicant-selection-active {
  padding-bottom: 190px;
}

.applicant-selection-instructions {
  margin-bottom: 12px;
}

.applicant-selection-context h4 {
  margin: 0 0 4px;
  color: #2f455a;
  font-size: 14px;
  font-weight: 600;
}

.applicant-selection-context p {
  margin: 0;
  color: #657689;
  font-size: 12px;
}

.applicant-selection-context-fields {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.applicant-selection-context-fields label {
  min-width: 0;
  margin: 0;
  color: #465568;
  font-size: 12px;
}

.applicant-selection-context-fields .form-control {
  margin-top: 4px;
  font-size: 13px;
}

.applicant-selection-context-fields .btn {
  margin: 0;
}

.applicant-selection-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.applicant-selection-status-idle {
  color: #596579;
  background: #edf0f4;
}

.applicant-selection-status-pending {
  color: #76520b;
  background: #fff2cc;
}

.applicant-selection-status-approved {
  color: #1c6841;
  background: #dff3e7;
}

.applicant-selection-status-rejected {
  color: #8b3030;
  background: #f8e1e1;
}

.applicant-history-button {
  margin-top: 6px;
}

.applicant-history-modal .modal-body {
  max-height: 65vh;
  overflow-y: auto;
}

.applicant-history-list {
  margin: 0;
  padding-left: 20px;
}

.applicant-history-list li {
  margin-bottom: 14px;
  padding-left: 4px;
}

.applicant-history-list li:last-child {
  margin-bottom: 0;
}

.applicant-history-list p {
  margin: 5px 0 0;
  white-space: normal;
}

.applicant-table input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 3px;
  vertical-align: middle;
}

.applicant-table {
  margin-bottom: 0;
  background: #fff;
}

.applicant-table > thead > tr > th {
  padding: 11px 10px;
  background: #f3f6f9;
  border-bottom: 2px solid #dce4ec;
  color: #34495e;
  font-size: 12px;
  white-space: nowrap;
  vertical-align: middle;
}

.applicant-table > thead > tr > .applicant-selection-checkbox-column,
.applicant-table > tbody > tr > .applicant-selection-checkbox-cell {
  width: 52px;
  min-width: 52px;
  padding-right: 4px;
  padding-left: 4px;
  text-align: center;
}

.applicant-table > thead > tr > .applicant-selection-checkbox-column {
  white-space: normal;
}

.applicant-table > tbody > tr > td,
.employee-list-table > tbody > tr > td {
  padding: 10px;
  border-top-color: #e8edf2;
  color: #465568;
  font-size: 12px;
  line-height: 1.55;
  vertical-align: top;
}

.applicant-table > tbody > tr:hover {
  background: #f7fafc;
}

.applicant-table .thumbnail {
  max-width: 80px;
  max-height: 96px;
  margin: 0;
  object-fit: cover;
}

.applicant-text-preview {
  cursor: help;
  border-bottom: 1px dotted #7b8b9b;
}

.applicant-text-preview:focus {
  outline: 2px solid #8bbce0;
  outline-offset: 2px;
}

.applicant-text-tooltip {
  position: fixed;
  z-index: 2000;
  width: 360px;
  max-width: calc(100vw - 24px);
  max-height: min(50vh, 320px);
  overflow-y: auto;
  padding: 10px 12px;
  color: #fff;
  background: #26384a;
  border-radius: 5px;
  box-shadow: 0 4px 14px rgba(18, 35, 52, 0.25);
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.applicant-list-form .table-responsive {
  border: 1px solid #e2e8ef;
  border-radius: 5px;
}

.applicant-paging {
  display: flex;
  justify-content: center;
  margin: 20px 0 8px;
}

.applicant-paging table {
  width: auto;
  margin: 0;
  border-collapse: separate;
  border-spacing: 4px;
}

.applicant-paging td {
  padding: 0;
  color: transparent;
  font-size: 0;
  white-space: nowrap;
}

.applicant-paging a,
.applicant-paging b {
  display: inline-flex;
  min-width: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin: 2px;
  padding: 0 10px;
  border: 1px solid #d8e1ea;
  border-radius: 5px;
  background: #fff;
  color: #36536f;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.applicant-paging a:hover,
.applicant-paging a:focus {
  border-color: #337ab7;
  background: #eef6fc;
  color: #245b87;
  text-decoration: none;
}

.applicant-paging b {
  border-color: #337ab7;
  background: #337ab7;
  color: #fff;
  font-weight: 600;
}

.applicant-paging a.nextpage {
  padding-right: 13px;
  padding-left: 13px;
}

.applicant-paging a.nextstage {
  min-width: 36px;
  color: #657689;
}

.sidakar-pagination {
  display: flex;
  justify-content: center;
  max-width: 100%;
  margin: 18px 0;
  overflow-x: auto;
}

.sidakar-pagination table {
  width: auto;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 4px;
}

.sidakar-pagination td.smallbody {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  border: 0;
  color: transparent;
  font-size: 0;
  white-space: nowrap;
}

.sidakar-pagination td.smallbody a,
.sidakar-pagination td.smallbody b {
  display: inline-flex;
  min-width: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid #d8e1ea;
  border-radius: 6px;
  background: #fff;
  color: #36536f;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sidakar-pagination td.smallbody a:hover,
.sidakar-pagination td.smallbody a:focus {
  border-color: #8db5d6;
  background: #edf5fb;
  color: #214f75;
  text-decoration: none;
}

.sidakar-pagination td.smallbody b {
  border-color: #337ab7;
  background: #337ab7;
  color: #fff;
}

.sidakar-pagination td.smallbody a.nextpage,
.sidakar-pagination td.smallbody a.nextstage {
  min-width: 36px;
}

@media (max-width: 600px) {
  .applicant-selection-context {
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 10px 12px;
  }

  .applicant-selection-active {
    padding-bottom: 55vh;
  }

  .applicant-filter-panel {
    padding: 14px;
  }

  .employee-table-tools {
    gap: 5px;
  }

  .employee-table-tools select {
    max-width: calc(100vw - 130px);
  }

  .employee-filter-panel {
    padding: 11px 12px;
  }

  .employee-more-actions-menu {
    right: auto;
    left: 0;
  }

  .applicant-filter-grid {
    grid-template-columns: 1fr;
  }

  .applicant-paging table {
    border-spacing: 2px;
  }

  .applicant-paging a,
  .applicant-paging b {
    min-width: 32px;
    min-height: 34px;
    margin: 1px;
    padding: 0 8px;
  }

  .sidakar-pagination {
    justify-content: flex-start;
    margin: 14px 0;
  }

  .sidakar-pagination table {
    border-spacing: 2px;
  }

  .sidakar-pagination td.smallbody {
    gap: 2px;
  }

  .sidakar-pagination td.smallbody a,
  .sidakar-pagination td.smallbody b {
    min-width: 32px;
    min-height: 34px;
    padding: 0 8px;
  }
}

.employee-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.employee-page-heading .widget-title {
  margin: 0;
}

.employee-list-total {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #657689;
  font-size: 13px;
}

.employee-list-total strong {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: #245b87;
  background: #e7f1fb;
  border: 1px solid #cfe1f1;
  border-radius: 20px;
  font-size: 16px;
}

@media (max-width: 480px) {
  .employee-page-heading {
    align-items: flex-start;
    gap: 8px;
  }

  .employee-list-total {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
  }
}

.employee-detail {
  display: grid;
  gap: 18px;
  margin: 0 0 24px;
}

.employee-profile,
.employee-detail-section {
  min-width: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(34, 54, 75, 0.05);
}

.employee-profile {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  background: #f8fafc;
}

.employee-profile-photo {
  width: 150px;
  height: 180px;
  overflow: hidden;
  background: #edf1f5;
  border: 1px solid #e0e6ed;
  border-radius: 6px;
}

.employee-profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.employee-profile-main h2 {
  margin: 4px 0 14px;
  color: #26384a;
  font-size: 24px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.employee-eyebrow {
  margin: 0;
  color: #6b7c8f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.employee-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: #68788a;
  font-size: 13px;
}

.employee-profile-meta strong {
  display: block;
  margin-top: 3px;
  color: #26384a;
  font-size: 15px;
}

.employee-profile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
}

.employee-detail-section h3 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  color: #26384a;
  border-bottom: 1px solid #e8edf2;
  font-size: 16px;
  font-weight: 700;
}

.employee-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0;
}

.employee-detail-item {
  min-width: 0;
  padding: 11px 0;
  border-bottom: 1px solid #f0f3f6;
}

.employee-detail-item:nth-last-child(-n+3) {
  border-bottom: 0;
}

.employee-detail-item dt {
  margin: 0 0 5px;
  color: #778696;
  font-size: 12px;
  font-weight: 600;
}

.employee-detail-item dd {
  margin: 0;
  color: #2e3e4f;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.employee-document-link,
.employee-document-unavailable {
  display: inline-block;
  margin-top: 5px;
  font-size: 12px;
}

.employee-document-link {
  color: #2876b8;
  font-weight: 600;
}

.employee-document-link:hover,
.employee-document-link:focus {
  color: #1d5687;
  text-decoration: underline;
}

.employee-document-unavailable {
  color: #8794a1;
}

.employee-document-modal .modal-body {
  padding: 18px;
  text-align: center;
  background: #f3f5f7;
}

.employee-document-preview {
  display: inline-block;
  max-width: 100%;
  max-height: calc(100vh - 180px);
  object-fit: contain;
}

.employee-detail-item-wide {
  grid-column: 1 / -1;
}

.applicant-detail-toolbar {
  margin: 0 0 14px;
}

.applicant-detail {
  display: grid;
  gap: 16px;
  margin: 0 0 24px;
}

.applicant-profile,
.applicant-detail-section {
  min-width: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(34, 54, 75, 0.05);
}

.applicant-profile {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  background: #f8fafc;
}

.applicant-profile-photo {
  width: 140px;
  height: 160px;
  overflow: hidden;
  background: #edf1f5;
  border: 1px solid #e0e6ed;
  border-radius: 6px;
}

.applicant-profile-photo > a {
  display: block;
  width: 100%;
  height: 100%;
}

.applicant-profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.applicant-profile-photo-empty {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8794a1;
  font-size: 12px;
  text-align: center;
}

.applicant-profile-photo-empty i {
  color: #a8b3bd;
  font-size: 28px;
}

.applicant-profile-main {
  min-width: 0;
}

.applicant-profile-eyebrow {
  margin: 0 0 5px;
  color: #6b7c8f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.applicant-profile-main h2 {
  margin: 0 0 16px;
  color: #26384a;
  font-size: 24px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.applicant-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: #68788a;
  font-size: 12px;
}

.applicant-profile-meta strong {
  display: block;
  margin-top: 3px;
  color: #26384a;
  font-size: 14px;
}

.applicant-profile-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  align-self: start;
}

.applicant-profile-actions .btn {
  min-width: 150px;
  margin: 0;
  text-align: center;
}

.applicant-profile-actions .applicant-edit-action {
  color: #fff;
  background-color: #337ab7;
  border-color: #2e6da4;
}

.applicant-profile-actions .applicant-edit-action:hover,
.applicant-profile-actions .applicant-edit-action:focus {
  background-color: #286090;
  border-color: #204d74;
}

.applicant-profile-actions .applicant-print-action {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}

.applicant-profile-actions .applicant-print-action:hover,
.applicant-profile-actions .applicant-print-action:focus {
  background-color: #e6e6e6;
  border-color: #adadad;
}

.applicant-detail-section h3 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  color: #26384a;
  border-bottom: 1px solid #e8edf2;
  font-size: 16px;
  font-weight: 700;
}

.applicant-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0;
}

.applicant-detail-item {
  min-width: 0;
  padding: 11px 0;
  border-bottom: 1px solid #f0f3f6;
}

.applicant-detail-item dt {
  margin: 0 0 5px;
  color: #778696;
  font-size: 12px;
  font-weight: 600;
}

.applicant-detail-item dd {
  margin: 0;
  color: #2e3e4f;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.applicant-detail-item-wide {
  grid-column: 1 / -1;
}

.applicant-detail-documents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.applicant-detail-document {
  display: flex;
  min-width: 0;
  min-height: 74px;
  align-items: center;
  gap: 12px;
  padding: 10px;
  color: #2e3e4f;
  background: #fbfcfd;
  border: 1px solid #e4eaf0;
  border-radius: 6px;
}

.applicant-detail-document:hover,
.applicant-detail-document:focus {
  color: #1d5687;
  border-color: #b9d3e8;
  text-decoration: none;
}

.applicant-detail-document img {
  display: block;
  width: 64px;
  height: 54px;
  flex: 0 0 64px;
  object-fit: contain;
  background: #edf1f5;
  border-radius: 4px;
}

.applicant-detail-document span {
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.applicant-detail-document small {
  display: block;
  margin-top: 3px;
  color: #778696;
  font-size: 11px;
  font-weight: 400;
}

.applicant-detail-document-empty {
  color: #8794a1;
  border-style: dashed;
}

.applicant-detail-document-empty > i {
  width: 64px;
  flex: 0 0 64px;
  color: #a8b3bd;
  font-size: 25px;
  text-align: center;
}

.applicant-registration-page {
  width: calc(100% - 32px);
  max-width: 900px;
  margin: 24px auto;
}

body.simple-page > div.error {
  display: flex;
  width: calc(100% - 32px);
  max-width: 380px;
  box-sizing: border-box;
  align-items: center;
  gap: 10px;
  margin: 0 auto 16px;
  padding: 12px 14px;
  color: #8f2d35;
  background: #fff2f2;
  border: 1px solid #f3c4c7;
  border-left: 4px solid #d9534f;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(72, 24, 28, 0.08);
  font-size: 13px;
  line-height: 1.45;
}

body.simple-page > div.error:before {
  content: "!";
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #d9534f;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.applicant-registration-page .simple-page-logo {
  margin-bottom: 18px;
}

.applicant-registration-page .simple-page-form {
  padding: 28px;
}

.applicant-registration-page .form-title {
  margin: 0 0 24px;
  color: #26384a;
  font-size: 23px;
  font-weight: 700;
}

.registration-required-note {
  margin: 0 0 18px;
  color: #68788a;
  font-size: 13px;
}

.registration-required {
  color: #c0392b;
  font-weight: 700;
}

.registration-section {
  margin: 0 0 22px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e4eaf0;
  border-radius: 8px;
}

.registration-section h5 {
  margin: 0 0 6px;
  color: #26384a;
  font-size: 16px;
  font-weight: 700;
}

.registration-section > p {
  margin: 0 0 16px;
  color: #728194;
  font-size: 13px;
}

.registration-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.registration-field {
  min-width: 0;
}

.registration-field > label {
  display: block;
  margin: 0;
  color: #465568;
  font-size: 13px;
  font-weight: 600;
}

.registration-phone-confirmation {
  display: flex;
  align-items: center;
  min-height: 42px;
}

.registration-phone-confirmation > label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #465568;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}

.applicant-registration-form .registration-phone-confirmation input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 1px 0 0;
  accent-color: #2876b8;
}

.applicant-registration-form .registration-field input:not([type="file"]),
.applicant-registration-form .registration-field select,
.applicant-registration-form .registration-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 42px;
  margin: 6px 0 0;
  padding: 10px 12px;
  color: #2e3e4f;
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 5px;
  box-shadow: none;
  font-size: 14px;
  line-height: 1.4;
}

.applicant-registration-form .registration-field textarea {
  min-height: 100px;
  resize: vertical;
}

.applicant-registration-form .registration-field input:focus,
.applicant-registration-form .registration-field select:focus,
.applicant-registration-form .registration-field textarea:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(102, 175, 233, 0.18);
}

.applicant-registration-form .registration-field .registration-date-picker {
  display: flex;
  width: 100%;
  margin-top: 6px;
}

.applicant-registration-form .registration-date-picker input.registration-date-input {
  width: 1%;
  min-width: 0;
  flex: 1 1 auto;
  margin: 0;
  border-radius: 5px 0 0 5px;
}

.registration-date-picker .input-group-addon {
  display: flex;
  min-width: 48px;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #337ab7;
  background: #f5f8fb;
  border: 1px solid #d8e0e8;
  border-left: 0;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

.registration-field-hint {
  display: block;
  margin-top: 5px;
  color: #728194;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
}

.applicant-registration-form .registration-field input[type="file"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  margin: 6px 0 0;
  padding: 7px;
  background: #fff;
  border: 1px dashed #bdc9d5;
  border-radius: 5px;
  box-shadow: none;
  font-size: 12px;
}

.registration-form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 4px 8px;
}

.applicant-registration-form .registration-form-actions .btn {
  width: auto;
  min-height: 44px;
  padding: 11px 20px;
  font-weight: 600;
}

.registration-back-link {
  color: #337ab7;
  font-size: 13px;
  font-weight: 600;
}

.applicant-registration-body .datepicker {
  z-index: 3000 !important;
  width: 280px;
  max-width: calc(100vw - 16px);
  padding: 8px;
  box-shadow: 0 6px 20px rgba(24, 42, 60, 0.2);
}

.applicant-registration-body .datepicker table {
  width: 100%;
  table-layout: fixed;
}

.applicant-registration-body .datepicker td,
.applicant-registration-body .datepicker th {
  width: auto;
  height: 34px;
  border-radius: 5px;
}

.applicant-registration-body .datepicker .datepicker-switch,
.applicant-registration-body .datepicker .prev,
.applicant-registration-body .datepicker .next {
  cursor: pointer;
}

.employee-history-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 12px;
  padding: 0 0 10px;
  color: #26384a;
  border-bottom: 1px solid #dfe6ed;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.employee-history-heading .btn {
  flex: 0 0 auto;
  margin: 0 !important;
}

.employee-history-heading + .table-responsive {
  margin: 0 0 30px;
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e2e8ee;
  border-radius: 6px;
}

.employee-history-heading + .table-responsive .table {
  min-width: 100%;
  margin: 0;
}

.employee-history-heading + .table-responsive .table > tbody > tr > th,
.employee-history-heading + .table-responsive .table > thead > tr > th {
  padding: 12px 14px;
  color: #43566a;
  background: #f3f6f9;
  border-bottom: 1px solid #dfe6ed;
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}

.employee-history-heading + .table-responsive .table > tbody > tr > td,
.employee-history-heading + .table-responsive .table > tbody > tr > th {
  padding: 12px 14px;
  line-height: 1.5;
  vertical-align: top;
}

.employee-history-heading + .table-responsive .table > tbody > tr + tr > td,
.employee-history-heading + .table-responsive .table > tbody > tr + tr > th {
  border-top: 1px solid #edf1f4;
}

@media (max-width: 767px) {
  .applicant-registration-page {
    width: calc(100% - 20px);
    margin: 12px auto;
  }

  .applicant-registration-page .simple-page-form {
    padding: 16px;
  }

  .applicant-registration-page .form-title {
    margin-bottom: 18px;
    font-size: 20px;
  }

  .registration-section {
    margin-bottom: 14px;
    padding: 14px;
  }

  .registration-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .applicant-registration-form .registration-field input:not([type="file"]),
  .applicant-registration-form .registration-field select,
  .applicant-registration-form .registration-field textarea {
    min-height: 46px;
    font-size: 16px;
  }

  .applicant-registration-form .registration-field textarea {
    min-height: 112px;
  }

  .applicant-registration-form .registration-field input[type="file"] {
    min-height: 46px;
    font-size: 13px;
  }

  .registration-phone-confirmation {
    min-height: 46px;
  }

  .registration-date-picker .input-group-addon {
    min-width: 52px;
  }

  .applicant-registration-body .datepicker td,
  .applicant-registration-body .datepicker th {
    height: 42px;
  }

  .registration-form-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .applicant-registration-form .registration-form-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .registration-back-link {
    padding: 8px;
    text-align: center;
  }

  .applicant-profile {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding: 15px;
  }

  .applicant-profile-photo {
    width: 96px;
    height: 120px;
  }

  .applicant-profile-main h2 {
    font-size: 20px;
  }

  .applicant-profile-actions {
    grid-column: 1 / -1;
  }

  .applicant-profile-actions .btn {
    width: 100%;
  }

  .applicant-detail-section {
    padding: 15px;
  }

  .applicant-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }

  .applicant-detail-item-wide {
    grid-column: 1 / -1;
  }

  .employee-profile {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding: 15px;
  }

  .employee-profile-photo {
    width: 96px;
    height: 120px;
  }

  .employee-profile-main h2 {
    font-size: 20px;
  }

  .employee-profile-actions {
    grid-column: 1 / -1;
  }

  .employee-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }

  .employee-detail-item:nth-last-child(-n+3) {
    border-bottom: 1px solid #f0f3f6;
  }

  .employee-detail-item:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .employee-detail-section,
  .employee-profile {
    padding: 15px;
  }

  .employee-history-heading {
    align-items: flex-start;
    margin-top: 22px;
  }

  .employee-history-heading .btn {
    white-space: normal;
  }

  .employee-history-heading + .table-responsive .table > tbody > tr > td,
  .employee-history-heading + .table-responsive .table > tbody > tr > th {
    padding: 10px 12px;
  }
}

@media (max-width: 420px) {
  .applicant-profile-meta {
    flex-direction: column;
    gap: 8px;
  }

  .applicant-detail-grid,
  .applicant-detail-documents {
    grid-template-columns: minmax(0, 1fr);
  }

  .applicant-detail-item-wide {
    grid-column: auto;
  }

  .employee-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .employee-detail-item:nth-last-child(-n+2) {
    border-bottom: 1px solid #f0f3f6;
  }

  .employee-detail-item:last-child {
    border-bottom: 0;
  }

  .employee-detail-item-wide {
    grid-column: auto;
  }

  .employee-history-heading {
    flex-wrap: wrap;
  }

  .employee-history-heading .btn {
    margin-left: auto !important;
  }
}

.report-hub {
  padding: 26px;
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 8px;
  box-shadow: 0 3px 14px rgba(35, 55, 75, 0.06);
}

.report-hub-heading {
  margin-bottom: 24px;
}

.report-hub-kicker {
  color: #6d8297;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.report-hub-heading h2 {
  margin: 5px 0 7px;
  color: #26384a;
  font-size: 25px;
  font-weight: 700;
}

.report-hub-heading p {
  margin: 0;
  color: #68788a;
  font-size: 14px;
}

.report-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.report-hub-card {
  min-width: 0;
  padding: 18px;
  background: #fbfcfd;
  border: 1px solid #e3e9ef;
  border-radius: 7px;
}

.report-hub-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 88px;
}

.report-hub-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #287db8;
  border-radius: 8px;
  font-size: 19px;
}

.report-hub-card-heading h3 {
  margin: 1px 0 5px;
  color: #2d4053;
  font-size: 16px;
  font-weight: 700;
}

.report-hub-card-heading p {
  margin: 0;
  color: #718092;
  font-size: 12px;
  line-height: 1.5;
}

.report-hub-links {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e7ecf1;
}

.report-hub-links li {
  border-bottom: 1px solid #e7ecf1;
}

.report-hub-links li:last-child {
  border-bottom: 0;
}

.report-hub-links a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #356789;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.report-hub-links a:hover,
.report-hub-links a:focus {
  color: #174d76;
  text-decoration: none;
}

.report-hub-links a i {
  color: #8a9aaa;
  font-size: 18px;
}

@media (max-width: 900px) {
  .report-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.report-chart-page {
  margin: 0;
  padding: 26px;
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 8px;
  box-shadow: 0 3px 14px rgba(35, 55, 75, 0.06);
}

.app-content .widget.row.no-gutter.p-lg.report-chart-page {
  background: #fff;
}

.report-chart-page .widget-title {
  margin: 0 0 7px !important;
  color: #2d4053 !important;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.35;
}

.report-chart-description {
  margin: 0 0 16px;
  color: #718092;
  font-size: 13px;
  line-height: 1.5;
}

.report-back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 14px;
  color: #3478a4;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.report-back-link:hover,
.report-back-link:focus {
  color: #205a80;
  text-decoration: none;
}

.report-chart-page #container {
  width: 100%;
  min-height: 370px;
  margin: 0 auto;
  overflow: hidden;
  border-top: 1px solid #edf1f4;
}

.report-chart-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 12px;
  background: #f7f9fb;
  border: 1px solid #e5ebf0;
  border-radius: 6px;
}

.report-chart-filter label {
  margin: 0;
  color: #4d6176;
  font-size: 13px;
  font-weight: 600;
}

.report-chart-filter select[name="tahun"] {
  min-width: 170px;
  min-height: 40px;
  margin: 0;
  padding: 8px 34px 8px 11px;
  color: #33485d;
  background: #fff;
  border: 1px solid #d6e0e8;
  border-radius: 5px;
  font-size: 13px;
}

.report-chart-filter select[name="tahun"]:focus {
  border-color: #3987b9;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(57, 135, 185, 0.14);
}

.report-chart-filter .btn {
  min-height: 40px;
  margin: 0;
}

.report-chart-empty {
  margin: 0;
  padding: 14px 16px;
  color: #63778b;
  background: #f8fafc;
  border-left: 3px solid #81a9c7;
  border-radius: 4px;
  font-size: 13px;
}

@media (max-width: 767px) {
  .report-chart-page {
    padding: 17px;
  }

  .report-chart-page .widget-title {
    font-size: 20px;
  }

  .report-chart-page #container {
    min-height: 320px;
  }

  .report-chart-filter {
    align-items: stretch;
    flex-direction: column;
  }

  .report-chart-filter select[name="tahun"],
  .report-chart-filter .btn {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .report-hub {
    padding: 18px;
  }

  .report-hub-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .report-hub-heading h2 {
    font-size: 22px;
  }

  .report-hub-card-heading {
    min-height: auto;
    margin-bottom: 14px;
  }
}
