/* Demo overlay: Employee import screens (Run Time, insurance, housing, bank definitions, import templates).
   Loaded after the shared portal theme; the theme installer does not overwrite this file. */
.pts-runtime-modal-drop { min-height: 5.5rem; }
.pts-runtime-modal-files { margin: 0.75rem 0 0; padding-left: 1.1rem; font-size: 0.84rem; }
.pts-customer-detail-general .form-control.pts-employee-identity-no { background-color: #fce7f3; }
.pts-customer-detail-general .form-control.pts-employee-identity-no:focus { background-color: #fce7f3; }
[data-bs-theme="dark"] .pts-customer-detail-general .form-control.pts-employee-identity-no,
[data-bs-theme="dark"] .pts-customer-detail-general .form-control.pts-employee-identity-no:focus { background-color: color-mix(in srgb, #fce7f3 22%, var(--tblr-bg-forms, var(--tblr-bg-surface))); }
.pts-customer-detail-general .form-control.pts-employee-email.is-valid { border-color: #2fb344; box-shadow: 0 0 0 0.15rem rgba(47, 179, 68, 0.18); background-image: none; padding-right: 0.75rem; }
.pts-customer-detail-general .form-control.pts-employee-email.is-valid:focus { border-color: #2fb344; box-shadow: 0 0 0 0.2rem rgba(47, 179, 68, 0.28); }
.pts-customer-detail-general .form-control.pts-employee-email.is-invalid { border-color: #d63939; box-shadow: 0 0 0 0.15rem rgba(214, 57, 57, 0.18); background-image: none; padding-right: 0.75rem; }
.pts-customer-detail-general .form-control.pts-employee-email.is-invalid:focus { border-color: #d63939; box-shadow: 0 0 0 0.2rem rgba(214, 57, 57, 0.28); }
.pts-employee-housing-panel { display: flex; flex-direction: column; align-items: stretch; gap: 0.85rem; min-width: 0; width: 100%; }
.pts-employee-housing-panel-switch { position: static; align-self: flex-end; flex: 0 0 auto; max-width: min(100%, 16.5rem); }
.pts-employee-housing-flat { display: flex; flex-direction: column; gap: 0.85rem; width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.pts-employee-housing-flat-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0.55rem 1rem; padding-bottom: 0.65rem; border-bottom: 1px solid color-mix(in srgb, var(--tblr-border-color, #dce1e7) 85%, transparent); }
.pts-employee-housing-flat-heading { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; flex: 1 1 12rem; }
.pts-employee-housing-eyebrow { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tblr-secondary, #6c7a91); line-height: 1.3; }
.pts-employee-housing-eyebrow .icon { width: 0.9rem; height: 0.9rem; opacity: 0.85; }
.pts-employee-housing-flat-title { margin: 0; font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.pts-employee-housing-actions { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.2rem; flex: 0 0 auto; margin-left: auto; }
.pts-employee-housing-action { display: inline-flex; align-items: center; gap: 0.3rem; padding-inline: 0.45rem; }
.pts-employee-housing-action .icon { width: 1rem; height: 1rem; }
.pts-employee-housing-empty { margin: 0; padding: 0.35rem 0 0.15rem; font-size: 0.9375rem; line-height: 1.45; }
.pts-employee-housing-layout { display: grid; grid-template-columns: minmax(16rem, 1.15fr) minmax(0, 1fr); gap: 1rem 1.25rem; align-items: stretch; min-width: 0; width: 100%; }
.pts-employee-housing-map { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.pts-employee-housing-map .pts-employee-address-map { min-height: 17.5rem; height: 100%; }
.pts-employee-housing-map .pts-employee-address-map-body,
.pts-employee-housing-map .pts-employee-address-map .pts-fleetgo-map { min-height: 15rem; }
.pts-employee-housing-fields { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem; grid-template-areas:
    "street number"
    "postal  city"
    "country country"; gap: 0.7rem 0.75rem; align-content: start; margin: 0; min-width: 0; }
.pts-employee-housing-field { display: flex; flex-direction: column; gap: 0.28rem; min-width: 0; }
.pts-employee-housing-field--street { grid-area: street; }
.pts-employee-housing-field--number { grid-area: number; }
.pts-employee-housing-field--postal { grid-area: postal; }
.pts-employee-housing-field--city { grid-area: city; }
.pts-employee-housing-field--country { grid-area: country; }
.pts-employee-housing-field dt { margin: 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--tblr-secondary, #6c7a91); line-height: 1.25; }
.pts-employee-housing-field dd { margin: 0; padding: 0.55rem 0.7rem; min-height: 2.35rem; font-size: 0.9375rem; font-weight: 550; line-height: 1.35; color: var(--tblr-body-color, #1e293b); background: color-mix(in srgb, var(--tblr-bg-surface-secondary, #f1f5f9) 55%, transparent); border: 1px solid color-mix(in srgb, var(--tblr-border-color, #dce1e7) 70%, transparent); border-radius: var(--tblr-border-radius, 0.5rem); overflow-wrap: anywhere; box-sizing: border-box; }
@media (max-width: 991.98px) {
  .pts-employee-housing-layout { grid-template-columns: 1fr; }
  .pts-employee-housing-map .pts-employee-address-map { min-height: 14.5rem; }
}
@media (max-width: 767.98px) {
  .pts-employee-housing-action span { display: none; }
  .pts-employee-housing-fields { grid-template-columns: minmax(0, 1fr) 5.5rem; }
}
.pts-page-detail.pts-employee-insurance-import-detail,
.pts-page-detail.pts-employee-runtime-import-detail { display: flex; flex-direction: column; min-height: min(70vh, 44rem); }
.pts-page-scroll > .page-body > .container-xl > .pts-page-detail.pts-employee-runtime-import-detail,
.page-wrapper .pts-manage-page > .page-body > .container-xl > .pts-page-detail.pts-employee-runtime-import-detail { overflow: hidden; padding: 0.55rem 0.65rem 0.45rem; }
.pts-employee-runtime-import-body { display: flex; flex-direction: column; gap: 0.55rem; flex: 1 1 auto; width: 100%; min-width: 0; min-height: 0; height: 100%; }
.pts-runtime-command { display: flex; align-items: stretch; gap: 0.55rem; flex: 0 0 auto; }
.pts-employee-runtime-import-drop.pts-employee-insurance-cat-drop { flex: 1 1 auto; min-height: 0; min-width: 0; padding: 0.45rem 0.7rem; gap: 0.65rem; border-radius: 0.75rem; cursor: pointer; }
.pts-employee-runtime-import-drop .pts-employee-insurance-drop-icon { width: 2.15rem; height: 2.15rem; }
.pts-employee-runtime-import-drop .pts-employee-insurance-drop-copy { display: flex; flex-direction: column; gap: 0.05rem; min-width: 0; }
.pts-employee-runtime-import-drop .pts-employee-insurance-drop-copy span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pts-runtime-status.is-success { color: var(--tblr-success); font-weight: 650; }
.pts-runtime-status.is-danger { color: var(--tblr-danger); font-weight: 650; }
.pts-runtime-status.is-info { color: var(--tblr-primary); font-weight: 650; }
.pts-runtime-actions { display: flex; flex-direction: column; justify-content: center; gap: 0.35rem; flex: 0 0 auto; }
.pts-runtime-actions .btn { min-width: 6.5rem; }
.pts-runtime-actions .btn.is-running { position: relative; overflow: hidden; }
.pts-runtime-progress { flex: 0 0 auto; height: 3px; border-radius: 99px; overflow: hidden; background: color-mix(in srgb, var(--tblr-primary) 12%, transparent); }
.pts-runtime-progress::before { content: ""; display: block; height: 100%; width: 40%; border-radius: inherit; background: var(--tblr-primary); animation: pts-runtime-progress 0.9s ease-in-out infinite; }
.pts-runtime-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.4rem; flex: 0 0 auto; }
.pts-runtime-stat { display: flex; align-items: baseline; justify-content: space-between; gap: 0.35rem; min-width: 0; padding: 0.35rem 0.55rem; border: 1px solid color-mix(in srgb, var(--tblr-primary) 16%, var(--tblr-border-color)); border-radius: 0.65rem; background: color-mix(in srgb, var(--tblr-primary) 6%, var(--tblr-bg-surface)); animation: pts-runtime-stat-in 0.42s ease both; }
.pts-runtime-stat span { font-size: 0.68rem; font-weight: 650; letter-spacing: 0.02em; text-transform: uppercase; color: var(--tblr-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pts-runtime-stat b { font-size: 1.05rem; font-variant-numeric: tabular-nums; line-height: 1; animation: pts-runtime-pop 0.45s ease both; }
.pts-runtime-stat.is-total { border-color: color-mix(in srgb, #f6a23a 70%, var(--tblr-border-color)); background: color-mix(in srgb, #f6a23a 18%, var(--tblr-bg-surface)); }
.pts-runtime-filters { display: flex; align-items: center; gap: 0.4rem; flex: 0 0 auto; }
.pts-runtime-view { display: inline-flex; align-items: center; gap: 0.55rem; margin-left: auto; }
.pts-runtime-view select { height: 1.85rem; padding: 0 1.6rem 0 0.55rem; border-radius: 0.55rem; border: 1px solid var(--tblr-border-color); background: var(--tblr-bg-surface); color: var(--tblr-body-color); font-size: 0.78rem; font-weight: 650; }
.pts-runtime-unique { display: inline-flex; align-items: center; gap: 0.4rem; margin-left: 0; font-size: 0.78rem; font-weight: 650; white-space: nowrap; cursor: pointer; }
.pts-runtime-unique input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--tblr-primary); }
.pts-runtime-export { position: relative; }
.pts-runtime-export-btn { height: 1.85rem; padding: 0 0.7rem; border-radius: 0.55rem; border: 1px solid #b7c9e2; background: #e7eef8; color: #1b2c40; font-size: 0.78rem; font-weight: 700; }
.pts-runtime-export-btn:disabled { opacity: 0.45; }
.pts-runtime-export-menu { position: absolute; z-index: 8; top: calc(100% + 0.25rem); left: 0; min-width: 11rem; margin: 0; padding: 0.25rem; list-style: none; border-radius: 0.55rem; border: 1px solid var(--tblr-border-color); background: var(--tblr-bg-surface); box-shadow: 0 0.4rem 1.2rem rgba(22, 32, 48, 0.12); }
.pts-runtime-export-menu button { width: 100%; padding: 0.35rem 0.55rem; border: 0; border-radius: 0.4rem; background: transparent; color: var(--tblr-body-color); font-size: 0.78rem; font-weight: 650; text-align: left; }
.pts-runtime-export-menu button:hover { background: #e7eef8; }
.pts-runtime-filter { display: inline-flex; align-items: center; justify-content: space-between; gap: 0.55rem; min-width: 7.5rem; padding: 0.32rem 0.6rem; border-radius: 0.65rem; border: 1px solid transparent; font-size: 0.78rem; font-weight: 650; opacity: 0.42; transition: opacity 0.18s ease, transform 0.18s ease; }
.pts-runtime-filter b { font-variant-numeric: tabular-nums; }
.pts-runtime-filter.is-on { opacity: 1; }
.pts-runtime-filter.is-exact { background: #d8f3dc; color: #1c2a18; border-color: #8dce86; }
.pts-runtime-filter.is-over { background: #f8d4e3; color: #3a1824; border-color: #e3a0bc; }
.pts-runtime-gap { background: #f3e2c4; color: #3a2a16; border-color: #c9a36a; cursor: pointer; }
.pts-runtime-filter.is-under { background: #f0ddc4; color: #3a2a16; border-color: #c9a36a; }
.pts-runtime-filter.is-on:hover { transform: translateY(-1px); }
.pts-runtime-table.pts-employee-insurance-zorg-table-panel { flex: 1 1 auto; min-height: 0; gap: 0.35rem; padding: 0.3rem; }
.pts-runtime-transfer-progress { flex: 0 0 auto; padding: 0 0.15rem 0.35rem; }
.pts-runtime-transfer-progress .pts-calendar-transfer-progress { margin: 0; }
.pts-runtime-table-footer { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; padding: 0 0.15rem 0.1rem; }
.pts-runtime-row-count { font-size: 0.78rem; font-weight: 650; color: var(--tblr-secondary); font-variant-numeric: tabular-nums; }
.pts-runtime-footer-meta { display: inline-flex; align-items: center; gap: 0.9rem; }
.pts-runtime-eksik-total { font-size: 0.78rem; font-weight: 700; color: #163044; font-variant-numeric: tabular-nums; }
.pts-employee-runtime-results-scroll { flex: 1 1 auto; height: calc(100dvh - 17.8rem); min-height: 22rem; max-height: none; overflow: auto; border-radius: 0.55rem; }
.pts-employee-runtime-results-scroll thead th { position: sticky; top: 0; z-index: 2; background: var(--tblr-bg-surface); box-shadow: inset 0 -1px 0 var(--tblr-border-color); }
.pts-runtime-week-row { cursor: pointer; }
.pts-employee-runtime-results-scroll tr.pts-runtime-detail-row > td { background: #eef1f4; padding: 0.35rem 0.45rem 0.5rem; }
.pts-runtime-detail-table { width: 100%; background: #fff; border: 1px solid var(--tblr-border-color); border-radius: 0.45rem; overflow: hidden; }
.pts-employee-runtime-results-scroll .pts-runtime-detail-table thead th { position: static; z-index: auto; background: #f7f8fa; box-shadow: none; font-size: 0.72rem; }
.pts-employee-runtime-results-scroll .pts-runtime-detail-table td { background: #fff; color: var(--tblr-body-color); font-size: 0.75rem; }
.pts-runtime-table { animation: pts-runtime-row-in 0.38s ease both; }
.pts-employee-runtime-results-scroll th.pts-runtime-total,
.pts-employee-runtime-results-scroll td.pts-runtime-total,
.pts-employee-runtime-results-scroll tr.pts-runtime-hours-exact > td.pts-runtime-total,
.pts-employee-runtime-results-scroll tr.pts-runtime-hours-over > td.pts-runtime-total,
.pts-employee-runtime-results-scroll tr.pts-runtime-hours-under > td.pts-runtime-total,
.pts-employee-runtime-results-scroll .pts-runtime-detail-table thead th.pts-runtime-total,
.pts-employee-runtime-results-scroll .pts-runtime-detail-table td.pts-runtime-total { background-color: #d6ebfa; color: #163044; }
.pts-employee-runtime-results-scroll tr.pts-runtime-hours-exact > td { background-color: #d8f3dc; color: #1c2a18; }
.pts-employee-runtime-results-scroll tr.pts-runtime-hours-over > td { background-color: #f8d4e3; color: #3a1824; }
.pts-employee-runtime-results-scroll tr.pts-runtime-hours-under > td { background-color: #f0ddc4; color: #3a2a16; }
.pts-employee-runtime-results-scroll tr > td.pts-employee-runtime-control-adjusted { background-color: #f6a23a; color: #1f1408; animation: pts-runtime-cell 0.7s ease; }
.pts-employee-runtime-import-drop.is-dragging { animation: pts-runtime-drop 0.8s ease-in-out infinite; }
@keyframes pts-runtime-stat-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pts-runtime-pop {
  from {
    opacity: 0;
    transform: translateY(4px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pts-runtime-row-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes pts-runtime-cell {
  from {
    background-color: #ffe7b8;
  }
  to {
    background-color: #f6a23a;
  }
}
@keyframes pts-runtime-progress {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(280%);
  }
}
@keyframes pts-runtime-drop {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}
@media (max-width: 900px) {
  .pts-runtime-command { flex-direction: column; }
  .pts-runtime-actions { flex-direction: row; }
  .pts-runtime-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pts-employee-runtime-results-scroll { height: calc(100dvh - 22rem); }
}
@media (prefers-reduced-motion: reduce) {
  .pts-runtime-stat,
  .pts-runtime-stat b,
  .pts-runtime-table,
  .pts-employee-runtime-results-scroll td.pts-employee-runtime-control-adjusted,
  .pts-runtime-progress::before,
  .pts-employee-runtime-import-drop.is-dragging { animation: none; }
}
.pts-employee-insurance-import-body { display: flex; flex-direction: column; gap: 0.85rem; flex: 1 1 auto; width: 100%; min-width: 0; min-height: 0; padding: 0.35rem 0 0.15rem; }
.pts-employee-insurance-cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; width: 100%; }
@media (max-width: 1100px) {
  .pts-employee-insurance-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.pts-employee-insurance-cat-col { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.pts-employee-insurance-cat-drop { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.9rem; align-items: center; width: 100%; min-height: 8.5rem; padding: 1.15rem 1.1rem; border: 1.5px dashed color-mix(in srgb, var(--tblr-primary) 35%, var(--tblr-border-color)); border-radius: 1rem; background:
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--tblr-primary) 8%, transparent),
      transparent 55%
    ),
    color-mix(in srgb, var(--tblr-bg-surface) 96%, transparent); cursor: pointer; transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease; box-sizing: border-box; }
.pts-employee-insurance-cat-drop.has-files { border-style: solid; }
.pts-employee-insurance-cat-count { display: inline-flex; align-items: center; margin-top: 0.15rem; font-size: 0.78rem; font-weight: 700; color: var(--tblr-primary); }
.pts-employee-insurance-zorg-table-panel { display: flex; flex-direction: column; gap: 0.55rem; width: 100%; min-width: 0; padding: 0.85rem 0.95rem; border: 1px solid color-mix(in srgb, var(--tblr-primary) 22%, var(--tblr-border-color)); border-radius: 0.85rem; background: color-mix(in srgb, var(--tblr-primary) 5%, var(--tblr-bg-surface)); }
.pts-employee-insurance-zorg-table-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 0.55rem 0.85rem; }
.pts-employee-insurance-zorg-table { --tblr-table-cell-padding-x: 0.55rem; font-size: 0.8125rem; }
.pts-employee-insurance-zorg-table th,
.pts-employee-insurance-zorg-table td { white-space: nowrap; vertical-align: middle; }
.pts-employee-insurance-zorg-status { font-weight: 650; font-size: 0.78rem; }
.pts-employee-insurance-zorg-status.is-pending { color: var(--tblr-secondary); }
.pts-employee-insurance-zorg-status.is-reading { color: var(--tblr-info); }
.pts-employee-insurance-zorg-status.is-ok { color: var(--tblr-success); }
.pts-employee-insurance-zorg-status.is-failed { color: var(--tblr-danger); }
.pts-employee-insurance-results-table { --tblr-table-bg: transparent; }
.pts-employee-insurance-cat-drop:hover,
.pts-employee-insurance-cat-drop:focus-visible { border-color: color-mix(in srgb, var(--tblr-primary) 55%, var(--tblr-border-color)); background: color-mix(in srgb, var(--tblr-primary) 10%, var(--tblr-bg-surface)); outline: none; }
.pts-employee-insurance-cat-drop.is-dragging { border-color: var(--tblr-primary); background: color-mix(in srgb, var(--tblr-primary) 12%, var(--tblr-bg-surface)); transform: translateY(-1px); }
.pts-employee-insurance-cat-drop.is-disabled { opacity: 0.72; cursor: not-allowed; pointer-events: none; }
.pts-employee-insurance-drop-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.85rem; color: var(--tblr-primary); background: color-mix(in srgb, var(--tblr-primary) 12%, transparent); flex: 0 0 auto; }
.pts-employee-insurance-drop-icon .icon { width: 1.3rem; height: 1.3rem; }
.pts-employee-insurance-drop-copy { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.pts-employee-insurance-drop-copy strong { font-size: 0.98rem; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.pts-employee-insurance-drop-copy span { color: var(--tblr-secondary); font-size: 0.84rem; line-height: 1.35; }
.pts-employee-insurance-empty-hint { margin: 0; padding: 0.15rem 0.1rem; font-size: 0.9375rem; line-height: 1.45; }
@media (max-width: 991.98px) {
  .pts-employee-insurance-cat-grid { grid-template-columns: 1fr; }
}
.pts-employee-address-action { display: inline-flex; align-items: center; gap: 0.3rem; }
.pts-employee-address-action .icon { width: 1rem; height: 1rem; }
@media (max-width: 767.98px) {
  .pts-employee-address-action span { display: none; }
}
@keyframes pts-doc-capture-spin {
  to {
    transform: rotate(360deg);
  }
}
.pts-import-template-modal .modal-content { max-height: min(44rem, calc(100vh - 2rem)); display: flex; flex-direction: column; }
