/*
 * VMOS agent management: fixed-width columns with explicit horizontal scroll.
 * Scoped overrides intentionally supersede the legacy OTP table's
 * "overflow-x: hidden" and "width: 100% !important" rules.
 */
.bank-otp-table-card.vmos-agent-stable-table .ant-table-content {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}
.bank-otp-table-card.vmos-agent-stable-table .ant-table table {
  min-width: 1387px !important;
  width: 1387px !important;
  table-layout: fixed !important;
}
.vmos-agent-stable-table .ant-table-tbody > tr > td {
  vertical-align: middle;
}
.vmos-agent-health,
.vmos-agent-readiness,
.vmos-agent-proxy-cell {
  display: flex;
  min-width: 0;
  max-width: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}
.vmos-agent-health .ant-tag,
.vmos-agent-readiness .ant-tag {
  display: inline-block;
  box-sizing: border-box;
  margin: 0;
  padding: 0 6px;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  font-size: 11px;
  line-height: 20px;
}
.vmos-agent-readiness small,
.vmos-agent-proxy-state {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ui-text-secondary);
  font-size: 11px;
  line-height: 16px;
}
.vmos-agent-proxy-state.is-error {
  color: var(--ui-status-danger-text);
}
.vmos-agent-proxy-cell .ant-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: auto;
  max-width: 100%;
  padding-inline: 10px;
  font-weight: 600;
}
.vmos-agent-stable-table .vmos-agent-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 3px;
  row-gap: 3px;
}
.vmos-agent-stable-table .vmos-agent-row-actions .ant-btn {
  max-width: none;
  padding-inline: 5px;
  white-space: nowrap;
}
.vmos-agent-stable-table .ant-table-content::-webkit-scrollbar {
  height: 9px;
}
.vmos-agent-stable-table .ant-table-content::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: var(--ui-border);
}
@media (max-width: 760px) {
  .vmos-agent-stable-table .bank-otp-list-heading {
    gap: 5px;
    padding-block: 10px;
  }
}
