.directory-stats > div,
#clients .page-heading,
#inventory .page-heading {
  border-color: #c9dff2;
}

.directory-table-panel {
  border-color: #c9dff2;
  border-radius: 14px;
  overflow: hidden;
}

.directory-table-panel table {
  min-width: 960px;
}

.inventory-directory-table table {
  width: 100%;
  min-width: 980px;
  table-layout: fixed;
}

.inventory-directory-table th:last-child,
.inventory-directory-table td:last-child {
  min-width: 170px;
}

.inventory-directory-table th:nth-child(1) { width: 11%; }
.inventory-directory-table th:nth-child(2) { width: 13%; }
.inventory-directory-table th:nth-child(3) { width: 21%; }
.inventory-directory-table th:nth-child(4) { width: 20%; }
.inventory-directory-table th:nth-child(5) { width: 11%; }
.inventory-directory-table th:nth-child(6) { width: 8%; }
.inventory-directory-table th:nth-child(7) { width: 16%; }

.inventory-directory-table td {
  overflow-wrap: anywhere;
}

.inventory-directory-table td:nth-child(5) {
  word-break: break-all;
}

.inventory-directory-table .directory-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 0;
}

.inventory-directory-table .directory-actions button {
  width: 100%;
  padding-inline: 5px;
}

.directory-table-panel thead {
  background: #f0f6fc;
}

.directory-table-panel th {
  height: 54px;
  padding: 12px 16px;
  color: #607792;
}

.directory-table-panel td {
  padding: 13px 16px;
  vertical-align: middle;
}

.directory-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.directory-identity .client-avatar,
.directory-identity .asset-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0878ed, #1cb4e8);
  color: #fff;
  box-shadow: 0 5px 12px rgba(8, 120, 237, .18);
}

.directory-identity b,
.directory-identity small,
.directory-cell-stack b,
.directory-cell-stack small {
  display: block;
}

.directory-identity b,
.directory-cell-stack b {
  font-size: 10px;
}

.directory-identity small,
.directory-cell-stack small {
  margin-top: 3px;
  color: #75879b;
  font-size: 8px;
}

.directory-count {
  font: 800 13px Manrope;
}

.directory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.directory-actions button {
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.directory-actions .delete-client,
.directory-actions .delete-secure-asset {
  border-color: #f1b5b0;
  background: #fff8f7;
  color: #c0342b;
}

.directory-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 800;
}

.directory-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.directory-status.active,
.directory-status.available {
  color: #22a06b;
}

.directory-status.maintenance {
  color: #d98a00;
}

.directory-status.retired {
  color: #9aa7b5;
}

@media (max-width: 760px) {
  .directory-table-panel {
    border-radius: 10px;
  }
}
