.approval-preview-person {
  position: relative;
}

.approval-preview-person:not(.fixed) {
  padding-bottom: 31px !important;
}

.approval-order-buttons {
  position: absolute;
  right: 6px;
  bottom: 5px;
  left: 6px;
  display: flex !important;
  justify-content: center;
  gap: 4px;
  padding: 0 !important;
  background: transparent !important;
}

.approval-order-buttons button {
  width: 27px;
  height: 20px;
  padding: 0;
  border: 1px solid #d3deeb;
  border-radius: 4px;
  background: #f5f8fc;
  color: #1769e0;
  font-size: 10px;
  cursor: pointer;
}

.approval-order-buttons button:disabled {
  color: #b8c1cc;
  cursor: default;
  opacity: 0.55;
}

.approval-node.rejected {
  border-color: #efc5c5;
  background: #fff5f5;
}

.approval-node.rejected em {
  color: #d84b4b;
}

.approval-inbox-toolbar {
  align-items: center;
}

.approval-inbox-toolbar span {
  margin-left: auto;
  color: #7b8999;
  font-size: 10px;
}

.approval-date {
  display: block;
  margin-top: 4px;
  color: #8c98a7;
  font-size: 8px;
}

.approval-route-cell {
  max-width: 290px;
  color: #5f6f82;
  font-size: 9px;
  line-height: 1.55;
}

.decision-actions {
  display: flex;
  gap: 5px;
}

.decision-actions button {
  padding: 6px 10px;
  border: 1px solid #1769e0;
  border-radius: 5px;
  background: #1769e0;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.decision-actions button.reject {
  border-color: #e0a4a4;
  background: #fff;
  color: #d14b4b;
}

.waiting-copy {
  color: #9a7c54;
  font-size: 9px;
}

.empty-approval {
  padding: 42px !important;
  color: #8b98a7;
  text-align: center;
}

.stat-card-action {
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.stat-card-action:hover,
.stat-card-action:focus-visible {
  border-color: #f0b36f;
  box-shadow: 0 10px 24px rgba(121, 78, 22, .12);
  outline: none;
  transform: translateY(-2px);
}

.stat-card-action em {
  display: block;
  margin: 4px 0 0;
  color: #c87722;
  font-size: 8px;
}

.pending-approval-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 12px 15px;
  border-radius: 9px;
  background: #fff5e9;
  color: #805322;
}

.pending-approval-summary span {
  font-size: 10px;
  font-weight: 800;
}

.pending-approval-summary b {
  color: #d1761e;
  font-size: 18px;
}

.pending-approval-list {
  display: grid;
  gap: 8px;
  max-height: 390px;
  overflow: auto;
}

.pending-approval-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.pending-approval-item:hover {
  border-color: #7aa8e5;
  background: #f7faff;
}

.pending-approval-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #fff1df;
  color: #cf771e;
}

.pending-approval-item b,
.pending-approval-item small {
  display: block;
}

.pending-approval-item b {
  color: #26384c;
  font-size: 11px;
}

.pending-approval-item small {
  margin-top: 4px;
  color: #8794a3;
  font-size: 8px;
}

.pending-approval-item em {
  color: #1769e0;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.pending-approval-empty {
  display: grid;
  gap: 6px;
  padding: 34px 18px;
  color: #8290a0;
  text-align: center;
}

.pending-approval-empty b {
  color: #42556b;
  font-size: 12px;
}

.approval-document-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.approval-document-link:hover b {
  color: #1769e0;
  text-decoration: underline;
}

.approval-row-actions,
.approval-detail-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.outline-btn.compact {
  height: 30px;
  padding: 0 9px;
  white-space: nowrap;
}

.document-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.document-file-list span {
  padding: 7px 10px;
  border-radius: 7px;
  background: #f1f5fa;
  color: #5e7085;
  font-size: 9px;
}

@media (max-width: 760px) {
  .approval-inbox-toolbar span {
    display: none;
  }
}
