#company-types-settings #ct-list {
  margin-top: 16px;
}

#company-types-settings .ct-table {
  width: 100%;
  min-width: 760px;
  margin-top: 0;
  table-layout: fixed;
}

#company-types-settings .ct-col-name { width: 45%; }
#company-types-settings .ct-col-code { width: 15%; }
#company-types-settings .ct-col-fulfillment { width: 15%; }
#company-types-settings .ct-col-status { width: 10%; }
#company-types-settings .ct-col-actions { width: 15%; }

#company-types-settings .ct-table thead th,
#company-types-settings .ct-table tbody td {
  padding: 10px 12px;
  vertical-align: middle;
  text-align: left;
}

#company-types-settings .ct-table thead th {
  height: 36px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

#company-types-settings .ct-table tbody td {
  min-height: 48px;
  line-height: 1.35;
  border-bottom: 1px solid var(--line2, #eef2f7);
}

#company-types-settings .ct-cell-name {
  text-align: left;
}

#company-types-settings .ct-type-name,
#company-types-settings .ct-type-description {
  display: block;
  text-align: left;
}

#company-types-settings .ct-type-name {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
}

#company-types-settings .ct-type-description {
  max-width: 52ch;
  margin-top: 3px;
  color: var(--color-text-soft);
  font-size: 12px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

#company-types-settings .ct-type-code {
  display: inline-block;
  color: var(--color-text-soft);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  white-space: nowrap;
}

#company-types-settings .ct-cell-fulfillment {
  text-align: left;
}

#company-types-settings .ct-fulfillment-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

#company-types-settings .ct-fulfillment-badge.is-required {
  border-color: #bae6fd;
  background: #e0f2fe;
  color: #0369a1;
}

#company-types-settings .ct-fulfillment-badge.is-optional {
  background: var(--color-surface-muted);
  color: var(--color-text-soft);
}

#company-types-settings .ct-table .ct-cell-status {
  text-align: center;
}

#company-types-settings .ct-table .ct-cell-actions {
  text-align: right;
}

#company-types-settings .ct-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  white-space: nowrap;
}

#company-types-settings .ct-actions .btn-secondary {
  flex: 0 0 auto;
  padding: 7px 9px;
  font-size: 12px;
}

@media (max-width: 760px) {
  #company-types-settings #ct-list {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  #company-types-settings .ct-table {
    min-width: 720px;
  }
}
