/* ==================== 我的数据模块样式 ==================== */
.mydata-wrapper {
  padding: 40px 0;
  min-height: 600px;
}

/* ==================== 数据集列表样式 ==================== */
.mydata-list {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e3f3ff;
}

.list-title {
  font-size: 28px;
  font-weight: bold;
  color: #1a1a1a;
  margin: 0;
}

.list-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-label {
  color: #666;
}

.stat-value {
  font-size: 18px;
  font-weight: bold;
  color: #0089FF;
}

.stat-value.text-success {
  color: #4CAF50;
}

.stat-value.text-warning {
  color: #FF9800;
}

.stat-divider {
  color: #ddd;
}

/* 表格样式 */
.dataset-table-wrapper {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 137, 255, 0.08);
  overflow: hidden;
}

.dataset-table {
  width: 100%;
  border-collapse: collapse;
}

.dataset-table thead {
  background: linear-gradient(135deg, #0089FF 0%, #0066CC 100%);
}

.dataset-table thead th {
  padding: 18px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border: none;
}

.dataset-table thead th:first-child {
  text-align: center;
}

.dataset-table thead th:last-child {
  text-align: center;
}

.dataset-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s;
}

.dataset-table tbody tr:last-child {
  border-bottom: none;
}

.dataset-table tbody tr:hover {
  background: #f8fbff;
  box-shadow: inset 0 0 0 1px #e3f3ff;
}

.dataset-table tbody td {
  padding: 20px 16px;
  font-size: 14px;
  color: #333;
  vertical-align: middle;
}

/* 表格列样式 */
.row-index {
  text-align: center;
  font-weight: 600;
  color: #999;
  font-size: 15px;
}

.row-name {
  padding-right: 24px;
}

.dataset-name-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dataset-icon {
  flex-shrink: 0;
}

.dataset-name {
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.5;
}

.row-time {
  color: #666;
  font-size: 14px;
  white-space: nowrap;
}

.row-status {
  text-align: left;
}

/* 状态徽章 */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* 状态0：待提交 */
.status-badge.status-draft {
  background: #e3f3ff;
  color: #0089FF;
  border: 1px solid #b8ddff;
}

.status-badge.status-draft .status-dot {
  background: #0089FF;
}

/* 状态1：待审核 */
.status-badge.status-pending {
  background: #fff4e5;
  color: #FF9800;
  border: 1px solid #ffe0b2;
}

.status-badge.status-pending .status-dot {
  background: #FF9800;
  animation: pulse 2s ease-in-out infinite;
}

/* 状态2：审核中 */
.status-badge.status-reviewing {
  background: #e3f2fd;
  color: #2196F3;
  border: 1px solid #bbdefb;
}

.status-badge.status-reviewing .status-dot {
  background: #2196F3;
  animation: pulse 2s ease-in-out infinite;
}

/* 状态3：驳回 */
.status-badge.status-rejected {
  background: #ffebee;
  color: #F44336;
  border: 1px solid #ffcdd2;
}

.status-badge.status-rejected .status-dot {
  background: #F44336;
}

/* 状态4：审核通过 */
.status-badge.status-approved {
  background: #e8f5e9;
  color: #4CAF50;
  border: 1px solid #c8e6c9;
}

.status-badge.status-approved .status-dot {
  background: #4CAF50;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* 操作按钮 */
.row-actions {
  text-align: center;
  white-space: nowrap;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  margin: 0 4px;
  border: 1px solid;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  background: #fff;
}

.btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-action:active {
  transform: translateY(0);
}

.btn-action svg {
  flex-shrink: 0;
}

/* 查看详情按钮 */
.btn-view {
  color: #0089FF;
  border-color: #0089FF;
}

.btn-view:hover {
  background: #0089FF;
  color: #fff;
}

/* 更新按钮 */
.btn-edit {
  color: #FF9800;
  border-color: #FF9800;
}

.btn-edit:hover {
  background: #FF9800;
  color: #fff;
}

/* 提交审核按钮 */
.btn-submit {
  color: #4CAF50;
  border-color: #4CAF50;
}

.btn-submit:hover {
  background: #4CAF50;
  color: #fff;
}

/* ==================== 空状态样式 ==================== */
.mydata-empty {
  max-width: 900px;
  margin: 60px auto;
  text-align: center;
  background: #fff;
  border-radius: 20px;
  padding: 60px 40px;
  box-shadow: 0 8px 24px rgba(0, 137, 255, 0.08);
}

/* 空状态图标 */
.empty-icon {
  margin: 0 auto 30px;
  animation: float-gentle 3s ease-in-out infinite;
}

@keyframes float-gentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.empty-title {
  font-size: 32px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.4;
}

.empty-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* 状态流程 */
.empty-status {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  padding: 30px 20px;
  background: linear-gradient(135deg, #e3f3ff 0%, #f0f9ff 100%);
  border-radius: 16px;
}

.status-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: #fff;
  border: 2px solid #d4e9ff;
  border-radius: 12px;
  min-width: 160px;
  transition: all 0.3s;
}

.status-item:hover {
  border-color: #0089FF;
  box-shadow: 0 4px 12px rgba(0, 137, 255, 0.15);
  transform: translateY(-4px);
}

.status-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-icon svg {
  width: 36px;
  height: 36px;
}

.status-label {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.status-hint {
  font-size: 13px;
  color: #0089FF;
  font-weight: 500;
}

.status-arrow {
  font-size: 24px;
  color: #0089FF;
  font-weight: bold;
}

/* 准备清单 */
.empty-checklist {
  margin-bottom: 40px;
  padding: 30px;
  background: #e3f3ff;
  border-radius: 16px;
  text-align: left;
}

.checklist-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.checklist-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #d4e9ff;
  transition: all 0.3s;
}

.checklist-item:hover {
  border-color: #0089FF;
  box-shadow: 0 2px 8px rgba(0, 137, 255, 0.1);
  transform: translateX(4px);
}

.checklist-item svg {
  flex-shrink: 0;
}

.checklist-item span {
  font-size: 15px;
  color: #333;
  line-height: 1.4;
}

/* 提示信息 - 蓝色主题 */
.empty-tip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: #e3f3ff;
  border-left: 4px solid #0089FF;
  border-radius: 8px;
  text-align: left;
  max-width: 650px;
  margin: 0 auto;
}

.empty-tip svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.empty-tip span {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ==================== 响应式设计 ==================== */
@media screen and (max-width: 1200px) {
  .mydata-list {
    max-width: 100%;
    padding: 0 16px;
  }

  .dataset-table-wrapper {
    overflow-x: auto;
  }

  .dataset-table {
    min-width: 1000px;
  }
}

@media screen and (max-width: 768px) {
  .mydata-wrapper {
    padding: 20px 0;
  }

  .list-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
  }

  .list-title {
    font-size: 22px;
  }

  .list-stats {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .stat-value {
    font-size: 16px;
  }

  .dataset-table thead th {
    padding: 14px 12px;
    font-size: 13px;
  }

  .dataset-table tbody td {
    padding: 16px 12px;
    font-size: 13px;
  }

  .dataset-name {
    font-size: 14px;
  }

  .btn-action {
    padding: 7px 10px;
    font-size: 12px;
    margin: 0 2px;
  }

  .btn-action svg {
    width: 12px;
    height: 12px;
  }

  /* 空状态响应式 */
  .mydata-empty {
    padding: 40px 24px;
    margin: 20px auto;
  }

  .empty-icon svg {
    width: 100px;
    height: 100px;
  }

  .empty-title {
    font-size: 24px;
  }

  .empty-status {
    flex-direction: column;
    padding: 20px;
    gap: 12px;
  }

  .status-item {
    min-width: 100%;
    padding: 16px;
  }

  .status-arrow {
    transform: rotate(90deg);
  }

  .empty-checklist {
    padding: 20px;
  }

  .checklist-items {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .checklist-item {
    padding: 12px 16px;
  }

  .empty-tip {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }
}

@media screen and (max-width: 480px) {
  .mydata-list {
    padding: 0 12px;
  }

  .list-title {
    font-size: 20px;
  }

  .list-stats {
    font-size: 12px;
  }

  .stat-value {
    font-size: 14px;
  }

  .dataset-table thead th {
    padding: 12px 8px;
    font-size: 12px;
  }

  .dataset-table tbody td {
    padding: 14px 8px;
  }

  .dataset-icon {
    width: 16px;
    height: 16px;
  }

  .dataset-name {
    font-size: 13px;
  }

  .status-badge {
    padding: 5px 10px;
    font-size: 12px;
  }

  .btn-action {
    padding: 6px 8px;
    font-size: 11px;
    gap: 4px;
  }

  /* 空状态 */
  .empty-icon svg {
    width: 80px;
    height: 80px;
  }

  .empty-title {
    font-size: 20px;
  }

  .status-icon svg {
    width: 28px;
    height: 28px;
  }

  .status-label {
    font-size: 14px;
  }

  .status-hint {
    font-size: 12px;
  }

  .checklist-title {
    font-size: 16px;
  }

  .checklist-item span {
    font-size: 14px;
  }
}

