.deploys-page {
  min-height: 100vh;
  background: #f5f5f5;
}

.stats-bar {
  display: flex;
  justify-content: space-around;
  padding: 24px;
  background: #fff;
  border-bottom: 1px solid #eee;

  .stat-item {
    text-align: center;

    .stat-num {
      display: block;
      font-size: 40px;
      font-weight: 600;
      color: #333;

      &.success {
        color: #4CAF50;
      }

      &.failed {
        color: #F44336;
      }
    }

    .stat-label {
      font-size: 24px;
      color: #999;
    }
  }
}

.deploy-list {
  height: calc(100vh - 300px);
  padding: 24px;
}

.deploy-item {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);

  .deploy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;

    .deploy-version {
      display: flex;
      align-items: center;
      gap: 12px;

      .version {
        font-size: 32px;
        font-weight: 600;
        color: #333;
      }
    }
  }

  .deploy-info {
    margin-bottom: 16px;

    .deploy-build,
    .rollback-info {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 26px;
      color: #666;
      margin-bottom: 8px;

      .iconfont {
        color: #2196F3;
      }
    }

    .rollback-info .iconfont {
      color: #FF9800;
    }
  }

  .deploy-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #eee;

    .deploy-meta {
      display: flex;
      align-items: center;
      gap: 16px;
      font-size: 24px;
      color: #999;

      .deployer {
        color: #666;
      }
    }
  }
}

.loading-wrap,
.empty-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 0;

  .iconfont {
    font-size: 96px;
    color: #ccc;
    margin-bottom: 24px;
  }

  .loading-text,
  .empty-text {
    font-size: 28px;
    color: #999;
    margin-bottom: 24px;
  }
}

.loading-more {
  display: flex;
  justify-content: center;
  padding: 24px;
}

.no-more {
  text-align: center;
  padding: 24px;
  font-size: 24px;
  color: #999;
}

// 部署弹窗样式
.deploy-modal-content {
  .select-label {
    display: block;
    font-size: 28px;
    font-weight: 500;
    color: #333;
    margin-bottom: 16px;
  }

  .env-select {
    margin-bottom: 24px;

    .env-options {
      display: flex;
      gap: 16px;

      .env-option {
        flex: 1;
        padding: 16px;
        text-align: center;
        background: #f5f5f5;
        border-radius: 8px;
        font-size: 26px;
        color: #666;

        &.active {
          background: #1890ff;
          color: #fff;
        }
      }
    }
  }

  .build-select {
    .build-list {
      max-height: 400px;
    }

    .build-option {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px;
      background: #f5f5f5;
      border-radius: 8px;
      margin-bottom: 12px;

      &.active {
        background: rgba(24, 144, 255, 0.1);
        border: 1px solid #1890ff;
      }

      .build-info {
        flex: 1;

        .build-no {
          font-size: 28px;
          font-weight: 500;
          color: #333;
          margin-right: 12px;
        }

        .build-branch {
          font-size: 24px;
          color: #4CAF50;
          margin-right: 12px;
        }

        .build-commit {
          font-size: 24px;
          color: #2196F3;
          font-family: monospace;
        }
      }

      .build-time {
        font-size: 24px;
        color: #999;
      }
    }
  }
}
