/* ===================================================
   尚睿科技 · 工作台专属样式
   =================================================== */

/* Empty states */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 32px;
  text-align: center;
}
.empty-state-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }
.empty-state-title { font-size: 15px; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; }
.empty-state-sub { font-size: 13px; color: var(--ink-5); }

/* Status tags in task cards */
.status-pending  { background: rgba(138,147,166,0.10); color: var(--ink-4); border: 1px solid var(--border-default); }
.status-running  { background: rgba(74,144,226,0.10);  color: var(--info);  border: 1px solid rgba(74,144,226,0.25); }
.status-completed{ background: rgba(0,184,148,0.10);   color: var(--success);border: 1px solid rgba(0,184,148,0.25); }
.status-failed   { background: rgba(226,88,88,0.10);   color: var(--danger); border: 1px solid rgba(226,88,88,0.25); }

.sr-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

/* Input section card at top of keyword page */
.collect-seed-input .el-input__wrapper {
  border-radius: 10px !important;
}

/* Table refinements */
.el-table th.el-table__cell {
  background: var(--bg-soft) !important;
  color: var(--ink-3) !important;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.03em;
}
.el-table td.el-table__cell {
  border-bottom-color: var(--border-subtle) !important;
}
.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
  background: rgba(247,248,250,0.6) !important;
}
.el-table__body tr:hover > td.el-table__cell {
  background: var(--brand-primary-light) !important;
}

/* Admin section divider */
.sr-nav-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 8px 16px;
}

/* Loading spinner */
.sr-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px;
  color: var(--ink-5);
  font-size: 13px;
  gap: 10px;
}

/* Badge on nav icon */
.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  background: var(--brand-primary);
  color: white;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  padding: 0 4px;
  margin-left: auto;
}

/* Progress bar in task cards */
.task-progress-bar {
  height: 4px;
  background: var(--border-subtle);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
  width: 100%;
}
.task-progress-fill {
  height: 100%;
  background: var(--brand-primary);
  border-radius: 2px;
  animation: indeterminate 1.8s ease-in-out infinite;
  transform-origin: left;
}
@keyframes indeterminate {
  0%   { transform: scaleX(0) translateX(0); }
  50%  { transform: scaleX(0.5) translateX(60%); }
  100% { transform: scaleX(0) translateX(300%); }
}

/* Profile section */
.profile-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}
.profile-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-1);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

/* Invite code display */
.invite-code-display {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--info);
  letter-spacing: 0.05em;
}
