/* Bordro İşlemleri — approved premium redesign (2026-08-26) */

.bord-page-v2 {
  --bord-bg: #080a08;
  --bord-panel: #0e110e;
  --bord-panel-soft: #111411;
  --bord-panel-raised: #151811;
  --bord-line: #292d28;
  --bord-line-soft: #20231f;
  --bord-text: #f1f3ee;
  --bord-muted: #90978f;
  --bord-gold: #d8b94c;
  --bord-gold-bright: #f1d367;
  --bord-gold-soft: rgba(216, 185, 76, .09);
  --bord-green: #78cf91;
  --bord-red: #e88f89;
  gap: 9px;
  width: 100%;
  min-width: 0;
  height: 100%;
  max-height: 100%;
  padding: 1px 0 0;
  overflow: hidden;
  color: var(--bord-text);
}

#app.theme-dashboard-pro.view-pro-content #content:has(.bord-page-v2) {
  overflow: hidden !important;
}

.bord-v2-hero {
  display: flex;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 70px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 6px 2px;
}

.bord-v2-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--bord-gold);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .14em;
}

.bord-v2-hero h2 {
  margin: 0;
  color: var(--bord-text);
  font-size: clamp(21px, 1.85vw, 28px);
  font-weight: 780;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.bord-v2-hero p {
  margin: 5px 0 0;
  color: var(--bord-muted);
  font-size: 11px;
  line-height: 1.4;
}

.bord-v2-period-state {
  display: inline-flex;
  min-height: 34px;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(120, 207, 145, .25);
  border-radius: 9px;
  color: #c8e9d0;
  background: rgba(120, 207, 145, .07);
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.bord-v2-period-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bord-green);
  box-shadow: 0 0 0 4px rgba(120, 207, 145, .1);
}

.bord-v2-period-state.is-closed {
  border-color: rgba(232, 143, 137, .28);
  color: #f0b2ad;
  background: rgba(150, 58, 51, .08);
}

.bord-v2-period-state.is-closed i {
  background: var(--bord-red);
  box-shadow: 0 0 0 4px rgba(232, 143, 137, .1);
}

.bord-page-v2 > .bord-report-banner {
  flex: 0 0 auto;
  min-height: 34px;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid rgba(232, 143, 137, .23);
  border-radius: 9px;
  color: #e4aaa5;
  background: rgba(126, 42, 36, .08);
  font-size: 10px;
}

.bord-v2-controls {
  flex: 0 0 auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--bord-line);
  border-radius: 12px;
  background: linear-gradient(180deg, #101410, #0b0e0c);
}

.bord-v2-filters {
  display: grid;
  grid-template-columns: 120px 96px minmax(145px, .85fr) minmax(145px, .85fr) minmax(220px, 1.35fr);
  gap: 7px;
  min-width: 0;
  padding: 8px;
  border-bottom: 1px solid var(--bord-line-soft);
}

.bord-v2-filters select,
.bord-v2-search {
  width: 100%;
  min-width: 0;
  height: 36px;
  border: 1px solid #30342f;
  border-radius: 8px;
  color: #d9ddd7;
  background: #151816;
  font-size: 11px;
  font-weight: 680;
}

.bord-v2-filters select {
  padding: 0 28px 0 10px;
  outline: 0;
}

.bord-v2-filters select:hover,
.bord-v2-filters select:focus,
.bord-v2-search:focus-within {
  border-color: rgba(216, 185, 76, .52);
  box-shadow: 0 0 0 3px rgba(216, 185, 76, .07);
}

.bord-v2-search {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
}

.bord-v2-search > span {
  color: var(--bord-gold);
  font-size: 17px;
  line-height: 1;
  transform: rotate(-12deg);
}

.bord-v2-search input {
  width: 100%;
  min-width: 0;
  height: 32px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--bord-text);
  background: transparent;
  font-size: 11px;
}

.bord-v2-search input::placeholder { color: #757d75; }

.bord-v2-workflow {
  display: grid;
  grid-template-columns: minmax(195px, .86fr) minmax(245px, 1fr) minmax(255px, 1.08fr) minmax(225px, .92fr);
  min-width: 0;
}

.bord-v2-step {
  min-width: 0;
  min-height: 72px;
  padding: 9px 10px;
  border-right: 1px solid var(--bord-line-soft);
}

.bord-v2-step:last-child { border-right: 0; }

.bord-v2-step-title {
  display: flex;
  min-width: 0;
  height: 19px;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  color: #969e96;
  font-size: 8.5px;
  font-weight: 850;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.bord-v2-step-title > span {
  display: grid;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  color: var(--bord-gold-bright);
  background: rgba(216, 185, 76, .11);
  font-size: 9px;
}

.bord-v2-step-title b {
  overflow: hidden;
  font-weight: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bord-v2-step-actions,
.bord-v2-wage-control {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.bord-v2-btn {
  display: inline-flex;
  min-width: 0;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid #343934;
  border-radius: 8px;
  color: #cbd0ca;
  background: #151916;
  box-shadow: none;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.bord-v2-btn:hover:not(:disabled),
.bord-v2-btn:focus-visible:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.bord-v2-btn:focus-visible {
  outline: 2px solid rgba(216, 185, 76, .42);
  outline-offset: 2px;
}

.bord-v2-btn:disabled {
  cursor: not-allowed;
  opacity: .43;
}

.bord-v2-btn-success {
  border-color: rgba(120, 207, 145, .25);
  color: #afe1bb;
  background: #16271a;
}

.bord-v2-btn-quiet {
  color: #858d85;
  background: #101310;
}

.bord-v2-btn-primary {
  border-color: #dfc04e;
  color: #171407;
  background: linear-gradient(180deg, #ebce63, #cdaa39);
  box-shadow: 0 6px 17px rgba(202, 165, 45, .12);
}

.bord-v2-wage-control > label {
  display: flex;
  min-width: 96px;
  height: 32px;
  flex: 1 1 auto;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid rgba(216, 185, 76, .2);
  border-radius: 8px;
  color: var(--bord-gold-bright);
  background: #090c0a;
}

.bord-v2-wage-control > label:focus-within {
  border-color: rgba(216, 185, 76, .55);
  box-shadow: 0 0 0 3px rgba(216, 185, 76, .07);
}

.bord-v2-wage-control input {
  width: 100%;
  min-width: 0;
  height: 28px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--bord-gold-bright);
  background: transparent;
  font-size: 10.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.bord-v2-kpis {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  min-width: 0;
}

.bord-v2-kpi {
  min-width: 0;
  min-height: 64px;
  padding: 9px 11px;
  overflow: hidden;
  border: 1px solid var(--bord-line);
  border-radius: 10px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .025), transparent 58%), var(--bord-panel);
}

.bord-v2-kpi.is-gold {
  border-color: rgba(216, 185, 76, .31);
  background: linear-gradient(150deg, rgba(216, 185, 76, .11), rgba(216, 185, 76, .025));
}

.bord-v2-kpi > span,
.bord-v2-kpi > strong,
.bord-v2-kpi > small { display: block; }

.bord-v2-kpi > span {
  color: var(--bord-muted);
  font-size: 8.5px;
  font-weight: 850;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.bord-v2-kpi > strong {
  margin-top: 3px;
  overflow: hidden;
  color: var(--bord-text);
  font-size: 18px;
  font-weight: 820;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bord-v2-kpi.is-gold > strong { color: var(--bord-gold-bright); }

.bord-v2-kpi > small {
  margin-top: 3px;
  overflow: hidden;
  color: #747b74;
  font-size: 8.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bord-page-v2 > .bord-v2-table-card,
.bord-page-v2 > .card.bord-v2-table-card {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 185, 76, .23);
  border-radius: 12px;
  background: #080b09;
}

.bord-v2-table-head {
  display: flex;
  min-width: 0;
  min-height: 47px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(216, 185, 76, .16);
  background: linear-gradient(180deg, rgba(216, 185, 76, .105), rgba(216, 185, 76, .025));
}

.bord-v2-table-head h3 {
  margin: 0;
  color: var(--bord-gold-bright);
  font-size: 11.5px;
  font-weight: 830;
  letter-spacing: .035em;
}

.bord-v2-table-head p {
  margin: 3px 0 0;
  color: #858d85;
  font-size: 9px;
}

.bord-v2-table-head > span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(216, 185, 76, .22);
  border-radius: 999px;
  color: var(--bord-gold-bright);
  background: rgba(216, 185, 76, .07);
  font-size: 8.5px;
  font-weight: 850;
  white-space: nowrap;
}

.bord-v2-table-scroll {
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: #6d5b23 #101310;
  scrollbar-width: thin;
}

.bord-v2-table-scroll::-webkit-scrollbar { width: 7px; }
.bord-v2-table-scroll::-webkit-scrollbar-track { background: #101310; }
.bord-v2-table-scroll::-webkit-scrollbar-thumb { border-radius: 999px; background: #6d5b23; }

.bord-v2-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  background: #080b09;
}

.bord-v2-table col:nth-child(1) { width: 25%; }
.bord-v2-table col:nth-child(2) { width: 9%; }
.bord-v2-table col:nth-child(3) { width: 15%; }
.bord-v2-table col:nth-child(4) { width: 13%; }
.bord-v2-table col:nth-child(5) { width: 11%; }
.bord-v2-table col:nth-child(6) { width: 15%; }
.bord-v2-table col:nth-child(7) { width: 12%; }

.bord-v2-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 38px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(216, 185, 76, .17);
  color: #c7aa42;
  background: #0e110e;
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: .055em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.bord-v2-table thead th:nth-child(n+2):nth-child(-n+6) { text-align: right; }
.bord-v2-table thead th:last-child { text-align: center; }

.bord-v2-table tbody tr { height: 56px; }

.bord-v2-table tbody td {
  height: 56px;
  padding: 6px 10px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  color: #d5d9d4;
  background: #080b09;
  font-size: 10px;
  vertical-align: middle;
}

.bord-v2-table tbody tr:nth-child(even) td { background: #0a0d0b; }
.bord-v2-table tbody tr:hover td { background: rgba(216, 185, 76, .045); }

.bord-v2-person {
  display: grid;
  min-width: 0;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.bord-v2-avatar,
.bord-v2-person .hr-employee-avatar.bord-v2-avatar {
  display: inline-grid;
  width: 34px;
  height: 34px;
  min-width: 34px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(216, 185, 76, .38);
  border-radius: 50%;
  color: var(--bord-gold-bright);
  background: linear-gradient(145deg, #4d4b38, #1b211c);
  font-size: 9px;
  font-weight: 900;
}

.bord-v2-person .hr-employee-avatar.bord-v2-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bord-v2-person-copy { min-width: 0; }
.bord-v2-person-copy > strong,
.bord-v2-person-copy > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bord-v2-person-copy > strong { color: #eef0ec; font-size: 12px; font-weight: 780; }
.bord-v2-person-copy > small { margin-top: 3px; color: #808780; font-size: 9.2px; }

.bord-v2-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.bord-v2-num > strong,
.bord-v2-grouped-value > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bord-v2-num > strong { color: #e5e8e3; font-size: 10.5px; font-weight: 760; }
.bord-v2-grouped-value > small { margin-top: 3px; color: #777f77; font-size: 8.2px; }
.bord-v2-payable > strong { color: var(--bord-gold-bright); font-size: 11px; font-weight: 850; }

.bord-v2-status-action {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 6px;
}

.bord-v2-status-action .pill {
  display: inline-flex;
  min-width: 0;
  min-height: 23px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(216, 185, 76, .23);
  border-radius: 999px;
  color: #ddc35e;
  background: rgba(216, 185, 76, .07);
  font-size: 7.8px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bord-v2-status-action .sal-badge-active {
  border-color: rgba(120, 207, 145, .25);
  color: #9edbac;
  background: rgba(120, 207, 145, .08);
}

.bord-v2-card-button {
  display: inline-grid;
  width: 34px;
  height: 32px;
  min-width: 34px;
  place-items: center;
  padding: 0;
  border: 1px solid #343934;
  border-radius: 8px;
  color: #d8ddd7;
  background: #111512;
  box-shadow: none;
}

.bord-v2-card-button > span { display: none; }
.bord-v2-card-button > b { font-size: 18px; font-weight: 500; line-height: 1; }
.bord-v2-card-button:hover { border-color: rgba(216, 185, 76, .48); color: var(--bord-gold-bright); background: rgba(216, 185, 76, .07); }

/* Premium Bordro dialogs — only callers carrying .bord-dialog-v2 */
.modal-card.modal-fit:has(.bord-dialog-v2),
.modal-card.modal-fit:has(.bord-result-v2) {
  display: flex;
  width: min(620px, calc(100vw - 28px));
  max-height: min(88vh, 720px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 185, 76, .38);
  border-radius: 16px;
  color: #edf0eb;
  background: #0d110e;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .62), inset 0 1px rgba(255, 255, 255, .025);
}

.modal-card.modal-fit:has(.bord-result-v2) { width: min(820px, calc(100vw - 28px)); }

.modal-card.modal-fit:has(.bord-dialog-v2) > h2,
.modal-card.modal-fit:has(.bord-result-v2) > h2 {
  position: relative;
  min-height: 63px;
  flex: 0 0 auto;
  margin: 0;
  padding: 22px 64px 13px 72px;
  border-bottom: 0;
  color: #f3f1e8;
  background: linear-gradient(180deg, rgba(216, 185, 76, .13), rgba(216, 185, 76, .035));
  font-size: 17px;
  font-weight: 820;
  letter-spacing: -.012em;
  line-height: 1.2;
}

.modal-card.modal-fit:has(.bord-dialog-v2) > h2::before,
.modal-card.modal-fit:has(.bord-result-v2) > h2::before {
  position: absolute;
  top: 14px;
  left: 18px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(216, 185, 76, .3);
  border-radius: 11px;
  color: var(--bord-gold-bright, #f1d367);
  background: rgba(216, 185, 76, .09);
  content: '✓';
  font-size: 18px;
  font-weight: 850;
}

.modal-card.modal-fit:has(.bord-dialog-v2--calc) > h2::before { content: '↻'; }
.modal-card.modal-fit:has(.bord-dialog-v2--save) > h2::before { content: '₺'; }
.modal-card.modal-fit:has(.bord-dialog-v2--reopen) > h2::before,
.modal-card.modal-fit:has(.bord-dialog-v2--danger) > h2::before,
.modal-card.modal-fit:has(.bord-dialog-v2--warn) > h2::before {
  border-color: rgba(232, 143, 137, .3);
  color: #eeaaa5;
  background: rgba(137, 47, 41, .13);
  content: '!';
}

.modal-card.modal-fit:has(.bord-dialog-v2) > .modal-x,
.modal-card.modal-fit:has(.bord-result-v2) > .modal-x {
  top: 14px;
  right: 15px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 9px;
  color: #aab1aa;
  background: #121612;
  box-shadow: none;
}

.modal-card.modal-fit:has(.bord-dialog-v2) > .modal-x:hover,
.modal-card.modal-fit:has(.bord-result-v2) > .modal-x:hover {
  border-color: rgba(216, 185, 76, .38);
  color: var(--bord-gold-bright, #f1d367);
}

.modal-card.modal-fit:has(.bord-dialog-v2) > #mb,
.modal-card.modal-fit:has(.bord-result-v2) > #mb {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: hidden;
}

.bord-dialog-v2,
.bord-result-v2 {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  color: #edf0eb;
}

.bord-dialog-v2-intro {
  flex: 0 0 auto;
  padding: 0 22px 12px 72px;
  border-bottom: 1px solid rgba(216, 185, 76, .16);
  background: linear-gradient(180deg, rgba(216, 185, 76, .035), transparent);
}

.bord-dialog-v2-intro > span {
  display: block;
  color: #c7a83c;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
}

.bord-dialog-v2-intro > p {
  margin: 3px 0 0;
  color: #8f978f;
  font-size: 9.5px;
  line-height: 1.4;
}

.bord-dialog-v2 .uz-sym-composer-body {
  min-height: 0;
  flex: 1 1 auto;
  padding: 13px 14px;
  overflow-y: auto;
  scrollbar-color: #6d5b23 #101310;
  scrollbar-width: thin;
}

.bord-dialog-v2 .bonus-emp-panel {
  display: grid;
  gap: 9px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.bord-dialog-v2 .bonus-emp-summary,
.bord-result-v2 .bonus-emp-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
}

body.view-pro-modals .modal-card .bord-dialog-v2 .bonus-emp-summary.uz-sym-chips {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.bord-dialog-v2 .bonus-emp-summary-item,
.bord-result-v2 .bonus-emp-summary-item {
  display: flex;
  min-width: 0;
  min-height: 61px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 9px 10px;
  border: 1px solid #2a2e29;
  border-radius: 9px;
  background: #111512;
  text-align: left;
}

body.view-pro-modals .modal-card .bord-dialog-v2 .bonus-emp-summary-item.uz-sym-chip {
  display: flex !important;
  min-width: 0 !important;
  min-height: 61px !important;
  align-items: flex-start !important;
  justify-content: center !important;
  flex-direction: column !important;
  padding: 9px 10px !important;
  border: 1px solid #2a2e29 !important;
  border-radius: 9px !important;
  background: #111512 !important;
  text-align: left !important;
}

body.view-pro-modals .modal-card .bord-dialog-v2 .bonus-emp-summary-item.uz-sym-chip span,
body.view-pro-modals .modal-card .bord-dialog-v2 .bonus-emp-summary-item.uz-sym-chip strong {
  width: 100% !important;
  text-align: left !important;
}

.bord-dialog-v2 .bonus-emp-summary-item span,
.bord-result-v2 .bonus-emp-summary-item span {
  color: #858d85;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.bord-dialog-v2 .bonus-emp-summary-item strong,
.bord-result-v2 .bonus-emp-summary-item strong {
  width: 100%;
  margin-top: 5px;
  overflow: hidden;
  color: #f0eee6;
  font-size: 13px;
  font-weight: 850;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bord-dialog-v2 .bonus-emp-summary-item:last-child strong,
.bord-result-v2 .bonus-emp-summary-item:first-child strong { color: var(--bord-gold-bright, #f1d367); }

.bord-dialog-v2 .bonus-emp-info-wrap {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.bord-dialog-v2 .bonus-emp-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.bord-dialog-v2 .bonus-emp-info-section {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #292d28;
  border-radius: 9px;
  background: #090c0a;
}

.bord-dialog-v2 .bonus-emp-info-title {
  margin: 0 0 6px;
  color: #d5dad4;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.bord-dialog-v2 .bonus-emp-info-section ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bord-dialog-v2 .bonus-emp-info-section li {
  position: relative;
  padding-left: 15px;
  color: #aeb5ae;
  font-size: 9.5px;
  line-height: 1.38;
}

.bord-dialog-v2 .bonus-emp-info-section li::before {
  position: absolute;
  top: .2em;
  left: 0;
  display: grid;
  width: 11px;
  height: 11px;
  place-items: center;
  border-radius: 4px;
  color: #8bd3a0;
  background: rgba(120, 207, 145, .09);
  content: '✓';
  font-size: 7px;
  font-weight: 900;
}

.bord-dialog-v2 .uz-sym-note,
.bord-result-v2 .bonus-emp-note {
  margin: 0;
  padding: 9px 10px;
  border: 1px solid rgba(216, 185, 76, .2);
  border-radius: 9px;
  color: #a9a994;
  background: rgba(216, 185, 76, .05);
  font-size: 9.5px;
  line-height: 1.4;
}

.bord-dialog-v2--reopen .uz-sym-note,
.bord-dialog-v2--danger .uz-sym-note,
.bord-dialog-v2--warn .uz-sym-note {
  border-color: rgba(232, 143, 137, .22);
  color: #d6a5a1;
  background: rgba(137, 47, 41, .08);
}

.bord-dialog-v2--reopen .bonus-emp-info-section:last-child,
.bord-dialog-v2--danger .bonus-emp-info-section:last-child,
.bord-dialog-v2--warn .bonus-emp-info-section:last-child {
  border-color: rgba(232, 143, 137, .2);
  background: rgba(137, 47, 41, .055);
}

.bord-dialog-v2 > .uz-sym-actions,
.bord-result-v2-actions {
  display: flex;
  min-height: 60px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin: 0;
  padding: 11px 14px;
  border-top: 1px solid #242824;
  background: #090c0a;
}

.bord-dialog-v2 > .uz-sym-actions button,
.bord-result-v2-actions button {
  min-width: 104px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #343934;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
}

.bord-dialog-v2 > .uz-sym-actions .ghost {
  color: #aeb5ae;
  background: #121612;
}

.bord-dialog-v2 > .uz-sym-actions .primary,
.bord-dialog-v2 > .uz-sym-actions .ok,
.bord-result-v2-actions .primary {
  border-color: #dfc04e !important;
  color: #171407 !important;
  background: linear-gradient(180deg, #ebce63, #cdaa39) !important;
  box-shadow: 0 7px 19px rgba(202, 165, 45, .13) !important;
}

.bord-dialog-v2--reopen > .uz-sym-actions .ok,
.bord-dialog-v2--danger > .uz-sym-actions .danger,
.bord-dialog-v2--warn > .uz-sym-actions .ok {
  border-color: rgba(232, 143, 137, .34) !important;
  color: #f1b0ab !important;
  background: rgba(137, 47, 41, .16) !important;
}

.bord-result-v2 {
  padding: 0 14px 13px;
  overflow: hidden;
}

.bord-result-v2 .bord-dialog-v2-intro {
  margin: 0 -14px 12px;
  padding-left: 72px;
}

.bord-result-v2 .bord-report-detail-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 9px 0 0;
}

.bord-result-v2 .bord-report-detail-item {
  min-width: 0;
  min-height: 49px;
  padding: 8px 9px;
  border: 1px solid #292d28;
  border-radius: 9px;
  background: #0a0d0b;
}

.bord-result-v2 .bord-report-detail-item span,
.bord-result-v2 .bord-report-detail-item strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bord-result-v2 .bord-report-detail-item span { color: #818981; font-size: 7.5px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.bord-result-v2 .bord-report-detail-item strong { margin-top: 4px; color: #e8ebe7; font-size: 10px; }

.bord-result-v2 .bord-bulk-result-table {
  min-height: 0;
  max-height: min(32vh, 240px);
  margin: 9px 0;
  overflow: auto;
  border: 1px solid #292d28;
  border-radius: 9px;
  scrollbar-color: #6d5b23 #101310;
  scrollbar-width: thin;
}

.bord-result-v2 .bord-bulk-result-table .table { overflow: visible; }
.bord-result-v2 .bord-bulk-result-table table { min-width: 610px; table-layout: fixed; background: #090c0a; }
.bord-result-v2 .bord-bulk-result-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 8px;
  border-color: #2c302b;
  color: #c3a641;
  background: #111512;
  font-size: 8px;
}
.bord-result-v2 .bord-bulk-result-table td { padding: 8px; border-color: #222622; color: #cbd0ca; background: #090c0a; font-size: 9px; }
.bord-result-v2 .bord-bulk-result-table th:nth-child(1) { width: 22%; }
.bord-result-v2 .bord-bulk-result-table th:nth-child(2) { width: 17%; }
.bord-result-v2 .bord-bulk-result-table th:nth-child(3) { width: 29%; }
.bord-result-v2 .bord-bulk-result-table th:nth-child(4),
.bord-result-v2 .bord-bulk-result-table th:nth-child(5) { width: 16%; text-align: right; }
.bord-result-v2 .bord-bulk-result-table td:nth-child(4),
.bord-result-v2 .bord-bulk-result-table td:nth-child(5) { text-align: right; font-variant-numeric: tabular-nums; }

@media (min-width: 1440px) {
  .bord-v2-status-action { grid-template-columns: minmax(0, 1fr) minmax(68px, .82fr); }
  .bord-v2-card-button { display: inline-flex; width: 100%; gap: 5px; }
  .bord-v2-card-button > span { display: inline; font-size: 8px; font-weight: 780; }
  .bord-v2-card-button > b { font-size: 14px; }
}

@media (max-width: 1260px) {
  .bord-v2-filters { grid-template-columns: 105px 88px minmax(130px, .8fr) minmax(130px, .8fr) minmax(180px, 1.1fr); }
  .bord-v2-workflow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bord-v2-wage-step { grid-column: 1 / -1; min-height: 58px; border-top: 1px solid var(--bord-line-soft); }
  .bord-v2-wage-control { max-width: 360px; }
  .bord-v2-table col:nth-child(1) { width: 26%; }
  .bord-v2-table col:nth-child(2) { width: 10%; }
  .bord-v2-table col:nth-child(3) { width: 16%; }
  .bord-v2-table col:nth-child(4) { width: 13%; }
  .bord-v2-table col:nth-child(5) { width: 12%; }
  .bord-v2-table col:nth-child(6) { width: 13%; }
  .bord-v2-table col:nth-child(7) { width: 10%; }
}

@media (max-width: 980px) {
  .bord-page-v2 { gap: 7px; }
  .bord-v2-hero { min-height: 60px; }
  .bord-v2-filters { grid-template-columns: 105px 88px repeat(2, minmax(130px, 1fr)); }
  .bord-v2-search { grid-column: 1 / -1; }
  .bord-v2-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bord-v2-kpi { min-height: 55px; padding: 7px 9px; }
  .bord-v2-kpi > strong { font-size: 15px; }
  .bord-v2-table col:nth-child(1) { width: 32%; }
  .bord-v2-table col:nth-child(2) { width: 13%; }
  .bord-v2-table col:nth-child(3) { width: 17%; }
  .bord-v2-table col:nth-child(5) { width: 16%; }
  .bord-v2-table col:nth-child(7) { width: 22%; }
  .bord-v2-table th:nth-child(4),
  .bord-v2-table td:nth-child(4),
  .bord-v2-table th:nth-child(6),
  .bord-v2-table td:nth-child(6) { display: none; }
  .bord-v2-status-action { grid-template-columns: minmax(0, 1fr) 34px; }
}

@media (max-width: 720px) {
  #app.theme-dashboard-pro.view-pro-content #content:has(.bord-page-v2) { padding: 8px; }
  .bord-v2-hero { min-height: 56px; align-items: flex-start; }
  .bord-v2-eyebrow,
  .bord-v2-hero p { display: none; }
  .bord-v2-hero h2 { font-size: 20px; }
  .bord-v2-period-state { min-height: 30px; padding: 0 8px; font-size: 8.5px; }
  .bord-v2-filters { grid-template-columns: 1fr 1fr; }
  .bord-v2-filters select:nth-child(3),
  .bord-v2-filters select:nth-child(4) { min-width: 0; }
  .bord-v2-workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bord-v2-step { min-height: 64px; padding: 7px; border-top: 1px solid var(--bord-line-soft); }
  .bord-v2-step:nth-child(-n+2) { border-top: 0; }
  .bord-v2-step:nth-child(even) { border-right: 0; }
  .bord-v2-wage-step { grid-column: auto; }
  .bord-v2-step-title { margin-bottom: 4px; }
  .bord-v2-step-actions { gap: 4px; }
  .bord-v2-btn { height: 30px; padding: 0 7px; font-size: 8.5px; }
  .bord-v2-wage-control > label { min-width: 0; }
  .bord-v2-wage-control input { font-size: 9px; }
  .bord-v2-kpi > small { display: none; }
  .bord-v2-kpi { min-height: 47px; }
  .bord-v2-table-head { min-height: 42px; padding: 6px 9px; }
  .bord-v2-table-head p { display: none; }
  .bord-v2-table col:nth-child(1) { width: 48%; }
  .bord-v2-table col:nth-child(5) { width: 25%; }
  .bord-v2-table col:nth-child(7) { width: 27%; }
  .bord-v2-table th:nth-child(2),
  .bord-v2-table td:nth-child(2),
  .bord-v2-table th:nth-child(3),
  .bord-v2-table td:nth-child(3),
  .bord-v2-table th:nth-child(4),
  .bord-v2-table td:nth-child(4),
  .bord-v2-table th:nth-child(6),
  .bord-v2-table td:nth-child(6) { display: none; }
  .bord-v2-table thead th,
  .bord-v2-table tbody td { padding-inline: 7px; }
  .bord-v2-person { grid-template-columns: 30px minmax(0, 1fr); gap: 7px; }
  .bord-v2-avatar,
  .bord-v2-person .hr-employee-avatar.bord-v2-avatar { width: 30px; height: 30px; min-width: 30px; }
  .bord-v2-person-copy > strong { font-size: 10.5px; }
  .bord-v2-person-copy > small { font-size: 8px; }
  .bord-v2-status-action .pill { font-size: 7px; }
  .bord-dialog-v2-intro { padding-left: 18px; }
  .modal-card.modal-fit:has(.bord-dialog-v2) > h2,
  .modal-card.modal-fit:has(.bord-result-v2) > h2 { padding-left: 62px; font-size: 15px; }
  .modal-card.modal-fit:has(.bord-dialog-v2) > h2::before,
  .modal-card.modal-fit:has(.bord-result-v2) > h2::before { left: 12px; }
  .bord-dialog-v2 .bonus-emp-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .bord-page-v2 { gap: 6px; }
  .bord-v2-hero { min-height: 45px; padding-top: 2px; }
  .bord-v2-hero h2 { font-size: 18px; }
  .bord-v2-period-state { max-width: 52%; }
  .bord-v2-period-state span { overflow: hidden; text-overflow: ellipsis; }
  .bord-v2-filters { gap: 5px; padding: 6px; }
  .bord-v2-filters select,
  .bord-v2-search { height: 32px; font-size: 9px; }
  .bord-v2-workflow { grid-template-columns: 1fr 1fr; }
  .bord-v2-step-title b { font-size: 7.5px; }
  .bord-v2-step-actions .bord-v2-btn { flex: 1 1 auto; }
  .bord-v2-wage-control { gap: 4px; }
  .bord-v2-wage-control .bord-v2-btn { padding-inline: 6px; }
  .bord-v2-kpis { gap: 5px; }
  .bord-v2-kpi { min-height: 43px; padding: 6px 8px; }
  .bord-v2-kpi > span { font-size: 7px; }
  .bord-v2-kpi > strong { font-size: 12px; }
  .bord-v2-table-head > span { font-size: 7.5px; }
  .bord-v2-table col:nth-child(1) { width: 52%; }
  .bord-v2-table col:nth-child(5) { width: 22%; }
  .bord-v2-table col:nth-child(7) { width: 26%; }
  .bord-v2-status-action { grid-template-columns: 1fr; gap: 3px; }
  .bord-v2-card-button { display: none; }
  .bord-dialog-v2 .bonus-emp-summary,
  .bord-result-v2 .bonus-emp-summary,
  .bord-result-v2 .bord-report-detail-strip { grid-template-columns: 1fr; }
  .bord-dialog-v2 .bonus-emp-summary-item,
  .bord-result-v2 .bonus-emp-summary-item { min-height: 48px; }
  .bord-result-v2 .bord-bulk-result-table { overflow-x: auto; }
}

@media (max-height: 760px) and (min-width: 721px) {
  .bord-v2-hero { min-height: 56px; }
  .bord-v2-hero p { display: none; }
  .bord-v2-step { min-height: 64px; padding-block: 6px; }
  .bord-v2-kpi { min-height: 55px; padding-block: 7px; }
  .bord-v2-kpi > small { display: none; }
  .bord-v2-table-head { min-height: 42px; }
}
