Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

5.0 KB
Raw Blame
.profile-page {
  background-color: var(--background);
  min-height: 100%;
  padding: 0;
}

/* Outer white container */
.profile-outer-container {
  background: #fff !important;
  border-radius: 0;
  border: 1px solid #d0d5dd !important;
  overflow: hidden;
  min-height: calc(100vh - 160px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  margin: 0 16px 16px 16px;
}

/* Secondary header bar - outside white container per Figma */
.profile-secondary-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f5f7f9;
  box-shadow: 0px 1px 3px 0px rgba(24, 50, 71, 0.08);
  margin-bottom: 16px;
}

.profile-secondary-header .ant-btn {
  padding: 0;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.88);
}

.profile-secondary-header .ant-btn:hover {
  color: rgba(0, 0, 0, 0.88);
  background: transparent;
}

.profile-header-title {
  font-size: 16px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.88);
  line-height: 24px;
}

/* Content area - has padding for cards */
.profile-content {
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* Override Ant Design grid to use flexbox layout */
.profile-content > .ant-row {
  display: contents;
}

.profile-content .ant-col {
  display: contents;
}

.profile-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  background-color: var(--card);
  border-radius: 14px;
}

/* Cards */
.profile-card {
  width: 364px;
  min-height: 352px;
  flex-shrink: 0;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow:
    0 1px 2px -1px rgba(0, 0, 0, 0.1),
    0 1px 3px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Responsive: stack cards vertically on smaller screens */
@media (max-width: 800px) {
  .profile-card {
    width: 100%;
    max-width: 364px;
  }
}

.profile-card.ant-card .ant-card-body {
  padding: 0;
}

/* Card header with icon and title */
.card-header {
  padding: 24px 24px 16px;
}

.card-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.card-icon-circle.user-icon {
  background-color: #e6f6fd;
  color: #0958d9;
}

.card-icon-circle.org-icon {
  background-color: #f2f8e6;
  color: #256d09;
}

.card-title {
  font-size: 18px;
  font-weight: 500;
  color: #0a0a0a;
  line-height: 28px;
  margin: 0;
}

.card-subtitle {
  font-size: 16px;
  color: #717182;
  line-height: 24px;
  margin: 0;
}

/* Card content */
.card-content {
  padding: 16px 24px 24px;
}

.width-100 {
  width: 100%;
}

/* Field groups */
.profile-card .field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-card .field-label {
  font-size: 13px;
  color: #6a7282;
  font-weight: 500;
  line-height: 14px;
}

/* Field boxes with subtle shadow like Figma */
.profile-card .field-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 4px 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.profile-card .field-value {
  /* Our desired styles */
  font-size: 13px;
  color: #101828;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* Reset conflicting properties from FieldComparisonModal.css */
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  font-family: inherit;
  min-height: auto;
  word-break: normal;
}

.profile-card .field-value.org-id {
  font-family: monospace;
  font-size: 13px;
}

.profile-card .field-icon {
  color: #9ca3af;
  font-size: 13px;
  /* width/height, not font-size alone: antd shipped an icon FONT (sized by
   * font-size); lucide ships SVGs, which ignore it and fall back to their
   * own 24px default. font-size is kept for any text in the same element. */
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* Field with action button (copy) */
.profile-card .field-with-action {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-card .field-with-action .field-box {
  flex: 1;
}

.copy-button {
  color: #9ca3af;
  padding: 4px 8px;
  height: 36px;
  width: 36px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.copy-button:hover {
  color: var(--primary-color, var(--primary));
  border-color: var(--primary-color, var(--primary));
}

/* Role badge */
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background-color: #eff6ff;
  border: 1px solid #bedbff;
  border-radius: 8px;
  color: #1447e6;
  font-size: 12px;
  font-weight: 500;
  width: fit-content;
  height: 26px;
}

.role-badge .anticon {
  font-size: 12px;
  /* width/height, not font-size alone: antd shipped an icon FONT (sized by
   * font-size); lucide ships SVGs, which ignore it and fall back to their
   * own 24px default. font-size is kept for any text in the same element. */
  width: 12px;
  height: 12px;
}