.action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.protocol-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}

.client-count-tag {
  font-variant-numeric: tabular-nums;
}

.row-action-trigger {
  font-size: 20px;
  cursor: pointer;
}

.client-email-list {
  max-height: 200px;
  overflow-y: auto;
  min-width: 150px;
}

.client-email-list > div {
  padding: 2px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.ant-table {
  border-radius: 8px;
  overflow: hidden;
}

.ant-table-container {
  border-radius: 8px;
  overflow: hidden;
}

.ant-table-thead > tr:first-child > *:first-child {
  border-start-start-radius: 8px;
}

.ant-table-thead > tr:first-child > *:last-child {
  border-start-end-radius: 8px;
}

.ant-table-tbody > tr:last-child > *:first-child {
  border-end-start-radius: 8px;
}

.ant-table-tbody > tr:last-child > *:last-child {
  border-end-end-radius: 8px;
}

.inbound-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.inbound-card {
  border: 1px solid rgba(128, 128, 128, 0.2);
  border-radius: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.dark .inbound-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.card-id {
  font-size: 11px;
  opacity: 0.6;
}

.tag-name {
  font-weight: 600;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.card-stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.6;
  min-width: 96px;
  flex-shrink: 0;
}

.card-stats .ant-tag {
  margin: 0;
}

.card-empty {
  text-align: center;
  opacity: 0.4;
  padding: 20px 0;
}

@media (max-width: 768px) {
  .ant-card-head {
    padding: 0 12px;
    min-height: 44px;
  }

  .ant-card-head-title,
  .ant-card-extra {
    padding: 8px 0;
  }

  .ant-card-body {
    padding: 8px;
  }

  .row-action-trigger {
    font-size: 22px;
    padding: 4px;
  }
}
